Category:Ensembles: Difference between revisions
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
The total energy is the sum of the kinetic energy and potential energy of the particle | The total energy is the sum of the kinetic energy and potential energy of the particle | ||
system. Therefore the total energy depends on the momenta and the positions of the system. | system. Therefore the total energy depends on the momenta and the positions of the system. | ||
The partition function is written as a sum over all | Furthermore, the energy is an extensive variable depending on the particle number and the volume of the system. | ||
The partition function is written as a sum over all microstates in agreement with the NVE constraints | |||
<math> | <math> | ||
Line 32: | Line 33: | ||
denotes the set of particle positions and <math>\{\mathbf{p}_{i}\}</math> are the conjugate momenta. | denotes the set of particle positions and <math>\{\mathbf{p}_{i}\}</math> are the conjugate momenta. | ||
The sum is over all particle positions and momenta giving an energy in agreement with the energy constraint. | The sum is over all particle positions and momenta giving an energy in agreement with the energy constraint. | ||
Therefore, <math> \Omega(N,V,E) </math> is the number of microstates under the given conditions. | |||
From the microcanonical partition function it is possible to obtain the entropy by | |||
<math> | |||
S(N,V,E) = k_{B}log\Omega(N,V,E), | |||
</math> | |||
where <math> k_{B}</math> is the Boltzmann constant. The probabilities for the different micro states (r) are given by | |||
<math> | <math> | ||
Line 42: | Line 48: | ||
0\ else | 0\ else | ||
\end{cases} | \end{cases} | ||
</math>, | </math>. | ||
The microcanonical ensemble is a theoretical realization of a N particle system which is placed in a box | |||
with fixed volume and fully isolated from its surroundings. Therefore, no energy exchange with the rest of the universe is possible. In VASP this ensemble can be approximated by sampling the configurations in a [[Molecular dynamics calculations|molecular-dynamics]] run. | |||
''' Canonical ensemble ensemble (N,V,T)''' | |||
In the canonical ensemble the controlled thermodynamic state variables are the particle number, the | |||
volume and the temperature. The ensemble consists of all configurations accessible to the system | |||
at the given (N,V,T) conditions. The partition function can be derived by the use of Langrange | |||
The canonical partition function can be derived to be | |||
<math> | |||
Z(N,V,T) = \sum_{r}e^{-\beta E(N,V,\{\mathbf{r}_{i}\},\{\mathbf{p}_{i}\})} | |||
</math> | |||
Revision as of 17:11, 12 August 2022
Introduction
A central concept of statistical mechanics is the ensemble. An ensemble consists of a large number of virtual copies of the system of interest. An ensemble will always depend on three thermodynamic state variables, as for example particle number N, temperature T and pressure p. These three variables determine the type of ensemble that is studied. Depending on these three variables there is a thermodynamic potential associated with the ensemble, which would be the Helmholtz free energy in the case of N,T and p. Therefore, the concept of the ensemble gives access to any thermodynamic quantity. The configurations of your system building up the ensemble can be obtained from molecular dynamics simulations. The molecular-dynamics approach generates the configurations for the ensemble by integrating Newton's equations of motion.
Theory
In this section various ensembles will be introduced. To describe an ensemble mathematically the partition function will be used. The partition function is the central mathematical entity in statistical mechanics. As the wave function in quantum mechanics it contains all the information about a statistical system. The partition function depends on three thermodynamic state variables such as N,T and volume V.
Microcanonical ensemble (N,V,E)
To start, the three controlled external parameters have to be defined. In the case of the microcanonical ensemble these are the particle number, the volume and the total energy E of the system. The total energy is the sum of the kinetic energy and potential energy of the particle system. Therefore the total energy depends on the momenta and the positions of the system. Furthermore, the energy is an extensive variable depending on the particle number and the volume of the system. The partition function is written as a sum over all microstates in agreement with the NVE constraints
In this equation denotes a infinitesimal energy. denotes the set of particle positions and are the conjugate momenta. The sum is over all particle positions and momenta giving an energy in agreement with the energy constraint. Therefore, is the number of microstates under the given conditions. From the microcanonical partition function it is possible to obtain the entropy by
where is the Boltzmann constant. The probabilities for the different micro states (r) are given by
.
The microcanonical ensemble is a theoretical realization of a N particle system which is placed in a box with fixed volume and fully isolated from its surroundings. Therefore, no energy exchange with the rest of the universe is possible. In VASP this ensemble can be approximated by sampling the configurations in a molecular-dynamics run.
Canonical ensemble ensemble (N,V,T)
In the canonical ensemble the controlled thermodynamic state variables are the particle number, the volume and the temperature. The ensemble consists of all configurations accessible to the system at the given (N,V,T) conditions. The partition function can be derived by the use of Langrange The canonical partition function can be derived to be
NpT ensmble
NpH ensmble
How To
The following table gives an overview of the possible combination of ensembles and thermostats in VASP:
Thermostat Ensemble Andersen Nose-Hoover Langevin NHC CSVR Multiple Andersen Microcanonical (NVE) MDALGO=1, ANDERSEN_PROB=0.0 Canonical (NVT) MDALGO=1 MDALGO=2 MDALGO=3 MDALGO=4 MDALGO=5 MDALGO=13 ISIF=2 ISIF=2 ISIF=2 ISIF=2 ISIF=2 ISIF=2 Isobaric-isothermal (NpT) not available not available MDALGO=3 not available not available not available ISIF=3 Isoenthalpic-isobaric (NpH) MDALGO=3, ISIF=3, LANGEVIN_GAMMA=LANGEVIN_GAMMA_L=0.0
Pages in category "Ensembles"
The following 5 pages are in this category, out of 5 total.