<?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=Rg306</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=Rg306"/>
	<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/wiki/Special:Contributions/Rg306"/>
	<updated>2026-05-28T21:33:03Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:GNaCl_620K.png&amp;diff=35360</id>
		<title>File:GNaCl 620K.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:GNaCl_620K.png&amp;diff=35360"/>
		<updated>2008-12-18T15:29:26Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35359</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35359"/>
		<updated>2008-12-18T15:29:16Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Structure of Ions in Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).{{DOI|10.1063/1.473030 }}&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. This could be due to the higher pressure making it physically harder for volume to increase and decrease as fast as it could at ambient conditions. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993){{DOI|10.1063/1.464527}}&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density. It is clear from our calculations that as water approaches the critical point, water starts to move away from the tetrahedral structure that was observed at ambient conditions. Hydrogen bonding may still be present in the first coordination sphere but it is not as pronounced as at ambient conditions as there is only one water molecule to hydrogen bond to. The g(OH) plot shows the hydrogen bonds at these &lt;br /&gt;
conditions are lengthening, and I presume they will break completely at the critical point. The REVCON file shown opposite shows the water molecules are more diffuse than the REVCON file at ambient temperature due to transition to the gas phase.&lt;br /&gt;
|[[Image:revconex3.png|400px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:revcon ex4.png|250px]]&lt;br /&gt;
|In this exercise the solvation of ions in water will be investigated. The pair correlation functions gained will be compared to the pure water calculations already run to determine the structure of an aqueous solution. The CONFIG and FIELD files were altered to include a 2.5 molal solution of NaCl. As can be seen from the REVCON file opposite, the ions look randomly dispersed among the water molecules but there is a slight pairing effect of ions where the big yellow spheres (Na ions) are in close proximity to a small green sphere (Cl ions).&lt;br /&gt;
|}&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(ClO)||g(NaO)||g(OH)||g(OO)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gClO.png|250px]]&lt;br /&gt;
|[[Image:gNaO.png|250px]]&lt;br /&gt;
|[[Image:g(OH)solution.png|250px]]&lt;br /&gt;
|[[Image:g(OO)soluion.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (2.42Å, 6.676297) (4.575Å, 1.424192)&lt;br /&gt;
|Max. (1.775Å, 1.392551) (3.225Å, 1.554763)&lt;br /&gt;
|Max. (2.775Å, 2.796648) &lt;br /&gt;
|-&lt;br /&gt;
|n(ClO)=1.79; ~2 coordination&lt;br /&gt;
|n(NaO)=2.44; ~2 coordination n(NaO)=33.9; ~34 coordination&lt;br /&gt;
|n(OH)=2.38; ~2 coordination&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The g(R) plots for water are similar in shape to those calculated in exercise 2, apart from the  slightlydecreased density of hydrogen bonding. The length of hydrogen bonds are constant in both calculations, also. The number of water molecules in the outer shell is 2, which is less than the calculation in exercise 2 but is in agreement with literature. Seeing as these calculations give us a value that is agreement with literature, we could conclude that ions in solution aid the tetrahedral structure to be maintained but the water molecules are not as dense as in pure water. &lt;br /&gt;
Now we know that the structure of water is not much altered on addition of a salt we can look at the coordination  of the ions in solution. The &#039;length&#039; of the NaO and ClO bonds in literature are 2.758Å and 3.783Å &amp;lt;ref&amp;gt;E. Sanz and C. Vega, J. Chem. Phys. 126, 014507 (2007){{DOI|10.1063/1.2397683}}&amp;lt;/ref&amp;gt; which do correspond with our results in terms of magnitude and the fact that the Cl-O interaction is longer than the Na-O interaction. This is obviously to do with the charge on the ions and that the H atom on the water molecule will coordinate to the Cl, not the O atom. There is not q difference of an O-H bond (1Å) in the calculation between the two peaks like there is in literature which argues against the tetrahedral structure of water in an aqueous solution.&lt;br /&gt;
From integrating under the peaks it has been calculated that on average there are more water molecules solvating the Na&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt; than the Cl&amp;lt;sup&amp;gt;-&amp;lt;/sup&amp;gt;. This is in agreement with literature &amp;lt;ref&amp;gt; P.Wilde, Y2 Electrochemistry Lecture Course, 2007&amp;lt;/ref&amp;gt;.&lt;br /&gt;
===Structure of Ions in Solution===&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||RDF NaCl)||RDF NaNa||RDF ClCl&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gNaCl.png|250px]]&lt;br /&gt;
|[[Image:gNaNa.png|250px]]&lt;br /&gt;
|[[Image:g(ClCl)solution.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|This RDF plot is not the same as the other two plots which suggests pairs are formed of NaCl in solution. The first peak is at approx 3Å which could be the distance between the Van der Waals radius of one ion plus the radius of a hydration shell of the other ion pair. The other peaks in the plot are similar to the NaNa and ClCl plots in that there are peaks which relate to the random dispersion of ions.&lt;br /&gt;
|After 4Å the random peaks plotted show that the ions are dispersed randomly in solution.&lt;br /&gt;
|Similarly to Na-Na, the random, equally sized peaks show that the ions are dispersed randomly in soltuion. If the RDF was plotted for a larger distance it is probable that the peaks would continue in this way.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Aqueous Solution at Critical Point===&lt;br /&gt;
[[Image:GNaCl 620K.png|RDF plot of NaCl at the Critical Point|left|thumb]]The properties of the same solution at critical point was investigated briefly. Similarly to the previous exercise, it was noted that the hydration spheres were more diffuse and less dense. The ion pairs are also more diffuse and if their number was calculated, I presume there would be fewer ion pairs.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35358</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35358"/>
		<updated>2008-12-18T15:21:56Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Structure of Ions in Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).{{DOI|10.1063/1.473030 }}&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. This could be due to the higher pressure making it physically harder for volume to increase and decrease as fast as it could at ambient conditions. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993){{DOI|10.1063/1.464527}}&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density. It is clear from our calculations that as water approaches the critical point, water starts to move away from the tetrahedral structure that was observed at ambient conditions. Hydrogen bonding may still be present in the first coordination sphere but it is not as pronounced as at ambient conditions as there is only one water molecule to hydrogen bond to. The g(OH) plot shows the hydrogen bonds at these &lt;br /&gt;
