# Periodic boundary conditions

A liquid, in the thermodynamic limit, would occupy an infinite volume. It is common experience that one can perfectly well obtain the thermodynamic properties of a material from a more modest sample. However, even a droplet has more atoms or molecules than one can possibly hope to introduce into ones computer simulation. Thus to simulate a bulk sample of liquid it is common practice to use a 'trick' known as **periodic boundary conditions**. If one has a cube of atoms/molecules, the molecule leaving one side enters on the diametrically opposite side. This is analogous to the arcade video game Asteriods ^{[1]}, where one can imagine the action takes place on the surface of a torus.

## References

## External resources

- Periodic boundary conditions in various geometries sample FORTRAN computer code from the book M. P. Allen and D. J. Tildesley "Computer Simulation of Liquids", Oxford University Press (1989).