**2017: SklogWiki celebrates 10 years on-line**

# Andersen thermostat

The **Andersen thermostat** was the first thermostat proposed for molecular dynamics, thus permitting one to use the canonical ensemble (NVT) in simulations. The Andersen thermostat (Ref. ^{[1]}, section IV) couples the system to a heat bath via stochastic forces that modify the kinetic energy of the atoms or molecules.
The time between collisions, or the number of collisions in some (short) time interval is decided randomly, with the following Poisson distribution (Eq. 4.1):

where is the stochastic collision frequency. Between collisions the system evolves at constant energy, i.e. business as usual. Upon a 'collision event' the new momentum of the lucky atom (or molecule) is chosen at random from a Boltzmann distribution at temperature . In principle can adopt any value. However, there does exist an optimum choice (Eq. 4.9):

where is a dimensionless constant, is the thermal conductivity, is the volume, is the Boltzmann constant, and is the number density of particles; .

Note: the Andersen thermostat should only be used for time-independent properties. Dynamic properties, such as the diffusion, should not be calculated if the system is thermostated using the Andersen algorithm ^{[2]}.

## See also[edit]

## References[edit]

- ↑ Hans C. Andersen "Molecular dynamics simulations at constant pressure and/or temperature", Journal of Chemical Physics
**72**pp. 2384-2393 (1980) - ↑ H. Tanaka, Koichiro Nakanishi, and Nobuatsu Watanabe "Constant temperature molecular dynamics calculation on Lennard-Jones fluid and its application to water", Journal of Chemical Physics
**78**pp. 2626-2634 (1983)

- Related reading