원시데이터 수집 시스템
선정목록으로

A multi-scale Monte Carlo method for electrolytes

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)

기본 정보

저자
  1. Yihao Liang — Department of Physics and Astronomy, Shanghai Jiao Tong University, Shanghai, 200240, People's Republic of China
  2. Zhenli Xu — Institute of Natural Sciences, Shanghai Jiao Tong University, Shanghai, 200240, People's Republic of China|||Department of Mathematics, and MOE Key Lab of Scientific and Engineering Computing, Shanghai Jiao Tong University, Shanghai, 200240, People's Republic of China
  3. Xiangjun Xing — Department of Physics and Astronomy, Shanghai Jiao Tong University, Shanghai, 200240, People's Republic of China|||Institute of Natural Sciences, Shanghai Jiao Tong University, Shanghai, 200240, People's Republic of China|||Collaborative Innovation Center of Advanced Microstructures, Nanjing 210093, People's Republic of China
  4. Yihao Liang
  5. Zhenli Xu
  6. Xiangjun Xing
DOI
10.1088/1367-2630/17/8/083062
저널
New Journal of Physics
발행년도
2015
발행기관
IOP Publishing
피인용수
8
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1088/1367-2630/17/8/083062
토픽
Electrostatics and Colloid Interactions
OpenAlex ID
W1757756739

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
Monte Carlo method, electrolytes, Poisson-Boltzmann equation, ion density, electrostatic interaction
판단 근거
이 논문은 전해질(electrolytes) 내 이온의 상호작용을 시뮬레이션하기 위한 멀티스케일 몬테카를로 방법론을 다루고 있습니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC)용 전해질막(6) 및 막전극접합체(7) 연구에서 이온 전도도 및 전해질 거동을 예측하는 물리적 모델링 기법으로 응용될 수 있습니다.
R&D 활용 포인트
PEMFC용 고분자전해질막(PEM) 내에서의 이온 이동 및 전하 분포를 정확하게 시뮬레이션하여, 막의 이온 전도도와 내구성을 예측하는 모델링 도구로 활용 가능합니다.
평가 입력
본문 71,947자 중 30,032자 발췌

초록

Artifacts arise in the simulations of electrolytes using periodic boundary conditions (PBCs). We show the origin of these artifacts are the periodic image charges and the constraint of charge neutrality inside the simulation box, both of which are unphysical from the view point of real systems. To cure these problems, we introduce a multi-scale Monte Carlo (MC) method, where ions inside a spherical cavity are simulated explicitly, while ions outside are treated implicitly using a continuum theory. Using the method of Debye charging, we explicitly derive the effective interactions between ions inside the cavity, arising due to the fluctuations of ions outside. We find that these effective interactions consist of two types: (1) a constant cavity potential due to the asymmetry of the electrolyte, and (2) a reaction potential that depends on the positions of all ions inside. Combining the grand canonical Monte Carlo (GCMC) with a recently developed fast algorithm based on image charge method, we perform a multi-scale MC simulation of symmetric electrolytes, and compare it with other simulation methods, including PBC + GCMC method, as well as large scale MC simulation. We demonstrate that our multi-scale MC method is capable of capturing the correct physics of a large system using a small scale simulation.

본문 71,947자

