Computing the local pressure in molecular dynamics simulations

Computer simulations of inhomogeneous soft matter systems often require accurate methods for computing the local pressure. We present a simple derivation, based on the virial relation, of two equivalent expressions for the local (atomistic) pressure in a molecular dynamics simulation. One of these expressions, previously derived by other authors via a different route, involves summation over interactions between particles within the region of interest; the other involves summation over interactions across the boundary of the region of interest. We illustrate our derivation using simulations of a simple osmotic system; both expressions produce accurate results even when the region of interest over which the pressure is measured is very small.

[1]  H. C. Andersen,et al.  Role of Repulsive Forces in Determining the Equilibrium Structure of Simple Liquids , 1971 .

[2]  P. Cheung On the calculation of specific heats, thermal pressure coefficients and compressibilities in molecular dynamics simulations , 1977 .

[3]  Evans,et al.  Pressure tensor for inhomogeneous fluids. , 1995, Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics.

[4]  M. Schindler A numerical test of stress correlations in fluctuating hydrodynamics , 2010, 1005.1198.

[5]  M E Cates,et al.  Diffusive transport without detailed balance in motile bacteria: does microbiology need statistical physics? , 2012, Reports on progress in physics. Physical Society.

[6]  R. Clausius,et al.  XVI. On a mechanical theorem applicable to heat , 1870 .

[7]  P. Virnau,et al.  Methods to extract interfacial free energies of flat and curved interfaces from computer simulations , 2009 .

[8]  T. J. Delph,et al.  Stress calculation in atomistic simulations of perfect and imperfect solids , 2001 .

[9]  B. Efron Bootstrap Methods: Another Look at the Jackknife , 1979 .

[10]  J. Kirkwood,et al.  The Statistical Mechanical Theory of Transport Processes. IV. The Equations of Hydrodynamics , 1950 .

[11]  J. Schweitz A classical virial theorem for open systems , 1977 .

[12]  Jean-Pierre Hansen,et al.  Basic Concepts for Simple and Complex Liquids: Curvature and fluctuations , 2003 .

[13]  G. G. Stokes "J." , 1890, The New Yale Book of Quotations.

[14]  James F. Lutsko,et al.  Stress and elastic constants in anisotropic solids: Molecular dynamics techniques , 1988 .

[15]  J. Banavar,et al.  Computer Simulation of Liquids , 1988 .