conditions are lengthening, and I presume they will break completely at the critical point. The REVCON file shown opposite shows the water molecules are more diffuse than the REVCON file at ambient temperature due to transition to the gas phase.&lt;br /&gt;
|[[Image:revconex3.png|400px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:revcon ex4.png|250px]]&lt;br /&gt;
|In this exercise the solvation of ions in water will be investigated. The pair correlation functions gained will be compared to the pure water calculations already run to determine the structure of an aqueous solution. The CONFIG and FIELD files were altered to include a 2.5 molal solution of NaCl. As can be seen from the REVCON file opposite, the ions look randomly dispersed among the water molecules but there is a slight pairing effect of ions where the big yellow spheres (Na ions) are in close proximity to a small green sphere (Cl ions).&lt;br /&gt;
|}&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(ClO)||g(NaO)||g(OH)||g(OO)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gClO.png|250px]]&lt;br /&gt;
|[[Image:gNaO.png|250px]]&lt;br /&gt;
|[[Image:g(OH)solution.png|250px]]&lt;br /&gt;
|[[Image:g(OO)soluion.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (2.42Å, 6.676297) (4.575Å, 1.424192)&lt;br /&gt;
|Max. (1.775Å, 1.392551) (3.225Å, 1.554763)&lt;br /&gt;
|Max. (2.775Å, 2.796648) &lt;br /&gt;
|-&lt;br /&gt;
|n(ClO)=1.79; ~2 coordination&lt;br /&gt;
|n(NaO)=2.44; ~2 coordination n(NaO)=33.9; ~34 coordination&lt;br /&gt;
|n(OH)=2.38; ~2 coordination&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The g(R) plots for water are similar in shape to those calculated in exercise 2, apart from the  slightlydecreased density of hydrogen bonding. The length of hydrogen bonds are constant in both calculations, also. The number of water molecules in the outer shell is 2, which is less than the calculation in exercise 2 but is in agreement with literature. Seeing as these calculations give us a value that is agreement with literature, we could conclude that ions in solution aid the tetrahedral structure to be maintained but the water molecules are not as dense as in pure water. &lt;br /&gt;
Now we know that the structure of water is not much altered on addition of a salt we can look at the coordination  of the ions in solution. The &#039;length&#039; of the NaO and ClO bonds in literature are 2.758Å and 3.783Å &amp;lt;ref&amp;gt;E. Sanz and C. Vega, J. Chem. Phys. 126, 014507 (2007){{DOI|10.1063/1.2397683}}&amp;lt;/ref&amp;gt; which do correspond with our results in terms of magnitude and the fact that the Cl-O interaction is longer than the Na-O interaction. This is obviously to do with the charge on the ions and that the H atom on the water molecule will coordinate to the Cl, not the O atom. There is not q difference of an O-H bond (1Å) in the calculation between the two peaks like there is in literature which argues against the tetrahedral structure of water in an aqueous solution.&lt;br /&gt;
From integrating under the peaks it has been calculated that on average there are more water molecules solvating the Na&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt; than the Cl&amp;lt;sup&amp;gt;-&amp;lt;/sup&amp;gt;. This is in agreement with literature &amp;lt;ref&amp;gt; P.Wilde, Y2 Electrochemistry Lecture Course, 2007&amp;lt;/ref&amp;gt;.&lt;br /&gt;
===Structure of Ions in Solution===&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||RDF NaCl)||RDF NaNa||RDF ClCl&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gNaCl.png|250px]]&lt;br /&gt;
|[[Image:gNaNa.png|250px]]&lt;br /&gt;
|[[Image:g(ClCl)solution.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|This RDF plot is not the same as the other two plots which suggests pairs are formed of NaCl in solution. The first peak is at approx 3Å which could be the distance between the Van der Waals radius of one ion plus the radius of a hydration shell of the other ion pair. The other peaks in the plot are similar to the NaNa and ClCl plots in that there are peaks which relate to the random dispersion of ions.&lt;br /&gt;
|After 4Å the random peaks plotted show that the ions are dispersed randomly in solution.&lt;br /&gt;
|Similarly to Na-Na, the random, equally sized peaks show that the ions are dispersed randomly in soltuion. If the RDF was plotted for a larger distance it is probable that the peaks would continue in this way.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:G(ClCl)solution.png&amp;diff=35357</id>
		<title>File:G(ClCl)solution.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:G(ClCl)solution.png&amp;diff=35357"/>
		<updated>2008-12-18T15:20:18Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:GNaNa.png&amp;diff=35356</id>
		<title>File:GNaNa.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:GNaNa.png&amp;diff=35356"/>
		<updated>2008-12-18T15:19:59Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:GNaCl.png&amp;diff=35355</id>
		<title>File:GNaCl.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:GNaCl.png&amp;diff=35355"/>
		<updated>2008-12-18T15:19:41Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35354</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35354"/>
		<updated>2008-12-18T15:19:28Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 4: Computer simulations of aqueous solutions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).{{DOI|10.1063/1.473030 }}&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. This could be due to the higher pressure making it physically harder for volume to increase and decrease as fast as it could at ambient conditions. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993){{DOI|10.1063/1.464527}}&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density. It is clear from our calculations that as water approaches the critical point, water starts to move away from the tetrahedral structure that was observed at ambient conditions. Hydrogen bonding may still be present in the first coordination sphere but it is not as pronounced as at ambient conditions as there is only one water molecule to hydrogen bond to. The g(OH) plot shows the hydrogen bonds at these &lt;br /&gt;
