기본 정보
- 저자
- DOI
- 10.48550/arxiv.cond-mat/0409350
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.cond-mat/0409350
- 토픽
- Electrostatics and Colloid Interactions
- OpenAlex ID
- W6892051963
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (7) MEA(막전극접합체)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > MEA(막전극접합체)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
We consider dynamically constrained Monte-Carlo dynamics and show that this leads to the generation of long ranged effective interactions. This allows us to construct a local algorithm for the simulation of charged systems without ever having to evaluate pair potentials or solve the Poisson equation. We discuss a simple implementation of a charged lattice gas as well as more elaborate off-lattice versions of the algorithm. There are analogies between our formulation of electrostatics and the bosonic Hubbard model in the phase approximation. Cluster methods developed for this model further improve the efficiency of the electrostatics algorithm.
본문 23,902자
본문 펼치기
PRAMANA ⃝c Indian Academy of Sciences Vol. 53, No. 6
- journal of December 1999
physics pp. 1–10
## Local Simulation Algorithms for Coulombic Interactions
L. Levrel <sup>1</sup>, F. Alet <sup>2</sup> J. Rottler <sup>3</sup>, A.C. Maggs <sup>1</sup>,
1 Laboratoire de Physico-Chimie Th´eorique, UMR CNRS-ESPCI 7083, 10 rue Vauquelin, F-75231
Paris Cedex 05, France.
2Theoretische Physik and Computational Laboratory, ETH Z¨urich, CH-8093 Z¨urich, Switzerland.
3 PRISM, Bowen Hall, Princeton University, Princeton, NJ 08544, USA.
Abstract. We consider dynamically constrained Monte-Carlo dynamics and show that this leads to
the generation of long ranged effective interactions. This allows us to construct a local algorithm for
the simulation of charged systems without ever having to evaluate pair potentials or solve the Poisson
equation. We discuss a simple implementation of a charged lattice gas as well as more elaborate offlattice versions of the algorithm. There are analogies between our formulation of electrostatics and
the bosonic Hubbard model in the phase approximation. Cluster methods developed for this model
further improve the efficiency of the electrostatics algorithm.
Keywords. Coulomb, Algorithms, Maxwell’s equations, Monte-Carlo
PACS Nos 2.0
1. Introduction
Computer modeling of charged systems is demanding due to the range of the Coulomb
interaction [1]. The direct evaluation of the Coulomb sum for N particles, Uc =
�ticles,i<j <sup>e</sup> which <sup>iej/4πǫ</sup> implies <sup>0rij</sup> <sup>,</sup> <sup>requires computation of the separations</sup> O(N <sup>2</sup> ) operations are needed per sweep <sup>rij</sup> or <sup>between all</sup> time step. <sup>pairs of par-</sup> Most large
scale codes in use at the moment solve Poisson’s equation for the electrostatic potential
using the fast Fourier transform [2] after interpolating charges to a grid. For an ensemble
of charges interpolated to M nodes of a lattice this gives the electrostatic energy in a time
which scales as O(M ln M ).
The use of a global solver for the Poisson equation leads to a strong bias in the choice
of simulation techniques. Since the solution of the Poisson equation is unique the motion
of a single charge requires the global re-calculation of the electrostatic potential, so that
Monte-Carlo methods must (apparently) lead to hopelessly inefficient codes: All efficient
large scale codes are based at the moment on molecular dynamics rather than Monte-Carlo.
1
2. Electrostatics can be formulated locally
It is surprising that the Coulomb interaction poses such tremendous difficulty; after all
the underlying Maxwell equations are local. The question then arises as to what part of
Maxwell’s equations give rise to electrostatic interactions. Is it possible to generate effective Coulomb interactions in a manner better adapted to computer simulation?
In electromagnetism Coulomb’s law comes [3] from a local expression for the energy:
U =
d <sup>3</sup> r (1)
- ǫ02E2
where E is the electric field, and the imposition of Gauss’ law
div E − ρ/ǫ0 = 0. (2)
This motivates the use of the following partition function for the electric field
�r
Z({ri}) =
DE
δ (div E − ρ ({ri}) /ǫ0) e <sup>−U/kB</sup> <sup>T</sup> . (3)
change integration variables to
The charge density, ρ(r) = <sup>�</sup>
2
<sup>0</sup> (e−∇φp) <sup>2</sup> d <sup>3</sup> r. (4)
i <sup>eiδ(r −</sup> <sup>ri)</sup> <sup>and</sup> <sup>the</sup> <sup>charge of</sup> <sup>the</sup> <sup>i’th</sup> <sup>particle</sup> <sup>is</sup> <sup>ei.</sup> <sup>We</sup>
change integration variables to e = E + ∇φp with ∇ <sup>2</sup> φp = −ρ({ri})/ǫ0 and find
The charge density, ρ(r) = <sup>�</sup>
Z({ri}) =
2
De δ(div e) e <sup>−β ǫ0</sup>
We now notice that the cross term in the energy is zero by integration by parts:
2U/ǫ0 = (∇φp) <sup>2</sup> d <sup>3</sup> r +
e <sup>2</sup> d <sup>3</sup> r − 2 ∇φ · e d <sup>3</sup> r
-
=0
- ��
(5)
so that
2
<sup>0</sup>
- (∇φp) <sup>2 �</sup>
2
Z = e <sup>−β ǫ0</sup>
2 e <sup>2</sup> d <sup>3</sup> r
De δ(div e)e <sup>−β ǫ0</sup> (6)
We conclude that Z({ri}) = ZCoulomb({ri}) × const: Relative statistical weights are
unchanged if we allow the transverse field to vary freely, rather than quenching it to zero.
To sample the partition function Eq. (3) we only have to find solutions to Gauss’ law. If
we dispense with the condition curl E = 0 usually imposed in electrostatics, E can be any
solution to the equation div E - ρ/ǫ0 = 0; the general solution is E = −grad φp +curl Q
with Q arbitrary.
_2.1 Monte-Carlo sampling_
We have formulated a Monte-Carlo algorithm [4] that uses the Metropolis method together
with the energy Eq. (1). In order to generate configurations according to the statistical
weight of Eq. (3) we need to
- move particles without violating the constraint of Gauss’ law to preserve the deltafunction on div E − ρ/ǫ0;
- integrate over the transverse degrees of freedom e, of the electric field.
2 _Pramana – J. Phys.,_ Vol. 53, No. 6, December 1999
_Discretization_
The system is discretized by placing charged particles on the M = L <sup>3</sup> vertices of a periodic
cubic lattice, {i}. The components of the electric field Ei,j are associated with the 3M
links {i, j} of the lattice. There are 3M plaquettes on the lattice each defined by four
links. We use the notation E1,2 to denote a local contribution to electric flux leaving 1
towards 2. If the link from 1 to 2 is in the positive x direction we consider that this is the
local value of the x component of the field E. The 3M variables Ei,j are thus grouped into
M three dimensional vectors.
_Particle motion_
Figure 1. A local solution to Gauss’ law. Numbers on each link correspond to the
electric flux in the direction of the arrows. There is a charge e/ǫ0 = 1 on the leftmost
node of the figure.
Two nodes of the lattice are shown in Fig. (1). Gauss’ law is interpreted in the integral
form E · dS = e/ǫ0 where e is the charge enclosed by a surface enclosing each site. On
our lattice we associate the fluxes with the links; if a charge of� e/ǫ0 = 1 is at the leftmost
site we can satisfy Gauss’ law with a flux of 1/4 on each outward link. On the rightmost
node the charge is zero and the signed sum of the fluxes at this site is also zero.
Figure 2. After moving the particle from the leftmost to the rightmost node we wish
to find a new solution to the Gauss constraint. This is done by modifying the flux on a
single link connecting the two sites from 1/4 to −3/4.
_Pramana – J. Phys.,_ Vol. 53, No. 6, December 1999 3
We now displace the particle to the rightmost site: Fig. (2). We must find a new solution
to Gauss’ law. One solution is found by taking the field on the link between the sites, E and
modifying it with the law E → E − e/ǫ0 or from 1/4 to −3/4. This is the essence of the
method: Gauss’ law allows an entirely local modification of the fields, whereas Poisson’s
equation implies a global update of the potential at all sites of the lattice. The energy
change, ∆U = ǫ0 �(−3/4) <sup>2</sup> - (1/4) <sup>2�</sup> /2, associated with the displacement is used in a
�(−3/4) <sup>2</sup> - (1/4) <sup>2�</sup>
change, ∆U = ǫ0 /2, associated with the displacement is used in a
standard Metropolis algorithm to decide whether to accept the update.�(−3/4) <sup>2</sup> - (1/4) <sup>2�</sup>
_Transverse field_
The update of the field, slaved to the particle motion is not in itself sufficient to fully sample
the partition function, Eq. (3); we must also integrate over the transverse field e. One can
group four links into plaquettes and modify the four links by the same increment, ∆ so as
to conserve Gauss’ law: Fig. (3). In our code particle motion and plaquette updates are
mixed stochastically with probabilities p and (1 − p). We chose ∆ uniformly distributed
in [−∆0,∆0], where ∆0 is chosen so that the Monte-Carlo acceptance probability of this
move is close to 1/2.
Figure 3. The circulation of a plaquette is incremented by 4∆ by modifying the field
of each link: E4,3 → E4,3−∆, E4,1 → E4,1+∆, E3,2 → E3,2−∆, E1,2 → E1,2+∆
_2.2 Large scale dynamics_
The above algorithm is based on local, stochastic updates for both the particle positions
and the electric field. It is thus rather natural that both the particles and the electric field
exhibit diffusive dynamics. It can be shown [6] that the field dynamics are governed by a
Langevin equation:
∂E
∂t <sup>= DE</sup>
�∇ <sup>2</sup> E − grad ρ/ǫ0
- J/ǫ0 + curl ζ(t, r) (7)
which replace Maxwell’s equations in our Monte-Carlo scheme. The diffusion coefficient
of the transverse electric field DE is related to p and ∆0. The analytic structure of Eq. (7)
is particularly interesting when there are free, mobile charges so that the electric current is
linked to the electric field via the equation J = σE. In this case the dispersion law of the
electric field develops a gap so that
4 _Pramana – J. Phys.,_ Vol. 53, No. 6, December 1999
iω ˆq ∧ E = (σ/ǫ0 + DE q <sup>2</sup> ) ˆq ∧ E. (8)
The relative diffusion rates of the electric and charge degrees of freedom are adjusted by
modifying p. We initially believed that the algorithm should be run in a regime in which
the effective diffusion coefficient of the electric field is comparable to or somewhat larger
than that of the particles: The particles are then always interacting via a field that is close to
equilibrium and are not slowed down by the “drag” from the electric degrees of freedom. In
dilute systems this choice would mean that much more CPU time must be spent updating
plaquette degrees of freedom than those corresponding to the particles and the algorithm
would become inefficient.
Simulations show that one can use a much lower rate of update for the plaquettes. There
are several ways of understanding the efficiency of the code [7]:
- The gap in the electric dispersion law Eq. (8) gives fast relaxation of the electric
degrees of freedom even at long wavelengths and when DE is small.
- Motion of particles already integrates over the electric field: Motion of a particle
around a single plaquette has exactly the same effect as an update of a plaquette by
∆= e/ǫ0.
Figure 4. Charge structure factor as a function of ωq. At high temperatures the same
structure factor Eq. (9) is found with and without plaquette updates. At lower temperatures this law is still observed when the plaquettes are updated; without plaquette
updates one finds S ∼ ωq. Fit to d = 1.29. L = 15, N = 336.
We simulated the above lattice gas and measured the charge-charge structure factor.
Debye-H¨uckel theory applied to a lattice gas gives the following expression for S(q) =
ωq/(κ <sup>2</sup> + ωq) with ωq = <sup>�</sup> i <sup>3</sup> =1 <sup>2(1 −</sup> <sup>cos qi)</sup> <sup>and</sup> <sup>κ2</sup> <sup>=</sup> <sup>c e2/kBT ǫ0,</sup> <sup>with</sup> <sup>c</sup> <sup>the</sup> <sup>charge</sup>
i=1 <sup>2(1 −</sup> <sup>cos qi)</sup> <sup>and</sup> <sup>κ2</sup> <sup>=</sup> <sup>c e2/kBT ǫ0,</sup> <sup>with</sup> <sup>c</sup> <sup>the</sup> <sup>charge</sup>
_Pramana – J. Phys.,_ Vol. 53, No. 6, December 1999 5
density. When q → 0 then ωq → q <sup>2</sup> . When the finite size of particles is also taken into
account [8] the long wavelength structure factor must be slightly modified. We thus fit our
numerical structure factors to the expression
ωq
S(q) = (9)
κ <sup>2</sup> + ωq(1 − κ <sup>2</sup> d <sup>2</sup> /8)
where d is the particle diameter. In Fig. (4) we show results of simulations at kBT ǫ0/e <sup>2</sup> =
0.5 and kBT ǫ0/e <sup>2</sup> = 0.15 which are in very good agreement with this expression.
Numerical experimentation leads to a rather remarkable result: If one drops the plaquette
updates entirely and works at a sufficiently high temperature the charge-charge correlation
functions are almost indistinguishable, Fig. (4), from those in which the system is simulated with plaquette updates. The system is clearly notfullyergodic, since only values
of the plaquette circulation which are integer multiples of e/ǫ0 are possible. Yet charge
correlation functions appear to be very similar to those of a fully equilibrated system.
It is only at lower temperatures that there is a qualitative change in behaviour and the
system has very different behaviors depending on whether the plaquettes are independently
excited or not. One possible explanation is that without plaquette updates the charges are
condensing into tightly bound, neutral pairs. Indeed, if one studies a system with just two
charges at low temperatures one finds a finite, constant line tension between charges, and
thus a potential between two charges which increases linearly with separation.
3. Improved discretization
The lattice gas described above is not yet useful for simulations in condensed matter
physics: The algorithm becomes very inefficient at low temperatures. Motion of a particle between two nodes leads to a finite modification of the field on the connecting link,
and thus a finite energy barrier; the Monte-Carlo acceptance rate falls off exponentially
at low temperatures. In practice this leads to hopelessly inefficient simulations for temperatures such that kBT ǫ0/e <sup>2</sup> < 0.15. In condensed matter physics it is usual to work
in terms of a normalized Bjerrum length, ℓB: the length at which the electrostatic interaction between two particles is equal to kBT when measured in units of particle size:
ℓB/a = e <sup>2</sup> /4πǫ0kBT . Typically we are interested in ℓB ∼ 5 − 20. kBT ǫ0/e <sup>2</sup> = 0.15
corresponds to only ℓB ∼ 1/2, we need to gain at least a factor of ten in temperature to
have a useful code.
_Charge spreading_
One can avoid the fall off in efficiency at low temperatures by spreading the charge over
several lattice sites. In Fig. (5) we have plotted the Monte-Carlo acceptance rate for particle
motion as a function of temperature for a system of dimensions L = 15 with two free
charges. We associate the charge of each particle to n <sup>3</sup> sites with n = 1, 2, 3. We find
that the temperature at which the code becomes inefficient varies as T ∼ 1/n <sup>3</sup> . When we
measure the Bjerrum length in terms of the size of the spread-out particle we find that we
can simulate at a Bjerrum length ℓB < n <sup>2</sup> /2 without the acceptance rate falling too low.
6 _Pramana – J. Phys.,_ Vol. 53, No. 6, December 1999
Figure 5. Evolution of acceptance rate as a function of the degree of spreading.
Dashed lines: guide to eye. Temperature in units of e <sup>2</sup> /ǫ0kB.
_Off-lattice methods_
By allowing the particles to move in the continuum and then interpolating the charges to
the network (as is usual in Fourier codes [2]) we can continuously tune the Monte-Carlo
step size so that the acceptance rate does not fall off with temperature. Many choices
of interpolation scheme are possible, in our codes [5] we have used a scheme based on
piecewise quadratic splines, leading to interpolation to a cube of 27 sites around each
particle.
When a particle moves in the continuum we need to generalize the update rule E →
E − e/ǫ0 that generates the local updates to the electric field. We must generate an electric
current J which is a solution to the continuity equation div J = −∆ρ, where ∆ρ is the
finite variation of the charges on the nodes calculated from the spline interpolation scheme.
We then update the electric field with E → E − J/ǫ0. The equation for J is clearly underdetermined. We use this fact to our advantage to find one solution which is simple. This is
illustrated in Fig. (6). We construct a Hamiltonian path which visits each node where the
interpolated charge has changed. The current is then calculated on each link as the sum of
the charge variations on all previous nodes on the path.
4. Cluster sampling for the electric field
In many physical situations the algorithm as described above is remarkably efficient: The
presence of a finite concentration of free charges always gives rise to a finite σ and thus
fast field relaxation: the slowest modes in the system are then modes of density relaxation.
However, one is sometimes interested in highly heterogeneous systems where charges are
either not mobile (perhaps they are attached to a polymer or a surface) or are excluded from
_Pramana – J. Phys.,_ Vol. 53, No. 6, December 1999 7
Figure 6. Illustration of charge interpolation and the current update using a Hamiltonian path in two dimensions. A charge (open circle) interpolates onto the 3 <sup>2</sup> = 9
lattice sites (solid). The partial charges on these sites change by an amount ∆ei when
the particle moves. The current J flows along the Hamiltonian path and terminates at
the last site, since <sup>�</sup> i <sup>∆ei</sup> <sup>= 0.</sup>
i <sup>∆ei</sup> <sup>= 0.</sup>
certain parts of the simulation volume (perhaps due to the presence of a large colloidal
inclusion). Similarly in dipolar fluids such as water in the absence of free charges σ = 0.
In this case we have to rely on the slower diffusive motion of the electric field in Eq. (7)
driven by the plaquette updates. We will now show how to generate updates which give
rise to fast field equilibration even for the case σ = 0 using a cluster algorithm for the
electric field variables.
There is a remarkable analogy between the constrained partition function Eq. (3) and the
bosonic 2+1 dimensional Hubbard model at zero temperature in the phase approximation
[9]. Its partition function is written in terms of a constrained vector field discretized on a
lattice:
E <sup>2</sup> d <sup>3</sup> r
��r
r
E integer�
exp
- <sup>1</sup>
- 2K
δ(div E). (10)
The major difference compared with the partition function Eq. (3) is that the field variables
on each link are now integers rather than reals; the field variables represent the real bosonic
currents in the system. K is the ratio between kinetic energy and the repulsive energy and is
interpreted as an effective temperature. The partition function Eq. (10) has been extensively
studied [9] and has a phase diagram with a small K (large repulsion) insulating phase and
a superfluid phase at large K (large kinetic energy).There is a phase transition between
these phases at K = 0.33305(5). We have already seen an example of a similar partition
function when we suppressed the plaquette updates in the electrostatic algorithm. The very
different structure factors observed in Fig.(4) are presumably linked to the two phases of
the Hubbard model.
Early numerical studies of Eq. (10) were based on local updates to plaquette degrees of
freedom, in a manner very similar to that described above for the electrostatic algorithm.
More recently much more efficient algorithms have been found based on cluster or worm
8 _Pramana – J. Phys.,_ Vol. 53, No. 6, December 1999
sampling [10]. The algorithm works by nucleating a pair of positive and negative pseudoparticles on the same site of the system. One of the pseudo-particle is then moved on the
lattice so that div E̸ = 0. The motion of this pseudo-particle is a random walk biased by the
energy in Eq. (10) [10]. The pseudo-particle eventually returns to its stationary partner and
the two particles then annihilate each other. When the pseudo-particle moves, the electric
field is updated exactly as described above for the electrostatic algorithm, E → E − e/ǫ0.
At the moment of annihilation the total weight of the generated path or cluster is compared
with its time reversed version and the update is either globally accepted or refused [10].
The algorithm is very reminiscent of the creation of virtual pairs of particles in quantum
mechanics. In the original version of the algorithm [10] the pair of pseudo-particles had a
charge e/ǫ0 = ±1 in order to generate fields with integer flux on the links.
Figure 7. Decay rate, Γ of the transverse electric field as a function of ωq. �: empty
box, plaquette updates only illustrating diffusive field motion Γ = DEωq; time scale:
L <sup>3</sup> Monte-Carlo tries. ✳ : two particles in box with plaquette updates Γ = σ/ǫ+DE ωq;
time scale: L <sup>3</sup> Monte-Carlo trials, 1:1 split in Monte-Carlo attempts between particles
and plaquettes. �: cluster algorithm showing uniform relaxation across all modes; time
scale: a single cluster update. L = 15, kBT ǫ0/e <sup>2</sup> = 0.5 .
Given the efficiency of this algorithm in sampling Eq. (10) we have explored the interest
of the method for sampling the electrostatic partition function Eq. (3). In the electrostatic
problem we are interested in integrating over all values of the electric field. Thus we
create the pair of virtual particles with a random charge distributed according to a uniform
distribution between −em and em. If em is small we find that the typical cluster is very
large containing about 0.7 × L <sup>3</sup> links. In order to maximize the rate of change in the field
on the links we should use a large value for em. However, the use of a too large value
for em prevents the propagation of the virtual particle, which backtracks too readily in its
_Pramana – J. Phys.,_ Vol. 53, No. 6, December 1999 9
own path and only visits O(1) sites before the annihilation. This is again understood in
the boson analogy as being due to the different behaviour of a particle in a superfluid or
insulating phase. In practice we use e <sup>2</sup> m <sup>∼</sup> <sup>kBT ǫ0.</sup>
In Fig. (7) we plot the decay rate for the Fourier components of the transverse electric
field for three different simulations. The first simulation is a box without free charges simulated using simple plaquette updates. As predicted by Eq. (7) the dynamics of the field is
diffusive, Γ = DEq <sup>2</sup> for small q. We then add two free charges to the system and measure
the same relaxation rate. We see that a finite gap is introduced into the dispersion law
as predicted by Eq. (8). Finally we simulate the system without charges using the cluster
algorithm. We find that the relaxation rate is weakly dependent on the mode and we have a
method which equilibrates the transverse electric field in about two cluster moves per link,
rather than the O(L <sup>2</sup> ) sweeps needed for the diffusion of the electric field with local plaquette updates. Mixing particle motion with occasional cluster updates in a heterogeneous
system now allows one to ensure fast relaxation of the electric degrees of freedom even in
situations where σ is zero.
We understand the efficiency of the cluster algorithm in both the Hubbard model and
in the electrostatic algorithm as being due to the dispersion law Eq. (7) in the presence
of a current J = σE. We have seen that if σ is non-zero then we develop a gap in the
electric spectrum and the system is described by a dynamic exponent z = 0 rather than
z = 2 characteristic of diffusion. In the cluster algorithm the finite conductivity comes
from the virtual particles rather than from true free ions but their effect is very similar on
the relaxation spectrum for the electric field.
References
[1] T. Schlick et al. _J. Comp. Phys._ 151, 9 (1998).
[2] Ulrich Essmann, Lalith Perera, Max L. Berkowitz, Tom Darden, Hsing Lee, Lee G. Pedersen _J._
_Chem. Phys._ 103, 8577-8593, (1995).
[3] Classical Electrodynamics, J.S. Schwinger et al. (Westview Press, 1998).
[4] A. C. Maggs and V. Rossetto, _Phys. Rev. Lett._ 88, 196402 (2002).
[5] Joerg Rottler and A.C. Maggs, _J. Chem. Phys._ 120, 3119 (2004).
[6] A.C. Maggs, _J. Chem. Phys._ 117, 1975 (2002).
[7] A.C. Maggs, _J. Chem. Phys._ 120, 3108 (2004).
[8] B.P. Lee, M.E. Fisher, _Europhys. Lett._ 39, 611 (1997).
[9] Erik S. Sørensen, Mats Wallin, S. M. Girvin and A. Peter Young, _Phys._ _Rev._ _Lett._ 69, 828
(1992).
[10] F. Alet and E. Sørensen, _Phys. Rev._ E 67, 015701(R) (2003).
10 _Pramana – J. Phys.,_ Vol. 53, No. 6, December 1999
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.