본문 펼치기
A Multi-scale Monte Carlo Method for Electrolytes Yihao Liang <sup>1</sup>, Zhenli Xu <sup>2</sup> <sup>_,_</sup> <sup>3</sup>, and Xiangjun Xing <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_,_</sup> <sup>4</sup> 1 _Department_ _of_ _Physics_ _and_ _Astronomy,_ _Shanghai_ _Jiao_ _Tong_ _University,_ _Shanghai,_ _200240,_ _China_ 2 _Institute_ _of_ _Natural_ _Sciences,_ _Shanghai_ _Jiao_ _Tong_ _University,_ _Shanghai,_ _200240,_ _China_ 3 _Department_ _of_ _Mathematics,_ _and_ _MOE_ _Key_ _Lab_ _of_ _Scientific_ _and_ _Engineering_ _Computing,_ _Shanghai_ _Jiao_ _Tong_ _University,_ _Shanghai,_ _200240,_ _China_ 4 _Collaborative_ _Innovation_ _Center_ _of_ _Advanced_ _Microstructures,_ _Nanjing_ _210093,_ _China_ (Dated: July 20, 2018) Artifacts arise in the simulations of electrolytes using periodic boundary conditions (PBC). We show the origin of these artifacts are the periodic image charges and the constraint of charge neutrality inside the simulation box, both of which are unphysical from the view point of real systems. To cure these problems, we introduce a multi-scale Monte Carlo method, where ions inside a spherical cavity are simulated explicitly, whilst ions outside are treated implicitly using continuum theory. Using the method of Debye charging, we explicitly derive the effective interactions between ions inside the cavity, arising due to the fluctuations of ions outside. We find that these effective interactions consist of two types: 1) a constant _cavity_ _potential_ due to the asymmetry of the electrolyte, and 2) a _reaction_ _potential_ that depends on the positions of all ions inside. Combining the Grand Canonical Monte Carlo (GCMC) with a recently developed fast algorithm based of image charge method, we perform a multi-scale Monte Carlo simulation of symmetric electrolytes, and compare it with other simulation methods, including PBC+GCMC method, as well as large scale Monte Carlo simulation. We demonstrate that our multi-scale MC method is capable of capturing the correct physics of a large system using a small scale simulation. PACS numbers: 82.70.Dd, 82.45.Gj, 05.10.Ln, 87.10.Rt I. INTRODUCTION Monte Carlo (MC) simulation of Coulomb many body systems is a difficult problem [1, 2], mainly due to the long range nature of Coulomb interaction. In the most na¨ıve simulation strategy, one would confine a collection of ions inside a box with hard walls, and compute the total energy by adding up all pairwise interactions. This leads to two obvious difficulties: 1) The artifacts of hard wall propagate into the bulk of the system, with the characteristic scale set by the Debye length. This renders large amount of simulation data useless. The situation becomes worse in the dilute limit. 2) The computational complexity of each Monte Carlo cycle is of order of _N_ <sup>2</sup>, with _N_ the system size. This makes simulation of large size systems practically impossible. Obviously, both difficulties have their roots in the long range nature of Coulomb interaction. Adoption of periodic boundary conditions (PBC) restores the translational symmetry and hence eliminates all the boundary effects. Furthermore, one can take advantage of periodicity and compute the long range part of Coulomb energy in Fourier space, using the method of Ewald summation [3]. (For a pedagogical introduction, see [2].) This reduces the computational complexity from _N_ <sup>2</sup> to _N_ <sup>3</sup> <sup>_/_</sup> <sup>2</sup>, which is still not fast enough for large scale simulations. For molecular dynamics (MD) simulations, one can use particle-mesh method and fast Fourier transform [4, 5] to reduce to complexity further down to _N_ log _N_ . Unfortunately, these techniques are not applicable for Monte Carlo simulations. This is probably the main reason why MD has become the more popular method for charged systems, even when one is only insterested in static properties. By periodically replicating the system, one introduces an infinite array of image charges for each charge belonging to the system under study. These images are _unphysical_ and break the _rotational_ _symmetry_ . Furthermore, the total charge inside the simulation box must vanish, for otherwise the summation over images would diverge. This leads to an _unphysical_ constraint of charge neutrality inside a _finite_ _volume_ . In Fig. 1(a), we show the average charge density around a fixed ion, obtained using different simulation methods. Whilst large scale MC simulation (STD) gives a clean form of screened Coulomb, small scale simulation (with system size three Debye lengths) using PBC (PBC+GCMC) gives substantially different results. The deviation, which grows with the distance to the test ion, is caused by the unphysical image charges. Similarly, internal energies calculated using PBC also deviate substantially from the standard results, shown in Fig. 1(b). These artifacts are quantitatively less important for larger systems, and become invisible for infinite systems. In principle, one can always simulate sufficiently large systems so that these artifacts become insignificant, or correct these artifacts for every microscopic configurations during the simulation. This however generically leads to waste of computational resources, or slow-down of simulation processes. As an alternative to PBC, one may use a linear continuum theory to model the influence of the subsystem outside the simulation domain, whilst particles inside the domain are simulated explicitly. For a dipolar system, the subsystem outside responds to the dipoles inside the cavity and exerts a field on the latter, which are conventionally called the _reaction_ _field_ . The term _reaction_ -10 -10.5 -11 -11.5 STD RP+CMC RP+GCMC PBC+GCMC LPB PBC+LPB -0.12 STD RP+CMC -0.14 RP+GCMC PBC+GCMC -0.16 DH PBC+DH -0.14 -0.16 (a) -12 20 40 60 80 r ( Å ) (a) -0.18 -0.2 -0.22 -0.24 (b) (b) 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 -3) Total ionic density (10 -5A FIG. 1: (a) Screening charge density around a fixed ion, as a function of distance to the source. Our multi-scale MC method (dark triangle, RP+GCMC) agrees the standard results (red dot, STD) to a high precision, indicating that it correctly captures the physics of an infinite size system. By contrast, simulation using PBC (pink diamond, PBC+GCMC) gives substantially different results. The straight line is prediction by LPB in open space, Eq. (55), whereas the dashed curve is the prediction by LPB with PBC, Eq. (8). System parameters in these simulations are listed in Sec. IV B. (b) The average energy per ion, in the unit of _k_ B _T_, as a function of ion density. Again our multi-scale MC method agrees with the standard results to a high precision, whilst simulation using PBC yields largest errors among all methods. The solid line (DH) is the prediction of Debye-H¨uckel theory in open space (the first term in RHS of Eq. (10)), and the dashed line, Debye-H¨uckel theory with PBC (Eq. (10)). energy of ions in solvent. We note that in the study of ionic systems, the term _reaction_ _potential_ would be more appropriate than _reaction field_, since it is the electrostatic potential, rather than field, that couples to the charges. The same method can be generalized to molecules with arbitrary charge distributions. FIG. 2: Schematic illustration of the multi-scale reaction potential grand canonical Monte Carlo. If this simulation method work well, the boundary of simulation cavity must behaves as a virtual one, i.e., the simulated system must behave as ions inside a virtual spherical domain in an infinitely large system. _field_ _boundary_ _condition_ is named after Onsager [6], who first used this method to calculate the dielectric constant of dipolar fluids. Similar multi-scale ideas, i.e. treating dipolar molecules in near and far fields using different methods, however can be dated back to Clausius [7] and Mossotti [8]. For a discussion, see the monographs on dielectrics by Fr¨ohlich [9], and by Battcher [10]. Born [11] also used a similar idea to calculate the solvation (free) Simulation methods using multi-scale strategy have been studied by many authors [12–20]. These methods were designed for study of either dipolar systems or ionic systems. The simulation cavity can be either fixed and common for all simulated particles, or can be moving and individual for each particle. The subsystem outside the cavity is always assumed to obey Poisson equation (for dipolar systems) or the linearized Poisson-Boltzmann equation (for ionic systems). Finally, it appears that in most of the previous works, the reaction-field modeling is used in molecular dynamics simulations (MD), even though in principle, it is applicable for Monte Carlo simulations as well. To implement the multi-scale simulation, one must solve the continuum theory for each simulation step. The classical Kirkwood expansion [21], though straightforward, is not efficient because of its slow convergence. The image charge method, which was first discovered by Neumann [22] for polar systems, and have been generalized to ionic systems [23–25], transforms the Kirkwood expansion into a line integral, and therefore can be efficiently computed. Recently, we improved the image method [26] (using Mellin transform technique) so that it is applicable for Poisson-Boltzmann theory. Regardless of the rich history, there are still a few con tributions that we can make to improve this multi-scale simulation strategy. Firstly, in order to mimic an infinite system using a finite and simulation domain (which is the essential task of almost all computer simulations), the total charge inside the simulation cavity must be allowed to fluctuate. This means that the numbers of positive and negative ions must be allowed to fluctuate independently. A “grand canonical Ewald” simulation where the ions are inserted and deleted in neutral pairs can not capture the physics of charge fluctuations. In this work, we shall discuss in detail the artifacts due to suppression of charge fluctuations. Secondly, all previous works assume without proof that the subsystem outside the cavity is described by the linearized Poisson-Boltzmann theory (LPB) for ionic systems. We shall derive the correct linearized continuum theory and show that it reduces to the na¨ıve LPB only in the dilute limit. For non-dilute electrolytes, the continuum theory may be considerably complicated. Furthermore, for asymmetric electrolytes, there is also a constant _cavity_ _potential_ that acts on all ions inside the cavity. Thirdly, we shall combine the multi-scale GCMC with a recently developed image charge method [26] to simulate symmetric electrolytes. We find that multi-scale simulation of a small system (with linear size of only three Debye length) is capable of capturing the physics of an infinite system. For example, as shown in Fig. 1(a) and Fig. 1(b), both the screening charge density around a fixed ion and the average internal energy per ion computed using our multi-scale GCMC (RP+ GCMC) agrees remarkably well with the standard results (STD). By contrast, to achieve similar precision in simulations using PBC, the system would have to be at least as large as ten times Debye length. The remaining of this paper is organized as follows. In Sec. II, we analytically discuss LPB with PBC, and demonstrate two sources of artifacts of PBC, i.e., periodic image charges, and constraint of charge neutrality inside each unit cell. In Sec. III, we start from the basic principle of statistical mechanics, and systematically derive the multi-scale MC simulation strategy. This derivation made it clear that one should always use grand canonical ensemble for the subsystem inside the cavity, and that, for asymmetric electrolytes, there is a constant cavity potential acting on every ions inside. In Sec. IV we outline the numerical implementation of the multi-scale strategy using grand canonical MC simulation, as well as that of other simulation methods that are used for comparative studies. In Sec. V, we simulate the symmetric primitive model, and compare the simulation results using different methods. We demonstrate how our multi-scale method captures correctly the correlation effects between ions, whilst the Ewald summation methods fail to do so. Finally in Sec. VI we draw the conclusion remarks. To simulate large systems, one need to use fast algorithms based on multipole expansion, such as the octtree algorithm [27], to expedite the computation of electrostatic energy. A Monte Carlo simulation strategy that combine multi-scale modeling, grand canonical en semble, image charge techniques, and oct-tree algorithm speeding-up can achieve a computational complexity of order of _N_ log _N_ for one Monte Carlo cycle, and is free of artifacts due to PBC. It therefore constitutes a competitive alternative to molecular dynamics simulation methods for electrolyte systems. This will be discussed in a future work. II. ARTIFACTS DUE TO PERIODIC BOUNDARY CONDITIONS Consider _N_ positive ions _q_ and _N_ negative ions _−q_ inside the simulation cube, which is centered at the origin and has length _L_, and volume _V_ = _L_ <sup>3</sup> . To simplify the analysis, we shall only focus on symmetric electrolytes in the dilute regime, where linearized Poisson-Boltzmann theory is applicable. We shall for the moment assume that all ions that point-like, and consider the case of finite ion sizes towards the end of this section. We periodically replicate the system, so that both the charge distribution and the electrostatic potential become periodic functions. We fix a positive ion _q_ at the origin, and let all other ions fluctuate according to the equilibrium Gibbs measure. We shall calculate two quantities: 1) the screening charge density _ρq_ ( r ) around the test ion, and 2) the correlation potential _ψ_, i.e., the mean potential acting on the test ion due to all other ions. These two quantities are calculated in the classical Debye and H¨uckel theory (DH) [30] for an infinite electrolyte. What we are doing here is to generalize DH to a finite system with PBC. The total internal energy of the system is related to _ψ_ via Now according to the linearized Poisson-Boltzmann theory (LPB), the average number densities of _mobile_ positive and negative ions are related to the mean potential _φ_ ( r ) via the Boltzmann factor: _c_ +( r ) = _c_ ˜+ _e_ <sup>_−βqφ_</sup> <sup>(</sup> <sup>r</sup> <sup>)</sup> _≈_ _c_ ˜+ _−_ _βqc_ ˜+ _φ_ ( r ) _,_ (2a) _c−_ ( r ) = _c_ ˜ _−e_ <sup>_βqφ_</sup> <sup>(</sup> <sup>r</sup> <sup>)</sup> _≈_ _c_ ˜ _−_ + _βqc_ ˜ _−φ_ ( r ) _,_ (2b) where we have linearized the exponentials in the second steps. For a physical system with infinite size, one usually requires that the mean potential _φ_ ( r ) vanishes in the infinity. Then according to Eqs. (2), _c_ ˜ _±_ are the number densities of positive/negative ions in the infinity, i.e., the bulk ion densities [33]. This argument is no longer applicable if periodic boundary condition is imposed, since the mean potential _φ_ ( r ) does not vanish as infinity. For periodic systems, the most convenient choice is that the mean potential _φ_ ( r ) vanishes identically when integrated over the unit cell: _φ_ ( r ) _d_ r = 0 _._ (3) cell = _Nqψ._ (1) _E_ = <sup><u>1</u></sup> 2 _i_ - _<u>qj</u>_ 4 _πϵ|_ r _i −_ r _j|_ _qi_ _j̸_ = _i_ This is equivalent to the “conductor boundary condition” that are popularly used in Ewald summation method, which requires that the Fourier transform of electrostatic potential does not have a k = 0 component. Now if we integrate Eqs. (2) over the unit cell with volume _V_, the LHS are the total numbers of mobile positive/negative ions in the unit cell, which are _N −_ 1, and _N_, respectively, whereas the RHS are _c_ ˜ _±V_ respectively. This allows us to determine the parameters _c_ ˜ _±_ as test ion itself from Eq. (7), and take the local limit r _→_ 0: _ψ_ = lim r _→_ 0 - _<u>q</u>_ _φ_ ( r ) _−_ 4 _πϵ|_ r _|_ = _−_ <sup>_<u>q</u>_</sup> <sup><u>˜</u></sup> <sup>_<u>κ</u>_</sup> 4 <sup>_<u>q</u>_</sup> <sup><u>˜</u></sup> <sup>_<u>κ</u>_</sup> 4 _πϵ_ <sup>+</sup> _̸_ _⃗_ l _̸_ =0 _⃗_ _<u>q e</u>_ <sup>_−κ_</sup> <sup>˜</sup> <sup>_|_</sup> <sup>l</sup> <sup>_|_</sup> _<u>q</u>_ 4 _πϵ|_ l _|_ <sup>_−_</sup> _ϵκ_ ˜ <sup>2</sup> _V_ <sup>_._</sup> (9) _c_ ˜+ = <sup>_<u>N</u>_</sup> <sup>_<u>−</u>_</sup> <sup><u>1</u></sup> <sup>_<u>N</u>_</sup> (4) _V_ <sup>_._</sup> <sup>_<u>−</u>_</sup> <sup><u>1</u></sup> _,_ _c_ ˜ _−_ = <sup>_<u>N</u>_</sup> _V_ _V_ Let us now invoke the Poisson equation, use Eqs. (2), and expand to the first order in _φ_ . We obtain _−_ ∆ _φ_ ( r ) = <sup><u>1</u></sup> _ϵ_ <sup><u>1</u></sup> _ϵ_ <sup>_ρq_</sup> <sup>(</sup> <sup>r</sup> <sup>) =</sup> <sup><u>1</u></sup> _ϵ_ <sup><u>1</u></sup> _ϵ_ <sup>_q_</sup> The first term is just the correlation potential in free space as predicted by Debye-H¨uckel theory, and the other two terms constitute the artifacts due to periodic boundary conditions, both of which vanish as the system size _L_ goes to infinity (with the Debye length fixed). If the ions are not point-like, but are hard spheres with diameter _d_ (the primitive model), the above results need to be modified properly. The resulting theory is considerably more complicated. If the ion density is not very high, however, we may consider corrections due to hardcores as small perturbations, same as the artifacts due to PBC. Then all we have to do is to correct the first term in Eq. (9), i.e., replace it by the correlation potential of a hard sphere ion, which was worked out by Levin and Fisher some time ago [28, 29]. This leads to l _δ_ ( r _−_ l ) + _q_ ( _c_ +( r ) _−_ _c−_ ( r )) = <sup><u>1</u></sup> _ϵ_ <sup>_q_</sup> l _δ_ ( r _−_ l ) _−_ _ϵ V_ <sup>_<u>q</u>_</sup> <sup>_−_</sup> <sup>_κ_</sup> <sup>˜2</sup> <sup>_φ,_</sup> (5) where l = ( _Lxnx, Lyny, Lznz_ ) are lattice vectors, _nx_, _ny_, _nz_ are integers, and _κ_ ˜ is the inverse Debye length: _κ_ ˜ = - _ϵ_ <sup>_−_</sup> <sup>1</sup> _β q_ <sup>2</sup> (2 _N_ _−_ 1) _/V ._ (6) _<u>q e</u>_ <sup>_−κ_</sup> <sup>˜</sup> <sup>_|_</sup> <sup>l</sup> <sup>_|_</sup> _<u>q</u>_ 4 _πϵ|_ l _|_ <sup>_−_</sup> _ϵκ_ ˜ <sup>2</sup> _V_ <sup>_._</sup> (10) The first term in RHS of Eq. (5) is due to the test ion and its periodic images, whilst the second term corresponds to a _uniform_ _and_ _negative_ charge density, arising due to the fact _there_ _is_ _one_ _more_ _negative_ _mobile_ _ion_ _than_ _positive_ _mobile_ _ions_, see Eq. (4). _This_ _in_ _turns_ _originates_ _from_ _the_ _artificial_ _constraint_ _of_ _charge_ _neutrality_ _inside_ _each_ _primitive_ _cell._ Integrating both sides over a unit cell, one easily see Eq. (3) is indeed satisfied. Note that inverse Debye length _κ_ ˜ in Eq. (6) is also slightly different from its usual form in free space. Eq. (5) can be easily solved subject to PBC: _ψ_ = _−_ 4 _πϵ_ (1 + ˜ _<u>q</u>_ <u>˜</u> _<u>κ</u>_ _κa_ ) <sup>+</sup> l _̸_ =0 _⃗_ _<u>q e</u>_ <sup>_−κ_</sup> <sup>˜</sup> <sup>_|_</sup> <sup>r</sup> <sup>_−_</sup> <sup>l</sup> <sup>_|_</sup> _<u>q</u>_ 4 _πϵ|_ r _−_ l _|_ <sup>_−_</sup> _ϵκ_ ˜ <sup>2</sup> _V_ <sup>_,_</sup> (7) _φ_ ( r ) = l which can be easily shown to satisfy the condition Eq. (3). Taking the Laplacian of this equation, we find the total average charge density: This result is plotted in Fig. 1(b) (PBC+DH), which agrees reasonably well with the MC simulations with PBC if the ion density is low. The agreement becomes increasingly worse as the density increases, indicating that the approximation underlying Eq. (10) becomes increasingly inaccurate. In Fig. 1, we have chosen the size of simulation box to be approximately three Debye length, in order to highlight the artifacts due to PBC. In many simulations, the size of simulation box is chosen to be much larger than the Debye length. In this case, the second term in Eq. (10) is exponentially small comparing with the third term. The artifacts is therefore completely due to the last term. The relative error (in the dilute regime _κa_ ˜ _→_ 0) due to PBC is the given by _<u>δψ</u>_ <u>4</u> _<u>π</u>_ _ψ_ <sup>_≈_</sup> (˜ _κL_ ) <sup>3</sup> <sup>_._</sup> (11) To make this relative error less than 1%, one would have to choose the size of simulation box to be larger than ten times Debye length. This may be very difficult to achieve in many simulations. By strong contrast, using the multi-scale GCMC simulation method, we can faithfully simulate an infinite system using a simulation cavity with radius only three times Debye length. _<u>qκ</u>_ <u>˜</u> <sup>2</sup> _<u>e</u>_ <sup>_−κ_</sup> <sup>˜</sup> <sup>_|_</sup> <sup>r</sup> <sup>_−_</sup> <sup>l</sup> <sup>_|_</sup> 4 _π|_ r _−_ l _|_ <sup>_,_</sup> (8) l _ρq_ ( r ) = _q_ l _δ_ ( r _−_ l ) _−_ where the first term is due to the test ion and its images, whilst the second term is sum of the screening charge densities around these ions. Eq. (8) (averaged over all orientations of r ) is plotted in Fig. 1(a) as PBC+DH, which agrees remarkably well with MC simulations with PBC (PBC+GCMC). The correlation potential _ψ_ acting on the fixed ion can be easily obtained by subtracting off the part due to the III. MULTI-SCALE MODELING A. Effective Interaction We shall study the _primitive_ _model_ of electrolytes, where the solvent (water) is modeled implicitly as a dielectric medium with relative permittivity _ϵ/ϵ_ 0 = 80, whilst ions are modeled as hard spheres with a point charge at the center. Furthermore, the permittivity of the hard spheres is assumed to be the same as that of the solvent. We introduce a spherical _simulation_ _cavity_, which is already schematically illustrated in Fig. 2. The subsystem _A inside the cavity_ consists of _N_ charges _{q_ 1 _, . . ., qN_ _}_ with positions denoted by X = _{_ x 1 _, . . .,_ x _N_ _}_, whereas the subsystem _B_ _outside_ _the_ _cavity_ consists of _M_ charges _{θ_ 1 _, . . ., θM_ _}_ with positions denoted Y = _{_ y 1 _, . . .,_ y _M_ _}_ respectively. The total Hamiltonian of the overall system consists of three parts: _H_ = _H_ <sup>_A_</sup> + _H_ <sup>_B_</sup> + _H_ <sup>_AB_</sup> _,_ (12) where _H_ <sup>_A_</sup> and _H_ <sup>_B_</sup> are the Hamiltonian of isolated subsystems _A_ and _B_ : where _ϕ_ ( x _i,_ Y ) is the _potential_ _acting_ _on_ _the_ _charge_ _qi_ _at_ x _i_ _due to all ions in B_, in the specific micro-configuration Y = _{_ y 1 _, . . .,_ y _M_ _}_ : _ϕ_ ( x _i,_ Y ) = _M_ _α_ =1 <u>1</u> _<u>θα</u>_ (17) 4 _πϵ_ _|_ x _i −_ y _α|_ <sup>_._</sup> The _grand_ _canonical_ _partition_ _function_ of the overall system can be written as Ξ = Tr _A_ Tr _B e_ <sup>_−β_</sup> <sup>(</sup> <sup>_H_</sup> <sup>_A_</sup> <sup>+</sup> <sup>_H_</sup> <sup>_B_</sup> <sup>+</sup> <sup>_H_</sup> <sup>_AB_</sup> <sup>)</sup> _,_ (18) where the traces Tr _A_ and Tr _B_ represent integrations of all the variables as well as summation over particle numbers: _d_ <sup>3</sup> <sup>_N_</sup> X _,_ (19) _d_ <sup>3</sup> <sup>_M_</sup> Y _._ (20) �� _A_ �� �� _s_ �� _s_ _<u>e</u>_ <sup>_Nsβµs_</sup> _Ns_ !Λ _s_ <sup>3</sup> <sup>_Ns_</sup> _<u>e</u>_ <sup>_Msβµs_</sup> Tr _A_ = Tr _B_ = _{Ns}_ _{Ms}_ _Ms_ !Λ _s_ <sup>3</sup> <sup>_Ms_</sup> _B_ _H_ <sup>_A_</sup> = _H_ <sup>_B_</sup> = _N_ _i<j_ _M_ _α<β_ - <u>1</u> _<u>qiqj</u>_ _,_ (13a) 4 _πϵ_ _|_ x _i −_ x _j|_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>x</sup> <sup>_i −_</sup> <sup>x</sup> <sup>_j_</sup> <sup>)</sup> - <u>1</u> _<u>qiqj</u>_ 4 _πϵ_ _|_ x _i −_ x _j|_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>x</sup> <sup>_i −_</sup> <sup>x</sup> <sup>_j_</sup> <sup>)</sup> - <u>1</u> _<u>θαθβ</u>_ _._ (13b) 4 _πϵ_ _|_ y _α −_ y _β|_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>y</sup> <sup>_α −_</sup> <sup>y</sup> <sup>_β_</sup> <sup>)</sup> - <u>1</u> _<u>θαθβ</u>_ 4 _πϵ_ _|_ y _α −_ y _β|_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>y</sup> <sup>_α −_</sup> <sup>y</sup> <sup>_β_</sup> <sup>)</sup> Here _Ns_ and _Ms_ are the numbers of mobile particles of _s_ -th species in subsystems A an B respectively, whereas _µs_ are their chemical potentials, and Λ _s_ are some microscopic length scales. We integrate out the variables in subsystem _B_, and obtain an effective theory for the subsystem _A_ : Ξ = Tr _A e_ <sup>_−βH_</sup> <sup>_A_</sup> <sup>�</sup> Tr _B e_ <sup>_−β_</sup> <sup>(</sup> <sup>_H_</sup> <sup>_B_</sup> <sup>+</sup> <sup>_H_</sup> <sup>_AB_</sup> <sup>)�</sup> The first term in each bracket is the long-range Coulomb interaction and the second term _w_ ( x _−_ y ) is the short range interaction, which is assumed to be independent of the ion species . For the primitive model, _w_ ( x _−_ y ) is just the pairwise hardcore repulsion: - 0 _,_ _|_ x _−_ y _| > d_ ; _≡_ Tr _A e_ <sup>_−β_</sup> <sup>(</sup> <sup>_H_</sup> <sup>_A_</sup> <sup>+</sup> <sup>_δH_</sup> <sup>_A_</sup> <sup>)</sup> _≡_ Tr _A e_ <sup>_−βH_</sup> eff <sup>_A_</sup> _,_ (21a) _w_ ( x _−_ y ) = (14) where _δH_ <sup>_A_</sup> represents the additional effective interactions of subsystem _A_ as mediated by subsystem _B_ : _e_ <sup>_−βδH_</sup> <sup>_A_</sup> = Tr _B e_ <sup>_−β_</sup> <sup>(</sup> <sup>_H_</sup> <sup>_AB_</sup> <sup>+</sup> <sup>_H_</sup> <sup>_B_</sup> <sup>)</sup> _._ (21b) Therefore we can study the subsystem _A_ _only_ with an effective Hamiltonian _H_ eff <sup>_A_</sup> <sup>=</sup> <sup>_H_</sup> <sup>_A_</sup> <sup>+</sup> <sup>_δH_</sup> <sup>_A_</sup> <sup>=</sup> <sup>_H_</sup> <sup>_A −_</sup> <sup>_β−_</sup> <sup>1Tr</sup> <sup>_B_</sup> <sup>_e−β_</sup> <sup>(</sup> <sup>_H_</sup> <sup>_AB_</sup> <sup>+</sup> <sup>_H_</sup> <sup>_B_</sup> <sup>)</sup> <sup>_,_</sup> <sup>(22)</sup> and the influences of the subsystem _B_ on _A_ are automatically taken care of. We will find that _δH_ <sup>_A_</sup> can be approximately calculated and the result assumes a simple and physically transparent form. We emphasize that Eqs. (21a) and (18) are _grand_ _canonical_ _partition_ _functions_ . Hence the ion numbers for each species in _A_ and _B_ are all stochastic variables. Now it is well known that for large systems (such as subsystem _B_ ), all ensembles are equivalent to each other. But for small systems (such as _A_ ), different ensembles are inequivalent. It is therefore important to use grand canonical ensemble, rather than canonical ensemble for _A_ in our multi-scale modeling. We shall demonstrate this point by comparing simulations results using GCMC and CMC in Sec. V. _∞,_ _|_ x _−_ y _| < d._ The last part in the RHS of Eq. (12), _H_ <sup>_AB_</sup>, represents the interaction between subsystems _A_ and _B_ : _M_ _α_ =1 _H_ <sup>_AB_</sup> = _N_ _i_ =1 - <u>1</u> _<u>qiθα</u>_ _._ (15) 4 _πϵ_ _|_ x _i −_ y _α|_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>x</sup> <sup>_i −_</sup> <sup>y</sup> <sup>_α_</sup> <sup>)</sup> - <u>1</u> _<u>qiθα</u>_ 4 _πϵ_ _|_ x _i −_ y _α|_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>x</sup> <sup>_i −_</sup> <sup>y</sup> <sup>_α_</sup> <sup>)</sup> We note that the short range part of _H_ <sup>_AB_</sup> in Eq. (15) becomes nonzero only if the distance between x _i_ and y _α_ is smaller than _d_, which can happen only if both particles are very close to the cavity boundary, hence it has no influence on the ions that are at least one ion-diameter away from the boundary. We shall therefore ignore this short range interaction between _A_ and _B_ . Accordingly, we shall exclude a thin spherical shell near the cavity boundary for collection of simulation data. _H_ <sup>_AB_</sup> can then be written into the following form: _H_ <sup>_AB_</sup> = _N_ _i_ =1 _qi ϕ_ ( x _i,_ Y ) (16) B. Method of Debye Charging To calculate the effective interaction _δH_ <sup>_A_</sup>, we shall use the Debye _charging_ _method_ [30]. Let us scale charges of all ions _qi_ in subsystem _A_ by a factor _λ_ : _qi_ _→_ _λ qi,_ (23) so that Eq. (16) becomes _Hλ_ <sup>_AB_</sup> = _N_ _i_ =1 _λ qi ϕ_ ( x _i,_ Y ) = _λ H_ <sup>_AB_</sup> (24) Eq. (21b) then becomes: _e_ <sup>_−βδH_</sup> _λ_ <sup>_A_</sup> = Tr _B e_ <sup>_−β_</sup> <sup>(</sup> <sup>_λ H_</sup> <sup>_AB_</sup> <sup>+</sup> <sup>_H_</sup> <sup>_B_</sup> <sup>)</sup> _._ (25) Taking derivative of Eq. (25) with respect to _λ_, we find _<u>d</u>_ _dλ_ <sup>_δH_</sup> _λ_ <sup>_A_</sup> <sup>=</sup> _N_ _i_ =1 _λ_ <sup>_,_</sup> (26) _qi_ - _ϕ_ ( x _i,_ Y )� The first term in the RHS is the average potential at x _i in_ _the absence of any charges in_ _A_, generated by an isolated subsystem _B_ . We shall call this term the _cavity_ _potential_ Φcav( r ), following the terminology of Onsager [34]. Evidently it satisfies the Laplace equation inside the cavity, and is invariant under arbitrary rotation. It then follows that Φcav( r ) must be a constant in the whole cavity: Φcav = _⟨ϕ_ ( r _,_ Y ) _⟩_ 0 _._ (31) Furthermore, for symmetric electrolytes, the cavity potential vanishes identically due to charge inversion symmetry. For asymmetric electrolytes, Φcav is generally non-vanishing. This term has been missed by all previous works on reaction-field modeling of charged systems. The second term in the RHS of Eq. (30) is linear in _λ_ . It therefore arises due to the linear reaction of subsystem _B_ to sources charges _{λ q_ 1 _, . . ., λ qN_ _}_ in _A_ . We shall therefore call it the _reaction_ _potential_ [35]. Finally, combining Eqs. (31) and (30), and substituting them back into Eq. (26), integrating the latter over the charging parameter _λ_ from 0 to 1, we obtain the effective interaction of _A_ mediated by _B_ : where the _λ_ -dependent average _⟨O⟩λ_ is defined as _⟨O⟩λ_ = <sup><u>Tr</u></sup> <sup>_<u>B O e−β</u>_</sup> <sup>(</sup> <sup>_H_</sup> <sup>_B_</sup> <sup>+</sup> <sup>_λ H_</sup> <sup>_AB_</sup> <sup>)</sup> (27) Tr _B e_ <sup>_−β_</sup> <sup>(</sup> <sup>_H_</sup> <sup>_B_</sup> <sup>+</sup> <sup>_λ H_</sup> <sup>_AB_</sup> <sup>)</sup> <sup>_._</sup> _N_ _i,j_ =1 _δH_ <sup>_A_</sup> = _i_ _qiqjχ_ ( x _i,_ x _j_ ) _._ (32) _qi_ Φcav + <sup><u>1</u></sup> 2 The physical significance of - _ϕ_ ( x _i,_ Y )� _λ_ <sup>is</sup> <sup>therefore</sup> <sup>_the_</sup> _average_ _potential_ _at_ x _i_ _(inside_ _the_ _cavity,_ _occupied_ _by_ _an_ _ion_ _λqi)_ _due_ _to_ _all_ _ions_ _in_ _B._ Note that the average is over the statistical fluctuations of all ions outside, with the locations of all ions _λqi_ inside fixed. To calculate this average, we treat _λ_ as a small parameter and use the _linear_ _response_ _theory_ . That is, we expand Eq. (27) to the first order of _λ_ : The physical significance of - _ϕ_ ( x _i,_ Y ) The correlation function _χ_ ( r _,_ r <sup>_′_</sup> ) is intimately related to the electrostatic Green’s function of the subsystem _B_ . To see this, let us insert a test ion with charge _q_ at r <sup>_′_</sup> inside the otherwise empty cavity, and calculate the average total potential at r, which may be inside or outside the cavity. This potential is the linear superposition of a part due to the source charge _q_, and another part due to all ions in subsystem _B_ . The later has the form given by Eq. (30), to the first order in _q_ (with _λ_ set to unity, of course). Hence the total mean potential at r is given by - _._ 0 _⟨O⟩λ_ _≈⟨O⟩_ 0 _−_ _λβ_ �� _OH_ <sup>_AB_</sup> <sup>�</sup> 0 <sup>_−⟨O⟩_</sup> <sup>0</sup> - _H_ <sup>_AB_</sup> <sup>�</sup> - <u>1</u> 4 _πϵ|_ r _−_ r <sup>_′_</sup> _|_ <sup>+</sup> <sup>_χ_</sup> <sup>(</sup> <sup>r</sup> <sup>_,_</sup> <sup>r</sup> <sup>_′_</sup> <sup>)</sup> + _O_ ( _q_ <sup>2</sup> ) _._ (33) + _O_ ( _λ_ <sup>2</sup> ) (28) Note that the average _⟨O⟩_ 0 in RHS is defined by Eq. (27) with _λ_ set to zero, i.e., with the interaction between two subsystems switched off: _⟨O⟩_ 0 = <sup><u>Tr</u></sup> <sup>_<u>B O e−β</u>_</sup> <sup>(</sup> <sup>_H_</sup> <sup>_B_</sup> <sup>+</sup> <sup>_H_</sup> <sup>_AB_</sup> <sup>)</sup> (29) Tr _B e_ <sup>_−β_</sup> <sup>(</sup> <sup>_H_</sup> <sup>_B_</sup> <sup>+</sup> <sup>_H_</sup> <sup>_AB_</sup> <sup>)</sup> <sup>_._</sup> Let us define a kernel _χ_ ( r _,_ r <sup>_′_</sup> ) in terms of the connected correlation function of _ϕ_ ( r _,_ Y ) as follows: Φcav + _q_ The sum inside the bracket describes the linear response of mean potential at r due to a _unit_ _point_ _charge_ at r <sup>_′_</sup>, and therefore is the _electrostatic_ _Green’s_ _function_ : <u>1</u> _G_ ( r _,_ r <sup>_′_</sup> ) = 4 _πϵ|_ r _−_ r <sup>_′_</sup> _|_ <sup>+</sup> <sup>_χ_</sup> <sup>(</sup> <sup>r</sup> <sup>_,_</sup> <sup>r</sup> <sup>_′_</sup> <sup>)</sup> <sup>_._</sup> (34) Substituting this back into Eqs. (22) and (32), we find the effective Hamiltonian _H_ eff <sup>_A_</sup> <sup>:</sup> _N_ _i<j_ _i_ - _qi_ Φcav + <sup><u>1</u></sup> 2 <sup><u>1</u></sup> 2 <sup>_q_</sup> _i_ <sup>2</sup> <sup>_χ_</sup> <sup>(</sup> <sup>x</sup> <sup>_i,_</sup> <sup>x</sup> <sup>_i_</sup> <sup>)</sup> _χ_ ( r _,_ r <sup>_′_</sup> ) = _−_ _β_ - _⟨ϕ_ ( r _,_ Y ) _ϕ_ ( r <sup>_′_</sup> _,_ Y ) _⟩_ 0 _−⟨ϕ_ ( r _,_ Y ) _⟩_ 0 _⟨ϕ_ ( r <sup>_′_</sup> _,_ Y ) _⟩_ 0 _qiqjG_ ( x _i,_ x _j_ ) _,_ - _._ (35) Setting _O_ = _ϕ_ ( x _i,_ Y ) in Eq. (28) and using Eqs. (29), (16), we obtain: _H_ eff <sup>_A_</sup> <sup>=</sup> + where the first term is the effective interaction between different ions, and the second term is the self-energy of ions mediated by subsystem _B_ . _⟨ϕ_ ( x _i,_ Y ) _⟩λ_ = _⟨ϕ_ ( x _i,_ Y ) _⟩_ 0 + _λ_ - _qjχ_ ( x _i,_ x _j_ ) _._ (30) _j_ C. Linearized Poisson-Boltmann Theory The Green’s function _G_ ( r _,_ r <sup>_′_</sup> ) encodes the linear response properties of the subsystem _B_, that is an electrolyte with _a_ _spherical_ _void_ (the empty cavity). More precisely, it is the incremental mean potential at the field point r due to the insertion of a unit test charge at the source point r <sup>_′_</sup> . If r is inside the cavity, _G_ ( r _,_ r <sup>_′_</sup> ) obviously satisfies the Poisson equation: _−_ ∆ r _G_ ( r _,_ r <sup>_′_</sup> ) = <sup><u>1</u></sup> r _∈A._ (36a) _ϵ_ <sup>_δ_</sup> <sup>(</sup> <sup>r</sup> <sup>_−_</sup> <sup>r</sup> <sup>_′_</sup> <sup>)</sup> <sup>_,_</sup> If r is outside the cavity, it satisfies a linear integrodifferential equation: _−_ ∆ r _G_ ( r _,_ r <sup>_′_</sup> ) + - _α_ ( r _,_ r <sup>_′′_</sup> ) _G_ ( r <sup>_′′_</sup> _,_ r <sup>_′_</sup> ) _d_ r <sup>_′′_</sup> = 0 _,_ r _∈B._ (36b) The kernel _α_ ( r _,_ r <sup>_′′_</sup> ) is generally unknown. At the level of first order perturbation, however, we may approximate _α_ ( r _,_ r <sup>_′′_</sup> ) by the kernel that corresponds to a uniform electrolyte, which only depends on the difference r _−_ r <sup>_′′_</sup>, because of the translational symmetry. The Fourier transform of this kernel was calculated analytically recently, both for symmetric and asymmetric electrolytes [32]. The results are still quite complicated. In this work, we shall only study symmetric electrolytes in the dilute regime, where LPB is applicable in the bulk. This entails two essential simplifications for the effective Hamiltonian Eq. (35). Firstly the cavity potential vanishes identically. Secondly, the kernel _α_ ( r _,_ r <sup>_′_</sup> ) has the simple form _κ_ <sup>2</sup> _δ_ ( r _−_ r <sup>_′_</sup> ), where _κ_ is the inverse (bare) Debye length, given by Our method therefore works as follows. Firstly we find the Green’s function by solving Eqs. (36a), (36d), subject to boundary conditions (37), then use Eq. (34) to find the reaction potential _χ_ ( r _,_ r <sup>_′_</sup> ), and finally use Eq. (35) to find the effective Hamiltonian. IV. NUMERICAL IMPLEMENTATION In this section, we discuss the numerical implementation of our multi-scale MC method, as well as other simulation methods that we use for comparison. A. Computation of the Green’s Function In one of our previous works [26], we discussed an efficient image charge method for solving Eqs. (36a) and (36d), subjected to boundary conditions Eqs.(37). Here we briefly summarize the results in order to make this work self-contained. Let r <sup>_′_</sup> and r be, respectively, the source point and the field point. We obtain the reaction potential _χ_ ( r _,_ r <sup>_′_</sup> ) in the form of Kirkwood series [21]: <u>1</u> _χ_ ( r _,_ r <sup>_′_</sup> ) = 4 _πϵR_ _∞_ _n_ =0 - _<u>rr′</u>_ - _n_ _Mn_ ( _u_ ) _Pn_ (cos _θ_ ) _,_ (38) _R_ <sup>2</sup> _κ_ <sup>2</sup> = _ϵ_ <sup>_−_</sup> <sup>1</sup> _β_ - _cαqα_ <sup>2</sup> <sup>= 2</sup> <sup>_ϵ−_</sup> <sup>1</sup> <sup>_βcq_</sup> <sup>2</sup> <sup>_,_</sup> (36c) where _θ_ is the angle between r and r <sup>_′_</sup>, _Pn_ ( _x_ ) the Legendre polynomials, _R_ the cavity radius, _u_ = _κR_, and _<u>n</u>_ <sup><u>(</u></sup> <sup>_<u>u</u>_</sup> <sup><u>)</u></sup> _Mn_ ( _u_ ) = <sup><u>(</u></sup> <sup>_<u>n</u>_</sup> <sup><u>+ 1)</u></sup> <sup>_<u>kn</u>_</sup> <sup><u>(</u></sup> <sup>_<u>u</u>_</sup> <sup><u>) +</u></sup> <sup>_<u>uk′</u>_</sup> _,_ (39) _nkn_ ( _u_ ) _−_ _ukn_ <sup>_′_</sup> ( _u_ ) with _kn_ ( _u_ ) the modified spherical Hankel functions: with _c_ the average ion density. Consequently, Eq. (36b) reduces to the linearized Poisson-Boltzmann equation: _−_ ∆ r _G_ ( r _,_ r <sup>_′_</sup> ) + _κ_ <sup>2</sup> _G_ ( r _,_ r <sup>_′_</sup> ) = 0 _,_ r _∈B._ (36d) We shall deal with the cases of dense electrolytes and asymmetric electrolytes in a future work. We also need to determine the boundary conditions satisfied by the Green’s function. At infinity, it clearly satisfies the free boundary condition: r lim _→∞_ <sup>_G_</sup> <sup>(</sup> <sup>r</sup> <sup>_,_</sup> <sup>r</sup> <sup>_′_</sup> <sup>)</sup> <sup>_→_</sup> <sup>0</sup> <sup>_._</sup> (37a) On the cavity interface, _r_ = _R_, _G_ ( r _,_ r <sup>_′_</sup> ) and its normal derivative are continuous: _r→_ lim _R_ <sup>_−_</sup> <sup>_G_</sup> <sup>(</sup> <sup>r</sup> <sup>_,_</sup> <sup>r</sup> <sup>_′_</sup> <sup>)</sup> <sup>=</sup> _r→_ lim _R_ <sup>+</sup> <sup>_G_</sup> <sup>(</sup> <sup>r</sup> <sup>_,_</sup> <sup>r</sup> <sup>_′_</sup> <sup>)</sup> <sup>_,_</sup> (37b) _kn_ ( _u_ ) = <sup>_<u>πe−u</u>_</sup> 2 _u_ _n_ _l_ =0 <u>(</u> _<u>n</u>_ <u>+</u> _<u>l</u>_ <u>)!</u> _l_ !( _n −_ _l_ )! <u>1</u> (2 _u_ ) <sup>_l_</sup> <sup>_._</sup> (40) Eq. (38) has a useful integral representation: <u>1</u> _χ_ ( r _,_ r <sup>_′_</sup> ) = 4 _πϵ_ - _∞_ _rK_ _<u>λ</u>_ <u>(</u> _<u>t</u>_ <u>)</u> _|_ r _−_ t _|_ <sup>_dt,_</sup> (41) where the vector t is parallel to r <sup>_′_</sup> and can be written as t = _t_ - <u>r</u> _′_ = _t_ ˆ r <sup>_′_</sup> _._ _r_ <sup>_′_</sup> _<u>∂G</u>_ <u>(</u> <u>r</u> _<u>,</u>_ <u>r</u> <sup>_′_</sup> <u>)</u> _,_ (37c) _∂r_ Its magnitude _t_ runs from _rK_ = _R_ <sup>2</sup> _/r_ <sup>_′_</sup> to infinity. Eq. (41) has an intuitive physical interpretation: it is the potential at r due to a _fictitious_ straight-line of image charges which starts at the Kelvin point r _K_ = _R_ <sup>2</sup> r <sup>_′_</sup> _/r_ <sup>_′_</sup> <sup>2</sup>, and extends all the way to infinity. As shown in reference [26], the line charge density _λ_ ( _t_ ) [36] is related to the Mellin transform of _Mn_ ( _u_ ) (as a function of _n_ ), and is an oscillatory function of _t_ . lim _r→R_ <sup>_−_</sup> _<u>∂G</u>_ <u>(</u> <u>r</u> _<u>,</u>_ <u>r</u> <sup>_′_</sup> <u>)</u> = lim _∂r_ _r→R_ <sup>+</sup> where _r_ _→_ _R_ <sup>_±_</sup> mean that the field point r approaches the interface from outside/inside, respectively. size is not much larger than the Debye length, and it is a nontrivial matter to cancel the influences of boundary and restore the physics of an infinite system. All ions have hardcore diameter _d_ = 7 _._ 5 <sup>˚</sup> _A_ . We simulate the subsystem _A_ with an effective Hamiltonian Eq. (35), with the reaction potential computed using Eq. (42). As emphasized in the preceding section, we must use grand canonical Monte Carlo to simulate this system. Use of canonical Monte Carlo would suppress fluctuations of total charge inside the cavity and therefore leads to substantial errors. We will demonstrate this point in great detail below. The probability density function of a microstate with _N_ ions _{q_ 1 _, . . ., qN_ _}_ at X = _{_ x 1 _, . . .,_ x _N_ _}_ is given by the grand canonical Gibbs distribution: - _N_ _s_ _<u>e</u>_ <sup>_βµsNs_</sup> _Ns_ !Λ _s_ <sup>3</sup> <sup>_Ns_</sup> _N_ _i_ _d_ <sup>3</sup> x _i._ _N_ _i_ _d_ <sup>3</sup> x _i_ = <sup><u>1</u></sup> Ξ eff _e_ <sup>_−βH_</sup> <sup>_A_</sup> FIG. 3: Schematics. A source charge inside the cavity (red point), and the reaction potential _χ_ ( r _,_ r <sup>_′_</sup> ) generated by a line of image charges (blue straight line) as given by Eq. (41). The blue color inside the cavity is the density plot of screening charge density, obtained directly from simulation data. The dashed circles are the contour lines as predicted by LPB. The fact that these two plots agree with each other demonstrates the physics of an infinite system is faithfully reproduced in our multi-scale simulation using a small cavity. To further reduce the computational cost, we truncate the line integral and discretize the line image using Gaussian quadrature. _χ_ ( r _,_ r <sup>_′_</sup> ) can then be expressed by _M_ point-like image charges and a few correction terms: _pN_ ( X ) (44) Note that the grand canonical partition function Ξ is dimensionless, whilst the dimension of _p_ ( X ) is _L_ <sup>_−_</sup> <sup>3</sup> <sup>_N_</sup> . To perform numerical simulation, however, it is mandatory to deal with discrete probabilities. Therefore we discretize the simulation domain, with elementary length unit _|δ_ x _|_ . The probability of a discrete microstate is then _πN_ ( X ) = <sup><u>1</u></sup> Ξ - _N_ _s_ _<u>e</u>_ <sup>_βµsNs_</sup> _<u>|δ</u>_ <u>x</u> _<u>|</u>_ <sup>3</sup> <sup>_Ns_</sup> _Ns_ !Λ _s_ <sup>3</sup> <sup>_Ns_</sup> _e_ <sup>_−βH_</sup> eff <sup>_A_</sup> _._ (45) 4 _πϵ|_ r _<u>q −m</u>_ r _m|_ <sup>+</sup> _l_ _χ_ ( r _,_ r <sup>_′_</sup> ) = _M_ _m_ =0 _χlPl_ (cos _θ_ ) (42) The Grand Canonical Monte Carlo simulation consists of three steps: _displacement,_ _insertion_ and _removal_ [1]: _(1)_ _Displacement._ We select an ion randomly, and let its charge and position be _qi_ and x _i_ . The part of total energy of the system that depends on _qi_ is given by where _M_ image point charges are located at r _m_, with magnitude _qm_ . The correction terms are due to the truncation of the line integral. Numerical tests showed that 4 images and _L_ = 1 corrections provide result with error less than 1% in computing the self-energy of a charge. All relevant details of _qm_, r _m_ and _χl_ can be found in reference [26]. For not too small _r_, Eq. (42) is much more efficient than the Kirkwood expansion, Eq. (38). If the source point approach the center of the sphere, _r_ _≪_ _R_, the Kirkwood expansion converges rapidly. We can use leading term of the Kirkwood expansion to approximate the Green’s function: _χ_ ( r _,_ r <sup>_′_</sup> = 0) = _−_ 4 _πϵ_ (1 + _<u>κ</u>_ _κR_ ) <sup>_._</sup> (43) B. Grand canonical Monte Carlo The system parameters used in our multi-scale simulation are as follows. The radius of simulation cavity is fixed to be 100 <sup>˚</sup> _A_ . The total ion number (including both species ) varies from 15 to 40. The corresponding range of Debye length is between 24 _−_ 50 <sup>˚</sup> _A_ . Hence the system Evidently, if any hardcore constraint is violated in the destination state, ∆ _E_ = _∞_, and the displacement is rejected with probability one. If the center of an ion across the boundary of simulation domain in an attempted move, it is also rejected. In another word, the boundary behaves as a hard wall to the center-of-mass of all _<u>i</u>_ <sup>2</sup> 2 <sup>_χ_</sup> <sup>(</sup> <sup>x</sup> <sup>_i,_</sup> <sup>x</sup> <sup>_i_</sup> <sup>)</sup> <sup>_._</sup> _qiqjG_ ( x _i,_ x _j_ ) + _w_ ( x _i −_ x _j_ ) - _<u>i</u>_ ) + <sup>_<u>q</u>_</sup> 2 <sup>2</sup> _Ei_ = _j̸_ = _i_ (46) Then we choose a destination x <sup>_′_</sup> _i_ Then we choose a destination x <sup>_′_</sup> _i_ <sup>for</sup> <sup>_qi_</sup> <sup>according to a flat</sup> probability density function defined in a cubic cell with a given size and centered at x _i_, and let the new energy be _Ei_ <sup>_′_</sup> <sup>.</sup> <sup>The</sup> <sup>change</sup> <sup>of</sup> <sup>the</sup> <sup>total</sup> <sup>energy</sup> <sup>of</sup> <sup>the</sup> <sup>system</sup> <sup>is</sup> _i_ <sup>_′_</sup> <sup>.</sup> <sup>The</sup> <sup>change</sup> <sup>of</sup> <sup>the</sup> <sup>total</sup> <sup>energy</sup> <sup>of</sup> <sup>the</sup> <sup>system</sup> <sup>is</sup> ∆ _E_ = _Ei_ <sup>_′_</sup> <sup>_−_</sup> <sup>_Ei._</sup> (47) The displacement is accepted with probability acc ( X _→_ X <sup>_′_</sup> ) = min �1 _, e_ <sup>_−β_</sup> <sup>∆</sup> <sup>_E_</sup> <sup>�</sup> (48) ions. It is easy to see that this transfer probability satisfies the detailed balance with respect to the equilibrium Gibbs distribution Eq. (45): _π_ ( X ) acc ( X _→_ X <sup>_′_</sup> ) = _π_ ( X <sup>_′_</sup> ) acc ( X <sup>_′_</sup> _→_ X ) _._ (49) _(2)_ _Insertion._ To mimic the fluctuations of particle numbers in an open system, we need to insert and remove particles. In a micro state with _Ns_ particles of species _s_, we first randomly select a position x in the cavity according to a uniform probability distribution. The latter can be generated by introducing three independent random variables _η_ 1, _η_ 2, _η_ 3 that are uniformly distributed in the interval [0 _,_ 1], and express the spherical coordinates of the insertion point x as _r_ = _η_ 1 <sup>1</sup> <sup>_/_</sup> <sup>3</sup> _R,_ _θ_ = cos <sup>_−_</sup> <sup>1</sup> (1 _−_ 2 _η_ 2) _,_ _φ_ = 2 _π η_ 3 _._ (50) It is straightforward to verify that the Jacobian _∂_ ( _x, y, z_ ) _/∂_ ( _η_ 1 _, η_ 2 _, η_ 3) is a constant independent of _η_ 1, _η_ 2, _η_ 3, where _x, y, z_ are the Cartesian coordinates. We now choose a species _s_ randomly and insert an ion _qs_ at x with probability _,_ (51) acc ( _Ns_ _→_ _Ns_ + 1) = min 1 _,_ <sup>_<u>eβ</u>_</sup> <sup>(</sup> <sup>_µ_</sup> _s_ <sup>_∗−Ei_</sup> <sup>)</sup> _Ns_ + 1 where _Ei_ is the energy change due to the insertion operation, given by Eq. (46), whilst _µ_ <sup>_∗_</sup> _s_ <sup>are</sup> <sup>the</sup> <sup>effective</sup> chemical potential of the _s_ th species, given by <sup>_∗_</sup> _s_ <sup>=</sup> <sup>_µs_</sup> <sup>+</sup> <sup>_k_</sup> <sup>B</sup> <sup>_T_</sup> <sup>log</sup> <sup>_<u>V</u>_</sup> _µ_ <sup>_∗_</sup> _s_ Λ <sup>3</sup> _s_ _._ (52) _(3)_ _Removal._ In a micro state with _Ns_ particles of species _s_, we randomly choose a particle with (a randomly chosen) species _s_, and remove it with probability acc ( _Ns_ _→_ _Ns −_ 1) = min �1 _, Ns e_ <sup>_−β_</sup> <sup>(</sup> <sup>_µ_</sup> _s_ <sup>_∗−Ei_</sup> <sup>)�</sup> (53) C. Comparison with Other Simuation Methods Three other simulation methods are used to compare with our multi-scale reaction potential GCMC simulation method (RP+GCMC). To demonstrate the artifacts due to periodic boundary conditions, we use the popular Ewald summation GCMC method (PBC+GCMC) to conduct a small scale simulation. To demonstrate the artifacts due to suppression of charge fluctuations, we apply a small scale simulation on reaction potential model using canonical Monte Carlo (RP+CMC). Finally, we conduct a large scale simulations with system sizes at least ten Debye lengths to obtain standard results (STD), with which all other simulations are compared. To make the comparison meaningful, we adjust parameters such that the ion densities in the bulk are equal in all simulations. Furthermore, all small scale simulations have equal size of simulation domains. _(1)_ _Grand_ _canonical_ _Ewald_ _summation_ _MC_ _with_ _Peri-_ _odic_ _Boundary_ _Conditions_ _(PBC+GCMC)_ . We choose cubic simulation domain with volume equal to 4 _πR_ <sup>3</sup> _/_ 3. To avoid divergence when summing over periodic image charges, the total charge in the simulation box must vanish in every micro state. Furthermore, one still need to specify some “boundary conditions” at infinity. We shall use the popular “conductor boundary condition”, where the average potential inside the simulation box vanishes, and there is no dipolar term in the total free energy. For details, see the textbook by Frenkel and Smit [2]. This choice is consistent with the condition Eq. (3) that we use in the analysis of LPB with PBC. The total ion number however can fluctuate according to the standard grand canonical ensemble theory. In accordance with these constraints, ions are inserted and deleted at random as pairs [1]. _(2)_ _Multi-scale_ _Reaction_ _Potential_ _Canonical_ _MC_ _sim-_ _ulation_ _(RP_ _+_ _CMC)._ This simulation is similar to RP+GCMC, with the only difference that the ion number of each species is kept constant. _(3) Large Scale Canonical MC simulation with Hard Wall_ _Boundary_ _Conditions_ _(STD)._ We conduct a large scale canonical simulation using a spherical simulation domain with radius at least ten times of Debye length, and with hard wall boundary condition. To void the artifacts due to boundary effects, only ions that are more than five Debye lengths away from the boundary are used for data collection. The simulated system typically contains about 2500 to 5000 ions. To speed up the computation of total electrostatic energy, we use the recently developed octtree algorithm [27]. We calculate various physical quantities via this method and use them as _standard_ _results_ for all later comparisons. where _−Ei_ is the energy change of the removal operation, with _Ei_ again given by Eq. (46). It is straightforward to verify that the probabilities of insertion and removal satisfy detailed balance with respect to the equilibrium grand canonical distribution Gibbs distribution Eq. (45): _πN_ - _<u>|δ</u>_ <u>x</u> _<u>|</u>_ 3 _V_ acc ( _Ns_ _→_ _Ns_ + 1) acc ( _Ns_ + 1 _→_ _Ns_ ) _._ (54) = _πN_ +1 - <u>1</u> _Ns_ + 1 The factor _|δ_ x _|_ <sup>3</sup> _/V_ in the LHS is the probability of choosing one particular point inside the (already discretized) simulation domain, whereas the factor 1 _/_ ( _Ns_ + 1) in the RHS is the probability of choosing a particular particle with species _s_ . 1.02 1.01 STD RP+CMC RP+GCMC -0.1 -0.11 -0.12 STD RP+CMC RP+GCMC LPB 1. 0.99 0.98 20 40 60 80 r (Å) FIG. 4: Ion density profile inside the simulation cavity, as a function of radius. The density profile of RP+GCMC is almost flat inside the cavity, except in a boundary layer of approximately one ion diameter thick. By contrast, The profile of RP+CMC shows a much larger variation inside the cavity. This is caused by the artificial constraint of charge neutrality inside the cavity. The standard results are obtained using a large scale simulation, and therefore are completely flat in the plotted region. V. RESULTS AND DISCUSSIONS We compute various physical quantities using three small scale simulations, and compare them with the standard results (STD). Disagreement with STD indicates the simulation strategy is incapable of capturing the correct physics of infinite systems. (1) Average ion densities inside cavity We measure the average ion density in the simulation cavity as a function of the radial distance, shown in Fig. 4. If the multi-scale modeling is faithful, the resulting average ion density must be independent of radius. In another word, non-uniformity of ion density indicates that the artifacts of cavity boundary have not been properly cancelled. In Fig. 4, we see that RP+GCMC simulation yields a much flatter density profile than RP+CMC. For the latter case, there is a systematic tendency that the ion density is higher near the center than near the boundary, with an overall variation of about one percent. This is caused by the artificial constraint of charge neutrality inside the simulation cavity. Note that both RP+GCMC and RP+CMC show a thin boundary layer (with thickness comparable with ion diameter) where the ion densities vary rather abruptly. This is due to the short scale depletion effects of the hard wall boundary, and shows up actually in all simulations with hard wall boundary conditions. Even though correction of these depletion effects are straightforward, it is more convenient just to exclude the boundary layer completely for data collection. This comparison clearly demonstrates that we should -0.13 -0.14 -0.15 -0.16 0 20 40 60 80 100 r (Å) FIG. 5: Correlation potential acting on a positive ion, as a function of its position. The classical Debye-H¨uckel theory works well in the low density regime. The substantial errors in RP+CMC arise to the artificial constraint of charge neutrality inside the simulation cavity. The small difference between DH and standard simulation results is caused by charge correlation effects. use grand canonical, instead of canonical, ensemble when implementing the multi-scale simulation strategy. (2) Correlation potential We measure the mean potential acting on an ion due to all other ions, which is usually called the _correlation_ _potential_ . Because we are in the low density regime, the Debye-H¨uckel theory is applicable. Indeed, as shown in Fig. 5, both RP+GCMC and STD agree well with prediction of DH. By contrast, RP+CMC shows substantial deviation from the other results. This is again due to artificial constraint of charge neutrality inside the cavity. This correlation potential is _not_ measurable in PBC+GCMC simulation, because the summation over potential due to all periodic images is divergent. (3) Screening charge density around a test ion We fix an ion inside the simulation cavity and measure the screening charge density around, as a function of the distance to the fixed ion. This charge density can be obtained using data of pair correlation functions inside the whole simulation cavity. The results have already been presented in Fig 1(a). Again, RP+GCMC agrees with STD up to high precision, whilst both PBC+GCMC and RP+CMC yield results that are substantially different. Theoretically, LPB predicts that the charge density has the form of screened Coulomb: _ρq_ ( _r_ ) = _−ϵ∇_ <sup>2</sup> _φ_ ( r ) = _−_ <sup>_<u>q κ</u>_</sup> <sup>2</sup> <sup>_<u>e−κr</u>_</sup> + _q δ_ ( r ) _._ (55) 4 _πr_ Hence if we plot _rρq_ ( _r_ ) v.s. _r_ in log scale, we should obtain a straight-line, with slope given by the inverse Debye length. As shown in Fig 1(a), this agrees remarkably well with the simulation results using RP+GCMC. STD RP+CMC/PBC+GCMC RP+GCMC LPB 0.04 0.03 0.02 1.2 1 0.8 STD RP+GCMC LPB 0.4 0.8 1.2 1.6 2 Total ionic density (10-5Å -3) FIG. 6: The screening length as determined from large scale simulation and from multi-scale GCMC simulation. The solid curve is the prediction of PB theory. We also plot the the analytic result of LPB with PBC, Eq. (8) in Fig 1(a) as red diamonds (PBC+LPB). This agrees very well with Ewald method in the far field. Since Eq. (8) differs from Eq. (55) only by the periodic images and their screening cloud, the latter can be identified a main source of errors in simulations using periodic boundary conditions. The charge densities obtained using both RP+GCMC and STD can be used to determine the screening length as a function of ion density. The results are shown in Fig. 6. Also shown there is the prediction of screening length by LPB, Eq. (36c), which agrees rather well with simulation results. This shows that LPB is indeed applicable for the ion densities studied in this work. (4) Internal energy per ion We use different methods to compute the internal energy of the system per ion. The results are shown in Fig 1(b). The total internal energy of the system can be easily calculated in terms of the correlation potential acting on each ion: _E_ = <u>12</u> - _i_ <sup>_qiψi_</sup> <sup>.</sup> Again our multi-scale GCMC simulation yields the same results as the large scale simulation. Both multi-scale CMC and PBC+GCMC yield incorrect results for the internal energy. In the same figure, the solid line (DH) is the prediction of Debye-H¨uckel theory in open space (the first term in RHS of Eq. (10)), which agrees with STD and RP+GCMC very well. The dashed line is the prediction of Debye-H¨uckel theory with PBC as well as leading order correction of hardcore taken into account (Eq. (10)). It appears that Eq. (10) takes into account most of the artifacts in PBC+GCMC simulation if the density is sufficiently low. As the density increases, Eq. (10) deviates from PBC+GCMC more significantly. (5) Total charge inside the simulation cavity As a stringent test of the faithfulness of our multi-scale method, we fix a positive ion at a distance _r_ from the origin, and measure the total charge inside the cavity. 0.6 0.4 0.2 0 -0.2 0 20 40 60 80 100 x0 (Å) FIG. 7: A test ion is fixed at _r_ inside cavity, and the total mean charge in the cavity is plotted as a function of _r_ . Both STD and RP+GCMC agree well with LPB, Eq. (56). The geometry is illustrated in Fig. 3. The total mean charge inside the cavity is nonzero, because screening can not be perfect in a finite volume. In the framework of LPB, the total charge density is given by Eq. (55). Hence the total charge inside the cavity can be easily calculated: This result, shown as the solid solid curve in Fig. V, agrees remarkably well with STD and RP+GCMC. Again, this indicates that 1) LPB works well in the density regime under study; 2) our RP+GCMC simulation method faithfully captures the physics of an infinite electrolyte. By contrast, for RP+GCMC, this total charge is identically zero, due to the condition of charge neutrality. (6) Ion densities near a charged colloid Finally to test the applicability of our multi-scale simulation strategy for inhomogeneous systems, we insert a uniformly charged colloid with charge _Q_ 0 = 20 _e_ and radius _R_ 0 = 10 <sup>˚</sup> _A_ at the center of the simulation cavity, and measure the local potential _φ_ <sup>˜</sup> ( r _, q_ ) acting on an ion fixed at _r_ _> R_ 0, due to both the charged colloid as well as all other ions. We set the dielectric constant of the colloid to be the same as that of the solvent, so that there is no image charge effect. Note that _φ_ <sup>˜</sup> ( r _, q_ ) also depends on the ion diameter _d_ . We do not show this dependence in order to avoid cluttered notations. Note that the potential _φ_ <sup>˜</sup> ( r _, q_ ) is different from the average potential _φ_ ( r ) in the absence of the test ion. We shall call the former _the_ _conditional_ _mean_ _potential_, and the latter _the_ _unconditional_ _mean_ _potential_ . Both quantities can be directly measured using simulation data. The difference between them arises because the test ion influences the distribution of other ions. The difference between _φ_ <sup>˜</sup> ( r _, q_ ) and _φ_ ( r ) encodes essential information ∆ _Q_ ( _r_ ) = _q −_ <sup>_<u>qκ</u>_</sup> <sup>2</sup> 4 _π_ _|_ x _|≤R_ _<u>e</u>_ <sup>_−κ|_</sup> <sup>x</sup> <sup>_−_</sup> <sup>r</sup> <sup>_|_</sup> _|_ x _−_ r _|_ <sup>_d_</sup> <sup>3</sup> <sup>x</sup> = <sup>_<u>q e−κR</u>_</sup> <sup><u>(</u></sup> <sup>_<u>κR</u>_</sup> <sup><u>+ 1) sinh(</u></sup> <sup>_<u>κr</u>_</sup> <sup><u>)</u></sup> _._ (56) _κr_ 4 3 2 1 0 _Y=4.71-0.0525X_ (a) 20 40 60 80 100 r (Å) (a) _Y=3.25-0.0995X_ (b) 20 30 40 50 60 r (Å) (b) (c) -5 -6 -7 -8 -9 -10 -11 20 40 60 80 r (Å) (c) 1 0.5 0 -0.5 -1 -1.5 -2 -2.5 _Y=-5.77-0.0515X_ FIG. 8: Potential and ion density profile near a charged spherical colloid. (a) _φ_ 0( _r_ ), and (b) _φ_ 1( _r_ ) _−φ_ 1( _∞_ ). These potentials are defined in Eq. (57). (c) Net charge density around the charged colloid. The decay length scales of (a) and (c) are approximately the same, and are about twice of that of (b), in agreement with theoretical predictions. about ionic correlations in this inhomogeneous system. We shall numerically compute _φ_ <sup>˜</sup> ( r _, q_ ) and clarify its relation with _φ_ ( r ). This demonstrates that our multi-scale reaction potential GCMC is capable of capturing the ionic correlations faithfully in an inhomogeneous system. The conditional mean potential _φ_ <sup>˜</sup> ( _r, q_ ) can be expanded in terms of the charge _q_ : _φ_ ˜( _r, q_ ) = _φ_ 0( _r_ ) + _q φ_ 1( _r_ ) + _O_ ( _q_ <sup>2</sup> ) _._ (57) It is important to realize that _φ_ 0( _r_ ) is not the same as the unconditional mean potential _φ_ ( _r_ ). Their difference is caused by the hardcore of the test ion. Nevertheless, in the far field regime where LPB is applicable, we can show that _φ_ 0( _r_ ) and _φ_ ( _r_ ) are proportional to each other, and both assume the form of screened Coulomb potential: _φ_ 0( _r_ ) _, φ_ ( _r_ ) _∝_ <sup>_<u>e−κr</u>_</sup> _._ (58) _r_ The potential _φ_ 1( _r_ ) is not completely known. In reference [31], it was analytically calculated near a uniformly charged _flat_ _surface_, by perturbing around the nonlinear PB theory. It was found that _φ_ 1( _r_ ) has the form _φ_ 1( _r_ ) = _φ_ 1( _∞_ ) + _f_ ( _r_ ) _×_ <sup>_<u>e−</u>_</sup> <sup>2</sup> <sup>_κr_</sup> _,_ (59) _r_ where _f_ ( _r_ ) is a slowly varying function (comparing with exponential), and _φ_ 1( _∞_ ) is the reaction potential in the bulk. This result is expected to be valid in the present spherical geometry. Now using Eq. (57) we can express _φ_ 0( _r_ ) _, φ_ 1( _r_ ) as linear combinations of _φ_ <sup>˜</sup> ( _r,_ + _q_ ) and _φ_ <sup>˜</sup> ( _r, −q_ ): Hence _φ_ 0( _r_ ) _, φ_ 1( _r_ ) can be computed directly using simulation data. In Fig. 8(a) and 8(b), we plot _r φ_ 0( _r_ ) and _r_ [ _φ_ 1( _r_ ) _−_ _φ_ 1( _∞_ )] as a function of _r_ in log scale. The far field asymptotics of both functions indeed behave as screened Coulomb, with their characteristic decay lengths differ by a factor of two. This demonstrates that in our multi-scale GCMC simulation, the influences of the boundary of simulation cavity are properly cancelled, so that the simulation data can be used to analyze subtle ionic correlations. Also the fact that log ( _r φ_ 1( _r_ )) scales linearly with _r_ in the far field indicates that the _slow_ _function_ _χ_ ( _r_ ) is indeed changing very slowly. The potential of mean force (PMF) of a test ion (with positive charge _q_ ) can be obtained from the local potential Eq. (57) via the method of Debye charging: _U_ ( _r, q_ ) = - _q_ 0 - _φ_ ˜( _r, q_ ) _−_ _φ_ ˜( _∞, q_ )� _dq_ + _U_ ( _r,_ 0) _._ _≈_ _q φ_ 0( _r_ ) + _O_ ( _e_ <sup>_−_</sup> <sup>2</sup> <sup>_κr_</sup> ) (62) The constant of integration _U_ ( _r,_ 0) is the free energy cost of bringing a neutral particle from the bulk to _r_ . In a symmetric electrolyte, _U_ ( _r,_ 0) decays twice as fast as _φ_ 0( _r_ ), and therefore makes no contribution to the leading order far field asymptotics of _U_ ( _r, q_ ). Now the average density _ρ_ +( _r_ ) of positive ions is related to the PMF _U_ ( _r, q_ ) via the following well known Gibbs distribution. Hence the total charge density is _≈−_ 2 _q_ <sup>2</sup> _β φ_ 0( _r_ ) _._ (63) _ρ_ ( _r_ ) = _qρ_ 0 - _e_ <sup>_−βU_</sup> <sup>(</sup> <sup>_r,q_</sup> <sup>)</sup> _−_ _e_ <sup>_βU_</sup> <sup>(</sup> <sup>_r,−q_</sup> <sup>)�</sup> _φ_ 0( _r_ ) = <sup><u>1</u></sup> 2 - _φ_ ˜( _r,_ + _q_ ) + _φ_ ˜( _r, −q_ )� _,_ (60) <u>1</u> _φ_ 1( _r_ ) = 2 _q_ - _φ_ ˜( _r,_ + _q_ ) _−_ _φ_ ˜( _r, −q_ )� _._ (61) That is, the deviation of ion density from its bulk value also behaves as a screened Coulomb in the far field. In Fig. 8(c) we plot the corresponding simulation results and show that indeed _ρ_ ( _r_ ) obeys the law of screened Coulomb, with the same characteristic decay length 1 _/κ_ . VI. CONCLUSION AND ACKNOWLEDGEMENT We have demonstrated the artifacts due to periodic boundary condition in the simulation of electrolytes. These artifacts are caused by the periodic image charges and the constraint of charge neutrality inside simulation domain, both unphysical from the perspective of mimicking an infinite system. One can always avoid these artifacts by simulating a much larger system and throwing away data from the region near the boundary. This leads to waste of computational resource, but is frequently done in simulations. Our multi-scale reaction potential GCMC provides a more efficient alternative. Combining reaction potential modeling and grand canonical Monte Carlo, this method cancel most of the electrostatic arti [1] J. P. Valleau and L. K. Cohen. Primitive model electrolytes. I. Grand canonical Monte Carlo computations. J. Chem. Phys. 72, 5935 (1980). [2] D. Frenkel and B. Smit. _Understanding_ _molecular_ _simu-_ _lation:_ _From_ _algorithms_ _to_ _applications_ . Academic Press, New York, 2002. [3] P. P. Ewald. Die berechnung optischer und elektrostatis cher gitterpotentiale. _Ann._ _Phys._, 369:253–287, 1921. [4] Darden, Tom, Darrin York, and Lee Pedersen. Particle mesh Ewald: An _N_ log _N_ method for Ewald sums in large systems. The Journal of chemical physics 98.12 (1993): 10089-10092. [5] Eastwood, J. W., & Hockney, R. W. Computer Simula tion using particles. New York: Mc GrawHill (1981). [6] L. Onsager. Electric moments of molecules in liquids. _J._ _Am._ _Chem._ _Soc._, 58:1486, 1936. [7] R. Clausius, Die Mechanische Warmetheorie Vol II, Braunsehweich 1879. [8] P. F. Mossotti, Bibl. Univ. Modena 6 (1847) 193. [9] Fr¨ohlich, Herbert. “Theory of dielectrics.” (1949). [10] Battcher, CJ-F, and P. Bordewijk. “Theory of electric polarization, Vol. 1.” Elsevier, Amsterdam (1973). [11] M. Born. Volumes and heats of hydration of ions. _Z._ _Phys._, 1:45–48, 1920. [12] R. O. Watts. Monte Carlo studies of liquid water. Molec ular Physics, 28(4), 1069-1083 (1974). [13] J. A. Barker and R. O. Watts. Monte-Carlo studies of dielectric properties of water-like models. _Mol._ _Phys._, 26:789–792, 1973. [14] J. A. Barker. Reaction field, screening, and long-range interactions in simulations of ionic and dipolar systems. _Mol._ _Phys._, 83:1057–1064, 1994. [15] I. G. Tironi, R. Sperb, P. E. Smith, and W. F. van Gun steren. Generalized reaction field method for molecular dynamics simulations. _J._ _Chem._ _Phys._, 102:5451–5459, 1995. P. H. Hunenberger and W. F. van Gunsteren. Alternative schemes for the inclusion of a reaction-field correction into molecular dynamics simulations: influence on the simulated energetic, structural, and dielectric properties of liquid water. _J._ _Chem._ _Phys._, 108:6117-6134, 1998. facts introduced by the boundary of simulation data, and hence faithfully capture the physics of an infinite system even in a very small scale simulation (with linear size about three Debye lengths). If we combine this multiscale GCMC method with appropriate fast algorithm for evaluation of electrostatic energy (such as the oct-tree algorithm), we arrive at a method for large scale MC simulation of electrolytes, that will constitute a competitive alternative to the current methods based on molecular dynamics. This will be explored in a future publication. We thank NSFC (Grants No. 11174196 and 91130012) for financial support, the High Performance Computation Centre (Π) at Shanghai Jiao Tong University for computation resources. We also thank Wei Cai for interesting discussions. [16] G. King and A. Warshel. A surface constrained all-atom solvent model for effective simulations of polar solutions. _J._ _Chem._ _Phys._, 91:3647–3661, 1989. [17] Howard Alper and Ronald M. Levy. Dielectric and ther modynamic response of a generalized reaction field model for liquid state simulations. The Journal of chemical physics 99 (1993): 9847. [18] D. Beglov and B. Roux. Finite representation of an in finite bulk system: Solvent boundary potential for computer simulations. _J._ _Chem._ _Phys._, 100:9050–9063, 1994. [19] L. Wang and J. Hermans. Reaction field molecular dy namics simulation with Friedman’s image method. _J._ _Phys._ _Chem._, 99:12001–12007, 1995. [20] de Leeuw, S. W., John W. Perram, and E. R. Smith. “Computer simulation of the static dielectric constant of systems with permanent electric dipoles.” Annual review of physical chemistry 37.1 (1986): 245-270. [21] Kirkwood, John G. ”Theory of solutions of molecules containing widely separated charges with special application to zwitterions.” The Journal of Chemical Physics 2.7 (1934): 351-361. C. Tanford and J. G. Kirkwood. Theory of protein titration curves. I. General equations for impenetrable spheres. _J._ _Am._ _Chem._ _Soc._, 79:5333–5339, 1957. [22] C. Neumann. Hydrodynamische untersuchungen: Nebst einem anhange uber die probleme der elektrostatik und der magnetischen induktion. _Teubner,_ _Leipzig_, pages 279–282, 1883. [23] W. Cai, S. Deng, and D. Jacobs. Extending the fast multipole method to charges inside or outside a dielectric sphere. _J._ _Comput._ _Phys._, 223:846–864, 2007. [24] Y. Lin, A. Baumketner, S. Deng, Z. Xu, D. Jacobs, and W. Cai. An image-based reaction field method for electrostatic interactions in molecular dynamics simulations of aqueous solutions. _J._ _Chem._ _Phys._, 131:154103, 2009. [25] Y. Lin, A. Baumketner, W. Song, S. Deng, D. Jacobs, and W. Cai. Ionic solvation studied by image-charge reaction field method. _J._ _Chem._ _Phys._, 134:044105, 2011. [26] Z. Xu, Y. Liang, and X. Xing. Mellin transform and im age charge method for dielectric sphere in an electrolyte. _SIAM_ _J._ _Appl._ _Math._, 73:1396–1415, 2013. [27] Zecheng Gan and Zhenli Xu. Efficient implementation of the Barnes-Hut octree algorithm for Monte Carlo simulations of charged systems. _Sci._ _China_ _Math._, 57:1331– 1340, 2014. [28] Yan Levin. Electrostatic correlations: from plasma to biology. _Reports_ _on_ _Progress_ _in_ _Physics_, 65(11):1577– 1632, 2002. [29] Levin, Yan, and Michael E. Fisher. ”Criticality in the hard-sphere ionic fluid.” Physica A: Statistical Mechanics and its Applications 225.2 (1996): 164-220. [30] P. W. Debye and E. H¨uckel. Phys. Z. 24, 185 (1923). [31] Lu, Bing-Sui, and Xiangjun Xing. “Correlation potential of a test ion near a strongly charged plate.” Physical Review E 89.3 (2014): 032305. [32] Ding, Mingnan, et al. ”The Long Scale Properties of Dense Electrolytes.” arXiv preprint [arXiv:1502.06687](http://arxiv.org/abs/1502.06687) (2015). [33] One might be surprised that the physical significance of parameters _c_ ˜ _±_ should depend on such a seemingly arbi trary requirement. To see that this is natural, we note that the mean potential _φ_ ( r ) and the mean charge density _ρq_ ( r ) are related by the Poisson Equation: _−_ ∆ _φ_ ( r ) = _ρq_ ( r ) _/ϵ_ . Note that the potential is not completely determined by the charge density. That is to say, one must impose some condition in order to uniquely determine _φ_ ( r ) for a given _ρ_ ( r ). A choice of this condition is equivalent to an assignment of physical meanings to the parameters _c_ ˜ _±_ in Eqs. (2). [34] Onsager [6] coined the term _cavity_ _field_, because he was studying a dipole inside a cavity. [35] Onsager [6] used the term _feaction_ _field_ to denote the electrostatic field acting on a dipole inside the cavity due to the reaction of the subsystem outside. [36] Note that in reference [26], the line charge density was denoted as _ρ_ ( _t_ ).

섹션 본문

섹션 본문이 없습니다.

참고문헌 24건

  1. Primitive model electrolytes. I. Grand canonical Monte Carlo computations The Journal of Chemical Physics · American Institute of Physics · 1980 10.1063/1.439092
  2. Die Berechnung optischer und elektrostatischer Gitterpotentiale Annalen der Physik · Wiley · 1921 10.1002/andp.19213690304
  3. Particle mesh Ewald: An <i>N</i>⋅log(<i>N</i>) method for Ewald sums in large systems The Journal of Chemical Physics · American Institute of Physics · 1993 10.1063/1.464397
  4. Electric Moments of Molecules in Liquids Journal of the American Chemical Society · American Chemical Society · 1936 10.1021/ja01299a050
  5. Volumen und Hydratationswärme der Ionen The European Physical Journal A · Springer Science+Business Media · 1920 10.1007/bf01881023
  6. Monte Carlo studies of liquid water Molecular Physics · Taylor & Francis · 1974 10.1080/00268977400102381
  7. Monte Carlo studies of the dielectric properties of water-like models Molecular Physics · Taylor & Francis · 1973 10.1080/00268977300102101
  8. Reaction field, screening, and long-range interactions in simulations of ionic and dipolar systems Molecular Physics · Taylor & Francis · 1994 10.1080/00268979400101781
  9. A generalized reaction field method for molecular dynamics simulations The Journal of Chemical Physics · American Institute of Physics · 1995 10.1063/1.469273
  10. Alternative schemes for the inclusion of a reaction-field correction into molecular dynamics simulations: Influence on the simulated energetic, structural, and dielectric properties of liquid water The Journal of Chemical Physics · American Institute of Physics · 1998 10.1063/1.476022
  11. A surface constrained all-atom solvent model for effective simulations of polar solutions The Journal of Chemical Physics · American Institute of Physics · 1989 10.1063/1.456845
  12. Dielectric and thermodynamic response of a generalized reaction field model for liquid state simulations The Journal of Chemical Physics · American Institute of Physics · 1993 10.1063/1.465468
  13. Finite representation of an infinite bulk system: Solvent boundary potential for computer simulations The Journal of Chemical Physics · American Institute of Physics · 1994 10.1063/1.466711
  14. Reaction Field Molecular Dynamics Simulation with Friedman's Image Charge Method The Journal of Physical Chemistry · American Chemical Society · 1995 10.1021/j100031a031
  15. Computer Simulation of the Static Dielectric Constant of Systems with Permanent Electric Dipoles Annual Review of Physical Chemistry · Annual Reviews · 1986 10.1146/annurev.pc.37.100186.001333
  16. Theory of Solutions of Molecules Containing Widely Separated Charges with Special Application to Zwitterions The Journal of Chemical Physics · American Institute of Physics · 1934 10.1063/1.1749489
  17. Theory of Protein Titration Curves. I. General Equations for Impenetrable Spheres Journal of the American Chemical Society · American Chemical Society · 1957 10.1021/ja01577a001
  18. Extending the fast multipole method to charges inside or outside a dielectric sphere Journal of Computational Physics · Elsevier BV · 2006 10.1016/j.jcp.2006.10.019
  19. An image-based reaction field method for electrostatic interactions in molecular dynamics simulations of aqueous solutions The Journal of Chemical Physics · American Institute of Physics · 2009 10.1063/1.3245232
  20. Ionic solvation studied by image-charge reaction field method The Journal of Chemical Physics · American Institute of Physics · 2011 10.1063/1.3530094
  21. Mellin Transform and Image Charge Method for Dielectric Sphere in an Electrolyte SIAM Journal on Applied Mathematics · Society for Industrial and Applied Mathematics · 2013 10.1137/120894348
  22. Electrostatic correlations: from plasma to biology Reports on Progress in Physics · IOP Publishing · 2002 10.1088/0034-4885/65/11/201
  23. Criticality in the hard-sphere ionic fluid Physica A Statistical Mechanics and its Applications · Elsevier BV · 1996 10.1016/0378-4371(95)00336-3
  24. Correlation potential of a test ion near a strongly charged plate Physical Review E · American Physical Society · 2014 10.1103/physreve.89.032305