conditions are lengthening, and I presume they will break completely at the critical point. The REVCON file shown opposite shows the water molecules are more diffuse than the REVCON file at ambient temperature due to transition to the gas phase.&lt;br /&gt;
|[[Image:revconex3.png|400px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:revcon ex4.png|250px]]&lt;br /&gt;
|In this exercise the solvation of ions in water will be investigated. The pair correlation functions gained will be compared to the pure water calculations already run to determine the structure of an aqueous solution. The CONFIG and FIELD files were altered to include a 2.5 molal solution of NaCl. As can be seen from the REVCON file opposite, the ions look randomly dispersed among the water molecules but there is a slight pairing effect of ions where the big yellow spheres (Na ions) are in close proximity to a small green sphere (Cl ions).&lt;br /&gt;
|}&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(ClO)||g(NaO)||g(OH)||g(OO)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gClO.png|250px]]&lt;br /&gt;
|[[Image:gNaO.png|250px]]&lt;br /&gt;
|[[Image:g(OH)solution.png|250px]]&lt;br /&gt;
|[[Image:g(OO)soluion.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (2.42Å, 6.676297) (4.575Å, 1.424192)&lt;br /&gt;
|Max. (1.775Å, 1.392551) (3.225Å, 1.554763)&lt;br /&gt;
|Max. (2.775Å, 2.796648) &lt;br /&gt;
|-&lt;br /&gt;
|n(ClO)=1.79; ~2 coordination&lt;br /&gt;
|n(NaO)=2.44; ~2 coordination n(NaO)=33.9; ~34 coordination&lt;br /&gt;
|n(OH)=2.38; ~2 coordination&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The g(R) plots for water are similar in shape to those calculated in exercise 2, apart from the  slightlydecreased density of hydrogen bonding. The length of hydrogen bonds are constant in both calculations, also. The number of water molecules in the outer shell is 2, which is less than the calculation in exercise 2 but is in agreement with literature. Seeing as these calculations give us a value that is agreement with literature, we could conclude that ions in solution aid the tetrahedral structure to be maintained but the water molecules are not as dense as in pure water. &lt;br /&gt;
Now we know that the structure of water is not much altered on addition of a salt we can look at the coordination  of the ions in solution. The &#039;length&#039; of the NaO and ClO bonds in literature are 2.758Å and 3.783Å &amp;lt;ref&amp;gt;E. Sanz and C. Vega, J. Chem. Phys. 126, 014507 (2007){{DOI|10.1063/1.2397683}}&amp;lt;/ref&amp;gt; which do correspond with our results in terms of magnitude and the fact that the Cl-O interaction is longer than the Na-O interaction. This is obviously to do with the charge on the ions and that the H atom on the water molecule will coordinate to the Cl, not the O atom. There is not q difference of an O-H bond (1Å) in the calculation between the two peaks like there is in literature which argues against the tetrahedral structure of water in an aqueous solution.&lt;br /&gt;
From integrating under the peaks it has been calculated that on average there are more water molecules solvating the Na&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt; than the Cl&amp;lt;sup&amp;gt;-&amp;lt;/sup&amp;gt;. This is in agreement with literature &amp;lt;ref&amp;gt; P.Wilde, Y2 Electrochemistry Lecture Course, 2007&amp;lt;/ref&amp;gt;.&lt;br /&gt;
===Structure of Ions in Solution===&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||RDF NaCl)||RDF NaNa||RDF ClCl&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gNaCl.png|250px]]&lt;br /&gt;
|[[Image:gNaNa.png|250px]]&lt;br /&gt;
|[[Image:g(ClCl)solution.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|This RDF plot is not the same as the other two plots which suggests pairs are formed of NaCl in solution. The first peak is at approx 3Å which could be the distance between the Van der Waals radius of one ion plus the radius of a hydration shell of the other ion pair.&lt;br /&gt;
|After 4Å the random peaks plotted show that the ions are dispersed randomly in solution.&lt;br /&gt;
|Similarly to Na-Na, the random, equally sized peaks show that the ions are dispersed randomly in soltuion. If the RDF was plotted for a larger distance it is probable that the peaks would continue in this way.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Revcon_ex4.png&amp;diff=35306</id>
		<title>File:Revcon ex4.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Revcon_ex4.png&amp;diff=35306"/>
		<updated>2008-12-18T14:22:44Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35305</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35305"/>
		<updated>2008-12-18T14:21:30Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 4: Computer simulations of aqueous solutions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).{{DOI|10.1063/1.473030 }}&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. This could be due to the higher pressure making it physically harder for volume to increase and decrease as fast as it could at ambient conditions. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993){{DOI|10.1063/1.464527}}&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density. It is clear from our calculations that as water approaches the critical point, water starts to move away from the tetrahedral structure that was observed at ambient conditions. Hydrogen bonding may still be present in the first coordination sphere but it is not as pronounced as at ambient conditions as there is only one water molecule to hydrogen bond to. The g(OH) plot shows the hydrogen bonds at these &lt;br /&gt;
