선정목록으로
Mass-zero constrained molecular dynamics for electrode charges in simulations of electrochemical systems
간접 관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)
기본 정보
- 저자
- DOI
- 10.48550/arxiv.2003.04543
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.2003.04543
- 토픽
- Electrocatalysts for Energy Conversion
- OpenAlex ID
- W6891890308
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (7) MEA(막전극접합체)
- 부 분야
- (6) PEM(고분자전해질막)
- R&D 측면
- 분석·모델링
- 확신도
- 0.80
- 근거 용어
- electrochemical systems, molecular dynamics simulations, electrode charges, constant potential, electrolytes
- 판단 근거
- 이 논문은 전기화학 시스템(전극-전해질 계면)을 시뮬레이션하기 위한 새로운 분자 동역학(MD) 알고리즘을 다루고 있습니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC)용 MEA 및 전해질막 연구에서 계면 현상을 분자 수준에서 분석하고 모델링하는 데 간접적으로 활용될 수 있습니다.
- R&D 활용 포인트
- PEMFC의 전해질막(PEM)과 전극(Catalyst layer) 사이의 계면에서 일어나는 이온 이동 및 전하 분포를 분자 수준에서 정밀하게 시뮬레이션하여, 소재의 성능 및 내구성을 예측하는 모델링 도구로 활용 가능합니다.
- 평가 입력
- 본문 52,243자 중 30,032자 발췌
초록
Classical molecular dynamics simulations have recently become a standard tool for the study of electrochemical systems. State-of-the-art approaches represent the electrodes as perfect conductors, modelling their responses to the charge distribution of electrolytes via the so-called fluctuating charge model. These fluctuating charges are additional degrees of freedom that, in a Born-Oppenheimer spirit, adapt instantaneously to changes in the environment to keep each electrode at a constant potential. Here we show that this model can be treated in the framework of constrained molecular dynamics, leading to a symplectic and time-reversible algorithm for the evolution of all the degrees of freedom of the system. The computational cost and the accuracy of the new method are similar to current alternative implementations of the model. The advantage lies in the accuracy and long term stability guaranteed by the formal properties of the algorithm and in the possibility to systematically introduce additional kinematic conditions of arbitrary number and form. We illustrate the performance of the constrained dynamics approach by enforcing the electroneutrality of the electrodes in a simple capacitor consisting of two graphite electrodes separated by a slab of liquid water.
본문 52,243자
본문 펼치기
## Mass-zero constrained molecular dynamics for electrode charges in simulations of electrochemical systems
A. Coretti, <sup>1, 2</sup> L. Scalfi, <sup>3</sup> C. Bacon, <sup>3</sup> B. Rotenberg, <sup>3, 4</sup> R. Vuilleumier, <sup>5</sup> G. Ciccotti, <sup>6, 7, 8</sup> M. Salanne, <sup>3, 4, 9, a)</sup> and S.
Bonella <sup>2, b)</sup>
1) _Department of Mathematical Sciences, Politecnico di Torino, I-10129 Torino, Italy_
2) _Centre Européen de Calcul Atomique et Moléculaire (CECAM), Ecole Polytechnique Fédérale de Lausanne, 1015 Lausanne,_
_Switzerland_
3) _Sorbonne_ _Université,_ _CNRS,_ _Physicochimie_ _des_ _Électrolytes_ _et_ _Nanosystèmes_ _Interfaciaux,_ _F-75005_ _Paris,_
_France_
4) _Réseau_ _sur_ _le_ _Stockage_ _Electrochimique_ _de_ _l’Energie_ _(RS2E),_ _FR_ _CNRS_ _3459,_ _80039_ _Amiens_ _Cedex,_
_France_
5) _PASTEUR, Département de chimie, École normale supérieure, PSL Univesity, Sorbonne Université._ _CNRS, 75005 Paris,_
_France_
6) _Institute_ _for_ _Applied_ _Computing_ _“Mauro_ _Picone”_ _(IAC),_ _CNR_ _Via_ _dei_ _Taurini_ _19,_ _00185_ _Rome,_
_Italy_
7) _Università di Roma La Sapienza, Ple._ _A. Moro 5, 00185 Roma, Italy_
8) _School of Physics, University College of Dublin UCD-Belfield, Dublin 4, Ireland_
9) _Université_ _Paris-Saclay,_ _UVSQ,_ _CNRS,_ _CEA,_ _Maison_ _de_ _la_ _Simulation,_ _91191,_ _Gif-sur-Yvette,_
_France_
(Dated: 11 March 2020)
Classical molecular dynamics simulations have recently become a standard tool for the study of electrochemical systems. State-of-the-art approaches represent the electrodes as perfect conductors, modelling their responses to the charge
distribution of electrolytes via the so-called fluctuating charge model. These fluctuating charges are additional degrees
of freedom that, in a Born-Oppenheimer spirit, adapt instantaneously to changes in the environment to keep each electrode at a constant potential. Here we show that this model can be treated in the framework of constrained molecular
dynamics, leading to a symplectic and time-reversible algorithm for the evolution of all the degrees of freedom of the
system. The computational cost and the accuracy of the new method are similar to current alternative implementations
of the model. The advantage lies in the accuracy and long term stability guaranteed by the formal properties of the
algorithm and in the possibility to systematically introduce additional kinematic conditions of arbitrary number and
form. We illustrate the performance of the constrained dynamics approach by enforcing the electroneutrality of the
electrodes in a simple capacitor consisting of two graphite electrodes separated by a slab of liquid water.
I. INTRODUCTION
Electrochemical systems involve many complex interfaces
which are difficult to characterize experimentally and to simulate accurately. Different phenomena may occur at the molecular scale, such as electron transfers, ions adsorption, chemical reactions, etc <sup>1,2</sup> . In the case of electrochemical energy
storage devices, which are often operated at rather large voltages and for the largest number of cycles possible <sup>3,4</sup>, understanding all these processes is compulsory to design new electrode materials and/or electrolytes. From the simulation point
of view, several methods can be used depending on the target
properties and the scale at which the system needs to be represented. In particular, density functional theory (DFT) calculations allow to determine the thermodynamics of reactions
at the close vicinity of the electrode <sup>5–7</sup> . Nevertheless there
are many problems for which it is necessary to treat the interface at length scales going beyond the nanometer, for example in order to understand the structure of the adsorbed layer
that forms and how it screens the electrode charge <sup>2,8</sup> . In such
a)Electronic mail: [mathieu.salanne@sorbonne-universite.fr](mailto:mathieu.salanne@sorbonne-universite.fr)
b)Electronic mail: [sara.bonella@epfl.ch](mailto:sara.bonella@epfl.ch)
cases, thermal fluctuations play an important role, but DFTbased molecular dynamics cannot be used because of the large
system sizes that are involved (typically thousands of atoms).
It is thus necessary to use a more approximate method such as
classical molecular dynamics (CMD).
Indeed, CMD is commonly used to study extended systems over long time-scales. As an example, hundreds of thousands of atoms can be simulated for microseconds to study
biochemical mechanisms. Yet, in most classical calculations,
the molecules/materials at play are electronically insulating,
so that they are conveniently represented as collections of
fixed charges over the whole simulation. This is of course
not adequate to represent electrodes. More complex electrostatic schemes have been derived, among which a constant
potential method was proposed by Siepmann and Sprik to account for the delocalized nature of the electronic cloud inside
a metallic material and its perturbation by an external charge
arising from the electrolyte <sup>9</sup> . Their method allowed to fix
the potential of each electrode, therefore providing the correct framework for studying electrochemical energy storage
devices. The method was later extended by Reed _et_ _al._ to
the case of two-dimensional periodic systems, <sup>10</sup> opening the
way towards systematic studies of complete electrochemical
cells <sup>11</sup> .
The main ingredient of the Siepmann-Sprik method is the
use of fluctuating electrode charges, in the same spirit as
the charge equilibration <sup>12,13</sup> scheme for molecular systems.
These charges are thus treated as additional degrees of freedom in a similar way as the induced dipoles involved in polarizable force fields <sup>14</sup> or as the wavefunction coefficients in
DFT-based molecular dynamics <sup>15</sup> . The same algorithms were
therefore used as for these much more widely used cases. In
their seminal work, Siepmann and Sprik have used the CarParrinello algorithm <sup>16</sup>, which consists in introducing a fictitious mass to each additional variable and treating it as a
full dynamical degree of freedom. Along the years this algorithm was progressively replaced by Born-Oppenheimerbased approaches, in which the degrees of freedom other than
the atomic positions are determined either in a self-consistent
way or through energy minimization techniques. Recently, a
new algorithm was proposed to solve numerically the temporal evolution of polarization degrees of freedom, in the general
framework of constrained molecular dynamics. <sup>17</sup> The algorithm was shown to sample correctly the Born-Oppenheimer
probability density and to be applicable to systems where
the additional degrees of freedom must also satisfy conditions such as specific conservation or orthonormality properties, providing a viable alternative to current algorithms also
for evolution based on orbital-free DFT. <sup>18</sup> Here we show that
this approach, named mass-zero constrained dynamics, is also
very efficient for computing the electrode fluctuating charges
under constant applied potential conditions, allowing further
to enforce the overall electroneutrality of the system. We test
the algorithm on a simple capacitor made of graphite electrodes and a pure water electrolyte. It yields instantaneous
charges in perfect agreement with other techniques, and accurate properties of the system when long simulations are performed.
II. THEORY AND ALGORITHM
In this section, we show how the mass-zero constrained dynamics can be used to simulate the fluctuating charge model.
We begin by recalling the main features of the model, highlighting only the points more directly related to the derivation
of the new approach. The extended Lagrangian associated
with the mass-zero constrained dynamics and the corresponding evolution equations are then introduced. Finally, the most
effective algorithm to integrate these equations for fluctuating
charges, which differs from the one adopted in previous applications due to the characteristics of the model, is discussed.
The system of interest is an electrochemical cell composed
of two metallic electrodes kept at constant potential and separated by an electrolyte. To set the stage, let us recall that the
electric potential _V_ ( _r_ ) generated by a spatial charge distribution _ρ_ ( _r_ ) is given by the Poisson equation
∇ <sup>2</sup> _V_ ( _r_ ) = _−_ 4 _πρ_ ( _r_ ) (1)
complemented with appropriate boundary conditions.
(Atomic units are used throughout this section.) In our case,
these conditions must reflect the fact that the electrodes are
conductors and therefore the potential is constant in the space
they occupy. Thus
_V_ ( _r_ ) =
d <sup>3</sup> _r_ <sup>_′_</sup> _|_ _r_ <sup>_<u>ρ</u>_</sup> _−_ <sup><u>(</u></sup> <sup>_<u>r</u>_</sup> _r_ <sup>_′_</sup> <sup><u>)</u></sup> <sup>_′_</sup> _|_ <sup>= ΨΩ</sup> <sup>_±_</sup> (2)
where _r_ is a point in the region, Ω _±_, occupied by electrode _±_
and ΨΩ _±_ is the known value of the potential on each electrode.
An equivalent representation of the system, better suited for
the introduction of the extended Lagrangian required by masszero constrained dynamics, is obtained by recalling that the
Coulomb energy associated to the spatial charge density _ρ_ ( _r_ )
can be written as
2
_Uc_ [ _ρ_ ] = <sup><u>1</u></sup>
2
d <sup>3</sup> _r_ d <sup>3</sup> _r_ <sup>_′_</sup> <sup>_<u>ρ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>r</u>_</sup> <sup>_′_</sup> <sup><u>)</u></sup> <sup>_<u>ρ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>r</u>_</sup> <sup><u>)</u></sup>
<sup><u>(</u></sup> <sup>_<u>r</u>_</sup> <sup>_′_</sup> <sup><u>)</u></sup> <sup>_<u>ρ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>r</u>_</sup> <sup><u>)</u></sup> = <sup><u>1</u></sup>
_|_ _r_ _−_ _r_ <sup>_′_</sup> _|_ 2
d <sup>3</sup> _r_ _V_ ( _r_ ) _ρ_ ( _r_ ) (3)
The above equation implies that the electric potential can be
obtained as the functional derivative of the Coulomb energy
and that, in particular, the boundary condition in eq.(2) can
also be expressed as
_<u>δUc</u>_ <u>[</u> _<u>ρ</u>_ <u>]</u>
_δρ_ ( _r_ ) <sup>= ΨΩ</sup> <sup>_±_</sup> (4)
for _r_ _∈_ Ω _±_ . A more explicit expression for the Coulomb energy of the system is obtained by specifying the charge distribution of the electrolyte and of the electrodes. In analogy with
standard models of charged solutions, the electrolyte charge
density is represented as a set of point charges located at the
positions of its _N_ atoms. This part of the charge density will be
indicated as _ρi_ <sup>_q_</sup> <sup>(</sup> <sup>_r_</sup> <sup>) =</sup> <sup>_qiδ_</sup> <sup>3(</sup> <sup>_r_</sup> <sup>_−_</sup> <sup>_r_</sup> <sup>_i_</sup> <sup>) where</sup> <sup>_qi_</sup> <sup>is the fixed charge</sup>
of particle _i_, _δ_ ( _x_ ) is the Dirac delta function and _r_ _i_ are the
positions of the particles of the electrolyte. The specific feature of the fluctuating charge model, on the other hand, is to
replace the continuous physical charge density of the metallic
electrodes with a discrete set of _M_ Gaussian charges centered
at fixed locations, _R_ _α_, in the Ω _±_ regions. The charge distribution assigned to the site _R_ _α_ is given by
- <u>32</u> exp _−η_ <sup>2</sup> ( _r_ _−_ _R_ _α_ ) <sup>2�</sup>
_ρα_ <sup>_Q_</sup> <sup>(</sup> <sup>_r_</sup> <sup>) =</sup> <sup>_Qα_</sup>
- _<u>η</u>_ 2
_π_
(5)
where _η_ is a system-dependent parameter, fixed _a_ _priori_ in
the model. The _Qα_, that represent the integrated charge on
each electrode site, have to be determined for each configuration of the system to enforce the conditions in eq. (4). In
particular, in a molecular dynamics simulation of the capacitor, these variables must be determined at each time step, as
they respond to the evolution of the coordinates of the particles in the electrolyte along the trajectory. Substituting the total charge density _ρ_ ( _r_ ) = ∑ <sup>_M_</sup> _α_ =1 <sup>_ρ_</sup> _α_ <sup>_Q_</sup> <sup>(</sup> <sup>_r_</sup> <sup>)+</sup> <sup>∑</sup> <sup>_N_</sup> _i_ =1 <sup>_ρ_</sup> _i_ <sup>_q_</sup> <sup>(</sup> <sup>_r_</sup> <sup>) in eq. (3)</sup>
and performing the integrals in the second equality, leads to
the following explicit expression for the Coulomb energy
<sup>_M_</sup> _α_ =1 <sup>_ρ_</sup> _α_ <sup>_Q_</sup>
<sup>_N_</sup> _i_ =1 <sup>_ρ_</sup> _i_ <sup>_q_</sup>
_α_ <sup>_Q_</sup> <sup>(</sup> <sup>_r_</sup> <sup>)+</sup> <sup>∑</sup> <sup>_N_</sup> _i_
_√_ _N_
## erf[ 2 ηRαβ ]+ ∑
_α_ =1
_Uc_ ( _r_ _,_ _Q_ ) =
+
_M_
## ∑ α =1 β ∑ <α
_M_
## ∑
_α_ =1
_<u>Qα</u>_ _<u>qi</u>_
_|_ _R_ _α −_ _r_ _i|_ <sup>erf[</sup> <sup>_η|_</sup> <sup>_R_</sup> <sup>_α −_</sup> <sup>_r_</sup> <sup>_i|_</sup> <sup>]+</sup>
_Qα_ _Qβ_
_Rαβ_
_<u>η</u>_
_~~√~~_ _α_
2 _π_ <sup>_Q_</sup> <sup>2</sup>
_N_
## ∑
_i_ =1
_qiq j_
_rij_
(6)
_N_
## ∑ i =1 ∑ j<i
where we have used the notation _r_ _≡{_ _r_ _i}_, _Q ≡{Qα_ _}_, and
where _Rαβ_ = _|_ _R_ _α −_ _R_ _β_ _|_, _ri j_ = _|_ _r_ _i −_ _r_ _j|_ . Note that in this potential the _R_ _α_ are time-independent parameters, specified by
the geometry of the model. Given the assumed form of the
charge density on the electrodes, the condition in eq. (4) can
be reformulated in terms of the discrete “variational” parameters _Qα_ as
_<u>∂Uc</u>_ <u>(</u> _<u>r</u>_ _<u>,</u>_ _<u>Q</u>_ <u>)</u>
_∂_ _Qα_
= Ψ _±_ (7)
( _α_ = 1 _,...,_ _M_ ). In this discrete model for the electrode charge
distribution, the condition of constant potential is enforced
only at sites _R_ _α_, i.e. at the center of the Gaussian charge
distributions, in contrast with (4) which holds at all positions
in the metal. Previous work <sup>10</sup> has shown that, in spite of the
approximate treatment of the charge distribution, this still enables accurate simulations of electrochemical system.
Recently, it was suggested to modify the original fluctuating
charge model by forcing the _Q_ variables to respect also the socalled electroneutrality condition
_f_ ( _Q_ ) =
_M_
## ∑
_α_ =1
_Qα_ = 0 (8)
the same evolution equations as above for the electrolyte degrees of freedom. On the other hand, the constrained evolution of a set of auxiliary dynamical variables is used to satisfy
exactly the conditions in the model. Lagrangian mechanics
offers the most suitable framework to discuss the method in
detail. We begin by observing that the constraints (7) can
be trivially interpreted as the requirement that the function
_W_ ( _r_ _,_ _Q_ ) _≡_ _Uc_ ( _r_ _,_ _Q_ ) _−_ ∑ <sup>_M_</sup> _α_ =1 <sup>Ψ</sup> <sup>_α_</sup> <sup>_Qα_</sup> <sup>(where we indicated with</sup>
Ψ _α_ the potential at site _R_ _α_ ) is at a minimum with respect to
_Q_ . Eq. (8), however, implies that not all variations of the _Qα_
are independent, and this must be accounted for when stating
the minimum condition. This is conveniently done employing the formalism of Lagrange multipliers. To that end, we
introduce the auxiliary function
_U_ ( _r_ _,_ _Q,_ _ν_ ) = _W_ ( _r_ _,_ _Q_ )+ _ν f_ ( _Q_ ) (10)
where _ν_ is the Lagrange multiplier associated to the electroneutrality condition. It is easy to see, looking at the definition of _W_ ( _r_ _,_ _Q_ ) and of _f_ ( _Q_ ), that _ν_ actually corresponds to a
potential shift as already noted in previous work <sup>19</sup> . The minimum solution _Q_ <sup>ˆ</sup> with _Q_ satisfying also eq. (8) is then given
by the stationary point _{Q_ <sup>ˆ</sup> _,_ ˆ _ν}_ of _U_ ( _r_ _,_ _Q,_ _ν_ ). This leads to the
_M_ + 1 conditions
for all accessed configurations of the electrolyte. The condition above mimics the presence of an ideal generator connected to the electrodes and enables a closed description of
the system, i.e. one that does not require to take explicitly
into account interactions with a charge reservoir. As discussed
in previous work <sup>19</sup>, eq. (8) also ensures that relevant physical
properties such as the capacitance depend only on the potential difference between the electrodes and not on their absolute
potential. In simulations, this condition has the added benefit
to simplify the Ewald treatment of electrostatic interactions.
While electroneutrality is only enforced on average by real
generators, the more stringent condition (8) has been used in
simulations <sup>19,20</sup> providing accurate results.
The dynamics of the system within the fluctuating charge
model is then defined as follows. The charges _Qα_, mimicking
the reorganization of the electronic charge density within the
electrodes, adapt instantaneously to the configuration of the
particles in the electrolyte. The evolution of the electrolyte’s
degrees of freedom is then governed by
_mi_ ¨ _r_ _i_ = _−_ _∇r_ _iUc_ ( _r_ _,_ _Q_ )�� _Q_ = _Q_ <sup>ˆ</sup> (9)
where _mi_ is the mass of the electrolyte particle _i_ and _Q_ <sup>ˆ</sup> =
_{Q_ <sup>ˆ</sup> 1 _,...,_ _Q_ <sup>ˆ</sup> _M}_ indicates the values of the electrode charges
that satisfy eq. (7) and (8). As mentioned in the Introduction, this dynamical model is formally identical to that of other
adiabatically separated systems such as classical polarizable
models or _first principle_ molecular dynamics. Consequently,
algorithms such as Car-Parrinello dynamics or minimization
schemes - such as conjugate gradient - typically adopted
in Born-Oppenheimer propagation have been employed also
to solve the evolution of the fluctuating charge model. In
the following, we show how to adapt the recently proposed
mass-zero constrained dynamics to this problem. In this approach an extended dynamical system is defined that leads to
_σβ_ ( _r_ _,_ _Q,_ _ν_ ) = <sup>_<u>∂</u>_</sup> <sup>_<u>U</u>_</sup> <sup><u>(</u></sup> <sup>_<u>r</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>Q,</u>_</sup> <sup>_<u>ν</u>_</sup> <sup><u>)</u></sup>
_∂_ _Qβ_
= 0 _β_ = 1 _,...,_ _M_
_σM_ +1( _Q_ ) = <sup>_<u>∂</u>_</sup> <sup>_<u>U</u>_</sup> <sup><u>(</u></sup> <sup>_<u>r</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>Q,</u>_</sup> <sup>_<u>ν</u>_</sup> <sup><u>)</u></sup> = 0
_∂ν_
(11)
As usual in the Lagrange multiplier scheme, the last equation
above is in fact the electroneutrality condition but now obtained as a result of an optimization problem in the space that
includes the Lagrange multiplier _ν_ as a variable. Proceeding
in analogy with the derivations of the mass-zero constrained
dynamics presented in ref. 17,18, we then extend the space of
the dynamical degrees of freedom to include the variables _Q_
and _ν_ and define the Lagrangian of the extended system as
_N_
## ∑
_i_ =1
_L_ = <sup><u>1</u></sup>
2
_L_ = <sup><u>1</u></sup>
_mir_ ˙ _i_ <sup>2</sup>
_i_ <sup>2</sup> <sup>+</sup> <sup><u>1</u></sup>
2
<sup><u>1</u></sup> (12)
2 <sup>_µν_</sup> <sup>˙</sup> <sup>_ν −_</sup> <sup>_U_</sup> <sup>(</sup> <sup>_r_</sup> <sup>_,_</sup> <sup>_Q,_</sup> <sup>_ν_</sup> <sup>)</sup>
_M_
## ∑
_α_ =1
_µQQ_ <sup>˙</sup> <sup>2</sup> _α_
<sup>2</sup> _α_ <sup>+</sup> <sup><u>1</u></sup>
2
In the equations above, we have introduced two (arbitrary)
masses, _µQ_ and _µν_, associated with the variables _Q_ and _ν_, respectively. To set the stage for the homogeneous limit that we
will take on these quantities (see discussion below eq. (13)),
we set <sup>_<u>µ</u>_</sup> _µ_ <sup>_<u>Q</u>_</sup> _v_ <sup>_≡_</sup> <sup>_κ_</sup> <sup>,</sup> <sup>with</sup> <sup>_κ_</sup> <sup>a constant of appropriate physical di-</sup>
mensions. Conditions (11) are then interpreted as a set of
_M_ + 1 holonomic constraints to obtain the evolution equations
_mi_ ¨ _r_ _i_ = _−_ _∇r_ _iU_ ( _r_ _,_ _Q,_ _ν_ )+
_M_ +1
## ∑ λβ ∇r i σβ
_β_ =1
_µQQ_ <sup>¨</sup> _α_ = _−_ <sup>_<u>∂</u>_</sup> <sup>_<u>U</u>_</sup> <sup><u>(</u></sup> <sup>_<u>r</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>Q,</u>_</sup> <sup>_<u>ν</u>_</sup> <sup><u>)</u></sup>
_∂_ _Qα_
+
_M_ +1
## ∑
_β_ =1
_M_ +1
## ∑
_β_ =1
_λβ_
_λβ_
_∂σβ_
_∂_ _Qα_
_∂σβ_
_∂ν_
(13)
_<u>µκQ</u>_ <sup>_ν_</sup> <sup>¨</sup> <sup>=</sup> <sup>_−_</sup> <sup>_<u>∂</u>_</sup> <sup>_<u>U</u>_</sup> <sup><u>(</u></sup> _∂ν_ <sup>_<u>r</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>Q,</u>_</sup> <sup>_<u>ν</u>_</sup> <sup><u>)</u></sup>
_<u>µQ</u>_
+
_∂ν_ <sup>_<u>r</u>_</sup> <sup>_<u>,</u>_</sup> <sup>_<u>Q,</u>_</sup> <sup>_<u>ν</u>_</sup> <sup><u>)</u></sup>
where the _λβ_ are the (undetermined) Lagrange multipliers that
enforce the constraints. The first derivatives of _U_ ( _r_ _,_ _Q,_ _ν_ ) in
the second and third line of the equations above are null due
to the conditions imposed, eq. (11). The equations for the _Q_
and _ν_ variables can then be reorganized by dividing the nonvanishing terms (i.e. the constraint forces) by the masses of
these degrees of freedom. In the third equation above, this
means dividing by <sup>_<u>µ</u>_</sup> _κ_ <sup>_<u>Q</u>_</sup> <sup>.</sup> At this stage, the key step of the
method is performed taking the limit _µQ →_ 0 (see also ref. 21).
In order for the auxiliary variables to have a finite acceleration
in this limit, the ratio _λβ_ _/µQ_ must remain finite implying that
the _λβ_ are proportional to the masses. In the limit, the constraint forces acting on the physical degrees of freedom vanish
and the dynamical system takes the form
_mi_ ¨ _r_ _i_ = _−_ _∇r_ _iUc_ ( _r_ _,_ _Q_ )
(14)
_Q_ ¨ _α_ =
_ν_ ¨ =
_M_ +1
## ∑
_β_ =1
_M_ +1
## ∑
_β_ =1
_γβ_ _κ_ <sup>_∂σβ_</sup>
_∂ν_ <sup>_,_</sup>
_γβ_
_∂σβ_
_∂_ _Qα_
the dimensionality of the _Q_ to _M −_ 1 variables and setting, for
example, _Q_ 1 = _−_ ∑ <sup>_M_</sup> _α_ =2 <sup>_Qα_</sup> <sup>.</sup> <sup>The method proposed in this sec-</sup>
tion, however, is completely general and can be applied also
in cases where the definition of appropriate generalised coordinates is problematic. The only potential limitation of the
method is numerical, stemming from the computational cost
of enlarging the space of auxiliary variables.
Implementation of the mass-zero constrained algorithm
Numerical integration of the mass-zero constrained evolution equations combines propagation of the dynamical variables with a solver for the unknown, time dependent Lagrange
multipliers _γ_ _≡{γβ_ _}_ . In previous work, the standard implementation of the SHAKE method, employing the iterative solution of the constraints first suggested by Berendsen in 22,
was adopted. In the following we describe the specific implementation of the method in the simulation package _Metal-_
_Walls_, a dedicated code for the simulation of electrochemical
cells. To maximise efficiency, this implementation takes into
account both the previous characteristics of the code and the
specific properties of the fluctuating charge model, most notably the quadratic (linear) dependence of _U_ ( _r_ _,_ _Q,_ _ν_ ) on _Q_
( _ν_ ). This dependence implies that the constraints are (at most)
linear in the dynamical variables a feature that, as discussed
at the end of this section, simplifies the solution of the constraints.
The basic step of the adopted algorithm is shown in eq. (15).
It combines velocity Verlet propagation of the physical degrees of freedom with Verlet integration, incorporating the
SHAKE solution of the constraints given by (17) (see discussion below), for the evolution of the auxiliary variables. Velocity Verlet is the integrator of choice in _MetalWalls_ . The
simpler implementation of constrained evolution via Verlet
propagation, added to the code to perform the calculations reported in the next section, is sufficient since the forces acting
on the physical variables depend only on coordinates. Each
iteration of the algorithm requires as input the positions and
momenta for the physical variables at the previous timestep,
_r_ ( _t_ ), _p_ ( _t_ ), and the values of the auxiliary variables at the
two previous timesteps, _Q_ ( _t_ ) _,_ _ν_ ( _t_ ) and _Q_ ( _t −_ _δt_ ) _,_ _ν_ ( _t −_ _δt_ )
where _δt_ is the timestep. The knowledge of physical positions _r_ ( _t_ ) and of the additional variables _Q_ ( _t_ ) _,_ _ν_ ( _t_ ), enables
to compute the forces at time _t_ as _−_ ∇ _r_ _iU_ - _r_ ( _t_ ) _,_ _Q_ ( _t_ ) _,_ _ν_ ( _t_ )� =
_λβ_
with _γβ_ = lim _µQ→_ 0 _µQ_ finite. In the first equation
above, we used the fact that, given eq. (10) and the
definition _W_ ( _r_ _,_ _Q_ ) _≡_ _Uc_ ( _r_ _,_ _Q_ ) _−_ ∑ <sup>_M_</sup> _α_ =1 <sup>Ψ</sup> <sup>_α_</sup> <sup>_Qα_</sup> <sup>,</sup> we have
with _γβ_ = lim _µQ→_ 0
definition _W_ ( _r_ _,_ _Q_ ) _≡_ _Uc_ ( _r_ _,_ _Q_ ) _−_ ∑ <sup>_M_</sup> _α_ =1 <sup>Ψ</sup> <sup>_α_</sup> <sup>_Qα_</sup> <sup>,</sup> we have
_∇r_ _iU_ ( _r_ _,_ _Q,_ _ν_ ) = _∇r_ _iUc_ ( _r_ _,_ _Q_ ).
Eq. (14) defines the mass-zero constrained dynamics for
the fluctuating charge model with electroneutrality constraint.
The evolution equations for the physical degrees of freedom,
_r_, do not depend directly on the constraints — consistent with
eq. (9). The constrained evolution of the auxiliary variables,
_{Q,_ _ν}_, however, guarantees that the stationary conditions for
_W_ ( _r_ _,_ _Q_ ) are satisfied together with the electroneutrality constraint. The zero mass limit for the auxiliary variables is rigorously enforced by this dynamical system, leading to full adiabatic separation of the physical and auxiliary motions and
exact sampling of the Born-Oppenheimer probability density
of the system <sup>18</sup> . The homogeneity parameter _κ_ introduced to
take the limit of zero masses is a free parameter in the derivation of these equations of motions. To fix this parameter, one
can note that it has the dimension [ _κ_ ] = <sup><u>[</u></sup> <sup>_<u>ν</u>_</sup> <sup><u>]2</u></sup>
[ _Q_ ] <sup>2</sup> <sup>, that is the inverse</sup>
of the square of a capacitance. The numerical value of the parameter can then be estimated from the typical capacitance
for the system, e.g. the capacitance of the empty cell, _C_ empty.
Exploratory calculations, however, showed that the numerical stability of the algorithm is insensitive to _κ_ in a very wide
range around this value. An alternative point of view on _κ_ is to
consider it as a scaling parameter for the additional Lagrange
multiplier _ν_ by introducing a scaled variable _ν_ ˜ = _~~√~~_ _<u>νκ</u>_ . This
new variable then has the dimension of a charge and it is natural to set _µν_ ˜ = _µQ_ . The dynamical equations resulting from
this alternative perspective are strictly equivalent to Eq. (14).
Eq. (14) defines the mass-zero constrained dynamics for
the fluctuating charge model with electroneutrality constraint.
The evolution equations for the physical degrees of freedom,
_r_, do not depend directly on the constraints — consistent with
eq. (9). The constrained evolution of the auxiliary variables,
_{Q,_ _ν}_, however, guarantees that the stationary conditions for
_W_ ( _r_ _,_ _Q_ ) are satisfied together with the electroneutrality constraint. The zero mass limit for the auxiliary variables is rigorously enforced by this dynamical system, leading to full adiabatic separation of the physical and auxiliary motions and
exact sampling of the Born-Oppenheimer probability density
of the system <sup>18</sup> . The homogeneity parameter _κ_ introduced to
take the limit of zero masses is a free parameter in the derivation of these equations of motions. To fix this parameter, one
can note that it has the dimension [ _κ_ ] = <sup><u>[</u></sup> <sup>_<u>ν</u>_</sup> <sup><u>]2</u></sup>
[ _Q_ ] <sup>2</sup> <sup>, that is the inverse</sup>
to compute the forces at time _t_ as _−_ ∇ _r_ _iU_ - _r_ ( _t_ ) _,_ _Q_ ( _t_ ) _,_ _ν_ ( _t_ )� =
_F_ _i_ - _r_ ( _t_ ) _,_ _Q_ ( _t_ )�. The Lagrange multipliers _γ_ are treated as
- _r_ ( _t_ ) _,_ _Q_ ( _t_ ) _,_ _ν_ ( _t_ )
- _r_ ( _t_ ) _,_ _Q_ ( _t_ )
of eqns. (11) the derivatives of the constraints
_∂σβ_
_∂_ _Qα_ <sup>(</sup> <sup>_t_</sup> <sup>),</sup>
_∂σβ_
We conclude this section noting that extending the set of
auxiliary variables to include _ν_ is not the only way to enforce
the electroneutrality condition. For this particular case, it is
in fact trivial to identify a set of generalized coordinates constraining the system to the correct hypersurface by reducing
_F_ _i_ - _r_ ( _t_ ) _,_ _Q_ ( _t_ )�. The Lagrange multipliers _γ_ are treated as
free parameters not as dynamical variables, in this algorithm.
Their value at _t_ + _δt_ is determined by the requirement that the
constraints _σ_ at time _t_ + _δt_ are satisfied up to the prescribed
tolerance. The notation _γ_ ( _t_ + _δt_ ) underlines this aspect. Note
that, due to the form of the overall potential _U_ ( _r_ _,_ _Q,_ _ν_ ) and
_∂σβ_ _∂σβ_
of eqns. (11) the derivatives of the constraints _∂_ _Qα_ <sup>(</sup> <sup>_t_</sup> <sup>),</sup> _∂ν_ <sup>(</sup> <sup>_t_</sup> <sup>)</sup>
are in fact constant. <sup>23</sup> Initial conditions are chosen via standard procedures for the physical variables (see next section),
while the initialization of the auxiliary variables at _t_ and _t −_ _δt_
is performed using constrained conjugate gradient minimization. The convergence threshold for conjugate gradient min
imization is set to as close as possible to zero to satisfy the constraints up (or close) to numerical precision from the beginning of the simulation. <sup>24</sup>
_p_ ˜ _i_ = _p_ _i_ ( _t_ )+ <sup>_<u>δt</u>_</sup>
2
<sup>_<u>t</u>_</sup> - _r_ ( _t_ ) _,_ _Q_ ( _t_ )
2 <sup>_F_</sup> <sup>_i_</sup>
- for _i_ = 1 _,...,_ _N_
_r_ _i_ ( _t_ + _δt_ ) = _r_ _i_ ( _t_ )+ <sup>_<u>δt</u>_</sup>
_mi_
_r_ _i_ ( _t_ + _δt_ ) = _r_ _i_ ( _t_ )+ <sup>_<u>δt</u>_</sup>
_p_ ˜ _i_ for _i_ = 1 _,...,_ _N_
_M_ +1
## Qα ( t + δt ) = 2 Qα ( t ) − Qα ( t − δt )+ δt 2 ∑
_β_ =1
_γβ_ ( _t_ + _δt_ ) <sup>_∂σβ_</sup>
_∂_ _Qα_
SHAKE
ALGORITHM
(see below)
( _t_ ) for _α_ = 1 _,...,_ _M_
(15)
_ν_ ( _t_ + _δt_ ) = 2 _ν_ ( _t_ ) _−_ _ν_ ( _t −_ _δt_ )+ _δt_ <sup>2</sup>
_M_ +1
## ∑
_β_ =1
_γβ_ ( _t_ + _δt_ ) _κ_ <sup>_∂σβ_</sup>
_∂ν_ <sup>(</sup> <sup>_t_</sup> <sup>)</sup>
_γβ_ ( _t_ + _δt_ ) _κ_ <sup>_∂σβ_</sup>
_∂ν_
COMPUTE _{γα_ ( _t_ + _δt_ ) _}_ <sup>_M_</sup> _α_ = <sup>+</sup> 1 <sup>1</sup> <sup>SOLVING</sup> <sup>_{σα_</sup>
- = 0 _}_ <sup>_M_</sup> _α_ = <sup>+</sup> 1 <sup>1</sup>
- _r_ ( _t_ + _δt_ ) _,_ _Q_ ( _t_ + _δt_ ) _,_ _ν_ ( _t_ + _δt_ )
_α_ =1
COMPUTE FORCES AT TIME _t_ + _δt_ USING _r_ ( _t_ + _δt_ ) AND _Q_ ( _t_ + _δt_ )
_p_ _i_ ( _t_ + _δt_ ) = _p_ ˜ _i_ + <sup>_<u>δt</u>_</sup>
2
<sup>_<u>t</u>_</sup> - _r_ ( _t_ + _δt_ ) _,_ _Q_ ( _t_ + _δt_ )
2 <sup>_F_</sup> <sup>_i_</sup>
- for _i_ = 1 _,...,_ _N_
As mentioned above, the SHAKE algorithm used to obtain
_γ_ ( _t_ + _δt_ ) exploits the specific nature of the constraints. Let us
recall that SHAKE is based on a first order expansion of the
constraints from which a linear system of equations for the
Lagrange multiplier is obtained. The first order expansion,
which in our case involves only the auxiliary variables and is
then performed at fixed _r_, is written as
0 = _σα_ - _r_ ( _t_ + _δt_ ) _,_ _Q_ ( _t_ + _δt_ ) _,_ _ν_ ( _t_ + _δt_ )� =
= _σα_
= _σα_
- _r_ ( _t_ + _δt_ ) _,_ _Q_ <sup>_P_</sup> + _δ_ _Q,_ _ν_ <sup>_P_</sup> + _δν_
���� _ν_ <sup>_P_</sup> <sup>_δν_</sup>
As mentioned above, the derivatives of the constraints, and
therefore the matrix A, are constant due to the form of the constraints. The inverse matrix required in eq. (17) needs therefore to be computed only once in the simulation, enabling efficient calculation of the Lagrange multipliers by direct solution
of the linear system.
A non-trivial test calculation is presented in the next section
to illustrate the properties of the algorithm described above.
III. VALIDATION
FIG. 1. Representative snapshot of the simulated system (turquoise:
C, red: O and white: H atoms). The _z_ direction is perpendicular to
the carbon electrodes.
We simulate a system consisting of a slab of liquid water
between two graphite electrodes, with the two interfaces perpendicular to the _z_ direction of the box, as shown in Figure 1.
Despite its apparent simplicity, this system is very representative of current simulation works, which aim at characterizing
- _r_ ( _t_ + _δt_ ) _,_ _Q_ <sup>_P_</sup> _,_ _ν_ <sup>_P_</sup> <sup>�</sup>
+
_M_
_<u>∂σα</u>_
## ∑
_λ_ =1 _∂_ _Qλ_
���� _Q_ <sup>_P_</sup> <sup>_δ_</sup> <sup>_Qλ_</sup> <sup>+</sup> <sup>_<u>∂σ</u>_</sup> _∂ν_ <sup>_<u>α</u>_</sup>
(16)
for _α_ = 1 _,...,_ _M_ + 1. In the equations above, we introduced
(see also SHAKE ALGORITHM block in eq. (15)) the notation _Qλ_ ( _t_ + _δt_ ) = _Q_ <sup>_P_</sup> _λ_ <sup>+</sup> <sup>_δ_</sup> <sup>_Qλ_</sup> <sup>, with</sup> <sup>_QP_</sup> _λ_ <sup>= 2</sup> <sup>_Qλ_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_Qλ_</sup> <sup>(</sup> <sup>_t −_</sup> <sup>_δt_</sup> <sup>),</sup>
<sup>_P_</sup> _λ_ <sup>+</sup> <sup>_δ_</sup> <sup>_Qλ_</sup> <sup>, with</sup> <sup>_QP_</sup> _λ_
<sup>_P_</sup> _λ_ <sup>= 2</sup> <sup>_Qλ_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_Qλ_</sup> <sup>(</sup> <sup>_t −_</sup> <sup>_δt_</sup> <sup>),</sup>
_δ_ _Qλ_ = _δt_ <sup>2</sup> ∑ _β_ <sup>_M_</sup> <sup>+1</sup>
_∂∂σQβλ_ <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>and</sup> <sup>_ν_</sup> <sup>(</sup> <sup>_t_</sup> <sup>+</sup> <sup>_δt_</sup> <sup>) =</sup> <sup>_ν_</sup> <sup>_P_</sup> <sup>+</sup> <sup>_δν_</sup>
_β_ <sup>_M_</sup> <sup>+1</sup> _γβ_ ( _t_ + _δt_ )
where _ν_ <sup>_P_</sup> = 2 _ν_ ( _t_ ) _−_ _ν_ ( _t −_ _δt_ ) and _δν_ = _δt_ <sup>2</sup> ∑ <sup>_M_</sup> _β_ <sup>+1</sup>
<sup>_M_</sup> _β_ <sup>+1</sup> _κγβ_ ( _t_ +
_δt_ )
_∂σβ_
_δt_ ) _∂ν_ <sup>(</sup> <sup>_t_</sup> <sup>).</sup> <sup>Note</sup> <sup>that,</sup> <sup>due</sup> <sup>to</sup> <sup>the</sup> <sup>linearity</sup> <sup>of</sup> <sup>the</sup> <sup>constraints,</sup>
higher order terms in the expansion above are null for the fluctuating charge model. Substituting the definition of _δ_ _Qλ_ and
_δν_ in eq. (16) and reorganising the expression, then leads to
an exact linear system for the Lagrange multipliers _γ_ that can
be solved as
_∂σβ_
_δt_ <sup>2</sup> _γ_ ( _t_ + _δt_ ) = _−σ_
A <sup>_−_</sup> <sup>1</sup> (17)
- _r_ ( _t_ + _δt_ ) _,_ _Q_ <sup>_P_</sup> _,_ _ν_ <sup>_P_</sup> <sup>�</sup>
where the elements of the matrix A are defined as
_M_
## A αβ = ∑
_λ_ =1
_∂σβ_
(18)
_∂ν_
_<u>∂σα</u>_
_∂_ _Qλ_
_∂σβ_
_∂_ _Qλ_
+ _κ_ <sup>_<u>∂σα</u>_</sup>
_∂ν_
(Solving for the product _δt_ <sup>2</sup> _γ_ as done in eq. (17) rather than
for _γ_ alone is known to increase the stability of the method <sup>25</sup> .)
the hydration of metal surfaces, both from the structural <sup>26,27</sup>
and the dynamical <sup>28</sup> points of view. The extension to more
complex systems, such as dilute aqueous solutions <sup>29,30</sup>, ionic
liquids <sup>11,31,32</sup> or superconcentrated electrolytes <sup>33</sup>, is trivial
and does not require further technical development.
A. Simulations
The simulated system contains 2160 water molecules and
2880 carbon atoms in total. Each electrode is made of three
graphene planes of 480 atoms each, with an interplane distance of 3.354 Å. Two-dimensional boundary conditions were
used with no periodicity in the _z_ direction. The box lengths
along _x_ and _y_ were respectively fixed to _Lx_ = 34.101 Å and
_Ly_ = 36.915 Å. The Lennard-Jones parameters were taken
from references 34,35, with the various cross-terms chosen
accordingly to the Lorentz-Berthelot mixing rules. A cut-off
radius of 17.05 Å was used for the vdW interactions. Electrostatic interactions were computed using the two-dimensional
Ewald summation technique <sup>10,36</sup> . Electrode atoms have a
Gaussian charge distribution of width _η_ <sup>_−_</sup> <sup>1</sup> = 0.56 Å.
A timestep of 1 fs was used to integrate the equations of
motion. The system was first equilibrated with the electrode
charges set to zero at constant temperature of 298 K and atmospheric pressure. The latter condition was enforced by allowing the positions of the electrode atoms to vary along the
_z_ direction only, treating them as rigid bodies, in the presence
of an external force corresponding to the target pressure. The
separation between the two electrodes fluctuated around an
equilibrium value of 55.11 Å. This value was chosen to fix
the positions of the graphene planes in the following simulations. The system was then equilibrated in the NVT ensemble, with the two electrodes potential fixed to Ψ _−_ = _−_ 0 _._ 5 and
Ψ+ = 0 _._ 5 V using the conjugate gradient method. A NVE ensemble production run of 500 ps was then performed using the
mass-zero constrained dynamics algorithm. The homogeneity
parameter was set to _κ_ = 1 _Eh_ <sup>2</sup> <sup>_e−_</sup> <sup>4 where</sup> <sup>_Eh_</sup> <sup>is the unit of en-</sup>
ergy in Hartree atomic units and _e_ is the electron charge. The
standard deviation of the total energy along the simulation is
_≈_ 6 _×_ 10 <sup>_−_</sup> <sup>4</sup> _Eh_, _i.e._ less than 1% of the standard deviation of
the potential energy of the system.
B. Results
In a first step, we compare the new method, which is noted
as MZ in the following, to the generic Born-Oppenheimer
approaches, which either employ a conjugate gradient (CG)
minimization <sup>10</sup> or a matrix inversion <sup>37</sup> (MI) while enforcing
electroneutrality at each timestep.
In terms of performance, a typical step using MZ only requires 1% more CPU time than the MI method. Note that
for systems with fixed positions, _R_ _α_, of the electrode’s sites,
these two methods are considerably faster than the CG. The
conditions of the model are satisfied to a tolerance of the order of 10 <sup>_−_</sup> <sup>10</sup> _Eh e_ <sup>_−_</sup> <sup>1</sup> with both MZ and MI. CG calculations
targeting the lower, typical, tolerance of 10 <sup>_−_</sup> <sup>6</sup> _Eh e_ <sup>_−_</sup> <sup>1</sup> are, notably, up to a factor 5 slower. For models with fixed positions
of the electrode’s charges, the only numerical bottleneck for
MZ and MI is the calculation of the matrix at the first time
step, but this overhead is negligible for typical simulations.
MZ also yields electrode charges that are in agreement with
MI: we computed the charges with the two methods for 100
configurations along a trajectory and estimated the relative error ∆ _Qα_ on the electrode atom charges by computing
(19)
����
∆ _Qα_ =
_<u>Q</u>_ <sup>_MZ_</sup> _<u>α</u>_
����
<sup>_MZ_</sup> _<u>α</u>_ _<u>−</u>_ _<u>Q</u>_ <sup>_MI_</sup> _<u>α</u>_
_<u>α</u>_
_Q_ <sup>_MI_</sup> _α_
We obtain, on average, a relative error on the charges of 6 _._ 29 _×_
10 <sup>_−_</sup> <sup>9</sup> . The maximal error is 3 _._ 85 _×_ 10 <sup>_−_</sup> <sup>6</sup> (a single atomic
charge of _−_ 1 _._ 65120899 _×_ 10 <sup>_−_</sup> <sup>9</sup> _e_ instead of _−_ 1 _._ 65121536 _×_
10 <sup>_−_</sup> <sup>9</sup> _e_ ), which can be attributed to numerical errors. Another
important test concerns the satisfaction of the electroneutrality constraint. Along the trajectory, we obtain a maximal value
for the total charge of 2.68 _×_ 10 <sup>_−_</sup> <sup>12</sup> _e_, which is again very low
and arises from the various numerical errors.
4
3
2
1
<u>_</u>
+
O
0
0 10 20 30 40 50 60 70
3
2
1
_
+
H
0
0 10 20 30 40 50 60 70
z (Å)
FIG. 2. Normalized atomic density profiles along the _z_ direction (normal to the surface of the electrodes). The profiles are normalized by
their bulk value. Top: Oxygen atoms, bottom: Hydrogen atoms. The
positions of the electrode planes are shown with dashed lines.
Based on the excellent agreement for the calculation of the
individual charges w.r.t. the MI method, we can expect the
MZ to provide the correct properties of the system. To illustrate this, we first calculate the total charge on the positive
electrode, which is one of the most important target properties when simulating such systems since it gives access to the
interfacial capacitance. We obtain a value of 2.89 _µ_ F cm <sup>_−_</sup> <sup>2</sup>,
in agreement with a previous simulation work on the same
system, conducted with the CG method. <sup>38</sup> .
In electrochemical devices, the structure of the liquid adsorbed at the electrode surface is difficult to characterize. Very
complex experimental setups are needed, and they generally
do not provide details at the molecular resolution. This structure is therefore a quantity often determined via molecular
simulations. The atomic density profiles computed for our
system are shown in Figure 2. These curves are also in agreement with previous studies <sup>38</sup> and can be qualitatively understood as follows. The presence of electrified walls leads to
the formation of two layers of liquid with densities differing
from the one of the bulk liquid, over a distance of approximately 10 Å. The density profile for the oxygen atoms shows a
more intense peak close to the positive electrode (on the right
hand side), while the hydrogen atoms one is characterized
by the presence of a prepeak on the negative electrode side.
These features are readily attributed to the polarity of water
molecule. Contrarily to the case of transition metals <sup>27,39</sup>, we
do not observe the formation of particular hydrogen bonding
patterns at the surface of the graphite electrode.
1.0
0.5
0.0
-0.5
-1.0
0 10 20 30 40 50 60 70
z (Å)
FIG. 3. Poisson potential across the simulation cell.
The knowledge of the surface charge and of the atomic densities is not sufficient to determine the screening properties of
the liquid. To better characterize the interface, it is necessary
to determine the average charge density along the _z_ direction,
_⟨ρ_ ( _z_ ) _⟩_, in order to compute the Poisson potential across the
cell, integrating twice eq. (1) on the _z_ axis
IV. CONCLUSION
Constant applied potential molecular dynamics simulations, which are increasingly used to study the interface between metallic electrodes and many different types of electrolytes, generally rely on a “Born-Oppenheimer” approximation. The models allow the electrode charges to fluctuate by
enforcing the local potential to be equal to a value which is
fixed for the whole electrode. In this work we have showed
that it is possible to reformulate the problem, by treating these
charges as dynamical variables with zero mass. The constant potential condition is recovered by using the constrained
molecular dynamics formalism. This method is as efficient
as the existing alternatives, but it has the advantage to allow
additional conditions to be introduced in a natural way. The
method also produces an algorithm which is time-reversible
and symplectic for all the degrees of freedom. The new algorithm was validated by simulating a capacitor made of two
graphite electrodes and a pure water simulation, with an applied potential of 1 V between the electrodes and an overall
electroneutrality constraint. We have shown that the computed charges are essentially indistinguishable from those obtained via the Born-Oppenheimer approach for a given atomic
configuration. We have then shown that the simulations yield
structural properties of the fluid which are in perfect agreement with previous works. The results presented in this work
pave the way to more general applications. In future work,
in fact, the mass-zero constrained framework will be used to
study systems consisting of constant potential electrodes combined with a polarizable fluid, where all the additional dynamic variables would be propagated through similar equations of motions. We also expect this method to allow fixing
the charges on the two electrodes independently, thus opening
the way towards comparison with more complex electrochemical experiments.
ACKNOWLEDGMENTS
A.C. would like to acknowledge the hospitality received by
PHENIX laboratories during the development of this work.
This project has received funding from the European Research Council (ERC) under the European Union’s Horizon
2020 research and innovation programme (grant agreement
No. 771294). This work was supported by the French National Research Agency (Labex STORE-EX, Grant No. ANR10-LABX-0076, and project NEPTUNE, Grant No. ANR-17CE09-0046-02).
1A. Groß, “Fundamental challenges for modeling electrochemical energy
storage systems at the atomic scale,” Top. Curr. Chem. 376, 17 (2018).
2M. V. Fedorov and A. A. Kornyshev, “Ionic liquids at electrified interfaces,”
Chem. Rev. 114, 2978—3036 (2014).
3M. Armand and J.-M. Tarascon, “Building better batteries,” Nature 451,
652–657 (2008).
4P. Simon and Y. Gogotsi, “Materials for Electrochemical Capacitors,” Nat.
Mater. 7, 845–854 (2008).
5J. Cheng and M. Sprik, “Alignment of electronic energy levels at electrochemical interfaces,” Phys. Chem. Chem. Phys. 14, 11245–11267 (2012).
- _z′_
(20)
_−_ ∞ <sup>d</sup> <sup>_z′′ ⟨ρ_</sup> <sup>(</sup> <sup>_z′′_</sup> <sup>)</sup> <sup>_⟩_</sup>
Ψ( _z_ ) = Ψ( _z_ 0) _−_ 4 _π_
- _z_
_z_ 0
d _z_ <sup>_′_</sup>
where _z_ 0 is a reference point. Here we choose a _z_ 0 value
within the left electrode, for which Ψ( _z_ 0) = Ψ _−_ = _−_ 0.5 V. As
can be seen in Figure 3, the imposed applied potential difference is recovered since the potential equals +0.5 V inside the
right electrode. In between these two values, the Poisson potential shows several interesting features. Firstly, in the vicinity of the two electrodes, strong oscillations occur, which are
due to the formation of polarized layers of water molecules.
Secondly, the bulk liquid experiences a finite electric field,
which differs from the applied voltage due to the screening
of the adsorbed water layers. <sup>26</sup> By changing the applied potential, it is possible to determine further quantities such as
the electric field dependence of the dielectric constant of the
fluid <sup>38</sup> .
6J. Cheng, X. Liu, J. A. Kattirtzi, J. VandeVondele, and M. Sprik, “Aligning
electronic and protonic energy levels of proton-coupled electron transfer
in water oxidation on aqueous TiO2,” Angew. Chem., Int. Ed. 53, 12046–
12050 (2014).
7K. Chan and J. K. Norskov, “Electrochemical barriers made simple,” J.
Phys. Chem. Lett. 6, 2663–2668 (2015).
8M. Salanne, B. Rotenberg, K. Naoi, K. Kaneko, P.-L. Taberna, C. P. Grey,
B. Dunn, and P. Simon, “Efficient Storage Mechanisms for Building Better
Supercapacitors,” Nat. Energy 1, 16070 (2016).
9J. I. Siepmann and M. Sprik, “Influence of Surface-Topology and Electrostatic Potential on Water Electrode Systems,” J. Chem. Phys. 102, 511–524
(1995).
10S. K. Reed, O. J. Lanning, and P. A. Madden, “Electrochemical Interface
Between an Ionic Liquid and a Model Metallic Electrode,” J. Chem. Phys.
126, 084704 (2007).
11C. Merlet, B. Rotenberg, P. A. Madden, P.-L. Taberna, P. Simon,
Y. Gogotsi, and M. Salanne, “On the Molecular Origin of Supercapacitance in Nanoporous Carbon Electrodes,” Nat. Mater. 11, 306–310 (2012).
12W. J. Mortier, S. K. Ghosh, and S. Shankar, “Electronegativity-equalization
method for the calculation of atomic charges in molecules,” J. Am. Chem.
Soc. 108, 4315–4320 (1986).
13A. K. Rappe and W. A. Goddard III, “Charge equilibration for molecular
dynamics simulations,” J. Phys. Chem. 95, 3358–3363 (1991).
14P. A. Madden and M. Wilson, “’covalent’ effects in ’ionic’ systems,” Chem.
Soc. Rev. 25, 339–350 (1996).
15R. Vuilleumier, “Density functional theory based ab initio molecular dynamics using the car-parrinello approach,” Lect. Notes Phys. 703, 223–285
(2006).
16R. Car and M. Parrinello, “Unified approach for molecular dynamics and
density-functional theory,” Phys. Rev. Lett. 55, 2471–2474 (1985).
17A. Coretti, S. Bonella, and G. Ciccotti, “Communication: Constrained
molecular dynamics for polarizable models,” J. Chem. Phys. 149, 191102
(2018).
18S. Bonella, A. Coretti, R. Vuilleumier, and G. Ciccotti, “Adiabatic motion and statistical mechanics via mass zero constrained dynamics,” [Phys.](http://dx.doi.org/10.1039/D0CP00163E)
[Chem. Chem. Phys.](http://dx.doi.org/10.1039/D0CP00163E) in press (2020).
19L. Scalfi, D. T. Limmer, A. Coretti, S. Bonella, P. A. Madden, M. Salanne,
and B. Rotenberg, “Charge fluctuations from molecular simulations in the
constant-potential ensemble,” Phys. Chem. Chem. Phys. in press (2020).
20D. T. Limmer, C. Merlet, M. Salanne, D. Chandler, P. A. Madden, R. van
Roij, and B. Rotenberg, “Charge fluctuations in nanoscale capacitors,”
Phys. Rev. Lett. 111, 106102 (2013).
21J.-P. Ryckaert, A. Bellemans, and G. Ciccotti, “The rotation-translation
coupling in diatomic molecules,” Molecular Physics [44](http://dx.doi.org/ 10.1080/00268978100102931), 979–996 (1981).
22J.-P. Ryckaert, G. Ciccotti, and H. J. C. Berendsen, “Numerical integration
of the cartesian equations of motion of a system with constraints: molecular
dynamics of n-alkanes,” J. Comput. Phys. 23, 327–341 (1977).
23We recall that the _R_ _α_ are fixed parameters in the potential. This prescription can be relaxed to include the location of the Gaussian charges to change
but this extension of the model, that can be easily incorporated in the masszero constrained dynamics, is not considered here.
24Note that a different initialisation scheme was proposed in ref.17. This
scheme is more rigorous but its implementation in _MetalWalls_ turned out
to be impractical. Use of the conjugate gradient minimisation, on the other
hand, is available in the code. This choice of initialisation did not cause
visible problems and has negligible additional cost.
25G. Ciccotti and J.-P. Ryckaert, “Molecular dynamics simulation of rigid
molecules,” Comp. Phys. Rep. 4, 346–392 (1986).
26A. P. Willard, S. K. Reed, P. A. Madden, and D. Chandler, “Water at an
electrochemical interface - a simulation study,” Faraday Discuss. 141, 423–
441 (2009).
27D. T. Limmer, A. P. Willard, P. Madden, and D. Chandler, “Hydration of
metal surfaces can be dynamically heterogeneous and hydrophobic,” Proc.
Natl. Acad. Sci. U.S.A. 110, 4200–4205 (2013).
28A. P. Willard, D. T. Limmer, P. A. Madden, and D. Chandler, “Characterizing heterogeneous dynamics at hydrated electrode surfaces,” J. Chem.
Phys. 138, 184702 (2013).
29D. T. Limmer and A. P. Willard, “Nanoscale heterogeneity at the aqueous
electrolyte-electrode interface,” Chem. Phys. Lett. 620, 144–150 (2015).
30M. Simoncelli, N. Ganfoud, A. Sene, M. Haefele, B. Daffos, P.-L. Taberna,
M. Salanne, P. Simon, and B. Rotenberg, “Blue energy and desalination
with nanoporous carbon electrodes: Capacitance from molecular simulations to continuous models,” Phys. Rev. X 8, 021024 (2018).
31J. B. Haskins and J. W. Lawson, “Evaluation of molecular dynamics simulation methods for ionic liquid electric double layers,” J. Chem. Phys. 144,
134701 (2016).
32S. Park and J. G. McDaniel, “Interference of electrical double layers: Confinement effects on structure, dynamics and screening of ionic liquids,” J.
Chem. Phys. 152, 074709 (2020).
33Z. Li, G. Jeanmairet, T. Mendez-Morales, B. Rotenberg, and M. Salanne,
“Capacitive performance of water-in-salt electrolytes in supercapacitors: a
simulation study,” J. Phys. Chem. C 122, 23917–23924 (2018).
34H. J. C. Berendsen, J. R. Grigera, and T. P. Straatsma, “The Missing Term
in Effective Pair Potentials,” J. Phys. Chem. 91, 6269–6271 (1987).
35T. Werder, J. H. Walther, R. L. Jaffe, T. Halicioglu, and P. Koumoutsakos,
“On the water-carbon interaction for use in molecular dynamics simulations of graphite and carbon nanotubes,” J. Phys. Chem. B 107, 1345–1352
(2003).
36T. R. Gingrich and M. Wilson, “On the ewald summation of gaussian
charges for the simulation of metallic surfaces,” Chem. Phys. Lett. 500,
178–183 (2010).
37Z. Wang, Y. Yang, D. L. Olmsted, M. Asta, and B. B. Laird, “Evaluation
of the constant potential method in simulating electric double-layer capaci[tors,” The Journal of Chemical Physics](http://dx.doi.org/10.1063/1.4899176) 141, 184102 (2014).
38G. Jeanmairet, B. Rotenberg, D. Borgis, and M. Salanne, “Study of a watergraphene capacitor with molecular density functional theory,” J. Chem.
Phys. 151, 124111 (2019).
39J. Carrasco, A. Hodgson, and A. Michaelides, “A molecular perspective of
water at metal interfaces,” Nat. Mater. 11, 667–674 (2012).
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.