A second order Langevin sampler preserving positive volume for isothermal isobaric ensemble
Lei Li, Yuzhou Peng
TL;DR
The paper addresses the challenge of sampling the isothermal-isobaric ensemble with molecular dynamics while guaranteeing a positive simulation-volume. It derives a zero-mass limit and reformulates the dynamics using a log-volume variable $\epsilon=\log V$ with a carefully chosen friction $\gamma(V)=1/(\lambda V^2)$ to yield additive noise and a well-posed, invariant $NPT$ process. A second-order weak-splitting scheme is proposed to preserve positivity of $V$ and achieve second-order accuracy, validated through numerical tests on a free gas, an artificial interacting system, and Lennard–Jones fluids, demonstrating adherence to pressure-virial relations and superior sampling efficiency compared to first-order methods. The result is a robust, higher-order, positive-volume-preserving NPT sampler suitable for realistic MD applications and accurate free-energy and equation-of-state calculations.
Abstract
We propose in this work a second-order Langevin sampler for the isothermal-isobaric ensemble (the NPT ensemble), preserving a positive volume for the simulation box. We first derive the suitable equations of motion for particles to be coupled with the overdamped Langevin equation of volume by sending the artificial mass of the periodic box to zero in the work of Liang et. al. [J. Chem. Phys. 157(14)]. We prove the well-posedness of the new system of equations and show that its invariant measure is the desired ensemble. The new continuous time equations not only justify the previous cell-rescaling methods, but also allow us to choose a suitable friction coefficient so that one has additive noise after a change of variable by taking logarithm of the volume. This observation allows us to propose a second order weak scheme that guarantees the positivity of the volume. Various numerical experiments have been performed to demonstrate the efficacy of our method.
