Suite101

More on Periodic Boundary Conditions


© Adam Hughes

Last week, we began to look at periodic boundary conditions and how they might help the computational researcher perform more realistic and meaningful simulations. We saw that periodic boundary conditions (PBC's) make it seem as though the system is infinitely large, at least as far as calculating properties goes. Indeed, using PBC's in the modeling of a bulk system can dramatically enhance the quality of calculated properties, and they are generally simpler to implement than many of the alternative methods. While PBC's can ultimately affect a great many aspects of a simulation, all of their benefits can really be seen by just looking at neighbor lists.

Since we are talking about classical simulations here, the empirical force field terms are assumed to be known for each pair of interacting particles. Further, these potentials are fixed throughout the simulation, varying only with the distance between the particles in question. Also, the partial differential equations governing the movement of bodies in the system are well-known, and the also depend on the aforementioned interaction potentials (in the form of forces). Finally, all of the properties of the bodies, such as mass, size, etc., can also be assumed to be known. Because we know so much about all of these things, the remaining governing factors are how many particles interact with each other at any one time and how we handle the boundaries of our problem. Our choice of periodic boundary conditions sets all of this up nicely for us and gives us a nice, continuous problem space with which to work.

In particular, the use of PBC's allows us to construct neighbor lists in a consistent way through the entire spatial scope of the simulation. It's easy to imagine that the important neighbors of a particle sitting in the center of the simulation box probably also sit in the simulation box. As we get nearer to the box wall, though, a molecule will have some of its neighbors in the box, and then nothing on the other side of the wall (without PBC's, that is). When using PBC's, though, there is an exact copy of the entire simulation box immediately adjacent to it. This means that the particle near the wall interacts with an exact image of particles on the other side of the box (though not the particles themselves). The particle, then behaves just as if it were sitting the middle of the box, not stranded out at the wall somewhere.

Of course, there are solutions to handling boundary interactions that do not involve periodic boundary conditions. They usually involve some sort of "cluster" approximation that uses a potential to model a definite end of the box.

Go To Page: 1 2


The copyright of the article More on Periodic Boundary Conditions in Scientific Computing is owned by Adam Hughes. Permission to republish More on Periodic Boundary Conditions in print or online must be granted by the author in writing.

Post this Article to facebook Add this Article to del.icio.us! Digg this Article furl this Article Add this Article to Reddit Add this Article to Technorati Add this Article to Newsvine Add this Article to Windows Live Add this Article to Yahoo Add this Article to StumbleUpon Add this Article to BlinkLists Add this Article to Spurl Add this Article to Google Add this Article to Ask Add this Article to Squidoo