4.2. Thermostats#
4.2.1. 1. Generating Canonical Ensemble in MD#
Molecular dynamics (MD) naturally gives the NVE ensemble. To obtain the NVT ensemble, apply a thermostat (heat reservoir) that drives the system to the correct temperature.
4.2.1.1. Stochastic Thermostats#
Andersen: At random intervals, assign new momenta to particles.
❌ Not momentum conserving.
Lowe-Andersen: Pairwise stochastic velocity changes.
✅ Momentum conserving.
Langevin: Add deterministic friction and random forces.
❌ Not momentum conserving.
DPD (Dissipative Particle Dynamics): Pairwise friction and random forces.
✅ Momentum conserving.
✅ Random thermostats are usually stable. ⚠️ They add computational cost due to random number generation. ⚠️ Must tune friction strength carefully to avoid distorting dynamics.
4.2.1.2. Deterministic Thermostats#
Add a scaling variable acting as a controller.
Isokinetic: Constant kinetic energy.
Berendsen: Weak velocity rescaling.
Nosé / Nosé-Hoover / Nosé-Hoover chains: Canonical (sometimes).
4.2.2. 2. Isokinetic Thermostat: Constant Kinetic Energy#
Use a Lagrange multiplier to constrain kinetic energy:
Differentiating:
This leads to:
The resulting ensemble has probability:
⚠️ Not canonical, but for large systems, it’s a good approximation. ✅ Configurations have correct distribution.
Can also use velocity rescaling:
⚠️ Discontinuous, but useful for initial equilibration.
4.2.3. 3. Berendsen Thermostat: Proportional Control#
Control temperature via exponential relaxation:
Velocity rescaling:
⚠️ Not canonical. ✅ Useful for steering system to target temperature.
4.2.4. 4. Nosé–Hoover Thermostat#
Nosé introduced an extended Hamiltonian:
( s ): scaling variable
( Q ): thermal mass
( g = 3N - 3 ): degrees of freedom
Equations of motion:
✅ Extended system is microcanonical ✅ Subsystem (q, p) is canonical
Hoover reformulated to avoid time scaling:
Generates canonical distribution if ergodic
Conserves extended energy:
Choose ( Q ) carefully:
4.2.5. 5. Nosé–Hoover Chains#
Single Nosé–Hoover thermostat may not be ergodic (e.g., harmonic oscillator).
Solution: Add a chain of thermostat variables:
Improves ergodicity
Commonly used in modern MD simulations
4.2.6. 6. Implementation via Operator Splitting#
Nosé–Hoover thermostat can be implemented using operator splitting:
Split Liouville operator:
(\mathcal{L}_1): thermostat part
(\mathcal{L}_2): velocity Verlet
Further split thermostat operator for accuracy:
Use multiple substeps
See: Martyna et al., Mol. Phys. 87, 1117 (1996)
4.2.7. Additional Resources#
Tuckerman et al. (2006) – J. Phys. A: Math. Gen. This paper presents a novel, measure-preserving, reversible geometric integrator for molecular dynamics simulations in the isothermal–isobaric (NPT) ensemble. The authors develop the integrator using a Liouville-operator-based formalism that ensures phase-space volume conservation, even in non-Hamiltonian systems. They extend the method to handle multiple time scales via r-RESPA and validate it through analytical derivations and numerical simulations, including Lennard-Jones fluids and flexible diatomic molecules. The integrator is shown to outperform previous schemes in stability and accuracy, particularly in preserving the correct ensemble distribution. The work concludes with suggestions for future extensions, including flexible cell dynamics and alternative thermal control methods.
Martyna et al. (1996) – Mol. Phys. This comprehensive study introduces explicit, reversible integrators for extended system dynamics in molecular simulations, targeting canonical (NVT) and isothermal–isobaric (NPT) ensembles. The integrators are derived from the Liouville operator formalism and are designed to be efficient, stable, and suitable for large-scale simulations. The paper details the integration schemes for various ensembles, including full cell fluctuations, and incorporates multiple time step strategies (RESPA) to handle systems with disparate time scales. The authors compare their methods with standard iterative velocity-Verlet schemes and demonstrate improved energy conservation and computational efficiency. The work includes practical implementation guidance, including Fortran code and constraint-handling techniques, making it a foundational reference for molecular dynamics practitioners.
Martyna et al. (1992) – J. Chem. Phys. This seminal paper introduces the Nosé–Hoover chain (NHC) method, a significant advancement in molecular dynamics for generating the canonical ensemble. The authors address the non-ergodicity of traditional Nosé–Hoover dynamics in small or stiff systems by coupling a chain of thermostat variables to the system. They provide a rigorous theoretical foundation, including derivations of the equations of motion, stability analysis, and proofs of phase-space volume conservation. Numerical experiments confirm that NHC dynamics yield accurate canonical distributions and are more robust than previous methods. The paper also discusses practical aspects such as thermostat mass selection, Lyapunov exponent analysis, and efficiency comparisons with Monte Carlo methods, establishing NHC as a reliable tool for simulating thermodynamic ensembles.