The Andersen thermostat is a proposal in molecular dynamics simulation for maintaining constant temperature conditions.[1] [2] It is based on periodic reassignment of the velocities of atoms or molecules. For each atom or molecule, the reassigned velocity is picked randomly according to Maxwell–Boltzmann statistics for the given temperature.
When a system exists at some temperature, the energy of particles' degrees of freedom are randomly distributed according to a Boltzmann distribution. The energy of such systems is not constant; it's constantly fluctuating due to exchange of energy with surroundings. The Andersen thermostat models this exchange of energy with the surroundings as random perturbations on randomly selected particles. This is in contrast to methods such as the Nosé–Hoover thermostat.
At each time step of the molecular dynamics simulation, a number of particles are selected to undergo "thermalization". The probability of any given particle being picked in this manner is
\nu\Deltat
\Deltat
\nu
\nu