conditions are lengthening, and I presume they will break completely at the critical point. The REVCON file shown opposite shows the water molecules are more diffuse than the REVCON file at ambient temperature due to transition to the gas phase.&lt;br /&gt;
|[[Image:revconex3.png|400px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:revcon ex4.png]]&lt;br /&gt;
|In this exercise the solvation of ions in water will be investigated. The pair correlation functions gained will be compared to the pure water calculations already run to determine the structure of an aqueous solution. The CONFIG and FIELD files were altered to include a 2.5 molal solution of NaCl.&lt;br /&gt;
|}&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(ClO)||g(NaO)||g(OH)||g(OO)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gClO.png|250px]]&lt;br /&gt;
|[[Image:gNaO.png|250px]]&lt;br /&gt;
|[[Image:g(OH)solution.png|250px]]&lt;br /&gt;
|[[Image:g(OO)soluion.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (2.42Å, 6.676297) (4.575Å, 1.424192)&lt;br /&gt;
|Max. (1.775Å, 1.392551) (3.225Å, 1.554763)&lt;br /&gt;
|Max. (2.775Å, 2.796648) &lt;br /&gt;
|-&lt;br /&gt;
|n(ClO)=1.79; ~2 coordination&lt;br /&gt;
|n(NaO)=2.44; ~2 coordination n(NaO)=33.9; ~34 coordination&lt;br /&gt;
|n(OH)=2.38; ~2 coordination&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The g(R) plots for water are similar in shape to those calculated in exercise 2, apart from the decreased density of hydrogen bonding. The length of hydrogen bonds are constant in both calculations, also. The number of water molecules in the outer shell is 2, similarly to the calculation previously. Now we know that the structure of&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:G(OO)soluion.png&amp;diff=35293</id>
		<title>File:G(OO)soluion.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:G(OO)soluion.png&amp;diff=35293"/>
		<updated>2008-12-18T13:56:59Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:G(OH)solution.png&amp;diff=35292</id>
		<title>File:G(OH)solution.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:G(OH)solution.png&amp;diff=35292"/>
		<updated>2008-12-18T13:56:38Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:GNaO.png&amp;diff=35291</id>
		<title>File:GNaO.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:GNaO.png&amp;diff=35291"/>
		<updated>2008-12-18T13:56:18Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:GClO.png&amp;diff=35290</id>
		<title>File:GClO.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:GClO.png&amp;diff=35290"/>
		<updated>2008-12-18T13:55:54Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35288</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35288"/>
		<updated>2008-12-18T13:55:24Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 4: Computer simulations of aqueous solutions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).{{DOI|10.1063/1.473030 }}&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. This could be due to the higher pressure making it physically harder for volume to increase and decrease as fast as it could at ambient conditions. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993){{DOI|10.1063/1.464527}}&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density. It is clear from our calculations that as water approaches the critical point, water starts to move away from the tetrahedral structure that was observed at ambient conditions. Hydrogen bonding may still be present in the first coordination sphere but it is not as pronounced as at ambient conditions as there is only one water molecule to hydrogen bond to. The g(OH) plot shows the hydrogen bonds at these &lt;br /&gt;
conditions are lengthening, and I presume they will break completely at the critical point. The REVCON file shown opposite shows the water molecules are more diffuse than the REVCON file at ambient temperature due to transition to the gas phase.&lt;br /&gt;
|[[Image:revconex3.png|400px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
In this exercise the solvation of ions in water will be investigated. The pair correlation functions gained will be compared to the pure water calculations already run to determine the structure of an aqueous solution. The CONFIG and FIELD files were altered to include a 2.5 molal solution of NaCl.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(ClO)||g(NaO)||g(OH)||g(OO)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gClO.png|250px]]&lt;br /&gt;
|[[Image:gNaO.png|250px]]&lt;br /&gt;
|[[Image:g(OH)solution.png|250px]]&lt;br /&gt;
|[[Image:g(OO)soluion.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (2.42Å, 6.676297) (4.575Å, 1.424192)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|-&lt;br /&gt;
|n(ClO)=41.79; ~2 coordination&lt;br /&gt;
|n(NaO)=2.44; ~2 coordination n(NaO)=33.9; ~34 coordination&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35283</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35283"/>
		<updated>2008-12-18T13:33:23Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 4: Computer simulations of aqueous solutions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).{{DOI|10.1063/1.473030 }}&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. This could be due to the higher pressure making it physically harder for volume to increase and decrease as fast as it could at ambient conditions. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993){{DOI|10.1063/1.464527}}&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density. It is clear from our calculations that as water approaches the critical point, water starts to move away from the tetrahedral structure that was observed at ambient conditions. Hydrogen bonding may still be present in the first coordination sphere but it is not as pronounced as at ambient conditions as there is only one water molecule to hydrogen bond to. The g(OH) plot shows the hydrogen bonds at these &lt;br /&gt;
conditions are lengthening, and I presume they will break completely at the critical point. The REVCON file shown opposite shows the water molecules are more diffuse than the REVCON file at ambient temperature due to transition to the gas phase.&lt;br /&gt;
|[[Image:revconex3.png|400px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
In this exercise the solvation of ions in water will be investigated. The pair correlation functions gained will be compared to the pure water calculations already run to determine the structure of an aqueous solution. The CONFIG and FIELD files were altered to include a 2.5 molal solution of NaCl.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35282</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35282"/>
		<updated>2008-12-18T13:15:56Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 3: Water structure near the critical point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).{{DOI|10.1063/1.473030 }}&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. This could be due to the higher pressure making it physically harder for volume to increase and decrease as fast as it could at ambient conditions. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993){{DOI|10.1063/1.464527}}&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density. It is clear from our calculations that as water approaches the critical point, water starts to move away from the tetrahedral structure that was observed at ambient conditions. Hydrogen bonding may still be present in the first coordination sphere but it is not as pronounced as at ambient conditions as there is only one water molecule to hydrogen bond to. The g(OH) plot shows the hydrogen bonds at these &lt;br /&gt;
