<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.sklogwiki.org/SklogWiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=141.108.6.68</id>
	<title>SklogWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.sklogwiki.org/SklogWiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=141.108.6.68"/>
	<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php/Special:Contributions/141.108.6.68"/>
	<updated>2026-04-30T23:49:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://www.sklogwiki.org/SklogWiki/index.php?title=Gibbs-Duhem_integration&amp;diff=9914</id>
		<title>Gibbs-Duhem integration</title>
		<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php?title=Gibbs-Duhem_integration&amp;diff=9914"/>
		<updated>2010-03-01T16:07:45Z</updated>

		<summary type="html">&lt;p&gt;141.108.6.68: /* Example: phase equilibria of one-component system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The so-called &#039;&#039;&#039;Gibbs-Duhem integration&#039;&#039;&#039; refers  to a number of methods that couple&lt;br /&gt;
molecular [[Computer simulation techniques |simulation techniques]]  with [[Thermodynamic relations |thermodynamic equations]] in order to draw&lt;br /&gt;
[[Computation of phase equilibria | phase coexistence]] lines. The original method was proposed by David Kofke (Refs. 1 and 2).&lt;br /&gt;
&lt;br /&gt;
== Basic Features ==&lt;br /&gt;
&lt;br /&gt;
Consider two thermodynamic phases: &amp;lt;math&amp;gt; a &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; b  &amp;lt;/math&amp;gt;,  at thermodynamic equilibrium at certain conditions. Thermodynamic equilibrium implies:&lt;br /&gt;
&lt;br /&gt;
* Equal [[temperature]] in both phases: &amp;lt;math&amp;gt; T = T_{a} = T_{b} &amp;lt;/math&amp;gt;, i.e. thermal equilibrium.&lt;br /&gt;
* Equal [[pressure]] in both phases &amp;lt;math&amp;gt; p = p_{a} = p_{b} &amp;lt;/math&amp;gt;, i.e. mechanical equilibrium.&lt;br /&gt;
* Equal [[chemical potential]]s for the components &amp;lt;math&amp;gt; \mu_i = \mu_{ia} = \mu_{ib} &amp;lt;/math&amp;gt;, i.e. &#039;&#039;material&#039;&#039; equilibrium.&lt;br /&gt;
&lt;br /&gt;
In addition, if one is  dealing with a statistical mechanical [[models |model]], having certain parameters that can be represented as &amp;lt;math&amp;gt; \lambda &amp;lt;/math&amp;gt;, then the&lt;br /&gt;
model should be the same in both phases.&lt;br /&gt;
&lt;br /&gt;
== Example: phase equilibria of one-component system ==&lt;br /&gt;
&lt;br /&gt;
Notice: The derivation that follows is just a particular route to perform the integration&lt;br /&gt;
* Consider that at given conditions of &amp;lt;math&amp;gt; T , p, \lambda &amp;lt;/math&amp;gt; two phases of the systems are at equilibrium, this implies:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \mu_{a} \left( T, p, \lambda \right) = \mu_{b} \left( T, p, \lambda \right) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given the thermal equilibrium we can also write:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \beta \mu_{a} \left( \beta, \beta p, \lambda \right) = \beta \mu_{b} \left( \beta, \beta p, \lambda \right) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
* &amp;lt;math&amp;gt; \beta := 1/k_B T &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt; k_B &amp;lt;/math&amp;gt; is the [[Boltzmann constant]]&lt;br /&gt;
When a differential change of the conditions is performed one will have, for any phase:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; d \left( \beta\mu \right) = \left[ \frac{ \partial (\beta \mu) }{\partial \beta} \right]_{\beta p,\lambda} d \beta +&lt;br /&gt;
\left[ \frac{ \partial (\beta \mu) }{\partial (\beta p)} \right]_{\beta,\lambda} d (\beta p) + &lt;br /&gt;
\left[ \frac{ \partial (\beta \mu) }{\partial \lambda} \right]_{\beta,\beta p} d \lambda.&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Taking into account that &amp;lt;math&amp;gt; \mu &amp;lt;/math&amp;gt; is the [[Gibbs energy function]] per particle&lt;br /&gt;
: &amp;lt;math&amp;gt; d \left( \beta\mu \right) =  \frac{E}{N}  d \beta +  \frac{ V }{N } d (\beta p)  + &lt;br /&gt;
\left[ \frac{ \partial (\beta \mu) }{\partial \lambda} \right]_{\beta,\beta p} d \lambda.&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
* &amp;lt;math&amp;gt; \left. E \right. &amp;lt;/math&amp;gt; is the [[internal energy]] (sometimes written as &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt; \left. V \right. &amp;lt;/math&amp;gt; is the volume&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt; \left. N \right. &amp;lt;/math&amp;gt; is the number of particles&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \left. \right. E, V &amp;lt;/math&amp;gt; are the mean values of the energy and volume for a system of &amp;lt;math&amp;gt; \left. N \right. &amp;lt;/math&amp;gt; particles&lt;br /&gt;
in the isothermal-isobaric ensemble&lt;br /&gt;
&lt;br /&gt;
Let us use a bar to design quantities divided by the number of particles: e.g. &amp;lt;math&amp;gt; \bar{E} = E/N; \bar{V} = V/N &amp;lt;/math&amp;gt;;&lt;br /&gt;
and taking into account the definition:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; \bar{L} \equiv \left[ \frac {\partial (\beta \mu )}{\partial \lambda }\right]_{\beta,\beta p} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, let us suppose that we have a phase coexistence at a point given by &amp;lt;math&amp;gt;\left[ \beta_0, (\beta p)_0, \lambda_0 \right]&amp;lt;/math&amp;gt; and that&lt;br /&gt;
we want to modify slightly the conditions. In order to keep the system at the coexistence conditions:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; d \left[ \beta \mu_{a} - \beta \mu_b \right] = 0 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, to keep the system on the coexistence conditions, the changes in the variables &amp;lt;math&amp;gt; \beta, (\beta p), \lambda &amp;lt;/math&amp;gt; are&lt;br /&gt;
constrained to fulfill:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;  \left( \Delta  \bar{E} \right) d  \beta + \left( \Delta \bar{V} \right) d (\beta p) + \left(\Delta  \bar{L} \right) d \lambda = 0 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where for any property  &amp;lt;math&amp;gt; X &amp;lt;/math&amp;gt; we can define: &amp;lt;math&amp;gt; \Delta X \equiv X_a - X_b &amp;lt;/math&amp;gt; (i.e. the difference between the values of the property in the phases).&lt;br /&gt;
Taking a path with, for instance constant &amp;lt;math&amp;gt; \beta &amp;lt;/math&amp;gt;, the coexistence line will  follow the trajectory produced by the solution of the&lt;br /&gt;
differential equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; d(\beta p) = - \frac{ \Delta \bar{L} }{\Delta \bar{V} } d \lambda. &amp;lt;/math&amp;gt; (Eq. 1)&lt;br /&gt;
&lt;br /&gt;
The Gibbs-Duhem integration technique, for this example, will be a numerical procedure covering the following tasks:&lt;br /&gt;
&lt;br /&gt;
* Computer simulation (for instance using [[Metropolis Monte Carlo]] in the [[Isothermal-isobaric ensemble |NpT ensemble]]) runs to estimate the values of &amp;lt;math&amp;gt; \bar{L}, \bar{V} &amp;lt;/math&amp;gt; for both&lt;br /&gt;
phases at given values of &amp;lt;math&amp;gt; [\beta, \beta p,  \lambda ] &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* A procedure to solve numerically the differential equation  (Eq.1)&lt;br /&gt;
&lt;br /&gt;
== Peculiarities of the method (Warnings) ==&lt;br /&gt;
&lt;br /&gt;
* A good initial point must be known to start the procedure (See Ref. 3 and the entry: [[computation of phase equilibria]]).&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;integrand&#039;&#039; of the differential equation is computed with some numerical uncertainty&lt;br /&gt;
&lt;br /&gt;
* Care must be taken to reduce (and estimate) possible departures from the correct coexistence lines&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#[http://dx.doi.org/10.1080/00268979300100881 David A. Kofke,  &amp;quot;Gibbs-Duhem integration: a new method for direct evaluation of phase coexistence by molecular simulation&amp;quot;, Molecular Physics  &#039;&#039;&#039;78&#039;&#039;&#039;  pp 1331 - 1336 (1993)]&lt;br /&gt;
#[http://dx.doi.org/10.1063/1.465023 David A. Kofke,  &amp;quot;Direct evaluation of phase coexistence by molecular simulation via integration along the saturation line&amp;quot;,  Journal of Chemical Physics  &#039;&#039;&#039;98&#039;&#039;&#039; pp. 4149-4162 (1993)]&lt;br /&gt;
#[http://dx.doi.org/10.1063/1.2137705      A. van &#039;t Hof, S. W. de Leeuw, and C. J. Peters &amp;quot;Computing the starting state for Gibbs-Duhem integration&amp;quot;, Journal of Chemical Physics  &#039;&#039;&#039;124&#039;&#039;&#039; 054905 (2006)]&lt;br /&gt;
#[http://dx.doi.org/10.1063/1.2137706      A. van &#039;t Hof, C. J. Peters, and S. W. de Leeuw &amp;quot;An advanced Gibbs-Duhem integration method: Theory and applications&amp;quot;, Journal of Chemical Physics  &#039;&#039;&#039;124&#039;&#039;&#039; 054906 (2006)]&lt;br /&gt;
[[category: computer simulation techniques]]&lt;/div&gt;</summary>
		<author><name>141.108.6.68</name></author>
	</entry>
</feed>