COMPUTATIONAL METHODS
2.8 Methods for data analysis Heat capacity Heat capacity
2.8.5.2 Two-phase thermodynamic (2PT) method and the DoSPT code
From the standpoint of MD simulation methods, the determination of βπΊπππ₯ is complicated by the fact that the determination of the entropy of mixing (βππππ₯) is not straightforward.
Methods such as umbrella sampling,34 Widom particle insertion,35 and thermodynamic integration,36 can effectively probe the entropy of an ensemble, though each has potential complications depending on the system under investigation. Another means to determine entropy is to evaluate the vibrations of the system. Here, the system thermodynamic characteristics can be evaluated within the context that the ensemble density of states (DoS) is comprised of harmonic oscillators. While such an assumption is generally valid for solids, the anharmonic nature of low-frequency and diffuse vibrational modes in liquids and gases renders severely limits the assumption.37 To overcome this constraint for liquids, Lin,
28
Blanco, and Goddard proposed the two-phase thermodynamic (2PT) model.38 Here, the thermodynamics characteristics of a liquid are determined from the DoS obtained from the Fourier transform of the velocity autocorrelation function,39 with the total DoS (π·ππ(π£)) being the sum of two components β a gas component that contains the anharmonic diffusive vibrations (π·πππππππ’π π(π£)) and a solid component that contains the harmonic vibrations (π·πππ ππππ(π£)) β as shown below:
π·ππ(π£) = π Γ π·πππππππ’π π(π£) + (1 β π) Γ π·πππ ππππ(π£) Equation 2.25
A key feature of 2PT theory is the fluidicity parameter (π), which is a function of the system properties (e.g. self-diffusion, density, and temperature) that is solved self-consistently from the MD simulation.40 The system thermodynamics are recovered by applying statistical weighting functions to each respective component. Since the inception of the 2PT method, it has been shown to provide accurate determinations of the absolute entropies and free energies for a variety of liquid systems, including those with considerable chemical and physical complexity.37, 38, 41-56
In the work presented in this thesis, the free energy of different mixtures was calculated through the 2PT method. Each system was equilibrated using the general simulation protocol introduced in Section 2.5, followed by a 20 ps MD simulation with the same NVT ensembles using the previous equilibrium system. The DoSPT code developed by Caro and co-workers57, 58 was used for the 2PT calculations; DoSPT is Fortran implementation that
29
allows the computation of entropies from MD simulation within the framework of the 2PT method. More detailed explanation of DoSPT can be found in http://dospt.org/.
Free energy of solvation
Solvation describes the interactions among the solvent and the dissolved solute molecules, and provides insight into how solvent and solute behave in different environments. The solvation of a component is only favorable when the overall Gibbs energy of the solution is decreased in comparison to the separated two components, (βπΊπ πππ£ is negative). Here, we used a free energy perturbation method to determine the free energy of solvation of several solvents.
If we consider a process of solute molecule A solvated into a solvent environment S, the imaginary start and end states can be expressed as the Figure 2.1:
Figure 2.1. Pictorial representation of the starting (State A) and ending (State B) of solvation.
Here, state A can be described as the molecule A is isolated from solvent S and state B is the when molecule A is dissolved in solvent S. The free energy difference between these two states determines the relative probability ππ΄ and ππ΅,
30
ππ΄
ππ΅ = ππ₯ππΉπ΅βπΉπ΄
ππ΅π Equation 2.26
where ππ΅ is Boltzmannβs constant and π is the temperature. Principally, the free energy can be calculated by forcing the system into a situation that the system does not want to be, and then calculate how much it does not want to be there. In the free energy perturbation method, this is expressed by coupling the two components in the system with an interaction variable π, such that:
πΈπ‘ππ‘ππ = πΈπ΄βπ΄ + πΈπ΅βπ΅+ π Γ πΈπ΄βπ΅ Equation 2.27
The variable π is varied from 0 to 1; as a point of reference, the molecule A is effectively turned off from the system (when π = 0).
In this study, the solvation energy were calculated using the Bennett acceptance ratio (BAR)59 perturbation method as implemented in the GROMACS software suite. According to BAR, the free energy difference can be calculated directly if the two states A and B are close enough. In this case, the switching between two states becomes possible in both directions, as demonstrated in Figure 2.2 by the double arrows.
Figure 2.2. Pictorial representation of solving the particle into the solvent by varying interaction variable Ξ».
31
By creating many π values between the initial and end states, we can effectively turn on and off the interaction between the solute and solvent molecules. For each π value, a series of MD simulations is conducted, and we use the same workflow as described above. The simulation will calculate the energy difference between two neighboring Ξ» values, while all the energy difference combined will provide the total energy of solvate the molecule A into the solvent environment (βπΊπ πππ£).
Natural order parameter
Order parameters were determined using the method described by Dewar and Camp60. In this method, the global ordering of the model molecule is assumed to involve preferential ordering of a set of molecular axes. The unit vectors and eΜ2 describe the orientations of the two bending βarmsβ of the molecule, with eΜ1Γ eΜ2 = βπππ πΎ. The molecular frame is defined by three orthonormal vectors given by:
πΜ = |πΜπΜ1βπΜ2
32
where (π, π, π) are the Euler angles in the rotation matrix mapping the molecular frame defined by Equation 3.14 - 3.16 to the laboratory frame61. The laboratory frame is assigned in each molecular model by taking the director of the most aligned molecular axis to define the laboratory Z axis, while the second-most aligned molecular axis is taken to be the laboratory Y axis, and the X axis is orthogonal to Y and Z. Therefore, π002 = 1 and π222 = 0 denote a phase with perfect uniaxial orientational ordering. In their simulations, the directors and order parameters were obtained by diagonalizing the order tensors60, shown in Equation 3.19, where I is the second-rank unit tensor.
πππ = 1
2ππβππ=1π(3πΜππΜπβ πΌ ) Equation 2.33
Radial distribution function
Radial distribution functions (RDF), also called pair distribution functions or pair correlation functions π(π), define the probability of finding a particle in a shell ππ at the distance π of another particle chosen as a reference point, such as:
ππ(π) =π
ππ(π) 4ππ2ππ Equation 2.34
where π is the model volume and π is the total number of atoms. If we consider dividing the physical space volume π into shell ππ, then it is possible to compute the number of atoms ππ(π) at a distance between π and π + ππ from a given atom. The RDF is strongly dependent on the type of matter, therefore the profile of solids, liquids and gases are significantly different.
33
In the solid state, the materials structure is specific over a long range, therefore the profile of RDF for solid state materials appears as discrete peaks. Each peak has a broadened shape which is caused by the vibration of the particle around its lattice site. In liquids, due to the more dynamic nature of the molecules, the liquid does not maintain a constant structure and loses the long-range structure. Therefore, the first coordination spheres will occur as a sharp peak that indicates the first sphere. At longer ranges, the molecules become more independent of each other and the distribution returns to the bulk density. Because of the loosely packed nature, the RDF for liquids does not have exact intervals. In gases, because of the non-existence of regular structure, the RDF only has a single coordination sphere then rapidly decays to the normal bulk density of gas.
Simulation of x-ray diffraction patterns
X-ray diffraction (XRD) is a powerful nondestructive technique used to obtain the structural information of crystalline materials. The intensities shown on XRD patterns are produced by constructive interference of a monochromatic beam of x-rays that scattered by atoms in a periodic lattice. The diffraction of x-rays by crystals is described by Braggβs Law as shown below:
ππ = 2π π ππ π Equation 2.35
where π in an integer, π is the characteristic wavelength of the X-rays impinging on the crystallize sample, π is the interplanar spacing between rows of atoms, and π is the angle of the x-ray beam with respect to these planes. While the Equation 3.35 is satisfied, x-rays scattered by the atoms in the plane of a periodic structure are in phase and diffraction occurs
34
in the direction defined by the angle π. From the experimental measurement, the x-ray diffraction patterns consist of a set of diffracted peaks with the angles at which they are observed. These patterns are the fingerprint of periodic atomic arrangements in a given material, and can be used to identify the chemicals by comparing this diffraction pattern to a database of known patterns.