Skip to main content
Log in

Calculating the pressure in simulations using periodic boundary conditions

  • Articles
  • Published:
Journal of Statistical Physics Aims and scope Submit manuscript

Abstract

Because it is not immediately clear how to write down a proper Hamiltonian for a system in periodic boundary conditions, particularly with Coulombic interactions, we consider a large, finite array of copies of a basic simulation cell containingN particles with some interaction between them. We also putN independent copy particles in each of the copy cells of the array and write down a constrained Lagrangian for the whole system. Constraints on the velocities of the particles of the whole array together with an appropriate initial condition implement the periodic structure in the cells of the array of copies. We derive a Hamiltonian for the whole system with constraints and then derive the equations of motion and a virial expression for the pressure tensor in terms of the forces on the system. In the limit as the array of cell copies becomes large, the equations of motion become the standard ones used in periodic-boundaryconditions simulations. The method also provides an unequivocal algorithm for the pressure in this limit in terms of a virial expression. Particular attention is paid to the case of Coulombic interactions.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. M. A. Allen and D. J. Tildesley,Computer Simulation of Liquids (Clarendon Press, Oxford, 1987).

    Google Scholar 

  2. S. A. Rice and P. Gray,The Statistical Mechanics of Simple Liquids (Interscience, New York, 1965).

    Google Scholar 

  3. W. G. Hoover,Computational Statistical Mechanics (Elsevier, Amsterdam, 1991), pp. 143–144.

    Google Scholar 

  4. D. A. Varshalovich, A. N. Moskalev, and V. K. Khersonskii,Quantum Theory of Angular Momentum (World Scientific, Singapore, 1988), Chapter 5.

    Google Scholar 

  5. M. Abramowitz and I. A. Stegun, eds.,Handbook of Mathematical Functions (Dover, New York, 1972).

    Google Scholar 

  6. A. Erdelyi, ed.,Higher Transcendental Functions, Vols. 1 and 2 (McGraw-Hill, New York, 1955).

    Google Scholar 

  7. S. W. De Leeuw, J. W. Perram, and H. G. Petersen,J. Stat. Phys. 61:1203–1222 (1990).

    Article  Google Scholar 

  8. E. R. Smith,Proc. R. Soc. Lond. A 375:475–504 (1981).

    Google Scholar 

  9. S. W. De Leeuw, J. W. Perram, and E. R. Smith,Proc. R. Soc. Lond. A 373:27–56 (1980).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Smith, E.R. Calculating the pressure in simulations using periodic boundary conditions. J Stat Phys 77, 449–472 (1994). https://doi.org/10.1007/BF02186852

Download citation

  • Received:

  • Accepted:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02186852

Key Words

Navigation