English

Computing the local pressure in molecular dynamics simulations

Soft Condensed Matter 2015-06-03 v2

Abstract

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.

Keywords

Cite

@article{arxiv.1111.2705,
  title  = {Computing the local pressure in molecular dynamics simulations},
  author = {Thomas Lion and Rosalind J. Allen},
  journal= {arXiv preprint arXiv:1111.2705},
  year   = {2015}
}

Comments

11 pages, 4 figures

R2 v1 2026-06-21T19:34:39.220Z