Ewald summation, named after Paul Peter Ewald, is a method for computing long-range interactions (e.g. electrostatic interactions) in periodic systems. It was first developed as the method for calculating the electrostatic energies of ionic crystals, and is now commonly used for calculating long-range interactions in computational chemistry. Ewald summation is a special case of the Poisson summation formula, replacing the summation of interaction energies in real space with an equivalent summation in Fourier space. In this method, the long-range interaction is divided into two parts: a short-range contribution, and a long-range contribution which does not have a singularity. The short-range contribution is calculated in real space, whereas the long-range contribution is calculated using a Fourier transform. The advantage of this method is the rapid convergence of the energy compared with that of a direct summation. This means that the method has high accuracy and reasonable speed when computing long-range interactions, and it is thus the de facto standard method for calculating long-range interactions in periodic systems. The method requires charge neutrality of the molecular system to accurately calculate the total Coulombic interaction. A study of the truncation errors introduced in the energy and force calculations of disordered point-charge systems is provided by Kolafa and Perram.
Derivation Ewald summation rewrites the interaction potential as the sum of two terms, φ(𝐫) =def φsr(𝐫)+φℓr(𝐫), where φsr(𝐫) represents the short-range term whose sum quickly converges in real space and φℓr(𝐫) represents the long-range term whose sum quickly converges in Fourier (reciprocal) space. The long-ranged part should be finite for all arguments (most notably r = 0) but may have any convenient mathematical form, most typically a Gaussian distribution. The method assumes that the short-range part can be summed easily; hence, the problem becomes the summation of the long-range term. Due to the use of the Fourier sum, the method implicitly assumes that the system under study is infinitely periodic (a sensible assumption for the interiors of crystals). One repeating unit of this hypothetical periodic system is called a unit cell. One such cell is chosen as the "central cell" for reference and the remaining cells are called images. The long-range interaction energy is the sum of interaction energies between the charges of a central unit cell and all the charges of the lattice. Hence, it can be represented as a double integral over two charge density fields representing the fields of the unit cell and the crystal lattice Eℓr=∬d𝐫d𝐫′ρTOT(𝐫)ρuc(𝐫′) φℓr(𝐫−𝐫′) where the unit-cell charge density field ρuc(𝐫) is a sum over the positions 𝐫k of the charges qk in the central unit cell ρuc(𝐫) =def ∑charges kqkδ(𝐫−𝐫k) and the total charge density field ρTOT(𝐫) is the same sum over the unit-cell charges qk and their periodic images ρTOT(𝐫) =def ∑n1,n2,n3∑charges kqkδ(𝐫−𝐫k−n1𝐚1−n2𝐚2−n3𝐚3) Here, δ(𝐱) is the Dirac delta function, 𝐚1, 𝐚2 and 𝐚3 are the lattice vectors and n1, n2 and n3 range over all integers. The total field ρTOT(𝐫) can be represented as a convolution of ρuc(𝐫): ρTOT(𝐫)=∫d𝐫′ρuc(𝐫′)L(𝐫−𝐫′), with a lattice function L(𝐫) L(𝐫) =def ∑n1,n2,n3δ(𝐫−n1𝐚1−n2𝐚2−n3𝐚3) Since this is a convolution, the Fourier transformation of ρTOT(𝐫) is a product ρ~TOT(𝐤)=L~(𝐤)ρ~uc(𝐤) where the Fourier transform of the lattice function is another sum over delta functions L~(𝐤)=(2π)3Ω∑m1,m2,m3δ(𝐤−m1𝐛1−m2𝐛2−m3𝐛3) where the reciprocal space vectors are defined 𝐛1 =def 2π𝐚2×𝐚3Ω (and cyclic permutations) where Ω =def 𝐚1⋅(𝐚2×𝐚3) is the volume of the central unit cell (if it is geometrically a parallelepiped, which is often but not necessarily the case). Note that both L(𝐫) and L~(𝐤) are real, even functions. For brevity, define an effective single-particle potential v(𝐫) =def ∫d𝐫′ρuc(𝐫′) φℓr(𝐫−𝐫′) Since this is also a convolution, the Fourier transformation of the same equation is a product V~(𝐤) =def ρ~uc(𝐤)Φ~(𝐤) where the Fourier transform is defined V~(𝐤)=∫d𝐫 v(𝐫) e−i𝐤⋅𝐫 The energy can now be written as a single field integral Eℓr=∫d𝐫 ρTOT(𝐫) v(𝐫) Using Plancherel theorem, the energy can also be summed in Fourier space Eℓr=∫d𝐤(2π)3 ρ~TOT∗(𝐤)V~(𝐤)=∫d𝐤(2π)3L~∗(𝐤)|ρ~uc(𝐤)|2Φ~(𝐤)=1Ω∑m1,m2,m3|ρ~uc(𝐤)|2Φ~(𝐤) where 𝐤=m1𝐛1+m2𝐛2+m3𝐛3 in the final summation. This is the essential result. Once ρ~uc(𝐤) is calculated, the summation/integration over 𝐤 is straightforward and should converge quickly. The most common reason for lack of convergence is a poorly defined unit cell, which must be charge neutral to avoid infinite sums.
… excerpt ends here. Continue reading the full article.