Gibbs-Duhem integration: Difference between revisions

From SklogWiki
Jump to navigation Jump to search
mNo edit summary
Line 72: Line 72:
The Gibbs-Duhem integration technique, for this example, will be a numerical procedure covering the following tasks:
The Gibbs-Duhem integration technique, for this example, will be a numerical procedure covering the following tasks:


* Computer simulation (for instance using [[Metropolis Monte Carlo]] in the NpT ensemble) runs to estimate the values of <math> \bar{L}, \bar{V} </math> for both
* Computer simulation (for instance using [[Metropolis Monte Carlo]] in the [[Isothermal-isobaric ensemble |NpT ensemble]]) runs to estimate the values of <math> \bar{L}, \bar{V} </math> for both
phases at given values of <math> [\beta, \beta p,  \lambda ] </math>.
phases at given values of <math> [\beta, \beta p,  \lambda ] </math>.



Revision as of 19:08, 18 February 2008

The so-called Gibbs-Duhem integration refers to a number of methods that couple molecular simulation techniques with thermodynamic equations in order to draw phase coexistence lines. The original method was proposed by David Kofke (Refs. 1 and 2).

Basic Features

Consider two thermodynamic phases: a and b, at thermodynamic equilibrium at certain conditions. Thermodynamic equilibrium implies:

  • Equal temperature in both phases: T=Ta=Tb, i.e. thermal equilibrium.
  • Equal pressure in both phases p=pa=pb, i.e. mechanical equilibrium.
  • Equal chemical potentials for the components μi=μia=μib, i.e. material equilibrium.

In addition, if one is dealing with a statistical mechanical model, having certain parameters that can be represented as λ, then the model should be the same in both phases.

Example: phase equilibria of one-component system

Notice: The derivation that follows is just a particular route to perform the integration

  • Consider that at given conditions of T,p,λ two phases of the systems are at equilibrium, this implies:
μa(T,p,λ)=μb(T,p,λ)

Given the thermal equilibrium we can also write:

βμa(β,βp,λ)=βμb(β,βp,λ)

where

When a differential change of the conditions is performed one will, have for any phase:

d(βμ)=[∂(βμ)∂β]βp,λdβ+[∂(βμ)∂(βp)]β,λd(βp)+[∂(βμ)∂λ]β,βpdλ.

Taking into account that μ is the Gibbs energy function per particle

d(βμ)=ENdβ+VNd(βp)+[∂(βμ)∂λ]β,βpdλ.

where:

  • V is the volume
  • N is the number of particles

E,V are the mean values of the energy and volume for a system of N particles in the isothermal-isobaric ensemble

Let us use a bar to design quantities divided by the number of particles: e.g. E¯=E/N;V¯=V/N; and taking into account the definition:

L¯≡[∂(βμ)∂λ]β,βp

Again, let us suppose that we have a phase coexistence at a point given by [β0,(βp)0,λ0] and that we want to modify slightly the conditions. In order to keep the system at the coexistence conditions:

d[βμa−βμb]=0

Therefore, to keep the system on the coexistence conditions, the changes in the variables β,(βp),λ are constrained to fulfill:

(ΔE¯)dβ+(ΔV¯)d(βp)+(ΔL¯)dλ=0

where for any property X we can define: ΔX≡Xa−Xb (i.e. the difference between the values of the property in the phases). Taking a path with, for instance constant β, the coexistence line will follow the trajectory produced by the solution of the differential equation:

d(βp)=−ΔL¯ΔV¯dλ. (Eq. 1)

The Gibbs-Duhem integration technique, for this example, will be a numerical procedure covering the following tasks:

phases at given values of [β,βp,λ].

  • A procedure to solve numerically the differential equation (Eq.1)

Peculiarities of the method (Warnings)

  • The integrand of the differential equation is computed with some numerical uncertainty
  • Care must be taken to reduce (and estimate) possible departures from the correct coexistence lines

References

  1. David A. Kofke, "Gibbs-Duhem integration: a new method for direct evaluation of phase coexistence by molecular simulation", Molecular Physics 78 pp 1331 - 1336 (1993)
  2. David A. Kofke, "Direct evaluation of phase coexistence by molecular simulation via integration along the saturation line", Journal of Chemical Physics 98 pp. 4149-4162 (1993)
  3. A. van 't Hof, S. W. de Leeuw, and C. J. Peters "Computing the starting state for Gibbs-Duhem integration", Journal of Chemical Physics 124 054905 (2006)
  4. A. van 't Hof, C. J. Peters, and S. W. de Leeuw "An advanced Gibbs-Duhem integration method: Theory and applications", Journal of Chemical Physics 124 054906 (2006)