Periodic boundary conditions

Periodic boundary conditions (PBCs) are a set of boundary conditions that are often chosen for approximating a large (infinite) system by using a small part called a unit cell. PBCs are often used in computer simulations and mathematical models. The topology of two-dimensional PBC is equal to that of a world map in some video games; the unit cell's geometry satisfies perfect two-dimensional tiling, and after an object passes through one side of the cell, it reappears on the opposite side with the same velocity. In topological terms, the space made by two-dimensional PBCs can be thought of as being mapped onto a torus (compactification). The large systems approximated by PBCs consist of an infinite number of unit cells. In computer simulations, one of these is the original simulation box, and the others are copies called images. During the simulation, only the properties of the original simulation box must be recorded and propagated. The minimum-image convention is a common form of PBC particle bookkeeping in which each particle in the simulation interacts with the closest image of the remaining particles.

One example of periodic boundary conditions can be defined according to smooth real functions by

for all m = 0, 1, 2, ... and for constants and .

In molecular dynamics simulations and Monte Carlo molecular modeling, PBCs are usually applied to calculate properties of bulk gases, liquids, crystals, or mixtures. A common application uses PBC to simulate solvated macromolecules in a bath of explicit solvent. Born–von Karman boundary conditions are periodic boundary conditions for a special system.

In electromagnetics, PBC can be applied for different mesh types to analyze the electromagnetic properties of periodical structures.