Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Ewald summation

From Wikipedia, the free encyclopedia
Computation method named after Paul Peter Ewald

Ewald summation, named afterPaul 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 ofionic crystals, and is now commonly used for calculating long-range interactions incomputational chemistry. Ewald summation is a special case of thePoisson summation formula, replacing the summation of interaction energies in real space with an equivalent summation inFourier 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 asingularity. The short-range contribution is calculated in real space, whereas the long-range contribution is calculated using aFourier transform. The advantage of this method is the rapidconvergence 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 thede 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.[1]

Derivation

[edit]

Ewald summation rewrites the interaction potential as the sum of two terms,φ(r) =def φsr(r)+φr(r),{\displaystyle \varphi (\mathbf {r} )\ {\stackrel {\mathrm {def} }{=}}\ \varphi _{sr}(\mathbf {r} )+\varphi _{\ell r}(\mathbf {r} ),}whereφsr(r){\displaystyle \varphi _{sr}(\mathbf {r} )} represents the short-range term whose sum quickly converges in real space andφr(r){\displaystyle \varphi _{\ell r}(\mathbf {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 notablyr = 0) but may have any convenient mathematical form, most typically aGaussian 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 infinitelyperiodic (a sensible assumption for the interiors of crystals). One repeating unit of this hypothetical periodic system is called aunit cell. One such cell is chosen as the "central cell" for reference and the remaining cells are calledimages.

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 adouble integral over two charge density fields representing the fields of the unit cell and the crystal latticeEr=drdrρTOT(r)ρuc(r) φr(rr){\displaystyle E_{\ell r}=\iint d\mathbf {r} \,d\mathbf {r} ^{\prime }\,\rho _{\text{TOT}}(\mathbf {r} )\rho _{uc}(\mathbf {r} ^{\prime })\ \varphi _{\ell r}(\mathbf {r} -\mathbf {r} ^{\prime })}where the unit-cell charge density fieldρuc(r){\displaystyle \rho _{uc}(\mathbf {r} )} is a sum over the positionsrk{\displaystyle \mathbf {r} _{k}} of the chargesqk{\displaystyle q_{k}} in the central unit cellρuc(r) =def charges kqkδ(rrk){\displaystyle \rho _{uc}(\mathbf {r} )\ {\stackrel {\mathrm {def} }{=}}\ \sum _{\mathrm {charges} \ k}q_{k}\delta (\mathbf {r} -\mathbf {r} _{k})}and thetotal charge density fieldρTOT(r){\displaystyle \rho _{\text{TOT}}(\mathbf {r} )} is the same sum over the unit-cell chargesqk{\displaystyle q_{k}} and their periodic imagesρTOT(r) =def n1,n2,n3charges kqkδ(rrkn1a1n2a2n3a3){\displaystyle \rho _{\text{TOT}}(\mathbf {r} )\ {\stackrel {\mathrm {def} }{=}}\ \sum _{n_{1},n_{2},n_{3}}\sum _{\mathrm {charges} \ k}q_{k}\delta (\mathbf {r} -\mathbf {r} _{k}-n_{1}\mathbf {a} _{1}-n_{2}\mathbf {a} _{2}-n_{3}\mathbf {a} _{3})}

Here,δ(x){\displaystyle \delta (\mathbf {x} )} is theDirac delta function,a1{\displaystyle \mathbf {a} _{1}},a2{\displaystyle \mathbf {a} _{2}} anda3{\displaystyle \mathbf {a} _{3}} are the lattice vectors andn1{\displaystyle n_{1}},n2{\displaystyle n_{2}} andn3{\displaystyle n_{3}} range over all integers. The total fieldρTOT(r){\displaystyle \rho _{\text{TOT}}(\mathbf {r} )} can be represented as aconvolution ofρuc(r){\displaystyle \rho _{uc}(\mathbf {r} )} with alattice functionL(r){\displaystyle L(\mathbf {r} )}L(r) =def n1,n2,n3δ(rn1a1n2a2n3a3){\displaystyle L(\mathbf {r} )\ {\stackrel {\mathrm {def} }{=}}\ \sum _{n_{1},n_{2},n_{3}}\delta (\mathbf {r} -n_{1}\mathbf {a} _{1}-n_{2}\mathbf {a} _{2}-n_{3}\mathbf {a} _{3})}

Since this is aconvolution, theFourier transformation ofρTOT(r){\displaystyle \rho _{\text{TOT}}(\mathbf {r} )} is a productρ~TOT(k)=L~(k)ρ~uc(k){\displaystyle {\tilde {\rho }}_{\text{TOT}}(\mathbf {k} )={\tilde {L}}(\mathbf {k} ){\tilde {\rho }}_{uc}(\mathbf {k} )}where the Fourier transform of the lattice function is another sum over delta functionsL~(k)=(2π)3Ωm1,m2,m3δ(km1b1m2b2m3b3){\displaystyle {\tilde {L}}(\mathbf {k} )={\frac {\left(2\pi \right)^{3}}{\Omega }}\sum _{m_{1},m_{2},m_{3}}\delta (\mathbf {k} -m_{1}\mathbf {b} _{1}-m_{2}\mathbf {b} _{2}-m_{3}\mathbf {b} _{3})}where the reciprocal space vectors are definedb1 =def 2πa2×a3Ω{\displaystyle \mathbf {b} _{1}\ {\stackrel {\mathrm {def} }{=}}\ 2\pi {\frac {\mathbf {a} _{2}\times \mathbf {a} _{3}}{\Omega }}} (and cyclic permutations) whereΩ =def a1(a2×a3){\displaystyle \Omega \ {\stackrel {\mathrm {def} }{=}}\ \mathbf {a} _{1}\cdot \left(\mathbf {a} _{2}\times \mathbf {a} _{3}\right)} is the volume of the central unit cell (if it is geometrically aparallelepiped, which is often but not necessarily the case). Note that bothL(r){\displaystyle L(\mathbf {r} )} andL~(k){\displaystyle {\tilde {L}}(\mathbf {k} )} are real, even functions.

For brevity, define an effective single-particle potentialv(r) =def drρuc(r) φr(rr){\displaystyle v(\mathbf {r} )\ {\stackrel {\mathrm {def} }{=}}\ \int d\mathbf {r} ^{\prime }\,\rho _{uc}(\mathbf {r} ^{\prime })\ \varphi _{\ell r}(\mathbf {r} -\mathbf {r} ^{\prime })}

Since this is also a convolution, the Fourier transformation of the same equation is a productV~(k) =def ρ~uc(k)Φ~(k){\displaystyle {\tilde {V}}(\mathbf {k} )\ {\stackrel {\mathrm {def} }{=}}\ {\tilde {\rho }}_{uc}(\mathbf {k} ){\tilde {\Phi }}(\mathbf {k} )}where the Fourier transform is definedV~(k)=dr v(r) eikr{\displaystyle {\tilde {V}}(\mathbf {k} )=\int d\mathbf {r} \ v(\mathbf {r} )\ e^{-i\mathbf {k} \cdot \mathbf {r} }}

The energy can now be written as asingle field integralEr=dr ρTOT(r) v(r){\displaystyle E_{\ell r}=\int d\mathbf {r} \ \rho _{\text{TOT}}(\mathbf {r} )\ v(\mathbf {r} )}

UsingPlancherel theorem, the energy can also be summed in Fourier spaceEr=dk(2π)3 ρ~TOT(k)V~(k)=dk(2π)3L~(k)|ρ~uc(k)|2Φ~(k)=1Ωm1,m2,m3|ρ~uc(k)|2Φ~(k){\displaystyle E_{\ell r}=\int {\frac {d\mathbf {k} }{\left(2\pi \right)^{3}}}\ {\tilde {\rho }}_{\text{TOT}}^{*}(\mathbf {k} ){\tilde {V}}(\mathbf {k} )=\int {\frac {d\mathbf {k} }{\left(2\pi \right)^{3}}}{\tilde {L}}^{*}(\mathbf {k} )\left|{\tilde {\rho }}_{uc}(\mathbf {k} )\right|^{2}{\tilde {\Phi }}(\mathbf {k} )={\frac {1}{\Omega }}\sum _{m_{1},m_{2},m_{3}}\left|{\tilde {\rho }}_{uc}(\mathbf {k} )\right|^{2}{\tilde {\Phi }}(\mathbf {k} )}

wherek=m1b1+m2b2+m3b3{\displaystyle \mathbf {k} =m_{1}\mathbf {b} _{1}+m_{2}\mathbf {b} _{2}+m_{3}\mathbf {b} _{3}} in the final summation.

This is the essential result. Onceρ~uc(k){\displaystyle {\tilde {\rho }}_{uc}(\mathbf {k} )} is calculated, the summation/integration overk{\displaystyle \mathbf {k} } 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.

Particle mesh Ewald (PME) method

[edit]

Ewald summation was developed as a method intheoretical physics, long before the advent ofcomputers. However, the Ewald method has enjoyed widespread use since the 1970s incomputer simulations of particle systems, especially those whose particles interact via aninverse squareforce law such asgravity orelectrostatics. Recently, PME has also been used to calculate ther6{\displaystyle r^{-6}} part of theLennard-Jones potential in order to eliminate artifacts due to truncation.[2] Applications include simulations ofplasmas,galaxies andmolecules.

In theparticle mesh method, just as in standard Ewald summation, the generic interaction potential is separated into two termsφ(r) =def φsr(r)+φr(r){\displaystyle \varphi (\mathbf {r} )\ {\stackrel {\mathrm {def} }{=}}\ \varphi _{sr}(\mathbf {r} )+\varphi _{\ell r}(\mathbf {r} )}. The basic idea of particle mesh Ewald summation is to replace the direct summation of interaction energies between point particlesETOT=i,jφ(rjri)=Esr+Er{\displaystyle E_{\text{TOT}}=\sum _{i,j}\varphi (\mathbf {r} _{j}-\mathbf {r} _{i})=E_{sr}+E_{\ell r}}with two summations, a direct sumEsr{\displaystyle E_{sr}} of the short-ranged potential in real spaceEsr=i,jφsr(rjri){\displaystyle E_{sr}=\sum _{i,j}\varphi _{sr}(\mathbf {r} _{j}-\mathbf {r} _{i})}(this is theparticle part ofparticle mesh Ewald) and a summation in Fourier space of the long-rangedpartEr=kΦ~r(k)|ρ~(k)|2{\displaystyle E_{\ell r}=\sum _{\mathbf {k} }{\tilde {\Phi }}_{\ell r}(\mathbf {k} )\left|{\tilde {\rho }}(\mathbf {k} )\right|^{2}}

whereΦ~r{\displaystyle {\tilde {\Phi }}_{\ell r}} andρ~(k){\displaystyle {\tilde {\rho }}(\mathbf {k} )} represent theFourier transforms of thepotential and thecharge density (this is theEwald part). Since both summations converge quickly in their respective spaces (real and Fourier), they may be truncated with little loss of accuracy and great improvement in required computational time. To evaluate the Fourier transformρ~(k){\displaystyle {\tilde {\rho }}(\mathbf {k} )} of the charge density field efficiently, one uses thefast Fourier transform, which requires that the density field be evaluated on a discrete lattice in space (this is themesh part).

Due to the periodicity assumption implicit in Ewald summation, applications of the PME method to physical systems require the imposition of periodic symmetry. Thus, the method is best suited to systems that can be simulated as infinite in spatial extent. Inmolecular dynamics simulations this is normally accomplished by deliberately constructing a charge-neutral unit cell that can be infinitely "tiled" to form images; however, to properly account for the effects of this approximation, these images are reincorporated back into the original simulation cell. The overall effect is called aperiodic boundary condition. To visualize this most clearly, think of aunit cube; the upper face is effectively in contact with the lower face, the right with the left face, and the front with the back face. As a result, the unit cell size must be carefully chosen to be large enough to avoid improper motion correlations between two faces "in contact", but still small enough to be computationally feasible. The definition of the cutoff between short- and long-range interactions can also introduce artifacts.

The restriction of the density field to a mesh makes the PME method more efficient for systems with "smooth" variations in density, or continuous potential functions. Localized systems or those with large fluctuations in density may be treated more efficiently with thefast multipole method of Greengard and Rokhlin.

Dipole term

[edit]

The electrostatic energy of a polar crystal (i.e. a crystal with a net dipolepuc{\displaystyle \mathbf {p} _{uc}} in the unit cell) isconditionally convergent, i.e. depends on the order of the summation. For example, if the dipole-dipole interactions of a central unit cell with unit cells located on an ever-increasing cube, the energy converges to a different value than if the interaction energies had been summed spherically. Roughly speaking, this conditional convergence arises because (1) the number of interacting dipoles on a shell of radiusR{\displaystyle R} grows likeR2{\textstyle R^{2}}; (2) the strength of a single dipole-dipole interaction falls like1/R3{\textstyle 1/{R^{3}}}; and (3) the mathematical summationn=11n{\textstyle \sum _{n=1}^{\infty }{\frac {1}{n}}} diverges.

This somewhat surprising result can be reconciled with the finite energy of real crystals because such crystals are not infinite, i.e. have a particular boundary. More specifically, the boundary of a polar crystal has an effective surface charge density on its surfaceσ=Pn{\displaystyle \sigma =\mathbf {P} \cdot \mathbf {n} } wheren{\displaystyle \mathbf {n} } is the surface normal vector andP{\displaystyle \mathbf {P} } represents the net dipole moment per volume. The interaction energyU{\displaystyle U} of the dipole in a central unit cell with that surface charge density can be written[3]U=12Vuc(pucr)(pucn)r3dS{\displaystyle U={\frac {1}{2V_{uc}}}\int {\frac {\left(\mathbf {p} _{uc}\cdot \mathbf {r} \right)\left(\mathbf {p} _{uc}\cdot \mathbf {n} \right)}{r^{3}}}\,dS}wherepuc{\displaystyle \mathbf {p} _{uc}} andVuc{\displaystyle V_{uc}} are the net dipole moment and volume of the unit cell,dS{\displaystyle dS} is an infinitesimal area on the crystal surface andr{\displaystyle \mathbf {r} } is the vector from the central unit cell to the infinitesimal area. This formula results from integrating the energydU=pucdE{\displaystyle dU=-\mathbf {p} _{uc}\cdot d\mathbf {E} } wheredE{\displaystyle d\mathbf {E} } represents the infinitesimal electric field generated by an infinitesimal surface chargedq =def σdS{\displaystyle dq\ {\stackrel {\mathrm {def} }{=}}\ \sigma dS} (Coulomb's law)dE =def (14πϵ)dq rr3=(14πϵ)σdS rr3{\displaystyle d\mathbf {E} \ {\stackrel {\mathrm {def} }{=}}\ \left({\frac {-1}{4\pi \epsilon }}\right){\frac {dq\ \mathbf {r} }{r^{3}}}=\left({\frac {-1}{4\pi \epsilon }}\right){\frac {\sigma \,dS\ \mathbf {r} }{r^{3}}}}The negative sign derives from the definition ofr{\displaystyle \mathbf {r} }, which points towards the charge, not away from it.

History

[edit]

The Ewald summation was developed byPaul Peter Ewald in 1921 (see References below) to determine the electrostatic energy (and, hence, theMadelung constant) of ionic crystals.

Scaling

[edit]

Generally, different Ewald summation methods give differenttime complexities. Direct calculation givesO(N2){\displaystyle O(N^{2})}, whereN{\displaystyle N} is the number of atoms in the system. The PME method givesO(NlogN){\displaystyle O(N\,\log N)}.[4]

See also

[edit]

References

[edit]
  1. ^Kolafa, Jiri; Perram, John W. (September 1992). "Cutoff Errors in the Ewald Summation Formulae for Point Charge Systems".Molecular Simulation.9 (5):351–368.doi:10.1080/08927029208049126.
  2. ^Di Pierro, M.; Elber, R.; Leimkuhler, B. (2015), "A Stochastic Algorithm for the Isobaric-Isothermal Ensemble with Ewald Summations for all Long Range Forces.",Journal of Chemical Theory and Computation,11 (12):5624–5637,doi:10.1021/acs.jctc.5b00648,PMC 4890727,PMID 26616351
  3. ^Herce, HD; Garcia, AE; 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.
  4. ^Darden, Tom; York, Darrin; Pedersen, Lee (1993-06-15)."Particle mesh Ewald: An N ⋅log( N ) method for Ewald sums in large systems".The Journal of Chemical Physics.98 (12):10089–10092.Bibcode:1993JChPh..9810089D.doi:10.1063/1.464397.ISSN 0021-9606.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Ewald_summation&oldid=1323927893"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp