Unwrapping NPT simulations to calculate diffusion coefficients
Authors:
- Jakob Tómas BullerjahnJBJakob Tómas Bullerjahn
- Sören von BülowSBSören von Bülow
- Maziar HeidariMHMaziar Heidari
- Jérôme HéninJHJérôme Hénin
- Gerhard HummerGHGerhard Hummer
Preprint
Abstract
In molecular dynamics simulations in the NPT ensemble at constant pressure, the size and shape of the periodic simulation box fluctuate with time. For particle images far from the origin, the rescaling of the box by the barostat results in unbounded position displacements. Special care is thus required when a particle trajectory is unwrapped from a projection into the central box under periodic boundary conditions to a trajectory in full three-dimensional space, e.g., for the calculation of diffusion coefficients. Here, we review and compare different schemes in use for trajectory unwrapping. We also specify the corresponding rewrapping schemes to put an unwrapped trajectory back into the central box. On this basis, we then identify a scheme for the calculation of meaningful diffusion coefficients, which is a primary application of trajectory unwrapping. In this scheme, the wrapped and unwrapped trajectory are mutually consistent and their statistical properties are preserved. We conclude with advice on best practice for the consistent unwrapping of constant-pressure simulation trajectories and the calculation of accurate translational diffusion coefficients.Keywords
All Related Versions
This publication has 23 references indexed in Scilit:
- Reversible Unwrapping Algorithm for Constant-Pressure Molecular Dynamics SimulationsJournal of Chemical Theory and Computation, 2022
- LAMMPS - a flexible simulation tool for particle-based materials modeling at the atomic, meso, and continuum scalesComputer Physics Communications, 2022
- Divergent Diffusion Coefficients in Simulations of Fluids and Lipid MembranesThe Journal of Physical Chemistry B, 2016
- GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputersSoftwareX, 2015
- Scalable molecular dynamics with NAMDJournal of Computational Chemistry, 2005
- System-Size Dependence of Diffusion Coefficients and Viscosities from Molecular Dynamics Simulations with Periodic Boundary ConditionsThe Journal of Physical Chemistry B, 2004
- VMD: Visual molecular dynamicsJournal of Molecular Graphics, 1996
- Fast Parallel Algorithms for Short-Range Molecular DynamicsJournal of Computational Physics, 1995
- Settle: An analytical version of the SHAKE and RATTLE algorithm for rigid water modelsJournal of Computational Chemistry, 1992
- The missing term in effective pair potentialsThe Journal of Physical Chemistry, 1987