Docsity

Ewald Method for Calculating Electrostatic Energy in Periodic Systems - Prof. Natalie Holz, Study notes of Electromagnetism and Electromagnetic Fields Theory

Toggle sidebar
bg1
January 23, 2007
Notes for Lectures 4 & 5
Electrostatic energy
Section 1.11 in Jackson’s text
The total electrostatic potential energy of interaction between point charges {qi}at the
positions {ri}is given by
W=1
4πε0X
i<j
qiqj
|ri−rj|=1
8πε0X
i6=j
qiqj
|ri−rj|.(1)
In this expression, the first form explicitly counts all pairs, while the second form counts all
interactions and divides by 2 to compensate for double counting.
For a finite system of charges, this expression can be evaluated directly, however, for a large
or infinite system, the expression 1 does not converge and numerical tricks must be used to
evaluate the energy. In fact, for the infinite system, one has an infinite amount of charge
and the energy of interaction is undefined. If the system is neutral, it is possible to define a
meaningful interaction energy by use of an Ewald transformation.
The basic idea of the Ewald approach is as follows. The error function erf (x) and its com-
plement erfc(x) are defined as:
erf(x) = 2
√πZx
0e−t2dt and erfc(x) = 1 −erf(x) = 2
√πZ∞
xe−t2dt. (2)
Ewald noted that 1
r=erf( 1
2√ηr)
r+erfc(1
2√ηr)
r.(3)
In this expression, the first term goes to a constant (qη/π) as r→0, but has a long range tail
as r→ ∞. The second term has a singular behavior as r→0, but vanishes exponentially as
r→ ∞. Thus, Ewald’s idea is to replace a single divergent summation with two convergent
summations. The first summation has a convergent summation in the form of its Fourier
transform and the second has a convergent direct summation. Thus the calculation of the
electrostatic energy would be evaluated using:
W=1
8πε0X
i6=j
qiqj
|ri−rj|=1
8πε0
X
i6=j
qiqjerf( 1
2√η|ri−rj|)
|ri−rj|+X
i6=j
qiqjerfc(1
2√η|ri−rj|)
|ri−rj|
.
(4)
pf3
pf4
pf5

Partial preview of the text

Download Ewald Method for Calculating Electrostatic Energy in Periodic Systems - Prof. Natalie Holz and more Study notes Electromagnetism and Electromagnetic Fields Theory in PDF only on Docsity!

January 23, 2007

Notes for Lectures 4 & 5

Electrostatic energy

Section 1.11 in Jackson’s text

The total electrostatic potential energy of interaction between point charges {qi} at the positions {ri} is given by

W =

4 πε 0

∑

i<j

qiqj |ri − rj|

8 πε 0

∑

i 6 =j

qiqj |ri − rj|

In this expression, the first form explicitly counts all pairs, while the second form counts all interactions and divides by 2 to compensate for double counting.

For a finite system of charges, this expression can be evaluated directly, however, for a large or infinite system, the expression 1 does not converge and numerical tricks must be used to evaluate the energy. In fact, for the infinite system, one has an infinite amount of charge and the energy of interaction is undefined. If the system is neutral, it is possible to define a meaningful interaction energy by use of an Ewald transformation.

The basic idea of the Ewald approach is as follows. The error function erf(x) and its com- plement erfc(x) are defined as:

erf(x) =

π

∫ (^) x

0

e−t

2 dt and erfc(x) = 1 − erf(x) =

π

∫ (^) ∞

x

e−t

2 dt. (2)

Ewald noted that 1 r

erf(^12

ηr) r

erfc(^12

ηr) r

In this expression, the first term goes to a constant (

√ η/π) as r → 0, but has a long range tail as r → ∞. The second term has a singular behavior as r → 0, but vanishes exponentially as r → ∞. Thus, Ewald’s idea is to replace a single divergent summation with two convergent summations. The first summation has a convergent summation in the form of its Fourier transform and the second has a convergent direct summation. Thus the calculation of the electrostatic energy would be evaluated using:

W =

8 πε 0

∑

i 6 =j

qiqj |ri − rj|

8 πε 0

  ∑

i 6 =j

qiqj erf(^12

η|ri − rj|) |ri − rj|

∑

i 6 =j

qiqj erfc(^12

η|ri − rj|) |ri − rj|

  (^).

(4)

For an appropriate choice of the parameter η, the second summation in Eq. 4 converges quickly and can be evaluated directly. The first term in the summation of Eq. 4 must be transformed into Fourier space.

In order to described these summations explicitly, we assume that we have a periodic lattice so that every ion can be located by ri = τα + T a location τα within a unit cell and a periodic translation vector T, In this way, the summation becomes:^1 ∑

ij

= N

∑

αβT

where N denotes the number of unit cells in the system. Since we have a periodic system, N is infinite, but the energy per unit cell W/N is well defined. The other identity that we must use is that a sum over lattice translations T may be transformed into an equivalent sum over “reciprocal lattice translations” G according to the identity:

