CSVR thermostat
One popular strategy to control temperature in NVT MD is to rescale atomic velocities () at a certain predefined frequency by some factor in such a way that the total kinetic energy of the system
is equal to the average kinetic energy corresponding to given temperature:
where is the number of degrees of freedom (e.g., in the case of 3D periodic systems) and is the number of atoms per the simulation cell. Such a method, however, suffers from several problems. First, the ensemble generated is not strictly canonical. Second, rescaling velocities creates discontinuities in trajectories. As a consequence, the method has no conserved quantity that could be used to guide the choice simulation parameters, such as the size of the integration step and also the evaluation of time correlations is problematic. Finally, the trajectories generated via a naive rescaling method often suffer from flying ice-cube problem, i.e., transfer of kinetic energy of a part of the vibrational degrees of freedom into translations and/or rotations, violating thus equipartition principle.
An elaborated approach based on the velocity rescaling has been proposed by Bussi et al. Their proposed canonical samplig through velocity rescaling (CSVR) removes most of the difficulties of the naive rescaling approach.