In the molecular dynamics simulation method for fluids, the equations of motion for a collection of particles in a fixed volume are solved numerically. The energy, volume, and number of particles are constant for a particular simulation, and it is assumed that time averages of properties of the simulated fluid are equal to microcanonical ensemble averages of the same properties. In some situations, it is desirable to perform simulations of a fluid for particular values of temperature and/or pressure or under conditions in which the energy and volume of the fluid can fluctuate. This paper proposes and discusses three methods for performing molecular dynamics simulations under conditions of constant temperature and/or pressure, rather than constant energy and volume. For these three methods, it is shown that time averages of properties of the simulated fluid are equal to averages over the isoenthalpic–isobaric, canonical, and isothermal–isobaric ensembles. Each method is a way of describing the dynamics of a certain number of particles in a volume element of a fluid while taking into account the influence of surrounding particles in changing the energy and/or density of the simulated volume element. The influence of the surroundings is taken into account without introducing unwanted surface effects. Examples of situations where these methods may be useful are discussed.

## REFERENCES

*Statistical Mechanics, Part A: Equilibrium Techniques*, edited by B. J. Berne (Plenum, New York, 1977), p. 137;

*ibid.*, p. 169;

*Statistical Mechanics, Part B: Time‐Dependent Processes*, edited by B. J. Berne (Plenum, New York, 1977), p. 1;

*ibid.*, p. 41;

*Physics of Simple Liquids*, edited by H. N. V. Temperley, G. S. Rushbrooke, and J. S. Rowlinson (North‐Holland, Amsterdam, 1968), p. 116;

*Physical Chemistry, An Advanced Treatise*, edited by D. Henderson (Academic, New York, 1971), Vol. VIIIA, p. 157;

*An Introduction to Statistical Thermodynamics*(Addison‐Wesley, Reading, 1960), p. 38.

*Statistical Mechanics*(McGraw‐Hill, New York, 1956), p. 110.

*N*,

*V*, and

*E*.

*An Introduction to Probability Theory and Its Applications*, 3rd ed. (Wiley, New York, 1950), Vol. I, pp. 446–448.

*Stochastic Processes*(Holden‐Day, San Francisco, 1962), pp. 117–123.