conditions are lengthening, and I presume they will break completely at the critical point. The REVCON file shown opposite shows the water molecules are more diffuse than the REVCON file at ambient temperature due to transition to the gas phase.&lt;br /&gt;
|[[Image:revconex3.png|400px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35281</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35281"/>
		<updated>2008-12-18T13:09:13Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 3: Water structure near the critical point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).{{DOI|10.1063/1.473030 }}&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. This could be due to the higher pressure making it physically harder for volume to increase and decrease as fast as it could at ambient conditions. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993){{DOI|10.1063/1.464527}}&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density. It is clear from our calculations that as water approaches the critical point, water starts to move away from the tetrahedral structure that was observed at ambient conditions. Hydrogen bonding may still be present in the first coordination sphere but it is not as pronounced as at ambient conditions as there is only one water molecule to hydrogen bond to. The g(OH) plot shows the hydrogen bonds at these &lt;br /&gt;
conditions are lengthening, and I presume they will break completely at the critical point.&lt;br /&gt;
|[[Image:revconex3.png|400px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Revconex3.png&amp;diff=35280</id>
		<title>File:Revconex3.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Revconex3.png&amp;diff=35280"/>
		<updated>2008-12-18T13:08:03Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35279</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35279"/>
		<updated>2008-12-18T13:07:42Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 3: Water structure near the critical point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).{{DOI|10.1063/1.473030 }}&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. This could be due to the higher pressure making it physically harder for volume to increase and decrease as fast as it could at ambient conditions. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993){{DOI|10.1063/1.464527}}&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density. It is clear from our calculations that as water approaches the critical point, water starts to move away from the tetrahedral structure that was observed at ambient conditions. Hydrogen bonding may still be present in the first coordination sphere but it is not as pronounced as at ambient conditions as there is only one water molecule to hydrogen bond to. The g(OH) plot shows the hydrogen bonds at these &lt;br /&gt;
conditions are lengthening, and I presume they will break completely at the critical point.&lt;br /&gt;
|[[Image:revconex3.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35278</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35278"/>
		<updated>2008-12-18T13:04:41Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 3: Water structure near the critical point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).{{DOI|10.1063/1.473030 }}&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. This could be due to the higher pressure making it physically harder for volume to increase and decrease as fast as it could at ambient conditions. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993){{DOI|10.1063/1.464527}}&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density. It is clear from our calculations that as water approaches the critical point, water starts to move away from the tetrahedral structure that was observed at ambient conditions. Hydrogen bonding may still be present in the first coordination sphere but it is not as pronounced as at ambient conditions as there is only one water molecule to hydrogen bond to. The g(OH) plot shows the hydrogen bonds at these conditions are lengthening, and I presume they will break completely at the critical point.&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35276</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35276"/>
		<updated>2008-12-18T12:43:57Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).{{DOI|10.1063/1.473030 }}&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. This could be due to the higher pressure making it physically harder for volume to increase and decrease as fast as it could at ambient conditions. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993)&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density. It is clear from our calculations that as water approaches the critical point, water starts to move away from the tetrahedral structure that was observed at ambient conditions. Hydrogen bonding may still be present in the first coordination sphere but it is not as pronounced as at ambient conditions as there is only one water molecule to hydrogen bond to. The g(OH) plot shows the hydrogen bonds at these conditions are lengthening, and I presume they will break completely at the critical point.&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35271</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35271"/>
		<updated>2008-12-18T12:30:33Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 3: Water structure near the critical point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. This could be due to the higher pressure making it physically harder for volume to increase and decrease as fast as it could at ambient conditions. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993)&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density. It is clear from our calculations that as water approaches the critical point, water starts to move away from the tetrahedral structure that was observed at ambient conditions. Hydrogen bonding may still be present in the first coordination sphere but it is not as pronounced as at ambient conditions as there is only one water molecule to hydrogen bond to. The g(OH) plot shows the hydrogen bonds at these conditions are lengthening, and I presume they will break completely at the critical point.&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35266</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35266"/>
		<updated>2008-12-18T12:12:49Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination) outer coordination shell: n(R)=7.95; 8 coordination&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993)&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density.&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35265</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35265"/>
		<updated>2008-12-18T12:10:35Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 3: Water structure near the critical point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination)&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993)&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. From the n(OH) function ,the first coordination shell only contains one molecule of water. The outer shell contains 4 water molecules, then from there the g(R) function tends to bulk water density.&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35264</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35264"/>
		<updated>2008-12-18T12:06:55Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. The first peak on the g(OH) plot relates to the first coordination shell of water. The coordination values calculated (see below) show us there are 3 molecules in the first coordination shell. This does not quite relate to a tetrahedral structure but the tetrahedral structure might be an average, not a perfect structure as in ice. At the time the g(R) is measured the structure may be away from the tetrahedral structure. This applies to the other n(R) values also.&lt;br /&gt;
Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination)&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993)&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. The outer shells are much more dense than the inner shells due to the increased volume of the system.&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35256</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35256"/>
		<updated>2008-12-18T11:54:31Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 3: Water structure near the critical point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination)&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993)&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=4.18; ~4 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination n(OH)=4.25; ~4 coordination&lt;br /&gt;
|n(HH)=3.47; ~3 coordination n(OH)=4.21; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
From the coordination calculations we can see that the lower density compared to ambient temperatures can be attributed to fewer hydrogen bonds and longer hydrogen bonds. The outer shells are much more dense than the inner shells due to the increased volume of the system.&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35250</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35250"/>
		<updated>2008-12-18T11:38:38Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 3: Water structure near the critical point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination)&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993)&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=8.26; ~8 coordination&lt;br /&gt;
|n(OH)=0.69; ~1 coordination&lt;br /&gt;
|n(HH)=3.47; ~4 coordination&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35248</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35248"/>
		<updated>2008-12-18T11:32:51Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 3: Water structure near the critical point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination)&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars but we will run calculations at near the critical point: P=160bars, T=620K.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993)&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently. According to Guissani and coworkers, a higher density can be attributed to a higher number of hydrogen bonds i.e. 3 formed at the critical point instead of 2.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|-&lt;br /&gt;
