You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: paper/basic_training.tex
+31-8Lines changed: 31 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -646,7 +646,7 @@ \subsection{Thermostats}
646
646
% Motivation for using thermostats
647
647
\subsubsection{Thermostats seek to maintain a target temperature}
648
648
As mentioned above, molecular dynamics simulations are used to observe and glean properties of interest from some system of study.
649
-
In many cases, to emulate experiments done in laboratory conditions (exposed to the surroundings), sampling from the canonical (constant-temperature) ensemble is desired\cite{thermostatAlgorithms2005}.
649
+
In many cases, to emulate experiments done in laboratory conditions (exposed to the surroundings), sampling from the canonical (constanttemperature) ensemble is desired\cite{thermostatAlgorithms2005}.
650
650
Generally, if the temperature of the system must be maintained during the simulation, some thermostat algorithm will be employed.
651
651
652
652
@@ -658,12 +658,13 @@ \subsubsection{Background and How They Work}
658
658
If we use the equipartition theorem to calculate the temperature for a single snapshot in time of a molecular dynamics simulation instead of time-averaging, this quantity is referred to as the instantaneous temperature.
659
659
The instantaneous temperature will not always be equal to the target temperature; in fact, in the canonical ensemble, the instantaneous temperature should undergo fluctuations around the target temperature.
660
660
661
-
Thermostat algorithms work by altering the Newtonian equations of motion that are inherently microcanonical.
662
-
Thus, it is preferable that a thermostat not be used if it is desired to sample dynamical properties such as diffusion coefficients; instead, the thermostat should be turned off after equilibrating the system to the desired temperature.
663
-
However, some thermostats have been found to have little effect on dynamical properties, and they are commonly used during the production simulation as well\cite{Basconi:2013:J.Chem.TheoryComput.}.
661
+
Thermostat algorithms work by altering the Newtonian equations of motion that are inherently microcanonical (constant energy).
662
+
Thus, it is preferable that a thermostat not be used if it is desired to calculate dynamical properties such as diffusion coefficients; instead, the thermostat should be turned off after equilibrating the system to the desired temperature.
663
+
However, while all thermostats give non-physical dynamics, some have been found to have little effect on the calculation of particular dynamical properties, and they are commonly used during the production simulation as well\cite{Basconi:2013:J.Chem.TheoryComput.}.
664
664
665
665
There are several ways to categorize the many thermostatting algorithms that have been developed.
666
666
For example, thermostats can be either deterministic or stochastic depending on whether they use random numbers to guide the dynamics, and they can be either global or local depending on whether they are coupled to the dynamics of the full system or of a small subset.
667
+
Many of the global thermostats can be made into local ``massive'' variants by coupling separate thermostats to each particle in the system rather than having a single thermostat for the whole system.
667
668
There are also several methods employed by thermostat algorithms to control the temperature.
668
669
Some thermostats operate by rescaling velocities outside of the molecular dynamics' equations of motion, e.g., velocity rescaling is conducted after particles' positions and momenta have been updated by the integrator.
669
670
Others include stochastic collisions between the system and an implicit bath of particles, or they explicitly include additional degrees of freedom in the equations of motion that have the effect of an external heat bath.
The simple velocity rescaling thermostat is one of the easiest thermostats to implement; however, this thermostat is also one of the most non-physical thermostats.
689
690
This thermostat relies on rescaling the momenta of the particles such that the simulation's instantaneous temperature exactly matches the target temperature\cite{thermostatAlgorithms2005}.
690
691
Similarly to the Gaussian thermosat, simple velocity rescaling aims to sample the isokinetic ensemble rather than the canonical ensemble.
691
-
However, it has been shown that the sample velocity rescaling fails to properly sample the isokinetic ensemble except in the limit of extremeley small timesteps\cite{Braun:2018:arXiv:Anomalous}.
692
+
However, it has been shown that the sample velocity rescaling fails to properly sample the isokinetic ensemble except in the limit of extremely small timesteps\cite{Braun:2018:arXiv:Anomalous}.
692
693
Its usage can lead to simulation artifacts, so it is not recommended\cite{Harvey:1998:JCompChem,Braun:2018:arXiv:Anomalous}.
The Bussi\cite{Bussi:2007:JChemPhys:Canonical} thermostat is similar to the simple velocity rescaling and Berendsen thermostats, but instead of rescaling to a single kinetic energy that corresponds to the target temperature, the rescaling is done to a kinetic energy that is stochastically chosen from the kinetic energy distribution dictated by the canonical ensemble.
703
704
Thus, this thermostat properly samples the canonical ensemble.
704
705
Similarly to the Berendsen thermostat, a user-specified time coupling parameter can be chosen to vary how abruptly the velocity rescaling takes place
705
-
The choice of time coupling constant does not affect structural properties, and most dynamical properties are fairly independent from the choice within a broad range\cite{Bussi:2007:JChemPhys:Canonical}.
706
+
The choice of time coupling constant does not affect structural properties, and most dynamical properties are fairly independent of the coupling constant within a broad range\cite{Bussi:2007:JChemPhys:Canonical}.
706
707
707
708
\item\textbf{Andersen}
708
709
709
-
The Andersen\cite{andersen1980molecular} thermostat works by selecting particles at random and having them ``collide'' with a heat bath by selecting a new velocity for it sampled from the Maxwell-Boltzmann distribution.
710
+
The Andersen\cite{andersen1980molecular} thermostat works by selecting particles at random and having them ``collide'' with a heat bath by giving the particle a new velocity sampled from the Maxwell-Boltzmann distribution.
710
711
The number of particles affected, the time between ``collisions'', and how often it is applied to the system are possible variations of this thermostat.
711
712
The Andersen thermostat does reproduce the canonical ensemble.
712
713
However, it should only be used to sample structural properties, as dynamical properties can be greatly affected by the abrupt collisions.
Knowing the system you are simulating and the benefits and weaknesses to each thermostat is crucial to successfully and efficiently collect meaningful, physical data.
735
736
If you are only interested in sampling structural properties such as radial distribution functions, many of the given thermostats can be used, including the Gaussian, Bussi, Andersen, Langevin, and Nos\'{e}-Hoover thermostats.
736
-
If dynamical properties will be sampled, it is preferable to turn off the thermostat before beginning production cycles, but the Bussi and Nos\'{e}-Hoover thermostats (and in cases with implicit solvent, the Langevin thermostat), can often be used without disturbing these dynamical properties.
737
+
If dynamical properties will be sampled, it is preferable to turn off the thermostat before beginning production cycles, but the Bussi and Nos\'{e}-Hoover thermostats (and in cases with implicit solvent, the Langevin thermostat), can often be used without overly affecting the calculation of dynamical properties.
737
738
Since dynamical properties are not important during equilibration, faster algorithms like the Andersen or Bussi thermostats can be used, with a switch to the Nos\'{e}-Hoover thermostat for production.
738
739
Overall, the Bussi thermostat has been shown to work well for most purposes, and its use is recommended as a general-purpose thermostat.
739
740
741
+
\begin{table*}
742
+
\label{tstat_summary}
743
+
\caption{Basic summary of popular thermostats. \ding{55} indicates that the thermostat does not fulfill the statement, \ding{51} indicates that the thermostat does fulfill the statement, and (\ding{51}) indicates that the thermostat fulfills the statement under certain circumstances.}
Here, we discuss why barostats are used, give their background, discuss roughly how they work, describe some popular options, and summarize with some recommendations.
0 commit comments