Definitioncore
Microcanonical ensemble
Also called NVE ensemble.
The uniform distribution over states of fixed particle number, volume and energy. Hamiltonian molecular dynamics, if ergodic, samples it with the total momentum also fixed.
The microcanonical ensemble is the probability distribution of an isolated system with a fixed number of particles , a fixed volume and a fixed energy : every state on the energy surface has the same weight. It is the ensemble of classical mechanics without a heat bath, and plain molecular dynamics, which conserves the energy, samples it if the motion is ergodic. Molecular dynamics in a periodic box also conserves the total momentum, so the ensemble it samples is the microcanonical ensemble at fixed total momentum, often written NVEP. The canonical ensemble at fixed temperature is the other ensemble used most, and a thermostat is needed to sample it.
Definition
Let be a point of phase space and the Hamiltonian, with the positions in the volume . The microcanonical ensemble at is the probability density
where is Planck's constant, which only fixes the units of , and counts the exchanges of identical particles. The average of an observable is . The entropy is , and the temperature follows from at fixed and .
Two remarks make the definition exact:
- "Uniform" is in the measure . Per unit of area on the surface , the weight is proportional to , so the parts of the surface where changes slowly get more weight. Some books use the thin shell instead, which is the same in the limit .
- It is stationary. By Liouville's theorem the Hamiltonian flow keeps phase-space volume, and it keeps , so any density that is a function of alone, among them, does not change in time (a theorem).
The ensemble of molecular dynamics. If does not change when all atoms are moved by the same vector, as with periodic boundary conditions, the total momentum is also conserved. A trajectory then stays on the set , , and the best it can sample is
The usual choice is . With periodic boundaries the box breaks the rotation symmetry, so the angular momentum is not conserved and gives no third constraint. Three degrees of freedom are fixed by the momentum, so the kinetic temperature is
For an isolated molecule in free space, where the angular momentum is also conserved and set to zero, .
Ergodicity. Molecular dynamics gives time averages along one trajectory. These equal the ensemble averages above only if the motion is ergodic on its constant-energy and constant-momentum surface: almost every trajectory spends in each region of that surface a fraction of its time equal to the weight of the region. This is the ergodic hypothesis. It is an assumption for most systems of interest, not a theorem, and it fails for some, as the examples show.
The integrator. A symplectic integrator such as velocity Verlet with step does not keep exactly. It keeps a nearby shadow Hamiltonian for very long times, so fluctuates by and does not drift. A simulation is checked by monitoring : a drift means a too large step or a force that is not the gradient of a smooth , for example a force that jumps at a cutoff.
Examples and non-examples
One harmonic oscillator. Take at energy , with amplitude . The energy surface is an ellipse. Integrating over gives the density of :
the arcsine law: the oscillator is most often near its turning points. The probability of is . The trajectory gives the same: on two arcs of length each, which is of the period. A system with one degree of freedom is ergodic on its energy curve, so the time average and the ensemble average agree.
Two oscillators, an ensemble but not ergodic dynamics. Take two independent oscillators with total energy . One oscillator has a constant density of states, so in the ensemble the share is uniform on , with mean and variance . But each oscillator keeps its own energy along the motion, so a trajectory started with keeps forever, and its time average is , not . The same happens with the normal modes of a harmonic crystal. The microcanonical ensemble is well defined here; molecular dynamics does not sample it.
The ideal gas and the Maxwell distribution. For free atoms with no momentum constraint, the momenta are uniform on the sphere in dimensions. One component of one momentum then has density proportional to
For the exponent is 0, so each component is uniform on , which is Archimedes' result for the sphere. With and , the density tends to , the Maxwell-Boltzmann distribution of the canonical ensemble.
Counting degrees of freedom. A run with atoms and zero total momentum has mean kinetic energy . With , the reduced temperature is . With it would be , an error of about 1 percent that shrinks as .
Fluctuations depend on the ensemble. In the canonical ensemble the energy fluctuates; in the microcanonical ensemble it does not, but the kinetic energy does. Lebowitz, Percus and Verlet showed that at fixed energy, to leading order in ,
with the heat capacity, so a molecular dynamics run gives from the fluctuation of (a theorem). For an ideal gas, and the fluctuation is 0, as it must be, since then . Averages of local quantities, such as the pressure or the radial distribution function, agree between the two ensembles up to .
Non-example: a thermostatted run. Molecular dynamics with a Nosé-Hoover thermostat or an Andersen thermostat changes the energy of the atoms on purpose and samples the canonical ensemble, not this one.
Non-example: a trajectory that does not conserve energy. With a plain truncated potential, the force is not the gradient of a continuous energy, and each crossing of the cutoff changes . The energy then drifts, and the run samples no fixed-energy ensemble.
Related definitions
- Canonical ensemble. Fixed , and , with density proportional to . For large it is concentrated near one energy, and it is the microcanonical ensemble averaged over with the weight .
- Partition function. The canonical normalization is the Laplace transform of in the energy.
- Ergodic hypothesis. The assumption that time averages equal the ensemble averages. For Markov chains, the ergodic theorem is the analogous result, with conditions that can be checked.
- Shadow Hamiltonian. The quantity that a symplectic integrator keeps, so a long run samples the microcanonical ensemble of , close to that of .
- Green-Kubo relations. Transport coefficients from time correlations, usually computed in microcanonical runs, since a thermostat changes the dynamics.
References
- Michael P. Allen and Dominic J. Tildesley, Computer Simulation of Liquids, second edition, Oxford University Press, 2017, Section 2.1 (sampling from ensembles), Section 2.2 (common statistical ensembles, the microcanonical density and the constant-momentum ensemble of molecular dynamics) and Section 2.5 (fluctuations)
- Mark E. Tuckerman, Statistical Mechanics, Theory and Molecular Simulation, Oxford University Press, 2010, Chapter 3, the microcanonical ensemble
- Daan Frenkel and Berend Smit, Understanding Molecular Simulation, From Algorithms to Applications, second edition, Academic Press, 2002, Chapter 2 (statistical mechanics, ensembles and the ergodic hypothesis)
- J. L. Lebowitz, J. K. Percus and L. Verlet, Ensemble dependence of fluctuations with application to machine computations, Physical Review 153(1), 1967, 250-254, the fluctuation of the kinetic energy at fixed total energy and its relation to the heat capacity
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag CN7RTP Edit this page History Report an error Markdown