|n(OO)=&lt;br /&gt;
|n(OH)=&lt;br /&gt;
|n(HH)=&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35218</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35218"/>
		<updated>2008-12-18T09:43:34Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Module 3 - Molecular Dynamics Simulation of Liquids */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination)&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume is increasing with time and therefore density is decreasing with time. The trajectory is constant throughout both calculations but we can observe there are fewer small fluctuations of volume after equilibration. Using the last data point on the vol/t plot, the density is equal to 0.66 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. This is not in agreement with literature (ρ&amp;lt;sub&amp;gt;lit&amp;lt;/sub&amp;gt;=0.326g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;lt;ref&amp;gt;Y. Guissani, B. Guillot, J. Chem. Phys., 98, 8221 (1993)&amp;lt;/ref&amp;gt; but this 50% error could be due to the trajectory of 1ps not being sufficient to let the system equilibrate sufficiently.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:GHH.png&amp;diff=35169</id>
		<title>File:GHH.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:GHH.png&amp;diff=35169"/>
		<updated>2008-12-18T09:23:16Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:GOH.png&amp;diff=35167</id>
		<title>File:GOH.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:GOH.png&amp;diff=35167"/>
		<updated>2008-12-18T09:22:59Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:GOO.png&amp;diff=35164</id>
		<title>File:GOO.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:GOO.png&amp;diff=35164"/>
		<updated>2008-12-18T09:22:31Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35163</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35163"/>
		<updated>2008-12-18T09:22:17Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 3: Water structure near the critical point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination)&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system is completely contrary to the volume v t plot obtained from the previous exercise. Volume (and therefore density) is increasing with time.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:gOO.png|250px]]&lt;br /&gt;
|[[Image:gOH.png|250px]]&lt;br /&gt;
|[[Image:gHH.png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.925Å, 2.026753) &lt;br /&gt;
|Max. (1.875Å, 0.817051) (3.325Å, 1.326993)&lt;br /&gt;
|Max. (2.575Å, 1.08429) (3.925Å, 1.132529)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ex3_vol.png&amp;diff=35157</id>
		<title>File:Ex3 vol.png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Ex3_vol.png&amp;diff=35157"/>
		<updated>2008-12-18T09:17:18Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35154</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35154"/>
		<updated>2008-12-18T09:16:51Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 3: Water structure near the critical point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination)&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:ex3 vol.png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35100</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35100"/>
		<updated>2008-12-17T22:46:13Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 3: Water structure near the critical point */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination)&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
We have studied some physical properties of water at ambient temperature. Now we will look at water when it is near it&#039;s critical point. The estimated conditions for water at the critical point is T&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=651.7 K, ρ&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=0.326 g/cm3, and P&amp;lt;sub&amp;gt;c&amp;lt;/sub&amp;gt;=189 bars.&lt;br /&gt;
&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35099</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35099"/>
		<updated>2008-12-17T22:39:37Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations (ρ&amp;lt;sub&amp;gt;calc&amp;lt;/sub&amp;gt;=0.86g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°. &lt;br /&gt;
The density decreases as we get further from the centre and the density tends to 1. The highest g(R) occurred at g(OO). This could be due to the corresponding distance being equivalent to the centre of the 1st hydration shell and because oxygen is hydrogen bonded to several other water molecules at once.&lt;br /&gt;
The calculated pair correlation functions seem to be compatible with the tetrahedral structure for hydrogen bonding suggested by Walrafen&amp;lt;ref&amp;gt;G.E. Walrafen, J. Chem. Phys., 40, 3249 (1964).&amp;lt;/ref&amp;gt;. To verify the compatability the coordination of OH and OO was determined using the equation given.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|| ||g(OH)||g(OO)||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|n&amp;lt;sub&amp;gt;αβ&amp;lt;/sub&amp;gt;(R)&lt;br /&gt;
|3.04; ~3 coordination (lit. 2 coordination)&lt;br /&gt;
|2.2; ~2 coordination (lit. 4 coordination)&lt;br /&gt;
|7.64; ~8 coordination (from Walrafren diagram, coordination ~6)&lt;br /&gt;
|}&lt;br /&gt;
There are errors associated with this calculation due to the numerical nature of the integration method used. However, the numbers are at the correct magnitude for coordination numbers which is satisfying!&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35084</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35084"/>
		<updated>2008-12-17T21:01:18Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations but is in agreement with literature (see previous exercise). The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also. Seeing as the regions where the function lies above 1 are the areas of above average density (compared to water as an ideal gas), we can assume these areas show us the &#039;shells&#039; of hydrogen bonded water molecules. The peak with the shortest distance is obviously gOH because hydrogen bond forms between oxygen and hydrogen. Areas around a central molecule where hydrogen bonding occur are likely to be closest to the central molecule and have the highest density of molecules. 1.775Å seems to be the length of a hydrogen bond acquired from this calculation.&lt;br /&gt;
The first peak in the gOO plot should be an OH sigma bond [in water] added to the length of a hydrogen bond, presuming linearity. The length of an OH bond in the CONTROL file is 1Å the angle O-H-O (the shortest distance between oxygens) is 180°.&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35072</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35072"/>
		<updated>2008-12-17T20:35:50Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Example - Water at Ambient Temperature */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| 1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations but is in agreement with literature (see previous exercise).&lt;br /&gt;
The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also.&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35067</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35067"/>
		<updated>2008-12-17T19:41:25Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| -1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|250px]]&lt;br /&gt;
