# Molecular Simulation/Treatment of Long Range Forces

Treatment of long-range interactions in molecular simulations poses a serious challenge in terms of computational requirements. By employing periodic boundary conditions, bulk properties of a sample may be calculated efficiently using a limited number of molecules within a finite cell. Each molecule in the cell interacts with every other molecule, both within the same cell and within the other infinite periodic cell images. These interactions include dispersion, repulsion, and any other electrostatic interactions. Essentially, this means that there are an infinite number of intermolecular interactions that must be calculated during the simulation, which is a problem in practical computation.

As is common in molecular simulation, the Lennard-Jones potential is used to describe both dispersion and repulsion interactions. These interactions, relative to other electrostatic interactions, decay fairly quickly, and can thus be dealt with fairly easily in computation. Electrostatic interactions (such as charge-dipole, dipole-dipole, quadrupole-quadrupole, etc.) are often significantly stronger at a given distance , and decay at a much slower rate as increases, with the rate of decay increasing as the exponent of increases. This makes their treatment somewhat more complicated.

## Cutoffs

editNon-bonded cutoffs are employed so as to save computational resources without sacrificing validity of results. These cutoffs are used to model long-range interactions between atoms or molecules in a simulation, and essentially truncate the interactions at a specific distance. Because intermolecular interaction potentials converge to a particular value (namely zero) as , the interaction potential can effectively be tuned to this value after a certain distance. In the case of dispersion and repulsion interactions, which are modelled by the Lennard-Jones potential, a switching function, , is employed in the simulation. This switching function causes the decay of the interaction to reach zero by a desired cutoff distance, at which point the two molecules or atoms involved in the intermolecular interaction do not interact through the Lennard-Jones potential at all,

The intermolecular distance at which the switching function is turned on is the switch distance, which is generally about 2 Å less than the cutoff distance. In between the switch distance and the cutoff distance, the interaction potential is gradually scaled to zero by the switching function. This gradual change in interaction potential maintains the physical basis of the simulation without using an abrupt, non-physical cutoff of interactions (as can be seen in the hard-sphere model for repulsive interactions). This method avoids a discontinuity in the interaction potential that would be caused by an abrupt truncation of the interaction potential function.

Such a convenient treatment of long-range interactions is easily applied to dispersion and repulsion interactions modelled by the Lennard-Jones potential, but is not applicable in all cases. For electrostatic interactions, other methods (such as Ewald summation, see below) must be employed. This is because electrostatic interactions are typically much longer-range than dispersion and repulsion interactions, and truncation through the use of simple switching functions could result in a serious decrease in accuracy of results. These interactions are stronger than dispersion or repulsion, and must be treated more carefully.

## Ewald Decomposition

editWhile truncation of the Lennard-Jones potential for dispersion and repulsion interactions is made relatively simple through the use of switching functions and non-bonded cutoffs, dealing with long-range electrostatic interactions is less straightforward, and requires a different approach. Evaluation of these interactions is commonly performed using the Ewald method, which divides electrostatic interactions into short-range and long-range components. The short-range component quickly decays to zero in real space, thus it can be truncated using a switching function, as was the case for the Lennard-Jones potential. The long-range component is more difficult to deal with, though it can be calculated efficiently in reciprocal space. In the Ewald summation method, the Gauss error function (erf) and complementary error function (erfc) are employed.^{[1]} These functions can be seen as

and

with and . These functions are thus complementary. Also, note that

and

thus, by definition,

- .

In using these Gauss functions, the term of the Coulombic interaction potential is broken down into the aforementioned short- and long-range terms,

where is a tunable constant chosen to ensure the electrostatic interaction decays to zero at the desired value. In this case, the term corresponds to the short-range interaction potential, which decays quickly to zero through evaluation in real space, while the term corresponds to the long-range interaction potential, which is more easily evaluated in reciprocal space.^{[2]} This potential is evaluated as a sum of all possible charge-charge interactions across the infinite periodic images of the simulation cell. In reciprocal space, these interactions converge quickly, allowing efficient computation through application of fast Fourier transforms.^{[1]} The sum of all charge-charge interactions at long range throughout all periodic images of the simulation system can be represented as

where is the distance vector between interacting charges and and is the translational vector between different periodic cell images. Equivalently, this sum can be written as a Fourier series,^{[1]}

where is a reciprocal space expansion coefficient and is a reciprocal space vector. Note that while this sum is still infinite, quickly as , allowing efficient computation of long-range electrostatic interactions through application of fast Fourier transforms.

## Particle Mesh Ewald

editThe particle mesh Ewald method is a numerical approximation to Ewald summation.^{[3]} It involves a "smearing" of charges across a finite set of lattice points, located on a grid (or "mesh") that is placed over the simulation cell. By localizing charge density on this grid, the overall charge distribution across the simulation cell and its infinite periodic images is reduced to a more manageable form. This makes calculation of long-range electrostatic interactions significantly easier and less expensive, particularly in systems with a large simulation cell length, and thus, a large number of vectors. From the lattice of "smeared" charge densities, long-range interaction potentials can be calculated using a fast Fourier transform. While this approximation decreases the computational cost significantly, accuracy of collected data is still high. The particle mesh Ewald method is also relatively simple to integrate into a simulation.^{[4]} These factors combine to make it an extremely attractive method to calculate long-range electrostatic interaction potentials.

## See Also

editWikipedia article on Ewald summation

- ↑
^{a}^{b}^{c}Tuckerman, M. E. (2009).*Statistical Mechanics: Theory and Molecular Simulation*. Oxford University Press. - ↑ Allen, M. P.; Tildesley, D. J. (1987).
*Computer Simulation of Liquids*. Clarendon Press. - ↑ Herce, H. D.; Garcia, A. E.; Darden, T. (28 March 2007). "The electrostatic surface term: (I) Periodic systems".
*The Journal of Chemical Physics*.**126**(12): 124106. Bibcode:2007JChPh.126l4106H. doi:10.1063/1.2714527. PMID 17411107. - ↑ Darden, T.; York, D.; Pederson, L. (15 June 1993). "Particle mesh Ewald: An
*N*·log(*N*) method for Ewald sums in large systems".*The Journal of Chemical Physics*.**98**(12): 10089. doi:10.1063/1.464397.