Computation of phase equilibria: Difference between revisions

From SklogWiki
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
[CURRENTLY WORKING ON THE PAGE]
Thermodynamic equilibrium implies, for two phases <math> \alpha </math> and <math> \beta </math>:
 
The computation of phase equilibria using computer simulation can follow different strategies.
 
== Liquid-vapor equilibria of one component systems ==
 
 
The thermodynamic equilibrium implies, for two phases <math> \alpha </math> and <math> \beta </math>:
 
* Equal temperature: <math> T_{\alpha} = T_{\beta} </math>
 
* Equal pressure: <math> p_{\alpha} = p_{\beta} </math>
 
* Equal chemical potential: <math> \mu_{\alpha} = \mu_{\beta} </math>


* Equal [[temperature]]: <math> T_{\alpha} = T_{\beta} </math>


* Equal [[pressure]]: <math> p_{\alpha} = p_{\beta} </math>


* Equal [[chemical potential]]: <math> \mu_{\alpha} = \mu_{\beta} </math>


The computation of phase equilibria using computer simulation can follow a number of different strategies.
=== Independent simulations for each phase at fixed <math> T </math>  in the [[canonical ensemble]]  ===
=== Independent simulations for each phase at fixed <math> T </math>  in the [[canonical ensemble]]  ===
 
Simulations can be carried out either using [[Monte Carlo]] or [[Molecular dynamics]] techniques.
The simulations can be carried out either using [[Monte Carlo]] or [[Molecular dynamics]] techhniques.
Assuming that one has some knowledge on the phase diagram of the system, one can try the following recipe:
Let us assume that we have some knowledge on the phase diagram of the system. We could try the following recipe:


- Fix a temperature and a number of particles
- Fix a temperature and a number of particles


- Perform a few simulations in the low density region (where the gas phase density is expected to be)
- Perform a limited number of simulations in the low density region (where the gas phase density is expected to be)


- Perform a few simulations in the moderate / high density region (where the liquid phase should appear)
- Perform a limited number of simulations in the moderate to high density region (where the liquid phase should appear)


- In these simulations we can compute for each density (at fixed T) the values of the pressure and the
- In these simulations we can compute for each density (at fixed temperature) the values of the pressure and the
chemical potentials (for instance using the [[Widom test-particle method]])
chemical potentials (for instance using the [[Widom test-particle method]])
==== A quick (and dirty?) method ====
Using the previously obtained results the following somewhat unsophisticated procedure can be used to obtain a first inspection of the possible phase equilibrium.


==== A quick (dirty?) method ====
Fit the simulation results for each branch by using appropriate functional forms:
Using the results the following (unsophisticated) procedure can be used to get a first inspection
on the possible phase equilbrium.


:<math> \left. \mu_{v}(\rho) \right. ; p_v(\rho);\mu_l(\rho); p_l(\rho) </math>


Fit the simulation results for each branch using appropriate functional forms:
Use the fits to build, for each phase, a table with three entries: <math> \rho, p, \mu </math>, then plot for both tables
 
<math> \mu </math> as a function of <math> p </math> and check if the two lines intersect. The crossing point
<math> \mu_{v}(\rho); p_v(\rho);\mu_l(\rho); p_l(\rho) </math>
provides  (to within statistical uncertainty, the errors due to [[finite size effects]], etc.) the coexistence conditions.
 
Use the fits to build for each phase a table with three entries: <math> \rho, p, \mu </math>, Plot for both tables
<math> \mu </math> as a function of <math> p </math> and check if the two lines cross. The crossing point
gives (within statistical uncertainities, errors due to finite size, etc.) the coexistence conditions.
 
==== Improving the dirty method ====
==== Improving the dirty method ====
 
It can be useful to take into account classical thermodynamics to improve the previous analysis. This can be useful
* It can be useful to take into account classical thermodynamics to improve the previous analysis. This can be useful
because is is not unusual have large uncertainties in the results of the properties.
because we can have large uncertainties in the results of the properties ....
The basic idea is to use [[thermodynamic consistency]] requirements to improve the analysis.
 
=== Methodology in the [[Isothermal-isobaric ensemble|NpT]] ensemble ===
The basic idea is to use the thermodynamic consistence requirements to improve the analysis....
 
TO BE CONTINUED ..
 
=== Methodogy in the [[Isothermal-isobaric ensemble|NpT]] ensemble ===
TO BE CONTINUED
 
=== Van der Waals loops, in the [[canonical ensemble|canonical ]]  ensemble ===
=== Van der Waals loops, in the [[canonical ensemble|canonical ]]  ensemble ===
TO BE CONTINUED ...
=== Direct simulation of the two phase system in the [[Canonical  ensemble]] ===
=== Direct simulation of the two phase system in the [[Canonical  ensemble]] ===
== Mixtures ==
== Mixtures ==
 
=== Symmetric mixtures ===
=== Symmetrical mixtures ===
==References==
[[category: computer simulation techniques]]

Revision as of 18:16, 22 September 2007

Thermodynamic equilibrium implies, for two phases and :

  • Equal temperature:
  • Equal pressure:

The computation of phase equilibria using computer simulation can follow a number of different strategies.

Independent simulations for each phase at fixed in the canonical ensemble

Simulations can be carried out either using Monte Carlo or Molecular dynamics techniques. Assuming that one has some knowledge on the phase diagram of the system, one can try the following recipe:

- Fix a temperature and a number of particles

- Perform a limited number of simulations in the low density region (where the gas phase density is expected to be)

- Perform a limited number of simulations in the moderate to high density region (where the liquid phase should appear)

- In these simulations we can compute for each density (at fixed temperature) the values of the pressure and the chemical potentials (for instance using the Widom test-particle method)

A quick (and dirty?) method

Using the previously obtained results the following somewhat unsophisticated procedure can be used to obtain a first inspection of the possible phase equilibrium.

Fit the simulation results for each branch by using appropriate functional forms:

Use the fits to build, for each phase, a table with three entries: , then plot for both tables as a function of and check if the two lines intersect. The crossing point provides (to within statistical uncertainty, the errors due to finite size effects, etc.) the coexistence conditions.

Improving the dirty method

It can be useful to take into account classical thermodynamics to improve the previous analysis. This can be useful because is is not unusual have large uncertainties in the results of the properties. The basic idea is to use thermodynamic consistency requirements to improve the analysis.

Methodology in the NpT ensemble

Van der Waals loops, in the canonical ensemble

Direct simulation of the two phase system in the Canonical ensemble

Mixtures

Symmetric mixtures

References