∑

T

δ^3 (r − T) =

∑

G

eiG·r, (6)

where Ω denotes the unit cell volume. The proof of this relation is given in the appendix.

The first term of Eq. 4 thus becomes

∑

i 6 =j

qiqj erf(^12

η|ri − rj|)) |ri − rj|

= N

  ∑

αβ

qαqβ

∑

T

erf(^12

η|τα − τβ + T|) |τα − τβ + T|

∑ α

q^2 α

√ η π

  (^) , (7)

where the last term in Eq. 7 comes from subtracting out the self-interaction (i = j) term from the complete lattice sum. Using the short hand notation, ταβ ≡ τα − τβ , the lattice sum can be evaluated: ∑

T

erf(^12

η|ταβ + T|) |ταβ + T|

∫ d^3 r

∑

T

δ^3 (r − T)

erf(^12

η|ταβ + r|) |ταβ + r|

This becomes,

1 Ω

∑

G

∫ d^3 reiG·r^

erf(^12

η|ταβ + r|) |ταβ + r|

4 π Ω

 

∑

G 6 = 0

e−iG·ταβ^ e−G (^2) /η 2

G^2

∫ 1 2

√η

0

du u^3

  (^) , (9)

where the last term, which is infinite, comes from the G = 0 contribution.

If the last term of Eq. 9 cannot be eliminated, it is clear that the electrostatic energy is infinite. The term can be eliminated if and only if the system is neutral. Thus, it is only meaningful to calculate the electrostatic energy of a neutral periodic system. If the actual system has a net charge of Q ≡

∑ α qα, we could calculate a meanful energy if we add to the actual charge density, a compensating uniform density charge density of −Q/Ω. Taking all of the terms into account, we find the final Ewald expression to be:

W N

∑

αβ

qαqβ 8 πε 0

  4 π Ω

∑

G 6 = 0

e−iG·ταβ^ e−G (^2) /η

G^2

√ η π

δαβ +

∑^ ′

T

erfc(^12

η|ταβ + T|) |ταβ + T|

  (^) − 4 πQ

2 8 πε 0 Ωη

where the ′ in the summation over lattice translations T indicates that all self-interaction terms should be omitted. (^1) Note that for any two lattice translations Ti and Tj, Ti − Tj = Tk, where Tk is also a lattice translation.

Finally, the right hand side of Eq. 18 can be simplified by eliminating the reciprocal lattice vectors from the δ functions:

∑

G

eiG·r^ =

(2π)^3 |G 1 · (G 2 × G 3 )|

∑

T

δ^3 (r − T) = Ωδ^3 (r − T), (19)

which is consistent with Eq. 6.

Appendix II – examples

In these examples, denote the length of the unit cell by a.

CsCl structure

There are two kinds of sites – τCs = 0 and τCl = a 2 (ˆx + ˆy + ˆz).

T 1 = aˆx T 2 = aˆy T 3 = aˆz. (20)

G 1 =

2 π a

ˆx G 2 =

2 π a

yˆ G 3 =

2 π a

ˆz. (21)

It is convenient to define η ≡ μ^2 /a^2. Also we will denote by q the unit charge. In these terms, Eq. 10 becomes for this case:

W N

q^2 8 πε 0 a

(T 1 + T 2 ), (22)

where

T 1 ≡

π

∑

m 1 ,m 2 ,m 36 = 0

(1 − eiπ(m^1 +m^2 +m^3 ))e−^

4 π^2 μ^2 (m (^21) +m (^22) +m (^23) )

m^21 + m^22 + m^23

2 μ √ π

and

T 2 ≡

∑

n 1 ,n 2 ,n 36 = 0

2erfc(μ 2

√ n^21 + n^22 + n^23 ) √ n^21 + n^22 + n^23

∑ n 1 ,n 2 ,n 3

2erfc(μ 2

√ (^12 + n 1 )^2 + (^12 + n 2 )^2 + (^12 + n 3 )^2 ) √ (^12 + n 1 )^2 + (^12 + n 2 )^2 + (^12 + n 3 )^2

In this expression, the sum over α and β has a total of 4 contributions – 2 pairs of identical contributions. For Cs-Cs or Cl-Cl interactions, ταβ = 0 and qα = qβ resulting in repulsive contributions. For Cs-Cl or Cl-Cs interations, ταβ = ±a 2 (ˆx + ˆy + ˆz) and qα = qβ resulting in attractive contributions. This expression can be evaluated using Maple, which gives the result W N

q^2 8 πε 0 a

NaCl structure

There are two kinds of sites – τNa = 0 and τCl = a 2 ˆx.

T 1 =

a 2

(ˆx + yˆ) T 2 =

a 2

(ˆy + ˆz) T 3 =

a 2

(ˆx + ˆz). (26)

G 1 =

2 π a

(ˆx + ˆy − ˆz) G 2 =

2 π a

(−xˆ + ˆy + ˆz) G 3 =

2 π a

(ˆx − ˆy + ˆz). (27)