|[[Image:g(OH).png|250px]]&lt;br /&gt;
|[[Image:g(HH).png|250px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to 1 (the bulk density of water) as distance from the central molecule increases. This is not in agreement with previous density calculations but is in agreement with literature (see previous exercise).&lt;br /&gt;
The first peak on the g(OH) pair correlation function is in agreement with literature (lit. 1.8Å &amp;lt;ref&amp;gt;A.K. Soper, F. Bruni and M.A. Ricci, J. Chem. Phys., 106, 247 (1997).&amp;lt;/ref&amp;gt;), and the other pair correlation functions seem to fit the results in literature also.&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35059</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35059"/>
		<updated>2008-12-17T17:44:36Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| -1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule. The function should tend to one as distance increases as density becomes close to that of bulk water. &lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|300px]]&lt;br /&gt;
|[[Image:g(OH).png|300px]]&lt;br /&gt;
|[[Image:g(HH).png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
All the pair correlation functions calculated seem to tend to one as distance from the central molecule increases. This is not in agreement with previous density calculations but is in agreement with literature (see previous exercise).&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35057</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35057"/>
		<updated>2008-12-17T17:42:03Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| -1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule.&lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|300px]]&lt;br /&gt;
|[[Image:g(OH).png|300px]]&lt;br /&gt;
|[[Image:g(HH).png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|Max. (2.775Å, 3.49913) &lt;br /&gt;
|Max. (1.775Å, 1.824128) (3.175Å, 1.635579)&lt;br /&gt;
|Max. (2.375Å, 1.483233) (3.925Å, 1.199994)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35052</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35052"/>
		<updated>2008-12-17T17:34:54Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| -1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule.&lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png|300px]]&lt;br /&gt;
|[[Image:g(OH).png|300px]]&lt;br /&gt;
|[[Image:g(HH).png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:G(HH).png&amp;diff=35051</id>
		<title>File:G(HH).png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:G(HH).png&amp;diff=35051"/>
		<updated>2008-12-17T17:34:16Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:G(OH).png&amp;diff=35050</id>
		<title>File:G(OH).png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:G(OH).png&amp;diff=35050"/>
		<updated>2008-12-17T17:33:37Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:G(OO).png&amp;diff=35049</id>
		<title>File:G(OO).png</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:G(OO).png&amp;diff=35049"/>
		<updated>2008-12-17T17:33:18Z</updated>

		<summary type="html">&lt;p&gt;Rg306: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35048</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35048"/>
		<updated>2008-12-17T17:33:01Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| -1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule.&lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||g(OO)||g(OH||g(HH)&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:g(OO).png]]&lt;br /&gt;
|[[Image:g(OH).png]]&lt;br /&gt;
|[[Image:g(HH).png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35046</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=35046"/>
		<updated>2008-12-17T17:30:46Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| -1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule.&lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
The following g(OO), g(OH), g(HH) pair correlation functions were obtained from DL_POLY using the SPC/E model at ambient temperature.&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=34960</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=34960"/>
		<updated>2008-12-17T09:46:18Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| -1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule.&lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
 print rdf&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=34959</id>
		<title>Rep:Mod:4boro</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Rep:Mod:4boro&amp;diff=34959"/>
		<updated>2008-12-17T09:43:23Z</updated>

		<summary type="html">&lt;p&gt;Rg306: /* Exercise 2: Liquid water structure and hydrogen bonding */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Module 3 - Molecular Dynamics Simulation of Liquids=&lt;br /&gt;
The Molecular Dynamics of water and an aqueous solution was studied using a Molecular Dynamics simulation code, DL_POLY. The model for water that we are using is the &#039;&#039;extended single point charge&#039;&#039; or SPC/E model. The SPC/E model consists of three point masses with a distance of 0.1nm (OH distance) and an angle of 109.5° (tetrahedral). The point charges are -0.8476e and 0.4238e and it has a dipole moment of 2.36D.&amp;lt;ref&amp;gt;H.J.C. Berendsen, J.R. Grigera and T.P. Straatsma, J. Phys. Chem., 91, 6269 (1987) {{DOI|10.1021/j100308a038}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Water is a very interesting material to study seeing as it is the most abundant compound available on the planet and it has a multitude of anomalous physical properties. Primarily we will look at water at ambient conditions, as it is most commonly found.&lt;br /&gt;
==Example - Water at Ambient Temperature==&lt;br /&gt;
The CONTROL file was altered so that 500 steps were carried out. All 500 of these steps were equilibration steps. The timestep was 0.002 ps so the whole simulation would take 1 ps. The calculation would be carried out at 298K in a microcanonical ensemble (NVE).&lt;br /&gt;
The FIELD file was altered to the SPC/E parameters. DL_POLY was run but an error came up: &amp;quot;SHAKE algorithm failed to converge.&amp;quot; The error was due to the incorrect formatting of the FIELD file. This problem was overcome and when DL_POLY was run again the OUTPUT, STATIS and REVCON files appeared. Using the GUI (Java Graphical User Interface) the STATIS file was used to plot system properties as a function of time. The REVCON file was opened in GUI also to give the final configuration of the molecules. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Total Energy fluctuating with Time||Temperature Fluctuation with Time||Configuration Energy Fluctuation with Time&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E tot.png|300px]]&lt;br /&gt;
|[[Image:Etemp v t.png|300px]]&lt;br /&gt;
|[[Image:E-CFG v t.png|300px]]&lt;br /&gt;
|-&lt;br /&gt;
||Van der Waals fluctuation with Time||Coulombic Energy Fluctuating with Time||Final Configuration of Water Molecules&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:E VDW.png|300px]]&lt;br /&gt;
|[[Image:E-COUL v t.png|300px]]&lt;br /&gt;
|[[Image:Revcon.png|300px]]&lt;br /&gt;
|}&lt;br /&gt;
The Total Energy obviously decreases with time because it&#039;s components (Coulombic, Configuration and Van der Waals energy contributions) decrease with time as an energetically favourable configuration is reached. Van der Waals contributions are due to oxygen pair repulsions only , therefore energy is positive. Conformation and coulombic interactions are negative. Coulombic interactions are due to O-H and H-H interactions. O-H interactions are strongly negative due to hydrogen bonding, which probably leads to the overall negative total energy of the system. Hydrogen bonding will be investigated further in Exercise 2.&lt;br /&gt;
&lt;br /&gt;
Temperature fluctuates between 298K and 294K over time. This is due to heat energy dissipating on collision or energy used up in changing conformation etc.&lt;br /&gt;
&lt;br /&gt;
The OUTPUT file gave the following information which was compared to the parameters given in reference 1. The information was taken from the last rolling average (Data point 450) in the OUTPUT file:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
||Physical Property ||From our calculation &lt;br /&gt;
|-&lt;br /&gt;
|eng_tot &lt;br /&gt;
|  -8.9103 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|temp_tot &lt;br /&gt;
|296.14K &lt;br /&gt;
|-&lt;br /&gt;
|eng_cfg &lt;br /&gt;
| -10.828E4 kJ mol-1 &lt;br /&gt;
|-&lt;br /&gt;
|volume &lt;br /&gt;
|1.0648E4 Å&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|pressure &lt;br /&gt;
| -1.5741 (bar?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The Final Conformation shows us that water molecules are not equally spaced at ambient temperature. They seem to be &#039;bunched&#039; together in the centre of the cube. This is due to energetically favourable hydrogen bonding. There seem to be some &#039;broken&#039; molecules on the outer edge of the &#039;hydrogen bonded sphere&#039; which is due to the Periodic Boundary Conditions set by the DL_POLY code. These conditions approximate the system as infinte.&lt;br /&gt;
&lt;br /&gt;
===Time Step Study===&lt;br /&gt;
The time step was altered to 0.01ps and 0.0020ps to see the effect of the time step on the results. Initially the number of steps was kept at 1000 from the previous exercise but this caused an error with the SHAKE algorithm on using the 0.01ps time step because the time step was too small which did not allow convergence. The number of steps was altered so the entire molecular dynamics calculation takes 1ps. The graphs below show the Total Energy Fluctuation with Time at different time steps.&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Timestep=0.001.jpg|Timestep=0.001|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.01x100.jpg|Timestep=0.01x100|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002.jpg|Timestep=0.002x500|thumb]]&lt;br /&gt;
|[[Image:Timestep=0.002x1000.jpg|timestep=0.002x1000|thumb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The time step of 0.01ps is far too long. Although the minimum energy is obtained successfully, there is no fine detail on the curve which could be useful as more information can probably be obtained from the detail. The time step of 0.002 shows fine detail on the curve. Using more steps does not give us more information because all the information we need is within the 1ps timeframe.&lt;br /&gt;
&lt;br /&gt;
==Exercise 1: Internal energy and density of SPC/E water at ambient conditions==&lt;br /&gt;
Previously we have used the microcanonical ensemble, but we would now like to be able to set the temperature and pressure of our system. In this calculation at ambient conditions we will use the isobaric-isothermal ensemble (nPT). &lt;br /&gt;
A SPC/E calculation was performed at 298K and 1bar. 4000 steps were used, half of which were equilibration steps. A trajectory of 1ps was used so the time step used was 0.00025ps. &lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:Vol v. t(ps).png|300px]]&lt;br /&gt;
|The volume fluctuation of the system with time shows can tell us about the equilibration of the system. From the graph shown we can see that volume decreases overall with time. During equilibration volume decreases steadily as the water molecules find their equilibrium positions and hydrogen bonds form. After equilibration the volume fluctuates at regular 0.1ps intervals. This could be synonymous with the temperature fluctuation that occurred in the example calculation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The E&amp;lt;sub&amp;gt;config&amp;lt;/sub&amp;gt; of the system was calculated to be -11.422kJ/mol. This is in agreement with literature (-11.5kJ/mol&amp;lt;ref&amp;gt;E. Sanz et. al., Phys. Rev. Lett., 92, 255701 (2004) {{DOI|10.1103/PhysRevLett.92.255701}} &amp;lt;/ref&amp;gt;) There are 256 molecules of water in the system so this works out as -0.0446 kJ/molecule. &lt;br /&gt;
Using the final volume given on the output (8.83896x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;) and the weight of 256 water molecules (7.652x10&amp;lt;sup&amp;gt;-18&amp;lt;/sup&amp;gt;g) the density was worked out as 0.8632 g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. The literature value for an SPC/E calculation is 1g/cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (reference 2). Although the magnitude is correct, there is an error of 14% between my calculation and the one in literaure. This could be due to the trajectory of 1ps not being long enough. In the first reference, the equilibration runs for 15ps before the calculation starts. Seeing as the volume is decreasing with time, the longer the trajectory the closer the calculated density of water would be.&lt;br /&gt;
&lt;br /&gt;
==Exercise 2: Liquid water structure and hydrogen bonding==&lt;br /&gt;
In this exercise the structure of water will be established using the pair correlation function g(R). This is defined as the probability of finding a molecule within a distance, R from another molecule.&lt;br /&gt;
The CONTROL file was altered so that the pair correlation functions could be calculated every 5 steps:&lt;br /&gt;
 rdf 5&lt;br /&gt;
&lt;br /&gt;
 print rdf&lt;br /&gt;
&lt;br /&gt;
==Exercise 3: Water structure near the critical point==&lt;br /&gt;
==Exercise 4: Computer simulations of aqueous solutions==&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rg306</name></author>
	</entry>
</feed>