선정목록으로
Structure-Preserving and Efficient Numerical Methods for Ion Transport
간접 관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)(5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.48550/arxiv.2002.09563
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.2002.09563
- 토픽
- Fuel Cells and Related Materials
- OpenAlex ID
- W6891802842
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (7) MEA(막전극접합체)
- 부 분야
- (6) PEM(고분자전해질막), (5) 연료전지용 수분제어장치(가습기)
- R&D 측면
- 분석·모델링
- 확신도
- 0.80
- 근거 용어
- Poisson–Nernst–Planck (PNP) equations, ion transport, electrochemical energy devices, electrostatic potential, numerical methods
- 판단 근거
- 이 논문은 전기화학 장치에서 발생하는 이온 수송을 설명하는 PNP 방정식을 효율적으로 풀기 위한 수치 해석적 방법론을 다루고 있습니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC) 내 이온 전도 및 전하 역학을 모델링하고 성능을 예측하는 데 간접적으로 활용될 수 있습니다.
- R&D 활용 포인트
- PEMFC의 전해질 막(Membrane) 및 막전극접합체(MEA) 내에서 이온의 이동과 전하 분포를 시뮬레이션하여, 막의 성능 및 내구성을 예측하는 수치 모델링 기술로 활용 가능합니다.
- 평가 입력
- 본문 102,186자 중 30,032자 발췌
초록
Ion transport, often described by the Poisson--Nernst--Planck (PNP) equations, is ubiquitous in electrochemical devices and many biological processes of significance. In this work, we develop conservative, positivity-preserving, energy dissipating, and implicit finite difference schemes for solving the multi-dimensional PNP equations with multiple ionic species. A central-differencing discretization based on harmonic-mean approximations is employed for the Nernst--Planck (NP) equations. The backward Euler discretization in time is employed to derive a fully implicit nonlinear system, which is efficiently solved by a newly proposed Newton's method. The improved computational efficiency of the Newton's method originates from the usage of the electrostatic potential as the iteration variable, rather than the unknowns of the nonlinear system that involves both the potential and concentration of multiple ionic species. Numerical analysis proves that the numerical schemes respect three desired analytical properties (conservation, positivity preserving, and energy dissipation) fully discretely. Based on advantages brought by the harmonic-mean approximations, we are able to establish estimate on the upper bound of condition numbers of coefficient matrices in linear systems that are solved iteratively. The solvability and stability of the linearized problem in the Newton's method are rigorously established as well. Numerical tests are performed to confirm the anticipated numerical accuracy, computational efficiency, and structure-preserving properties of the developed schemes. Adaptive time stepping is implemented for further efficiency improvement. Finally, the proposed numerical approaches are applied to characterize ion transport subject to a sinusoidal applied potential.
본문 102,186자
본문 펼치기
## Structure-Preserving and Efficient Numerical Methods for Ion Transport
Jie Ding <sup>∗</sup> Zhongming Wang <sup>†</sup> Shenggao Zhou <sup>‡</sup>
February 25, 2020
Abstract
Ion transport, often described by the Poisson–Nernst–Planck (PNP) equations, is ubiquitous in electrochemical devices and many biological processes of significance. In this work,
we develop conservative, positivity-preserving, energy dissipating, and implicit finite difference schemes for solving the multi-dimensional PNP equations with multiple ionic species.
A central-differencing discretization based on harmonic-mean approximations is employed for
the Nernst–Planck (NP) equations. The backward Euler discretization in time is employed to
derive a fully implicit nonlinear system, which is efficiently solved by a newly proposed Newton’s method. The improved computational efficiency of the Newton’s method originates from
the usage of the electrostatic potential as the iteration variable, rather than the unknowns
of the nonlinear system that involves both the potential and concentration of multiple ionic
species. Numerical analysis proves that the numerical schemes respect three desired analytical
properties (conservation, positivity preserving, and energy dissipation) fully discretely. Based
on advantages brought by the harmonic-mean approximations, we are able to establish estimate on the upper bound of condition numbers of coefficient matrices in linear systems that
are solved iteratively. The solvability and stability of the linearized problem in the Newton’s
method are rigorously established as well. Numerical tests are performed to confirm the anticipated numerical accuracy, computational efficiency, and structure-preserving properties of
the developed schemes. Adaptive time stepping is implemented for further efficiency improvement. Finally, the proposed numerical approaches are applied to characterize ion transport
subject to a sinusoidal applied potential.
AMS subject classifications: 65N06, 35K61, 35Q92, 92D15
Keywords: Ion transport; Harmonic-mean approximation; Conservation; Positivity; Energy
dissipation; Newton’s method
### 1 Introduction
Ion transport plays a fundamental role in many applications, such as electrochemical energy
devices [4], electrokinetics in microfluidics [48], and transmembrane ion channels [53]. It is often
∗Department of Mathematics and Mathematical Center for Interdiscipline Research, Soochow University, 1 Shizi
Street, Suzhou 215006, Jiangsu, China
†Department of Mathematics and Statistics, Florida International University, Miami, FL, 33199, U. S. A.
‡Corresponding author. Department of Mathematics and Mathematical Center for Interdiscipline Research,
Soochow University, 1 Shizi Street, Suzhou 215006, Jiangsu, China. E-mail: sgzhou@suda.edu.cn.
1
described by the so-called Poisson–Nernst–Planck (PNP) equations, which consist of the Poisson’s
equation and the Nernst–Planck (NP) equations. Based on a mean-field approximation, the
NP equations describe the diffusion of ions in the gradient of the electrostatic potential. The
Poisson’s equation determines the electrostatic potential with the charge density arising from
diffusing ions. Recently, there has been growing interests in incorporating effects that are beyond
the mean-field description, e.g., the steric effect, inhomogeneous dielectric effect, and ion-ion
correlations [23–26,28,30,33,37,39,45,46,49,51,52,55].
In this work, we develop efficient and structure-preserving finite difference schemes for the
PNP equations
∂tc <sup>l</sup> = ∇· (∇c <sup>l</sup> + q <sup>l</sup> c <sup>l</sup> ∇ψ), l = 1, · · ·, M,
M (1)
- κ∆ψ = q <sup>l</sup> c <sup>l</sup> + ρ <sup>f</sup> .
l=1
Here c <sup>l</sup> is the ion concentration for the l-th species, q <sup>l</sup> is the valence of the l-th ionic species, κ > 0
is a coefficient arising from nondimensionalization, ψ is the electrostatic potential, and ρ <sup>f</sup> is the
fixed charge density.
The analytical solutions to (1) with zero-flux boundary conditions possess several physically
desired properties, including mass conservation, positivity preservation, and free-energy dissipation, i.e.,
∂tc <sup>l</sup> = ∇· (∇c <sup>l</sup> + q <sup>l</sup> c <sup>l</sup> ∇ψ), l = 1, · · ·, M,
(1)
- κ∆ψ =
M
l=1
q <sup>l</sup> c <sup>l</sup> + ρ <sup>f</sup> .
l=1
c <sup>l</sup>
c <sup>l</sup> (t, ·) dV =
c <sup>l</sup> in <sup>(·) dV,</sup> ∀t > 0, (2a)
Ω
Ω
<sup>l</sup> in <sup>(·) > 0 =⇒</sup> <sup>cl(t, ·) > 0,</sup> ∀t > 0, (2b)
d
dt <sup>F</sup> <sup>= −</sup>
M
l=1
Ω
1
(2c)
c <sup>l (|∇cl + qlcl∇ψ|2)dV</sup> <sup>≤</sup> <sup>0,</sup>
where the free energy F, aside from some boundary contributions, is defined by
c <sup>l</sup> log c <sup>l</sup> + <sup>1</sup> 2 <sup>(qlcl + ρf</sup> <sup>)ψ</sup> dV. (3)
-
Ω
F =
M
l=1
The free energy contains both an entropic contribution and an electrostatic energy: c <sup>l</sup> logc <sup>l</sup> is the
entropy related to the Brownian motion of each ion species, and <sup>1</sup> 2 <sup>(qlcl + ρf</sup> <sup>)ψ</sup> <sup>is</sup> <sup>the</sup> <sup>(mean-field)</sup>
electrostatic energy of the Coulomb interaction between charged ions. The concentrations are
expected to converge to an equilibrium solution in a closed system regardless of how initial data
are distributed.
These nice mathematical features are crucial for the analytical study of the PNP equations.
For instance, by an energy estimate with the control of the free-energy dissipation, the solution
is shown to converge to the thermal equilibrium state as time becomes large, if the boundary
conditions are in thermal equilibrium (see, e.g., [16]). Long time behavior was studied in [6],
and further in [2,5] with refined convergence rates. Results for the drift-diffusion model, i.e., the
PNP equations in the semiconductor literature, with regarding global existence, uniqueness, and
asymptotic behavior in the case of different boundary conditions have been established in the
works [12,13,17,42].
2
The PNP equations can hardly be solved analytically due to the nonlinear coupling of the
electrostatic potential and ionic concentrations. Much effort has been devoted to the development
of numerical methods in various applications [7–10,14,15,18,31,32,35,36,40,41,43,44,49,50,54].
The existing algorithms range from finite difference to finite elements in both one dimension and
high dimensions. Among these developed schemes, several attempts are made to design desirable
numerical schemes that respect the nice properties (2) of analytical solutions. In [15], for instance,
a second-order conservative, energy dissipative finite difference method was presented for the onedimensional PNP equations. A delicate temporal discretization scheme was designed to preserve
energy dynamics in [14]. A hybrid conservative scheme that uses adaptive grids was developed to
solve the PNP equations on irregular domains [41]. A type of finite difference schemes has been
developed using the Slotboom transformation of the Nernst–Planck (NP) equations:
∂tc <sup>l</sup> = ∇·
�e <sup>−qlψ</sup> ∇g <sup>l�</sup>
, (4)
where g <sup>l</sup> = c <sup>l</sup> e <sup>qlψ</sup> are the Slotboom variables [32,33,36,38,39]. By using the Slotboom variables,
Liu and Wang [31] developed a free energy satisfying finite difference scheme that preserves those
three properties with rigorous proof in one dimension. A free energy satisfying discontinuous
Galerkin method was also developed by the same authors in [32], in which the positivity of numerical solutions was not proved but enforced by an accuracy-preserving limiter. An implicit finite
difference scheme was developed to solve the PNP equations with properties of positivity preservation and energy dissipation [22]. The resulting nonlinear discretization system was numerically
solved by a fixed-point iteration method. Gao and He [18] proposed a linearized convergent finite
element scheme that conserves total concentration and preserves the electric energy. Rigorous
error analysis of finite element type methods for the PNP equations has been studied in [19,50].
A finite element discretization that can enforce positivity of numerical solutions was developed for
the PNP equations, as well as the PNP equations coupling with the incompressible Navier-Stokes
equations [40].
Although some progress has been made on the development of numerical methods that ensure the desired properties, it is still desirable to have computationally efficient and robust finite
difference schemes that incorporate all three desired properties together, especially in high dimensions. Among three properties (2), the preservation of positivity is crucial to the validity of
a numerical solution and is in particular hard to achieve. For instance, the positivity has been
proved in [15] for the one-dimensional PNP equations, under assumptions that the gradient of
the electrostatic potential is bounded and mesh step sizes satisfy certain constraint conditions.
The numerical scheme developed in [31] has been proved to preserve positivity of the numerical
solution but in one-dimensional case. Furthermore, one constraint on a mesh ratio needs to be
satisfied to ensure positivity, due to the explicit nature of the scheme. From a practical point of
view, implicit or semi-implicit schemes that preserve positivity are much more computationally
efficient, because larger time-stepping sizes are allowed in temporal integration. In our recent
work [11], we proposed efficient semi-implicit schemes that respect the desired properties. While
the scheme allows relatively large time steps and is successful in positivity persevering and mass
conservation, the energy dissipation is only proved in a semi-discrete form.
In this work, we develop implicit finite difference schemes for the multi-dimensional PNP
equations with multiple ionic species that respect conservation, positivity preserving, and energy
dissipation at fully discrete level. The NP equations reformulated in the Slotboom variables are
3
spatially discretized by a central-differencing scheme based on harmonic-mean approximations.
The backward Euler method in time is employed to derive a nonlinear coupled system, which is
efficiently solved by a newly proposed Newton’s method. The improved efficiency of the Newton’s
method is achieved via using the electrostatic potential as the iteration variable, rather than
the unknowns of the nonlinear system that involves both the potential and concentrations of
multiple ionic species. The advantages of the proposed Newton’s method in saving memory and
computational efficiency become more significant when the number of ionic species gets larger. In
addition, numerical simulations demonstrate that the Newton’s method requires appreciably fewer
iteration steps and less computational time, in comparison with a typical fixed-point iteration
method. Such a Netwon’s method can be employed to solve nonlinear systems resulting from
other implicit discretization of the PNP-type equations.
We perform detailed numerical analysis to prove that the numerical schemes respect three
desired analytical properties fully discretely. Thanks to the advantages brought by the harmonicmean approximations, we are able to establish upper bounds on condition numbers of coefficient
matrices of linear systems resulting from both the discretization of the NP equations, and solvability and stability of the linearized problem in the Newtons method. The linear systems are
efficiently solved using iterative methods with preconditioners. Numerical simulations are presented to demonstrate that the developed schemes have expected numerical accuracy, computational efficiency, and structure-preserving properties. An adaptive time stepping strategy is
employed to achieve further improvement in computational efficiency. The benefit of the adaptive
time stepping is demonstrated in the application of the proposed numerical approaches to probing
ion transport in response to an alternating applied potential. Finally, the developed numerical
approaches are applied to understand charge dynamics in electrolytes between two parallel electrodes exposed to sinusoidal applied potentials. The impact of frequency of the sinusoidal applied
potentials is extensively investigated in numerical simulations.
The rest of this paper is organized as follows. In Section §3, we start with details of our settings,
and present our implicit finite difference method in both spatial and temporal discretization.
In Section §4 we prove the main properties at fully discrete level, including conservation, freeenergy dissipation, positivity preservation. Section §5 is devoted to numerical examples, including
accuracy test, charge dynamics, and adaptive time stepping. Finally, we conclude in Section §6.
### 2 The PNP equations
We consider the initial-boundary value problem
ψ(·) = V (·) on ΓD, and κ <sup>∂ψ</sup> ∂n <sup>= σ(·)</sup> <sup>on</sup> <sup>ΓN</sup> <sup>.</sup>
4
∂tc <sup>l</sup> = ∇· (∇c <sup>l</sup> + q <sup>l</sup> c <sup>l</sup> ∇ψ) for t > 0 and l = 1, · · ·, M,
- κ∆ψ =
M
l=1
q <sup>l</sup> c <sup>l</sup> + ρ <sup>f</sup>,
l=1
c <sup>l</sup> (0, ·) = c <sup>l</sup>
<sup>l</sup> in <sup>(·),</sup>
(5)
∂c <sup>l</sup>
<sup>∂ψ</sup> ∂n <sup>= 0</sup> <sup>on</sup> <sup>∂Ω,</sup>
∂c∂n <sup>l</sup> <sup>+ qlcl ∂ψ</sup> ∂n
Here Ωis a bounded domain, n is a unit exterior normal vector on the boundary ∂Ω, c <sup>l</sup> in <sup>are</sup>
initial concentration distributions. To be general, we here consider both Dirichlet and Neumann
boundary conditions for the electrostatic potential, i.e., V (x) is a given electrostatic potential
defined on the Dirichlet boundary ΓD, and σ(x) is the surface charge density defined on the
Neumann boundary ΓN with ΓD ∩ ΓN = Ø and ΓD ∪ ΓN = ∂Ω. The corresponding total free
energy with boundary contributions is given by [34]
c <sup>l</sup> log c <sup>l</sup> + 2 <sup>1</sup>
2 <sup>1</sup> <sup>(qlcl + ρf</sup> <sup>)ψ</sup> dV - <sup>1</sup> 2
Ω
2
F =
M
l=1
2
ΓD
κ <sup>∂ψ</sup> ∂n
<sup>∂ψ</sup> ∂n <sup>V dS +</sup> <sup>1</sup> 2
ΓN
σψdS. (6)
With initial-boundary conditions given in (5), the property of free-energy dissipation (2c) can be
derived as well.
Theorem 2.1 The solution to the PNP equations (5) satisfies the energy dissipation law
Ω
ΓN
dσ
dt <sup>ψdS −</sup>
dV
dt <sup>dS.</sup> (7)
ΓD
κ <sup>∂ψ</sup>
∂n
dF
dt <sup>= −</sup>
M
l=1
c1 <sup>l |∇cl + qlcl∇ψ|2dV</sup> <sup>+</sup>
Proof Taking a derivative with respect to time, we have by integration by parts that
(q <sup>l</sup> c <sup>l</sup> + ρ <sup>f</sup> ) <sup>dψ</sup> dt
<sup>dψ</sup> dt <sup>−</sup> <sup>ql dc</sup> dt <sup>l</sup>
dt <sup>l</sup> <sup>ψ</sup>
d
dt <sup>F</sup> <sup>= −</sup>
Ω
dV
M
l=1
l=1
c1 <sup>l |∇c + qlcl∇ψ|2 +</sup> <sup>1</sup> 2
c1 <sup>l |∇c + qlcl∇ψ|2 +</sup> <sup>1</sup> 2
∂n
- ∂ψ
V + <sup>∂ψ</sup>
∂n
dS.
+ <sup>1</sup>
2
ΓN
dt
- d
∂n
dS − <sup>1</sup>
2
2
ΓD
κ
dV
dt
dt <sup>ψ + σdψ</sup> dt
- dσ
dt
It follows from the Poisson’s equation that
M
l=1
(q <sup>l</sup> c <sup>l</sup> + ρ <sup>f</sup> ) <sup>dψ</sup> dt
ψ <sup>dσ</sup> dt
<sup>dψ</sup> dt <sup>−</sup> <sup>ql dc</sup> dt <sup>l</sup>
dt <sup>l</sup> <sup>ψ</sup>
l=1
1
2
V - <sup>∂ψ</sup>
∂n ∂n
- ∂ψ
dV
Ω
dS
= <sup>1</sup>
dt
- d
dV
dt
2
ΓN
dS + <sup>1</sup>
2
2
ΓD
κ
<sup>dσ</sup> dt <sup>−</sup> <sup>σdψ</sup> dt
dt
Substituting into the above equation completes the proof.
One can observe from (7) that the total free energy of the system is dissipating if the boundary
data are independent of time.
### 3 Numerical Method
3.1 Discretization and Notations
The spatial discretization is similar to our previous work [11]. For completeness of the presentation, we briefly introduce notations and recall the discretization scheme. For simplicity, we
consider a 2D rectangular computational domain Ω= [a, b] × [c, d] with boundaries
ΓD = {(x, y) : x = a or b, c ≤ y ≤ d} and ΓN = {(x, y) : y = c or d, a ≤ x ≤ b} .
5
The computational domain is covered by the non-uniform grid points {xi, yj} with
a = x 12 <sup>< x 3</sup> 2 <sup>< · · · < xNx+ 1</sup> 2 <sup>= b,</sup>
c = y 12 <sup>< y 3</sup> 2 <sup>< · · · < yNy+ 1</sup> 2 <sup>= d,</sup>
where Nx and Ny are the number of grid points along each dimension. We also introduce grid
points with integer indices:
yj− 21 <sup>+ yj+ 1</sup> 2
for i = 1, . . ., Nx, j = 1, . . ., Ny.
2
xi =
xi− 12 <sup>+ xi+ 1</sup> 2
and yj =
2
The grid spacings are given by
h <sup>x</sup> i
2 <sup>1</sup> <sup>−</sup> <sup>xi−</sup> <sup>1</sup> 2 <sup>,</sup> <sup>h</sup> j <sup>y</sup> <sup>= y</sup> j+ 2 <sup>1</sup>
<sup>x</sup> i <sup>= x</sup> i+ 2 <sup>1</sup>
2 <sup>1</sup> <sup>−</sup> <sup>yj−</sup> 2 <sup>1</sup> <sup>for</sup> <sup>i = 1, . . ., Nx,</sup> <sup>j</sup> <sup>= 1, . . ., Ny,</sup>
and
h <sup>x</sup>
i
<sup>1</sup> j+ <sup>1</sup>
2 <sup>= xi+1 −</sup> <sup>xi,</sup> <sup>hy</sup> 2
i+ <sup>1</sup>
<sup>1</sup>
2 <sup>= yj+1 −</sup> <sup>yj</sup> <sup>for</sup> <sup>i = 1, . . ., Nx −</sup> <sup>1,</sup> <sup>j</sup> <sup>= 1, . . ., Ny −</sup> <sup>1.</sup>
We denote by c <sup>l</sup> i,j <sup>,</sup> <sup>g</sup> i,j <sup>l</sup> <sup>,</sup> <sup>and</sup> <sup>ψi,j</sup> <sup>the</sup> <sup>semi-discrete</sup> <sup>approximations</sup> <sup>of</sup> <sup>cl(t, xi, yj),</sup> <sup>gl(t, xi, yj),</sup> <sup>and</sup>
ψ(t, xi, yj), respectively. Define discrete operators
We denote by c <sup>l</sup>
<sup>l</sup> i,j <sup>,</sup> <sup>gl</sup>
.
<sup>D</sup> x <sup>+fi−1,j</sup>
h <sup>x</sup> i
x <sup>+fi,j</sup> <sup>=</sup> <sup>fi+1,j</sup> <sup>−</sup> <sup>fi,j</sup>
h <sup>x</sup>
x
x <sup>2fi,j</sup> <sup>=</sup> <sup>D+</sup>
i
Dx <sup>+</sup>
h <sup>x</sup>
i
x <sup>+fi,j</sup> <sup>−</sup> <sup>D</sup> x <sup>+</sup>
<sup>fi,j</sup>, Dx <sup>2</sup>
2 <sup>1</sup>
i+ 2 <sup>1</sup>
Discrete operators Dy <sup>+</sup>
y <sup>+</sup> <sup>and</sup> <sup>D</sup> y <sup>2</sup>
y <sup>2</sup> <sup>can</sup> <sup>be</sup> <sup>analogously</sup> <sup>defined.</sup> <sup>Also,</sup> <sup>we</sup> <sup>introduce</sup>
h <sup>x</sup> m
h <sup>y</sup>
<sup>x</sup> m <sup>= min(h</sup> 1 <sup>x</sup>
<sup>y</sup> m <sup>= min(h</sup> 1 <sup>y</sup>
1 <sup>x, · · ·</sup> <sup>, hx</sup> Nx <sup>),</sup> <sup>hx</sup> M
1 <sup>y, · · ·</sup> <sup>, hy</sup> Ny <sup>),</sup> <sup>hy</sup> M
<sup>x</sup> M <sup>= max(h</sup> 1 <sup>x</sup>
<sup>y</sup> M <sup>= max(h</sup> 1 <sup>y</sup>
1 <sup>x, · · ·</sup> <sup>, hx</sup> Nx <sup>),</sup>
1 <sup>y, · · ·</sup> <sup>, hy</sup> Ny <sup>).</sup>
We now present our implicit finite difference method by discretiztion in space and time separately. Note that, although our discretization is presented for a 2D case, it can be readily extended
to three dimensions in a dimension-by-dimension manner.
3.2 Finite difference method in space
1) Spatial discretization of the Poisson’s equation
With given semi-discrete approximations c <sup>l</sup> i,j <sup>,</sup> <sup>we</sup> <sup>discretize</sup> <sup>the</sup> <sup>Poisson’s</sup> <sup>equation</sup> <sup>with</sup> <sup>a</sup> <sup>central</sup>
differencing stencil
- κ(Dx <sup>2</sup>
x <sup>2</sup> <sup>+ D</sup> y <sup>2</sup>
y <sup>2)ψi,j</sup> <sup>=</sup>
i,j <sup>f</sup> <sup>,</sup> <sup>i = 1, . . ., Nx,</sup> <sup>j</sup> <sup>= 1, . . ., Ny.</sup> (8)
M
l=1
q <sup>l</sup> c <sup>l</sup>
<sup>l</sup> i,j <sup>+ ρf</sup>
We employ central differencing stencils again to discretize the Dirichlet boundary conditions on
ΓD by
ψ0,j + ψ1,j
= ψD(t, b, yj) for j = 1, . . ., Ny, (9)
2
+ ψ1,j ψNx+1,j + ψNx,j
= ψD(t, a, yj),
2 2
6
and the Neumann boundary conditions on ΓN by
−κDy <sup>+</sup>
y <sup>+ψi,0</sup> <sup>= σ(t, xi, a),</sup> κDy <sup>+</sup>
y <sup>+ψi,N</sup> y <sup>= σ(t, xi, b)</sup> <sup>for</sup> <sup>i = 1, . . ., Nx.</sup> (10)
Notice that the definition of the boundary data ψD and σ have been extended to the whole
computational domain. In numerical implementation, the ghost points outside Ωare eliminated
by coupling the discretization scheme (8) and boundary discretization (9) and (10). The coupled
difference equations can be written in a matrix form
L ψ =
M
q <sup>l</sup> c <sup>l</sup> + ρ <sup>f</sup> + b . (11)
l=1
Here L is the coefficient matrix, the column vector b results from the boundary conditions (9)
and (10), and ψ, c <sup>l</sup>, and ρ <sup>f</sup> are vectors with components being ψi,j, c <sup>l</sup> i,j <sup>,</sup> <sup>and</sup> <sup>ρf</sup> i,j <sup>,</sup> <sup>respectively.</sup>
<sup>l</sup> i,j <sup>,</sup> <sup>and</sup> <sup>ρf</sup> i,j
<sup>f</sup> i,j <sup>,</sup> <sup>respectively.</sup>
2) Spatial discretization of the NP equations
We first introduce a Slotboom reformulation of the Nernst–Planck equations:
�e <sup>−Sl</sup> ∇g <sup>l�</sup>
∂tc <sup>l</sup> = ∇·
, (12)
where S <sup>l</sup> = q <sup>l</sup> ψ and g <sup>l</sup> = c <sup>l</sup> e <sup>Sl</sup>, which are the Slotboom variables [32,36].
It follows from central-differencing discretization of Eq. (12) at {xi, yj} that
(13)
−S <sup>l</sup>
<sup>1</sup>
x,i− 2 <sup>1</sup>
S <sup>l</sup>
i,j− <sup>1</sup>
2 <sup>,j</sup> g� <sup>l</sup>
e
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
i,j <sup>l</sup> <sup>=h</sup> j <sup>y</sup>
−S <sup>l</sup>
−S <sup>l</sup>
i
2 <sup>1</sup> <sup>,j</sup> <sup>−</sup> <sup>e</sup>
h <sup>x</sup> i
j
i+ <sup>1</sup>
−S <sup>l</sup>
<sup>1</sup>
2 <sup>−</sup> <sup>e</sup>
i− <sup>1</sup>
d
dt <sup>cl</sup>
j
e
<sup>1</sup>
x,i+ 2 <sup>1</sup>
S <sup>l</sup>
i,j+ <sup>1</sup>
2 <sup>,j</sup> �g <sup>l</sup>
2 <sup>1</sup> <sup>,j</sup>
<sup>1</sup>
y,i,j− 2 <sup>1</sup>
2 �g <sup>l</sup>
<sup>1</sup>
y,i,j+ <sup>1</sup>
2 �g <sup>l</sup> 2
+ h <sup>x</sup> i
+ h <sup>x</sup> i
i,j+ <sup>1</sup>
i,j− <sup>1</sup>
2
:= Qi,j(c <sup>l</sup>, S <sup>l</sup> ),
where the flux is approximated by
<sup>l</sup> i,j <sup>eSl</sup>
<sup>l</sup> i,j <sup>eSl</sup>
c <sup>l</sup> i
2 <sup>1</sup> <sup>,j</sup> <sup>=</sup>
i <sup>l</sup> +1,j - c <sup>l</sup>
h <sup>x</sup>
i
i+ <sup>1</sup> 2
i,j <sup>l</sup> +1 - c <sup>l</sup>
h <sup>y</sup>
j
j+ 2 <sup>1</sup>
g�x,i <sup>l</sup> + 2 <sup>1</sup>
<sup>l</sup> i+1,j <sup>eS</sup> i <sup>l</sup>
i,j
c <sup>l</sup>
<sup>1</sup>
2 <sup>=</sup>
<sup>l</sup> i,j+1 <sup>eSl</sup>
i,j
. (14)
2 <sup>1</sup>
<sup>1</sup> 2
and g� <sup>l</sup>
y,i,j+ <sup>1</sup>
2
Harmonic-mean approximations are proposed in [11] to approximate the exponential terms at
half-grid points:
i,j <sup>l</sup> <sup>and</sup> <sup>e</sup>
i,j <sup>l</sup> <sup>.</sup> (15)
<sup>1</sup> i,j+1e <sup>−Sl</sup>
2 = <sup>2e−Sl</sup>
−S <sup>l</sup>
<sup>1</sup> i+1,j e <sup>−Sl</sup>
2 <sup>,j</sup> = <sup>2e−Sl</sup>
−S <sup>l</sup>
i,j
i,j
i,j+ <sup>1</sup>
e <sup>−Sl</sup>
i,j <sup>l</sup> +1 + e <sup>−Sl</sup>
e
i+ <sup>1</sup>
e <sup>−S</sup> i <sup>l</sup>
i <sup>l</sup> +1,j + e <sup>−Sl</sup>
The zero-flux boundary conditions are discretized by
x, 2 <sup>1</sup>
y,i,
g� <sup>l</sup>
<sup>1</sup> y,i,Ny+ <sup>1</sup>
2 <sup>= 0,</sup> g� <sup>l</sup> 2
2 <sup>1</sup> <sup>,j</sup> <sup>= 0,</sup> x,Nx+ <sup>1</sup> 2
<sup>1</sup> y,i,Ny+
2 <sup>= 0,</sup> g� <sup>l</sup>
j = 1, . . ., Ny,
<sup>1</sup> 2 <sup>,j</sup> <sup>= 0,</sup>
(16)
y,i, <sup>1</sup>
g� <sup>l</sup> 2
i = 1, . . ., Nx.
<sup>1</sup>
2 <sup>= 0,</sup>
7
3.3 Backward Euler method in time
To obtain numerical solutions of concentrations at different time steps, the semi-discrete scheme
can be integrated with various ODE solvers implicitly. With a nonuniform time step size ∆t <sup>n</sup>
and tn = tn−1 + ∆t <sup>n</sup>, c <sup>l,n</sup> i,j
<sup>l,n</sup> i,j <sup>,</sup> <sup>g</sup> i,j <sup>l,n</sup>
i,j <sup>l,n,</sup> <sup>and</sup> <sup>S</sup> i,j <sup>l,n</sup>
and tn = tn−1 + ∆t <sup>n</sup>, c <sup>l,n</sup> i,j <sup>,</sup> <sup>g</sup> i,j <sup>l,n,</sup> <sup>and</sup> <sup>S</sup> i,j <sup>l,n</sup> <sup>are</sup> <sup>used</sup> <sup>to</sup> <sup>denote</sup> <sup>the</sup> <sup>numerical</sup> <sup>approximations</sup> <sup>of</sup>
c <sup>l</sup> (tn, xi, yj), g <sup>l</sup> (tn, xi, yj), and S <sup>l</sup> (tn, xi, yj), respectively.
We employ the backward Euler discretization in c <sup>l</sup> :
c <sup>l,n</sup> i,j <sup>+1</sup>
<sup>l,n</sup> i,j <sup>+1</sup> - c <sup>l,n</sup> i,j
i,j
= Qi,j(c <sup>l,n+1</sup>, S <sup>l,n+1</sup> ), (17)
∆t <sup>n+1</sup>
which gives a fully implicit nonlinear system. Note that the zero-flux boundary conditions (16)
have been used in (17). We further rewrite (17) in a matrix form as
A <sup>l</sup> ( ψ <sup>n+1</sup> ) c <sup>l,n+1</sup> = P c <sup>l,n</sup>, l = 1, · · ·, M. (18)
Here A <sup>l</sup> ( ψ <sup>n+1</sup> ) is a square matrix dependent on q <sup>l</sup> and ψ <sup>n+1</sup>, P is a diagonal matrix given by
<sup>l,n</sup> i,j <sup>+1</sup> and c <sup>l,n</sup> i,j
N <sup>x</sup> x <sup>hy</sup> 1
<sup>y</sup> 1 <sup>, · · ·</sup> <sup>, h</sup> N <sup>x</sup> x <sup>hy</sup> N
Ny
P = diag
h <sup>x</sup> 1
<sup>x</sup> 1 <sup>hy</sup> 1 <sup>, · · ·</sup> <sup>, h</sup> 1 <sup>xhy</sup> Ny <sup>, h</sup> 2 <sup>x</sup>
2 <sup>xhy</sup> 1 <sup>, · · ·</sup> <sup>, h</sup> 2 <sup>xhy</sup> Ny <sup>, · · ·</sup> <sup>, h</sup> N <sup>x</sup>
,
and c <sup>l,n+1</sup> and c <sup>l,n</sup> are column vectors with components being c <sup>l,n</sup> i,j <sup>+1</sup>
and c <sup>l,n+1</sup> and c <sup>l,n</sup> are column vectors with components being c <sup>l,n</sup> i,j <sup>+1</sup> and c <sup>l,n</sup> i,j <sup>,</sup> <sup>respectively.</sup>
An adaptive time stepping strategy is often useful in speeding up simulations of charged
systems that have time-dependent boundary input data. One efficient way to adjust the time
step sizes has been proposed in [29,47]:
∆tmax
∆tmin,
1 + α|F <sup>′</sup> (t)| <sup>2</sup>
energy defined by
∆t <sup>n+1</sup> = max
, (19)
where α is a given constant, F (t) is the free energy defined by (6). In our numerical implementation, the temporal derivative of the free energy is approximated by a difference quotient.
The time steps ∆tmin and ∆tmax dictate the lower and upper bounds of the adaptive time steps,
respectively, i.e., ∆tmin ≤ ∆t <sup>n+1</sup> ≤ ∆tmax.
### 4 Properties of numerical solutions
The numerical solution has several important properties, as stated in the following theorems.
Theorem 4.1 (Mass conservation)The fully implicit scheme (17) respect conservation of concentration, in the sense that the total concentration remains constant in time, i.e.,
d
dt
Nx
i=1
i=1
c <sup>l</sup> i,j
<sup>l</sup> i,j <sup>hx</sup> i
<sup>x</sup> i <sup>hy</sup> j
<sup>y</sup> j <sup>= 0,</sup> (20)
Ny
j=1
j=1
Nx
i=1
c <sup>l,n</sup> i,j <sup>+1</sup>
<sup>x</sup> i <sup>hy</sup> j
i <sup>xh</sup> j <sup>y</sup>
j <sup>y.</sup> (21)
<sup>l,n</sup> i,j <sup>+1</sup> h <sup>x</sup> i
<sup>y</sup> j <sup>=</sup>
Nx Ny
i=1 j=1
-
c <sup>l,n</sup> i,j
<sup>l,n</sup> i,j <sup>h</sup> i <sup>x</sup>
i=1
Ny
j=1
j=1
8
Proof It follows from (13) that
Ny
j=1
d
dt
Nx
i=1
j=1
−S <sup>l</sup>
2
−S <sup>l</sup>
<sup>1</sup>
2 <sup>−</sup> <sup>e</sup>
= 0,
−S <sup>l</sup>
i,
<sup>1</sup>
2 <sup>−</sup> <sup>e</sup>
c <sup>l</sup>
<sup>l</sup> i,j <sup>hx</sup> i
<sup>x</sup> i <sup>hy</sup> j
<sup>y</sup> j <sup>=</sup>
Ny
j=1
h <sup>y</sup> j
h <sup>y</sup> j
Nx+ <sup>1</sup>
e
<sup>1</sup>
y, 2 <sup>1</sup>
2 �g <sup>l</sup>
<sup>1</sup>
x,Nx+ <sup>1</sup>
2 <sup>,j</sup> �g <sup>l</sup> 2
<sup>1</sup>
y,Ny+ <sup>1</sup>
2 �g <sup>l</sup> 2
(16) in
e
−S <sup>l</sup>
i,Ny + <sup>1</sup>
2
1
x, 2 <sup>1</sup>
−2S <sup>,jl</sup> g� <sup>l</sup>
i, <sup>1</sup>
+
Nx
i=1
h <sup>x</sup> i
h <sup>x</sup> i
i=1
where we have used the zero-flux boundary conditions (16) in the last step. Similarly, summing
both sides of (17) over i, j gives
Nx Ny
i=1 j=1
-
Ny
j=1
Ny
j=1
c <sup>l,n</sup> i,j <sup>+1</sup>
<sup>x</sup> i <sup>hy</sup> j
i <sup>xhy</sup> j
j <sup>y.</sup>
Nx
i=1
Qi,j(c <sup>l,n+1</sup>, S <sup>l,n+1</sup> )h <sup>x</sup> i
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
<sup>y</sup> j <sup>= ∆tn+1</sup>
<sup>l,n</sup> i,j <sup>+1</sup> h <sup>x</sup> i
<sup>y</sup> j <sup>−</sup>
Nx
i=1
c <sup>l,n</sup> i,j
<sup>l,n</sup> i,j <sup>h</sup> i <sup>x</sup>
Incorporating the zero-flux boundary conditions (16) at time tn+1 for g <sup>l,n+1</sup> = c <sup>l,n+1</sup> e <sup>Sn+1</sup> leads
to (21).
Theorem 4.2 (Positivity preserving)The numerical solutions c <sup>l,n</sup> i,j <sup>+1</sup> computed from the back
ward Euler scheme (17) remain positive in time, i.e., if c <sup>l,n</sup> i,j <sup>> 0,</sup> <sup>then</sup>
c <sup>l,n</sup> i,j <sup>+1</sup> - 0 for i = 1, · · ·, Nx, j = 1, · · ·, Ny.
Proof Analogous to the derivation in our previous work [11], we can show that
M
- 2 max{ <sup>hx</sup>
NxNy
i=1
A <sup>l</sup>
<sup>l</sup> i,j <sup>= hx</sup> i
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
j <sup>y</sup> for j = 1, . . ., NxNy,
i=1
(22)
1 < A <sup>l</sup> i,i <sup>< 1 + 4∆tn+1(</sup> <sup>h</sup> M <sup>x</sup>
h <sup>y</sup>
M
<sup>hx</sup>
h <sup>y</sup> m
<sup>l,n</sup> i,j <sup>+1</sup> - 0
m
M
+ <sup>hy</sup>
h <sup>x</sup> m
) for i = 1, . . ., NxNy,
M
<sup>hx</sup>
h <sup>y</sup> m
<sup>y</sup> m
M
, <sup>hy</sup>
h <sup>x</sup> m
} < A <sup>l</sup> i,j <sup>≤</sup> <sup>0</sup> for i, j = 1, . . ., NxNy, and i̸ = j.
We can verify that A <sup>l</sup> is an M-matrix and A <sup>l,−1</sup> - 0 in the element-wise sense. Thus, c <sup>l,n</sup> i,j <sup>+1</sup>
if c <sup>l,n</sup> i,j <sup>> 0.</sup>
The concentrations are obtained by solving the linear system (18) iteratively. For iterative
methods, it is desirable to establish estimates on the condition number of the coefficient matrix.
We now recall the estimate on the condition number of the coefficient matrix A <sup>l</sup> in the work [11],
and brief the corresponding proof with minor modifications.
Theorem 4.3 The condition number of the coefficient matrix A <sup>l</sup> satisfies
M <sup>x</sup> <sup>hy</sup>
+ 8∆t <sup>n+1</sup>
9
κ1(A <sup>l</sup> ) := ∥A <sup>l</sup> ∥1∥A <sup>l,−1</sup> ∥1 ≤ <sup>h</sup> M <sup>x</sup>
m
m <sup>y</sup> <sup>)2</sup>
h <sup>y</sup> M
(h <sup>x</sup> m)
+ h <sup>x</sup> M
M
<sup>hx</sup>
h <sup>x</sup> mhm <sup>y</sup>
. (23)
M
(h <sup>x</sup> m) <sup>2</sup> hm <sup>y</sup>
m
M
h <sup>x</sup> m(hm <sup>y</sup>
Proof From the proof of Theorem 4.2, we know that A <sup>l</sup> is an M-matrix, and therefore A <sup>l,−1</sup>
exists and is a non-negative matrix. As shown in [11], we can further prove that
h <sup>x</sup> m
<sup>y</sup> m <sup>νAl,−1</sup> <sup>≤</sup> <sup>ν,</sup>
<sup>x</sup> m <sup>hy</sup> m
). This implies that each column sum of (A <sup>l</sup> ) <sup>−1</sup> is less or equal to 1
h <sup>x</sup> mhm <sup>y</sup>
where ν = (1, · · ·, 1
NxNy
each element in (A <sup>l</sup>
- ��
m <sup>y</sup> <sup>.</sup> <sup>Since</sup>
each element in (A <sup>l</sup> ) <sup>−1</sup> is non-negative, we obtain ∥(A <sup>l</sup> ) <sup>−1</sup> ∥1 ≤ 1
h <sup>x</sup> mh <sup>y</sup> m
each element in (A <sup>l</sup> ) <sup>−1</sup> is non-negative, we obtain ∥(A <sup>l</sup> ) <sup>−1</sup> ∥1 ≤ 1
h <sup>x</sup> mh <sup>y</sup> m <sup>.</sup> <sup>Also,</sup> <sup>it</sup> <sup>follows</sup> <sup>from</sup> <sup>(22)</sup>
that
.
<sup>x</sup> M <sup>hy</sup> M
M
h <sup>x</sup> m
- hy
M
+ <sup>hx</sup>
M
<sup>hx</sup>
h <sup>y</sup> m
m
∥A <sup>l</sup> ∥1 ≤ h <sup>x</sup> M
<sup>y</sup> M <sup>+ 8∆tn+1</sup>
This completes the proof by the definition of the 1-norm condition number.
Our numerical scheme also respects the property of free-energy dissipation at full discrete level,
when the boundary data is independent of time. The total discrete free energy (6) is approximated
by
<sup>1</sup> i,j <sup>+ ρf</sup>
2 <sup>(qlcl,n</sup>
Fh <sup>n</sup> <sup>=</sup>
M
l=1
Nx
i=1
h <sup>x</sup> i
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
j
c <sup>l,n</sup> i,j
<sup>l,n</sup> i,j <sup>log cl,n</sup> i,j
<sup>l,n</sup> i,j <sup>+</sup> <sup>1</sup>
2
i,j <sup>f</sup> <sup>)ψ</sup> i,j <sup>n</sup>
i,j
Ny
j=1
j=1
l=1
i=1
Ny
j=1
+ V 1
(V 12
1
2 <sup>,j</sup>
(24)
h <sup>x</sup> i
h <sup>x</sup> i
VNx+ 12
(VNx+ 12
12 <sup>,j</sup>
12 <sup>,j</sup> <sup>−</sup> <sup>ψ</sup> N <sup>n</sup> x,j <sup>)</sup>
+
h <sup>y</sup> j <sup>κ</sup>
h <sup>y</sup> j
12 <sup>,j</sup> <sup>−</sup> <sup>ψ</sup> 1 <sup>n</sup>,j <sup>)</sup>
j=1
Nx
i=1
σi,Ny+ 12
2 <sup>1</sup> <sup>(h</sup> j <sup>yσ</sup> i, <sup>1</sup> 2
.
<sup>1</sup> 2 <sup>/κ + 2ψ</sup> i, <sup>n</sup> 1 <sup>)</sup>
i=1
h <sup>x</sup> i
2
12 <sup>(h</sup> j <sup>yσ</sup> i,Ny+ <sup>1</sup> 2
<sup>1</sup> 2 <sup>/κ + 2ψ</sup> i,N <sup>n</sup> y <sup>) + σ</sup> i, 2 <sup>1</sup>
Note that it is easy to verify that such an approximation is second-order accurate in space.
Theorem 4.4 (Energy dissipation) The fully discrete free energy Fh is non-increasing for
time-independent boundary data in the sense that
ξi <sup>x</sup>
i,j <sup>l,n+1</sup> and gi,j <sup>l,n</sup> +1 <sup>+1</sup>
−S <sup>l,n+1</sup>
Ny
j=1
y,i,j+ 2 <sup>1</sup>
���gl,n+1
x,i+ 2 <sup>1</sup>
���gl,n+1
i,j+ <sup>1</sup> 2
ξj <sup>y</sup>
i+ 2 <sup>1</sup>
<sup>e</sup>
2 <sup>1</sup> <sup>,j</sup>
Fh <sup>n+1</sup>
h <sup>n</sup> <sup>= −</sup>
h <sup>n+1</sup> - Fh <sup>n</sup>
M
l=1
Nx
i=1
∆t <sup>n+1</sup>
j
��2
(25)
≤ 0,
2
i <sup>x</sup> <sup>is</sup> <sup>a</sup> <sup>number</sup> <sup>between</sup> <sup>g</sup> i,j <sup>l,n+1</sup>
gi <sup>l,n</sup> +1 <sup>+1</sup>,j <sup>,</sup> <sup>and</sup> <sup>ξ</sup> j <sup>y</sup>
j <sup>y</sup> <sup>is</sup> <sup>a</sup> <sup>number</sup> <sup>between</sup> <sup>g</sup> i,j <sup>l,n+1</sup>
<sup>l,n+1</sup>
i,j+1 <sup>.</sup>
−S <sup>l,n+1</sup>
i,j+ <sup>1</sup> 2
2 <sup>1</sup> <sup>,j</sup> ξj <sup>y</sup>
��2 + e
where ξi <sup>x</sup>
i,j <sup>l,n+1</sup> and gi <sup>l,n</sup> +1 <sup>+1</sup>,j
Proof The fully discrete NP equations are given by
i,j− <sup>1</sup>
−S <sup>l,n+1</sup>
i− <sup>1</sup>
2 <sup>1</sup> <sup>,j</sup> <sup>−</sup> <sup>e</sup>
i− <sup>1</sup>
+
.
−S <sup>l,n+1</sup>
−S <sup>l,n+1</sup>
i,j− <sup>1</sup>
<sup>1</sup>
2 <sup>−</sup> <sup>e</sup>
i+ <sup>1</sup>
<sup>1</sup>
x,i+ 2 <sup>1</sup>
2 <sup>,j</sup> g� <sup>l,n+1</sup>
<sup>−</sup> <sup>e</sup> x,i− 2 <sup>1</sup> <sup>,j</sup>
h <sup>x</sup> i
2 <sup>,j</sup> �g <sup>l,n+1</sup>
i,j+ <sup>1</sup>
<sup>1</sup>
y,i,j+ <sup>1</sup>
2
2 �g <sup>l,n+1</sup>
c <sup>l,n</sup> i,j <sup>+1</sup>
<sup>l,n</sup> i,j <sup>+1</sup> - c <sup>l,n</sup> i,j
e
−S <sup>l,n+1</sup>
e
j
i,j
=
∆t <sup>n+1</sup>
i
2
h <sup>y</sup> j
<sup>1</sup>
x,i− 2 <sup>1</sup>
2 <sup>,j</sup> �g <sup>l,n+1</sup>
<sup>1</sup>
y,i,j− 2 <sup>1</sup>
2 �g <sup>l,n+1</sup>
Multiplying both sides by log c <sup>l,n</sup> i,j <sup>+1</sup>
i,j <sup>n+1</sup> and summing over indices i, j, l lead to
<sup>l,n</sup> i,j <sup>+1</sup> + q <sup>l</sup> ψi,j <sup>n+1</sup>
<sup>l,n</sup> i,j <sup>)(log c</sup> i,j <sup>l,n+1</sup>
i,j <sup>n+1)</sup>
<sup>)(log c</sup> i,j <sup>l,n+1</sup> + q <sup>l</sup> ψi,j <sup>n+1)</sup> + <sup>e</sup>
∆t <sup>n+1</sup>
i,j <sup>l,n+1</sup> + q <sup>l</sup> ψi,j <sup>n+1</sup>
M
l=1
Nx
i=1
Ny
j=1
(c <sup>l,n</sup> i,j <sup>+1</sup>
<sup>l,n</sup> i,j <sup>+1</sup> - c <sup>l,n</sup> i,j
y,i,j+ 2 <sup>1</sup>
���gl,n+1
i,j+ <sup>1</sup> 2
��2 = 0, (26)
−S <sup>l,n+1</sup>
ξi <sup>x</sup>
i+ <sup>1</sup> 2
<sup>1</sup> 2 <sup>,j</sup>
x,i+ 2 <sup>1</sup>
���gl,n+1
−S <sup>l,n+1</sup>
i,j+ <sup>1</sup> 2
2 <sup>1</sup> <sup>,j</sup> ξj <sup>y</sup>
��2+ e
2
ξj <sup>y</sup>
j
10
<sup>l,n</sup> i+1 <sup>+1</sup>,j <sup>eS</sup> i <sup>l,n</sup> +1 <sup>+1</sup>,j
i <sup>y</sup> <sup>is between c</sup> i,j <sup>l,n+1</sup>
<sup>l,n</sup> i,j+1 <sup>+1eS</sup> i,j <sup>l,n</sup> +1 <sup>+1</sup>
i <sup>x</sup> <sup>is between c</sup> i,j <sup>l,n+1</sup>
i <sup>l,n</sup> +1 <sup>+1</sup>,j, and ξi <sup>y</sup>
i,j
i,j <sup>l,n+1</sup> e <sup>Sl,n+1</sup>
i,j
<sup>l,n+1</sup> and c <sup>l,n</sup> i,j+1 <sup>+1</sup>
i,j i,j
where ξi <sup>x</sup> <sup>is between c</sup> i,j <sup>l,n+1</sup> e <sup>Sl,n+1</sup> and c <sup>l,n</sup> i+1 <sup>+1</sup>,j <sup>eS</sup> i <sup>l,n</sup> +1 <sup>+1</sup>,j, and ξi <sup>y</sup> <sup>is between c</sup> i,j <sup>l,n+1</sup> e <sup>Sl,n+1</sup> and c <sup>l,n</sup> i,j+1 <sup>+1eS</sup> i,j <sup>l,n</sup> +1 <sup>+1</sup> .
Here the summation by parts have been used. By (26), we have
where ξi <sup>x</sup>
i,j
i,j <sup>l,n+1</sup> e <sup>Sl,n+1</sup>
i,j
<sup>l,n+1</sup> and c <sup>l,n</sup> i+1 <sup>+1</sup>,j
Ny
j=1
l=1
c <sup>l,n</sup> i,j <sup>log c</sup> i,j <sup>l,n</sup>
i,j <sup>l,n</sup> <sup>−</sup> <sup>log c</sup> i,j <sup>l,n+1</sup>
Fh <sup>n+1</sup>
h <sup>n</sup> <sup>=</sup>
h <sup>n+1</sup> - Fh <sup>n</sup>
M
l=1
+ <sup>1</sup>
2
j
c <sup>l,n</sup> i,j <sup>+1</sup>
Nx
i=1
h <sup>x</sup> i
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
��
c <sup>l,n</sup> i,j <sup>+1</sup>
<sup>l,n</sup> i,j <sup>+1</sup> - c <sup>l,n</sup> i,j
i,j
<sup>l,n</sup> i,j <sup>+1</sup> log c <sup>l,n</sup> i,j <sup>+1</sup>
<sup>l,n</sup> i,j <sup>+1</sup> - c <sup>l,n</sup> i,j
i,j
i=1
Ny
j=1
j=1
q <sup>l</sup> c <sup>l,n</sup> i,j
+ <sup>1</sup>
M
l=1
h <sup>x</sup> i
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
ψi,j <sup>n+1</sup>
ψi,j <sup>n+1</sup>
ci,j <sup>l,n+1</sup>
i,j <sup>l,n+1</sup> - c <sup>l,n</sup> i,j
j
��
ψi,j <sup>n</sup>
i,j <sup>n</sup> <sup>−</sup> <sup>2qlψ</sup> i,j <sup>n+1</sup>
i,j
i,j
<sup>l,n</sup> i,j <sup>+ ρf</sup>
i,j
q <sup>l</sup> c <sup>l,n</sup> i,j <sup>+1</sup>
��
<sup>l,n</sup> i,j <sup>+1</sup> + ρ <sup>f</sup> i,j
i,j
Nx
i=1
i=1
+ V 1
h <sup>x</sup> i
h <sup>x</sup> i
(ψ1 <sup>n</sup>
1
2 <sup>,j</sup>
VNx+ 12
(ψN <sup>n</sup>
12 <sup>,j</sup>
N <sup>n</sup> x,j <sup>−</sup> <sup>ψ</sup> N <sup>n+1</sup> x,j
N <sup>n+1</sup> x,j <sup>)</sup>
+
Ny
j=1
i=1
M
l=1
h <sup>y</sup> j <sup>κ</sup>
h <sup>y</sup> j
Nx
i=1
1 <sup>n</sup>,j <sup>−</sup> <sup>ψ</sup> 1 <sup>n</sup>,j <sup>+1)</sup>
j=1
Nx
i=1
−S <sup>l,n+1</sup>
−S <sup>l,n+1</sup>
σi,Ny+ 12
<sup>1</sup> i,1 - 2ψi, <sup>n</sup>
2 <sup>(2ψn+1</sup>
i,N <sup>n</sup> y <sup>) + σ</sup> i, 2 <sup>1</sup>
i, <sup>n</sup> 1 <sup>)</sup>
h <sup>x</sup> i
2
12 <sup>(2ψ</sup> i,N <sup>n+1</sup> y <sup>−</sup> <sup>2ψn</sup>
Ny
j=1
Nx
i=1
y,i,j+ 2 <sup>1</sup>
���gl,n+1
��2
2
ξj <sup>y</sup>
i,j+ 2 <sup>1</sup>
∆t <sup>n+1 e</sup>
ξi <sup>x</sup>
i+ 2 <sup>1</sup>
2 <sup>1</sup> <sup>,j</sup>
x,i+ 2 <sup>1</sup> <sup>,j</sup>
���gl,n+1 ��2 −
2 <sup>1</sup> <sup>,j</sup>
��2 −
M
l=1
∆t <sup>n+1 e</sup>
j
l=1
i=1
Ny
j=1
j=1
:= I1 + I2 + I3,
(27)
where
<sup>l,n</sup> i,j <sup>log c</sup> i,j <sup>l,n</sup>
i,j <sup>l,n</sup> <sup>−</sup> <sup>log c</sup> i,j <sup>l,n+1</sup>
j
I1 =
M
l=1
h <sup>x</sup> i
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
,
��
c <sup>l,n</sup> i,j <sup>+1</sup>
c <sup>l,n</sup> i,j <sup>+1</sup> - c <sup>l,n</sup> i,j
i,j
c <sup>l,n</sup> i,j <sup>+1</sup>
<sup>l,n</sup> i,j <sup>+1</sup> log c <sup>l,n</sup> i,j <sup>+1</sup>
<sup>l,n</sup> i,j <sup>+1</sup> - c <sup>l,n</sup> i,j
i,j
l=1
Nx
i=1
i=1
j=1
q <sup>l</sup> c <sup>l,n</sup> i,j
Ny
j=1
I2 = <sup>1</sup>
2
I3 = −
M
l=1
M
l=1
ψi,j <sup>n+1</sup>
ψi,j <sup>n+1</sup>
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
c <sup>l,n</sup> i,j <sup>+1</sup>
<sup>l,n</sup> i,j <sup>+1</sup> - c <sup>l,n</sup> i,j
h <sup>x</sup> i
j
q <sup>l</sup> c <sup>l,n</sup> i,j <sup>+1</sup>
��
��
i,j
ψi,j <sup>n</sup>
i,j <sup>n</sup> <sup>−</sup> <sup>2qlψ</sup> i,j <sup>n+1</sup>
i,j
<sup>l,n</sup> i,j <sup>+ ρf</sup>
i,j
<sup>l,n</sup> i,j <sup>+1</sup> + ρ <sup>f</sup> i,j
i,j
Ny
j=1
j=1
l=1
Nx
i=1
i=1
+ V 1
h <sup>x</sup> i
h <sup>x</sup> i
(ψ1 <sup>n</sup>
1
2 <sup>,j</sup>
VNx+ 12
(ψN <sup>n</sup>
12 <sup>,j</sup>
N <sup>n</sup> x,j <sup>−</sup> <sup>ψ</sup> N <sup>n+1</sup> x,j
N <sup>n+1</sup> x,j <sup>)</sup>
+
Ny
j=1
j=1
Nx
i=1
h <sup>y</sup> j <sup>κ</sup>
i,N <sup>n</sup> y <sup>) + σ</sup> i, <sup>1</sup> 2
1 <sup>n</sup>,j <sup>−</sup> <sup>ψ</sup> 1 <sup>n</sup>,j <sup>+1)</sup>
−S <sup>l,n+1</sup>
σi,Ny+ 12
<sup>1</sup> 2 <sup>(2ψ</sup> i, <sup>n</sup> 1 <sup>+1</sup> - 2ψi, <sup>n</sup>
,
i, <sup>n</sup> 1 <sup>)</sup>
i=1
h <sup>x</sup> i
2
12 <sup>(2ψ</sup> i,N <sup>n+1</sup> y <sup>−</sup> <sup>2ψ</sup> i,N <sup>n</sup>
−S <sup>l,n+1</sup>
y,i,j+
|g� <sup>l,n+1</sup>
<sup>1</sup> 2 <sup>|2.</sup>
|g�x,i <sup>l,n</sup> + <sup>+11</sup> 2
2
ξj <sup>y</sup>
i,j+ 2 <sup>1</sup>
∆t <sup>n+1</sup> <sup>e</sup>
ξi <sup>x</sup>
i+ 2 <sup>1</sup>
2 <sup>1</sup> <sup>,j</sup>
<sup>1</sup> 2 <sup>,j|2 −</sup>
M
l=1
l=1
∆t <sup>n+1</sup> <sup>e</sup>
x,i+ <sup>1</sup>
y,i,j+ <sup>1</sup>
j
Ny
j=1
j=1
Nx
i=1
i=1
Ny
j=1
j=1
l=1
Nx
i=1
i=1
(28)
For the term I1, we have
Nx
i=1
Ny
j=1
c <sup>l,n</sup> i,j <sup>+1</sup>
j
1
2ζi,j <sup>l</sup>
I1 = −
M
l=1
h <sup>x</sup> i
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
<sup>l,n</sup> i,j <sup>+1</sup> - c <sup>l,n</sup> i,j
i,j
,
�2
i,j <sup>l</sup> <sup>is</sup> <sup>a</sup> <sup>number</sup> <sup>between</sup> <sup>c</sup> i,j <sup>l,n+1</sup>
where ζi,j <sup>l</sup>
i,j <sup>l,n+1</sup> and c <sup>l,n</sup> i,j
where ζi,j <sup>l</sup> <sup>is</sup> <sup>a</sup> <sup>number</sup> <sup>between</sup> <sup>c</sup> i,j <sup>l,n+1</sup> and c <sup>l,n</sup> i,j <sup>.</sup> <sup>Here</sup> <sup>we</sup> <sup>have</sup> <sup>used</sup> <sup>the</sup> <sup>Taylor</sup> <sup>expansion</sup> <sup>to</sup> <sup>the</sup>
second order and mass conservation (4.1). Hence I1 ≤ 0.
11
It follows from the discrete Poisson’s equation (8) that
q <sup>l</sup> c <sup>l,n</sup> i,j
q <sup>l</sup> c <sup>l,n</sup> i,j <sup>+1</sup>
I2 = <sup>1</sup>
2
M
l=1
Nx
i=1
i=1
��
ψi,j <sup>n</sup>
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
<sup>l,n</sup> i,j <sup>+1</sup> + ρ <sup>f</sup>
q <sup>l</sup> c <sup>l,n</sup> i,j
<sup>l,n</sup> i,j <sup>+ ρf</sup>
h <sup>x</sup> i
j
i,j
i,j <sup>n</sup> <sup>+ 2qlψ</sup> i,j <sup>n+1</sup>
i,j
ψi,j <sup>n+1</sup>
<sup>l,n</sup> i,j <sup>+ ρf</sup>
i,j
i,j
Ny
j=1
j=1
h <sup>x</sup> i
h <sup>x</sup> i
+ V 1
(ψ1 <sup>n</sup>
1
2 <sup>,j</sup>
VNx+ 12
(ψN <sup>n</sup>
12 <sup>,j</sup>
N <sup>n</sup> x,j <sup>−</sup> <sup>ψ</sup> N <sup>n+1</sup> x,j
N <sup>n+1</sup> x,j <sup>)</sup>
+
Ny
j=1
j=1
Nx
i=1
h <sup>y</sup> j <sup>κ</sup>
h <sup>y</sup> j
i,N <sup>n</sup> y <sup>) + σ</sup> i, <sup>1</sup> 2
1 <sup>n</sup>,j <sup>−</sup> <sup>ψ</sup> 1 <sup>n</sup>,j <sup>+1)</sup>
σi,Ny+ 12
<sup>1</sup> 2 <sup>(2ψ</sup> i, <sup>n</sup> 1 <sup>+1</sup> - 2ψi, <sup>n</sup> 1
i, <sup>n</sup> 1 <sup>)</sup>
i=1
h <sup>x</sup> i
2
12 <sup>(2ψ</sup> i,N <sup>n+1</sup> y <sup>−</sup> <sup>2ψn</sup>
= <sup>1</sup>
2
Nx
i=1
Ny
j=1
j=1
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
i,j <sup>n+1(D</sup> x <sup>2</sup>
i,j <sup>n</sup> <sup>(D</sup> x <sup>2</sup>
x <sup>2</sup> <sup>+ D</sup> y <sup>2</sup>
y <sup>2)ψ</sup> i,j <sup>n+1</sup>
y <sup>2)ψ</sup> i,j <sup>n</sup>
i,j <sup>n</sup> <sup>−</sup> <sup>2κψ</sup> i,j <sup>n+1</sup>
h <sup>x</sup> i
j
x <sup>2</sup> <sup>+ D</sup> y <sup>2</sup>
i,j <sup>n+1(D</sup> x <sup>2</sup>
y <sup>2)ψ</sup> i,j <sup>n</sup>
i,j
κψi,j <sup>n+1</sup>
x <sup>2</sup> <sup>+ D</sup> y <sup>2</sup>
i,j <sup>n+1</sup> + κψi,j <sup>n</sup>
h <sup>x</sup> i
h <sup>x</sup> i
+ V 1
(ψ1 <sup>n</sup>
1
2 <sup>,j</sup>
VNx+ 12
(ψN <sup>n</sup>
12 <sup>,j</sup>
1 <sup>n</sup>,j <sup>−</sup> <sup>ψ</sup> 1 <sup>n</sup>,j <sup>+1)</sup>
N <sup>n</sup> x,j <sup>−</sup> <sup>ψ</sup> N <sup>n+1</sup> x,j
N <sup>n+1</sup> x,j <sup>)</sup>
+
Ny
j=1
j=1
Nx
i=1
h <sup>y</sup> j <sup>κ</sup>
h <sup>y</sup> j
i,N <sup>n</sup> y <sup>) + σ</sup> i, <sup>1</sup> 2
σi,Ny+ 12
<sup>1</sup> 2 <sup>(2ψ</sup> i, <sup>n</sup> 1 <sup>+1</sup> - 2ψi, <sup>n</sup> 1
i, <sup>n</sup> 1 <sup>)</sup>
i=1
h <sup>x</sup> i
2
12 <sup>(2ψ</sup> i,N <sup>n+1</sup> y <sup>−</sup> <sup>2ψn</sup>
i,j <sup>n</sup> <sup>D</sup> x <sup>+</sup>
= − <sup>1</sup>
2
Nx
i=1
i=1
i,j <sup>n+1)2 + (D</sup> x <sup>+</sup>
i,j <sup>n</sup> <sup>)2 + (D</sup> y <sup>+</sup>
i,j <sup>n</sup> <sup>)2</sup>
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
(Dx <sup>+</sup>
y <sup>+ψ</sup> i,j <sup>n+1</sup>
x <sup>+ψ</sup> i,j <sup>n</sup>
y <sup>+ψ</sup> i,j <sup>n</sup>
h <sup>x</sup> i
j <sup>yκ</sup>
x <sup>+ψ</sup> i,j <sup>n+1</sup>
i,j <sup>n+1)2 + (D</sup> y <sup>+</sup>
Ny
j=1
j=1
Dy <sup>+</sup>
y <sup>+ψ</sup> i,j <sup>n</sup>
−2Dx <sup>+</sup>
i,j <sup>n+1</sup> - 2Dy <sup>+</sup>
i,j <sup>n</sup> <sup>D</sup> y <sup>+</sup>
i,j
x <sup>+ψ</sup> i,j <sup>n</sup>
x <sup>+ψ</sup> i,j <sup>n+1</sup>
y <sup>+ψ</sup> i,j <sup>n+1</sup>
Ny
j=1
= − <sup>1</sup>
2
Nx
i=1
<sup>x</sup> i <sup>h</sup> j <sup>y</sup>
Dx <sup>+</sup>
��
y <sup>+ψ</sup> i,j <sup>n</sup>
x <sup>+ψ</sup> i,j <sup>n</sup>
≤ 0,
�2 <sup>�</sup>
h <sup>x</sup> i
j <sup>yκ</sup>
i,j
+
�2
x <sup>+ψ</sup> i,j <sup>n+1</sup>
i,j <sup>n+1</sup> - Dx <sup>+</sup>
y <sup>+ψ</sup> i,j <sup>n+1</sup>
i,j <sup>n+1</sup> - Dy <sup>+</sup>
i,j
where the summation by parts has been used in the third equality.
Clearly, we have I3 ≤ 0. Combining I1, I2, and I3 completes the proof.
4.1 Newton’s iteration method and its viability
The discrete PNP equations (11) and (17) form a coupled nonlinear discrete system
A <sup>l</sup> ( ψ <sup>n+1</sup> ) c <sup>l,n+1</sup> = P c <sup>l,n</sup>, l = 1, · · ·, M,
(29)
L ψ <sup>n+1</sup> =
M
l=1
q <sup>l</sup> c <sup>l,n+1</sup> + ρ <sup>f</sup> + b <sup>n+1</sup>,
the
l=1
where ψ <sup>n+1</sup> and c <sup>l,n+1</sup> are the unknowns, and b <sup>n+1</sup> is known boundary data at time t <sup>n+1</sup> . The
nonlinear system (29) can be solved by iterative methods with iterative variables involving both
the concentration and potential. To save memory, one treatment is to decouple the system and
use a fixed-point iterative method in which the discrete Poisson’s equation and NP equations
are solved alternatively. The fixed point method is simple to implement but may suffer from
slow convergence. To speed up the convergence, we further propose a novel Newton’s iteration
approach that uses the potential as the only iterative variables.
12
The electrostatic potential that solves the system (29) can be found by solving the nonlinear
residual equations R( u ) = 0, where the vector function R : R <sup>NxNy</sup> → R <sup>NxNy</sup> is defined by
M
R( u ) := L u
l=1
q <sup>l</sup> A <sup>l,−1</sup> ( u )P c <sup>l,n</sup> - ρ <sup>f</sup> - b <sup>n+1</sup>, u ∈ R <sup>NxNy</sup> . (30)
We note that the matrix A <sup>l</sup> is invertible as shown in the proof of Theorem 4.2. To linearize, we
take the Fr´echet derivative of the residuals
dτ
J ( u )[δ u ] = <sup>dR(</sup> <sup>u</sup> <sup>+ τδ</sup> <sup>u</sup> <sup>)</sup>
dτ
τ =0
���� <sup>Al,</sup>
P c <sup>l,n</sup> .
(31)
= Lδ u
M
l=1
q <sup>l dAl,−1(</sup> <sup>u</sup> <sup>+ τδ</sup> <sup>u</sup> <sup>)</sup>
τ =0
����
To calculate the Fr´echet derivative of A <sup>l,−1</sup> ( u ), we take a derivative with respect to τ of the
identity matrix
I = A( u + τδ u )A <sup>l,−1</sup> ( u + τδ u ).
We then have
dA <sup>l,−1</sup> ( u + τδ u )
dτ
Combining (31) and (32), we have
J ( u )[δ u ] = Lδ u +
τ =0
����
M
l=1
q <sup>l</sup> A <sup>l,−1</sup> ( u ) <sup>dAl(</sup> <sup>u</sup> <sup>+ τδ</sup> <sup>u</sup> <sup>)</sup>
dτ
= −A <sup>l,−1</sup> ( u ) <sup>dAl(</sup> <sup>u</sup> <sup>+ τδ</sup> <sup>u</sup> <sup>)</sup>
dτ
τ =0
����
A <sup>l,−1</sup> ( u ). (32)
q <sup>l</sup> A <sup>l,−1</sup> ( u ) <sup>dAl(</sup> <sup>u</sup> <sup>+ τδ</sup> <sup>u</sup> <sup>)</sup>
τ =0
����
A <sup>l,−1</sup> ( u )P c <sup>l,n</sup> .
We notice that <sup>dAl(</sup> <sup>u</sup> dτ <sup>+τδ</sup> <sup>u</sup> <sup>)</sup>
We notice that <sup>dAl(</sup> <sup>u</sup> dτ <sup>+τδ</sup> <sup>u</sup> <sup>)</sup>
A <sup>l,−1</sup> ( u )P c <sup>l,n</sup> is a vector linearly dependent on δ u and can be iden
tified as
τ =0
dA <sup>l</sup> (
����
dA <sup>l</sup> ( u + τδ u )
A <sup>l,−1</sup> ( u )P c <sup>l,n</sup> = q <sup>l</sup> K( µ <sup>l</sup>, u )δ u,
dτ
τ =0
����
where K( µ <sup>l</sup>, u ) is a symmetric matrix with elements given in Appendix A and µ <sup>l</sup> = A <sup>l,−1</sup> ( u )P c <sup>l,n</sup> .
Since A <sup>l</sup> is an M-matrix, elements in the column vector µ <sup>l</sup> are all non-negative, given the concentration on the previous step, c <sup>l,n</sup>, is non-negative. We further denote by J ( u )[δ u ] = W( u )δ u,
where
M
l=1
W( u ) := L +
(q <sup>l</sup> ) <sup>2</sup> A <sup>l,−1</sup> ( u ) K( µ <sup>l</sup>, u ). (33)
l=1
In our Newton’s iteration method, for a given previous iteration step u <sup>k</sup>, we update the
potential via
u <sup>k+1</sup> = u <sup>k</sup> + δ u,
where the correction δ u solves the linear system
W( u <sup>k</sup> )δ u = −R( u <sup>k</sup> ). (34)
13
In our implementation, we solve such a linear system using the BiCGSTAB method preconditioned
with an incomplete lower-upper (iLU) decomposition of the matrix L. We remark that the
iterative method only requires multiplication of the matrix and vector (i.e., W( u <sup>k</sup> )δ u ), rather the
matrix W itself that involves the inverse of A <sup>l</sup> . Therefore, when solving the linear system (34), we
need to solve linear systems involving the coefficient matrices A <sup>l</sup>, again by using the BiCGSTAB
method preconditioned with iLU decompositions of A <sup>l</sup> . Numerical simulations reveal that the
preconditioning accelerates the convergence significantly.
We summarize the whole numerical algorithm as follows.
Algorithm 1 Numerical algorithm for the PNP equations
1: Given initial concentrations c <sup>l,0</sup>, obtain ψ <sup>0</sup> by solving the discrete Poisson’s equation (8) with
boundary conditions (9) and (10);
2: Given c <sup>l,n</sup> and ψ <sup>n</sup> at time step tn. Let k = 0 and u <sup>k</sup> = ψ <sup>n</sup> ;
3: Find v <sup>l,k</sup> by solving A <sup>l</sup> ( u <sup>k</sup> ) v <sup>l,k</sup> = P c <sup>l,n</sup> ;
l=1 <sup>ql</sup> <sup>v</sup> <sup>l,k −</sup> <sup>ρ</sup> <sup>f</sup> <sup>−</sup> <sup>b</sup> <sup>n+1;</sup>
5: Find δ u by solving the linear system W( u <sup>k</sup> )δ
4: Find R( u <sup>k</sup> ) = L u <sup>k</sup> - <sup>�M</sup>
6: Update u <sup>k+1</sup> = u <sup>k</sup> + δ u ;
5: Find δ u by solving the linear system W( u <sup>k</sup> )δ u = −R( u <sup>k</sup> ) iteratively;
6: Update u <sup>k+1</sup> = u <sup>k</sup> + δ u ;
7: Check convergence. If ∥δ u ∥∞ < Tol, let ψ <sup>n+1</sup> = u <sup>k+1</sup>, find c <sup>l,n+1</sup> by solving A <sup>l</sup> ( ψ <sup>n+1</sup> ) c <sup>l,n+1</sup> =
P c <sup>l,n</sup>, and set T = T + ∆t <sup>n+1</sup> ; else, let k = k + 1 and go to Step 3;
8: If T ≥ Tend, then stop; else, let n = n + 1 and go back to Step 2.
We now investigate the properties of the matrix W, and solvability and stability of the corresponding linear system (34).
Lemma 4.5 The coefficient matrix L in (11) is an M-matrix and ∥L∥1 < (h <sup>x</sup> m4 ) <sup>2</sup> <sup>+</sup> (h <sup>y</sup> m4 <sup>)2 .</sup>
Proof Define
[i, j] := (i − 1)Ny + j for i = 1, 2, · · ·, Nx, j = 1, 2, · · ·, Ny.
Denote by R = PL. It is easy to verify the following results:
NxNy
m=1
NxNy
m=1
NxNy
m=1
M
+ <sup>hx</sup>
Rm,n = 0 for n = [i, j] with i = 2, . . ., Nx − 1 and j = 2, . . ., Ny − 1,
m=1
j
for n = [1, j] with 1 ≤ j ≤ Ny,
<sup>x</sup> 1
2
m=1
Rm,n = 2
Rm,n = 2
h <sup>y</sup> j
h <sup>x</sup> 1
h <sup>y</sup> j
for n = [Nx, j] with 1 ≤ j ≤ Ny,
<sup>1</sup> 2
(35)
m=1
j
h <sup>x</sup>
Nx
Nx+ <sup>1</sup> 2
M
0 < Rm,m < 2( <sup>hy</sup>
h <sup>x</sup> m
M
<sup>hx</sup>
h <sup>y</sup> m
<sup>y</sup> m
) for m = 1, · · ·, NxNy,
M
- max{ <sup>hy</sup>
M
<sup>hy</sup>
h <sup>x</sup> m
M
, <sup>hx</sup>
M
<sup>hx</sup>
h <sup>y</sup> m
m
} < Rm,n = Rn,m ≤ 0 for m, n = 1, . . ., NxNy and m̸ = n.
14
For a non-zero α = (α1, α2, · · ·, αNxNy ), we have
Nx
i=1
α <sup>2</sup> [
2 <sup>1</sup>
h <sup>x</sup> i
α R α <sup>T</sup> =2
Ny
j=1
+
j
h <sup>x</sup> 1
2
Nx <sup>h</sup> N <sup>y</sup>
j
h <sup>x</sup> 1
<sup>2</sup> [1,j] <sup>+</sup>
�2 +
j
h <sup>x</sup>
Nx
Nx+ 2 <sup>1</sup>
h <sup>y</sup> j
[Nx,j]
�2 - 0.
Nx−1 Ny
i=1 j=1
-
h <sup>y</sup> j
j
h <sup>x</sup>
i+
i=1
j α <sup>2</sup> [1
<sup>x</sup> 1
2
N <sup>y</sup> y−1
j=1
j=1
i
h <sup>y</sup>
j+
j+ 2 <sup>1</sup>
2
α[i,j] − α[i+1,j]
α[i,j] − α[i,j+1]
i+ <sup>1</sup> 2
2
Thus, R is positive definite and eigenvalues of R are all positive. Moreover, R is an M-matrix
with R <sup>−1</sup> - 0. Thus, L <sup>−1</sup> = R <sup>−1</sup> P - 0. Since diagonal elements of L are all positive and
off-diagonal elements are all non-positive, we obtain that L is an M-matrix as well. From (35)
and L = P <sup>−1</sup> R, we have ∥L∥1 < (h <sup>x</sup> m4 ) <sup>2</sup> <sup>+</sup> (h <sup>y</sup> m4 <sup>)2 .</sup>
Lemma 4.6 Suppose M1 and M2 are two real square matrices. Assume that M1 is invertible
with ∥M <sup>−</sup> 1 <sup>1∥1</sup> <sup>< ∞.</sup> <sup>If</sup> <sup>∥M2∥1</sup> <sup><</sup> ∥M1 <sup>−</sup> 1 <sup>1∥1</sup> <sup>,</sup> <sup>then</sup> <sup>M1 + M2</sup> <sup>is</sup> <sup>invertible,</sup> <sup>and</sup>
<sup>−</sup> 1 <sup>1∥1</sup> <sup>< ∞.</sup> <sup>If</sup> <sup>∥M2∥1</sup> <sup><</sup> ∥M1 <sup>−</sup> 1 <sup>1</sup>
1
<sup>−</sup> 1 <sup>1∥1</sup> <sup>,</sup> <sup>then</sup> <sup>M1 + M2</sup> <sup>is</sup> <sup>invertible,</sup> <sup>and</sup>
∥M <sup>−</sup> 1 <sup>1∥1</sup>
∥ (M1 + M2) <sup>−1</sup> ∥1 ≤ . (36)
1 −∥M <sup>−</sup> 1 <sup>1∥1∥M2∥1</sup>
Proof Since M1 is invertible, we have
M1 + M2 =
I + M2M <sup>−</sup> 1 <sup>1</sup>
<sup>∥M2M</sup> 1 <sup>−1∥</sup>
<sup>−</sup> 1 <sup>1</sup> M1.
<sup>1∥1</sup> <sup>< 1.</sup>
1 <sup>−</sup> 1 <sup>1∥1</sup> <sup>implies</sup> <sup>that</sup> <sup>∥M2M</sup> 1 <sup>−1∥1</sup> <sup>< 1.</sup> <sup>By</sup> <sup>the</sup> <sup>matrix</sup> <sup>geometric</sup> <sup>series</sup>
The assumption ∥M2∥1 < ∥M1 <sup>−</sup> 1 <sup>1</sup>
<sup>−</sup> 1 <sup>1</sup>
�−1 exists and
theorem [21], we know that
∥
I + M2M <sup>−</sup> 1 <sup>1</sup>
I + M2M <sup>−</sup> 1 <sup>1</sup>
1
<sup>−</sup> 1 <sup>1</sup> 1 −∥M2∥1∥M <sup>−</sup> 1 <sup>1∥1</sup> .
�−1 ∥1 ≤
Therefore, M1 + M2 is invertible with
(M1 + M2) <sup>−1</sup> = M <sup>−</sup> 1 <sup>1</sup>
<sup>−</sup> 1 <sup>1</sup>
�−1,
and its norm satisfies
<sup>−</sup> 1 <sup>1</sup> I + M2M <sup>−</sup> 1 <sup>1</sup>
<sup>−</sup> 1 <sup>1∥1∥</sup> I + M2M <sup>−</sup> 1 <sup>1</sup>
∥ (M1 + M2) <sup>−1</sup> ∥1 ≤∥M <sup>−</sup> 1 <sup>1</sup>
∥M <sup>−</sup> 1 <sup>1</sup>
<sup>−</sup> 1 <sup>1</sup> 1 −∥M <sup>−</sup> 1 <sup>1∥</sup>
�−1 ∥1 ≤
∥M <sup>−</sup> 1 <sup>1∥1</sup>
.
1 −∥M <sup>−</sup> 1 <sup>1∥1∥M2∥1</sup>
We now derive a sufficient condition that guarantees the solvability and stability of the linearized problem (34). Denote by
(γ <sup>1</sup>, γ <sup>2</sup>, · · ·, γ <sup>NxNy</sup> ) := (1, 1, · · ·, 1)
NxNy
- ��
(35)), we have γ <sup>l</sup> - 0 for l = 1, 2,
R <sup>−1</sup> .
Since R is an M-matrix (cf. (35)), we have γ <sup>l</sup> - 0 for l = 1, 2, · · ·, NxNy. We define the index
.
l∗ := argmax
l=1,2,···,NxNy
15
γ <sup>l</sup> h <sup>x</sup> l
<sup>x</sup> l <sup>h</sup> l <sup>y</sup>
l
Theorem 4.7 If
then we have that
(1) W is invertible;
∆t <sup>n+1</sup> < 1
h <sup>y</sup> M
4γ <sup>l∗</sup>
(h
<sup>x</sup> l∗ <sup>hy</sup> l∗
<sup>y</sup> m <sup>)2hx</sup> m
l=1 <sup>(ql)2∥</sup> <sup>µ</sup> <sup>l∥∞</sup>
��M
,
h <sup>y</sup> M <sup>hx</sup> l
l∗
<sup>y</sup> m <sup>+</sup>
<sup>x</sup> l∗ <sup>hy</sup> l∗
l∗
(h <sup>x</sup> m) <sup>2</sup> h <sup>y</sup> m
h <sup>x</sup>
l∗
(h <sup>y</sup> m <sup>)2hx</sup> m
<sup>x</sup> M <sup>hx</sup> l∗
(2) ∥W <sup>−1</sup> ∥1 ≤
M <sup>hx</sup> l
1−4γ <sup>l∗</sup> ∆t <sup>n+1</sup>
- hyh <sup>y</sup> m <sup>(hx</sup>
l∗
hyh <sup>y</sup> m <sup>(hx</sup> m <sup>)2</sup>
<sup>hx</sup> l∗ <sup>hy</sup> l∗
γ <sup>l∗</sup> h <sup>x</sup> l
<sup>x</sup> l∗ <sup>hy</sup> l∗
;
l∗
<sup>hx</sup> l∗ <sup>hy</sup> l∗
h <sup>x</sup> M
l∗
h <sup>x</sup> m(h <sup>y</sup> m <sup>)2</sup>
l∗
<sup>y</sup> m <sup>(hx</sup> m <sup>)2</sup> <sup>+</sup>
h <sup>x</sup> M <sup>hx</sup> l
<sup>y</sup> m <sup>)2</sup>
l=1 <sup>(ql)2∥</sup> <sup>µ</sup> <sup>l∥∞</sup>
��M
(3) The 1-norm condition number of W in (34) satisfies
l∗
h <sup>y</sup> m <sup>(hx</sup> m <sup>)2</sup>
<sup>y</sup> M <sup>hx</sup> l∗
l∗
<sup>y</sup> m <sup>(hx</sup> m <sup>)2</sup> <sup>+</sup>
<sup>hx</sup> l∗ <sup>h</sup> l <sup>y</sup> ∗
m <sup>y</sup> <sup>)2</sup>
l∗
M
h <sup>x</sup> m(hm <sup>y</sup>
m <sup>y</sup> <sup>)2</sup>
l=1 <sup>(ql)2∥</sup> <sup>µ</sup> <sup>l∥∞</sup>
��M
.
4 4
(h <sup>x</sup> m) <sup>2</sup> <sup>+</sup> (h <sup>y</sup>
- m
h <sup>y</sup> M
1 − 4γ <sup>l∗</sup> ∆tm <sup>n+1)2</sup>
h <sup>y</sup> m
4 h <sup>y</sup> M
<sup>y</sup> h <sup>y</sup> m <sup>(h</sup>
h <sup>y</sup> M <sup>hx</sup> l∗ <sup>h</sup> l <sup>y</sup> ∗ h <sup>x</sup> M
m <sup>n+1)2</sup> <sup>+ 4∆tn+1 �</sup>
h <sup>y</sup> m <sup>(hx</sup> m <sup>)2</sup> <sup>+</sup> h <sup>x</sup> m
κ1(W) := ∥W∥1∥W <sup>−1</sup> ∥1 ≤
γ <sup>l∗</sup> h <sup>x</sup> l
<sup>x</sup> l∗ <sup>hy</sup> l∗
(37)
(38)
M
h <sup>y</sup> m <sup>(hx</sup>
h <sup>y</sup> M h <sup>x</sup> M
<sup>y</sup> m <sup>(hx</sup> m <sup>)2</sup> <sup>+</sup> h <sup>x</sup> m(h
<sup>x</sup> l∗ <sup>h</sup> l <sup>y</sup> ∗
h <sup>x</sup> M
M <sup>hx</sup> l∗
h <sup>x</sup> m(hm <sup>y</sup> <sup>)2</sup>
<sup>x</sup> M <sup>hx</sup> l∗
l=1 <sup>(ql)2∥</sup> <sup>µ</sup> <sup>l∥∞</sup>
��M
Proof As shown in Appendix A, we have
M
- ∆t <sup>n+1</sup> max{ <sup>hy</sup>
h <sup>x</sup> m
M
, <sup>hx</sup>
NxNy
m=1
Km,n <sup>l</sup> <sup>=</sup>
NxNy
n=1
Km,n <sup>l</sup> <sup>= 0</sup> for m, n = 1, . . ., NxNy,
m=1
n=1
0 < Kn,n <sup>l</sup> <sup>< 2∆tn+1(</sup> <sup>h</sup> M <sup>y</sup>
M
<sup>hx</sup>
h <sup>y</sup> m
m
M
+ <sup>hx</sup>
)∥ µ <sup>l</sup> ∥∞ for n = 1, . . ., NxNy,
M
<sup>hy</sup>
h <sup>x</sup> m
M
<sup>hx</sup>
h <sup>y</sup> m
}∥ µ <sup>l</sup> ∥∞ < Km,n <sup>l</sup> <sup>< 0</sup> for n, m = 1, . . ., NxNy, and m̸ = n.
}∥ µ <sup>l</sup> ∥∞ < K <sup>l</sup>
m
This implies that
∥K <sup>l</sup> ∥1 ≤ 4∆t <sup>n+1</sup>
M
h <sup>x</sup> m
- hy
M
+ <sup>hx</sup>
M
<sup>hx</sup>
h <sup>y</sup> m
m
∥ µ <sup>l</sup> ∥∞.
From the proof of Theorem 4.3, we know that ∥A <sup>l,−1</sup> ∥1 ≤ h <sup>x</sup> m1hm <sup>y</sup>
m <sup>y</sup> <sup>.</sup> <sup>Therefore,</sup> <sup>we</sup> <sup>have</sup>
∆t <sup>n+1</sup> < 1
h <sup>y</sup> M
4γ <sup>l∗</sup>
(h
M
l=1
(q <sup>l</sup> ) <sup>2</sup> A <sup>l,−1</sup> ( u <sup>k</sup> ) K( µ <sup>k</sup>, u <sup>k</sup> )
h <sup>y</sup> M
(h <sup>x</sup> m)
M
(h <sup>x</sup> m) <sup>2</sup> hm <sup>y</sup>
+ h <sup>x</sup> M
- lM=1
l=1
(q <sup>l</sup> ) <sup>2</sup> ∥ µ <sup>l</sup> ∥∞. (39)
M
(h <sup>y</sup> m <sup>)2</sup>
<sup>y</sup> m <sup>)2hx</sup> m
l=1
≤ 4∆t <sup>n+1</sup>
1
�����
m
If
�����
<sup>x</sup> l∗ <sup>hy</sup> l∗
<sup>y</sup> m <sup>)2hx</sup> m
l=1 <sup>(ql)2∥</sup> <sup>µ</sup> <sup>l∥∞</sup>
��M
,
h <sup>y</sup> M <sup>hx</sup> l
l∗
<sup>y</sup> m <sup>+</sup>
<sup>x</sup> l∗ <sup>hy</sup> l∗
l∗
(h <sup>x</sup> m) <sup>2</sup> h <sup>y</sup> m
h <sup>x</sup>
l∗
(h <sup>y</sup> m <sup>)2hx</sup> m
<sup>x</sup> M <sup>hx</sup> l∗
we have
1
∥W −L∥1 <
∥L <sup>−1</sup> ∥1
.
It follows from Lemma (4.6) that W is invertible. By (36), we further have
l∗
∥L <sup>−1</sup> ∥1
∥W <sup>−1</sup> ∥1 ≤ ≤
1 −∥L <sup>−1</sup> ∥1∥L −W∥1
h <sup>y</sup> M
1 − 4γ <sup>l∗</sup> ∆t <sup>n+1</sup>
h <sup>y</sup>
l∗
h <sup>y</sup> m <sup>(hx</sup> m <sup>)2</sup>
<sup>y</sup> M <sup>hx</sup> l
l∗
<sup>y</sup> m <sup>(hx</sup> m <sup>)2</sup> <sup>+</sup>
<sup>x</sup> l∗ <sup>hy</sup> l∗
γ <sup>l∗</sup> h <sup>x</sup> l∗
<sup>x</sup> l∗ <sup>hy</sup> l∗
.
<sup>x</sup> l∗ <sup>hy</sup> l∗
l=1 <sup>(ql)2∥</sup> <sup>µ</sup> <sup>l∥∞</sup>
��M
m <sup>y</sup> <sup>)2</sup>
h <sup>x</sup>
l∗
h <sup>x</sup> m(hm <sup>y</sup> <sup>)2</sup>
<sup>x</sup> M <sup>hx</sup> l
16
By Lemma 4.5, we obtain
∥W∥1 ≤∥L∥1 +
M
l=1
(q <sup>l</sup> ) <sup>2</sup> ∥A <sup>l,−1</sup> ( u <sup>k</sup> )∥1∥K( µ <sup>l,k</sup>, u <sup>k</sup> )∥1
l=1
(40)
4∆t <sup>n+1</sup> (q <sup>l</sup> ) <sup>2</sup> h <sup>y</sup> M
h <sup>y</sup> m <sup>(h</sup>
4 4
≤
(h <sup>x</sup> m) <sup>2</sup> <sup>+</sup> (h <sup>y</sup> m <sup>)2</sup> <sup>+</sup>
M
l=1
h <sup>y</sup> M h <sup>x</sup> M
<sup>y</sup> m <sup>(hx</sup> m <sup>)2</sup> <sup>+</sup> h <sup>x</sup> m(h
M
h <sup>y</sup> m <sup>(hx</sup>
M
h <sup>x</sup> m(hm <sup>y</sup>
m <sup>y</sup> <sup>)2</sup>
∥ µ <sup>l</sup> ∥∞.
By the definition of 1-norm condition number, we complete the proof of (37).
### 5 Numerical tests
We perform numerical simulations to show numerical accuracy of the developed numerical methods
and their effectiveness in preserving mass conservation, positivity, and free-energy dissipation.
The advantage of using the adaptive time stepping strategy is demonstrated through an example
in which electrolytes are exposed to sudden alternating applied potentials over two electrodes.
Furthermore, we apply the developed numerical methods to characterize the charge dynamics of
electrolytes between two parallel electrodes with sinusoidal applied potentials. Unless otherwise
specified, we use a uniform mesh with grid spacing h <sup>x</sup> i <sup>=</sup> <sup>hy</sup> j <sup>in</sup> <sup>the</sup> <sup>following</sup> <sup>simulations.</sup> <sup>The</sup>
<sup>x</sup> i <sup>=</sup> <sup>hy</sup> j
specified, we use a uniform mesh with grid spacing h <sup>x</sup> i <sup>=</sup> <sup>hy</sup> j <sup>in</sup> <sup>the</sup> <sup>following</sup> <sup>simulations.</sup> <sup>The</sup>
stopping tolerance in the Newton’s iterations is set to be 10 <sup>−10</sup> .
5.1 Accuracy and efficiency
We consider an electrolyte solution with symmetric monovalent ions. To test the accuracy of our
methods, we consider the following constructed problem in 2D:
∂tc <sup>1</sup> = ∇· (∇c <sup>1</sup> + c <sup>1</sup> ∇ψ) + f1,
∂tc <sup>2</sup> = ∇· (∇c <sup>2</sup> - c <sup>2</sup> ∇ψ) + f2,
- κ∆ψ = c <sup>1</sup> - c <sup>2</sup> + ρ <sup>f</sup> .
The functions f1, f2, and ρ <sup>f</sup> are determined by the following exact solution
(41)
(42)
c <sup>1</sup> = π <sup>2</sup> e <sup>−t</sup> cos(πx) cos(πy)/5 + 2,
c <sup>2</sup> = π <sup>2</sup> e <sup>−t</sup> cos(πx) cos(πy)/5 + 2,
ψ = e <sup>−t</sup> cos(πx) cos(πy).
The initial and boundary conditions are obtained by evaluating the exact solution at t = 0 and
the boundary of a computational box, respectively.
h l <sup>∞</sup> error in c <sup>1</sup> Order l <sup>∞</sup> error in c <sup>2</sup> Order l <sup>∞</sup> error in ψ Order
101 1.30e-02 - 1.41e-02 - 1.00e-03 201 3.40e-03 1.93 3.70e-03 1.93 2.70e-04 1.89
1 1.50e-03 2.01 1.60e-03 2.06 1.21e-04 1.97
30
1 8.45e-04 1.99 9.26e-04 1.90 6.87e-05 1.98
40
1 5.42e-04 1.99 5.94e-04 1.99 4.41e-05 1.99
50
Table 1: Numerical error and convergence order of numerical solutions at time T = 0.1.
17
We test the numerical accuracy of the proposed numerical method using various spatial step
size h with a fixed mesh ratio ∆t = h <sup>2</sup> . Table 1 lists l <sup>∞</sup> errors and convergence orders for ionic
concentration and electrostatic potential at time T = 0.1. We observe that the error decreases
as the mesh refines, and that the convergence orders for ion concentrations and the potential are
both about 2. This indicates that the fully-implicit scheme (17), as expected, is first-order and
second-order accurate in time and spatial discretization, respectively. Note that the mesh ratio
chosen here is for the purpose of numerical accuracy test, not for the purpose of the stability or
positivity.
To demonstrate the advantage of the proposed Newton’s iteration method in computational
efficiency, we compare the Newton’s iteration method with a simple fixed-point iteration method
for solving the nonlinear discrete system (29) in terms of computational time and iteration steps.
We solve the problem using various mesh resolution with a mesh ratio ∆t = h/10. As shown
in Table 2, the number of iteration steps of the Newton’s method is about 2 in each time step
evolution, which is significantly fewer than that of the fixed-point method. Also, the fixedpoint method takes roughly twofold to threefold longer computational time. The computational
advantage makes the proposed Newton’s iteration method promising in studying complex ion
transport problems.
Newton’s method Fixed-point method
Mesh Size
Computational time Iteration steps Computational time Iteration steps
50 <sup>2</sup> 82s 2 194s 21
100 <sup>2</sup> 1243s 2 3615s 21
150 <sup>2</sup> 6892s 2 20274s 20
200 <sup>2</sup> 24798s 2 73357s 19
250 <sup>2</sup> 68512s 2 191746s 19
300 <sup>2</sup> 155486s 2 404593s 19
Table 2: Computational time and iteration steps of the proposed Newton’s iteration method and
fixed-point iteration method in each time step evolution up to time T = 0.1.
5.2 Conservation and energy dissipation
In this case, we consider a closed, neutral system that consists of symmetric monovalent ions with
the following initial and boundary conditions
∂c <sup>1</sup>
∂c∂n <sup>1</sup> <sup>+ c1 ∂ψ</sup> ∂n
ψ(t, 0, y) = 0, ψ(t, 1, y) = 1, y ∈ [0, 1],
∂ψ
∂ψ∂y <sup>(t, x, 0) = sin (πx),</sup> <sup>∂ψ</sup> ∂y
x ∈ [0, 1],
<sup>∂ψ</sup> ∂y <sup>(t, x, 1) = −</sup> <sup>sin (πx),</sup>
(43)
c <sup>1</sup> (0, x, y) = 1, c <sup>2</sup> (0, x, y) = 1, (x, y) ∈ [0, 1] × [0, 1],
on ∂Ω.
<sup>∂ψ</sup> ∂n <sup>= 0</sup>
∂c <sup>2</sup>
and
<sup>∂ψ</sup> ∂n <sup>= 0</sup> ∂n
∂c∂n <sup>2</sup> <sup>−</sup> <sup>c2 ∂ψ</sup> ∂n
The prescribed potential boundary conditions represent that a potential difference is applied
horizontally and the upper and lower boundaries carry surface charges with opposite signs. With
such zero-flux boundary conditions and time-independent boundary potentials, the system has
properties of mass conservation and free-energy dissipation.
18
−0.3
−0.4
1.5
Free Energy
Total Mass
1
−0.5
0 0.1 0.2 0.3 0.4
0.5
Time
Figure 1: Profiles of the free energy (solid line) and total ion concentrations (dotted line) against
time evolution.
As displayed in Fig. 1, our numerical method perfectly conserves the total ion concentration,
and the discrete free energy (24) decays monotonically and robustly. In addition, our numerical
solutions of concentrations are all positive, being consistent with our analysis on solution positivity.
5.3 Adaptive time stepping
2
1
0
-1
-2
0.08
0.04
0
0
-0.2
-0.4
tmax=0.05, tmin=0.001, =10 <sup>5</sup>
t=0.001
tmax=0.05, tmin=0.001, =10 <sup>5</sup>
0 2 4 6 8
Time
Figure 2: Upper: The evolution of the applied potential V (t); Middle: The adaptive time stepping
size versus time; Lower: Free-energy evolution with a uniform time-stepping size ∆t = 0.001
(black) and adaptive time stepping sizes with parameters ∆tmax = 0.05, ∆tmin = 0.001, and
α = 10 <sup>5</sup> (blue).
19
We now study the time-marching stability of the numerical scheme and the efficiency improvement
by using the strategy of adaptive time stepping in solving problems in which electrolytes are
exposed to sudden alternating applied potentials. We consider the same initial and boundary
conditions as in (43) except that ψ(t, 1, y) = V (t) for y ∈ [0, 1] with
V (t) = χ[0,2) − χ[2,4) + χ[4,6) − χ[6,8),
where χ[·,·) is the characteristic function of a time interval. That is, a periodically alternating
potential V (t) is applied horizontally across the computational domain; cf. the upper plot of the
Fig. 2.
We investigate the effectiveness of adaptive time-stepping techniques using the form of (19)
with a parameter setting ∆tmax = 0.05, ∆tmin = 0.001, and α = 10 <sup>5</sup> . The adaptive time step
evolution is presented in the middle plot of the Fig. 2, and the corresponding free-energy evolution
profile is displayed in the lower plot of the Fig. 2. For comparison, we also present the free-energy
evolution profile computed with a uniform time step size (∆t = 0.001) in the same plot. As the
applied potential changes periodically, the free energy correspondingly undergoes large, abrupt
changes. This in turn leads to drastic decrease of the time stepping size to the minimum value
∆tmin. One can observe that, for a fixed applied potential, the free energy quickly relaxes and
the corresponding time step size increases to its maximum value ∆tmax. In contrast to 8000 steps
with ∆t = ∆tmin = 0.001 to reach T = 8, the adaptive time stepping only takes a total of 877
steps, which have about 89% reduction in time steps. Of interest is that the free-energy evolution
profile computed with adaptive time stepping is almost identical to that with ∆t = 0.001, with
minor discrepancy due to the resolution of time. This indicates that the strategy of adaptive time
stepping is useful in speeding up computations of problems that have applied potentials with
sudden changes.
5.4 Charge Dynamics
ω=15π
1
0
−1
0 1 2 3
Time
Figure 3: The applied potential V (t) with ω = 15π. It keeps as a constant for the time interval
[0, 1.5) and continuously becomes a sinusoidal function for [1.5, +∞).
We apply the proposed numerical approaches to probe the charge dynamics in electrolytes between two parallel electrodes with sinusoidal applied potentials. Electrolytes under alternating
current (AC) have wide range of applications, including AC electroosmosis (ACEO) pumps, cyclic
20
voltammetry, and dielectrophoresis [1,3,4]. Numerical simulation with sinusoidal applied potentials of large frequency is computationally challenging. It sets high demand on the stability of
numerical integration methods.
We consider a closed, neutral system that consists of binary monovalent ions. Due to geometry
symmetry, the problem can be reduced to one dimension on a computational domain [−1, 1], after
nondimensionalization. We consider the same initial and boundary conditions as in (43) except
that the left electrode is kept grounded, i.e., ψ(t, −1) = 0, and ψ(t, 1) = V (t) with
V (t) = χ[0,1.5) + χ[1.5,+∞) sin (ωt),
where ω is the angular frequency; cf. Fig. 3.
Figure 4: Evolution of cation distribution (upper row) and electrostatic potential (lower row)
with various angular frequency ω.
In Fig. 4, we consider the dynamics of concentrations and electrostatic potential with various
angular frequency. For T < 1.5, the potential difference across two electrodes attracts oppositely
charged ions from the bulk, forming electric double layers (EDLs) in the vicinity of electrodes.
In the meantime, the electrostatic potential gets screened by the charges in the EDLs. After the
charging phase, the boundary potential becomes sinusoidal and the electrostatic potential across
the system responds instantaneously. The ionic concentration close to the electrodes oscillates
correspondingly. However, the magnitude of oscillation decays as time evolves, because charges
in the EDLs are gradually released to the bulk.
With larger angular frequency, the electrostatic potential inside still can follow the boundary
potential instantaneously. However, the ionic concentration fall behind the potential oscillation
and the potential only partially gets screened. At lower frequency, ions can travel much longer
distances during each AC cycle; therefore, the oscillatory effect extend farther away from the
21
electrode surface, with more pronounced impact on the structure of EDLs. For ω = 39π, we
barely observe oscillations in concentration for 2 < T < 3.
10
5
0
10
5
0
2.5
2
1.5
1
<u>2</u> <u>2.1</u> <u>2.2</u>
ω=7π
ω=15π
ω=39π
ω=95π
ω=0
0 1 2 3
Time
Figure 5: Evolution of total net charges ρ(t) with various angular frequency ω.
To further understand charge dynamics with sinusoidal applied potentials, we also study the
evolution of total net charges in left half of the electrolytes [4]:
2
l=1
ρ(t) =
−1
- 0
q <sup>l</sup> c <sup>l</sup> (x)dx.
As seen from Fig. 5, the total net charges increase quickly and reach a plateau with a constant
applied voltage in the charging phase, i.e., 0 < T < 1.5. Later, the total net charges decay
oscillatorily to zero at T = 3, which indicates that the discharging phase with sinusoidal applied
potentials takes roughly the same time as the charging phase. For lower angular frequency, the
total net charges have larger magnitude of oscillation, being consistent with the results shown
in Fig. 4. For ω = 95π, the oscillation in the profile of ρ(t) is extremely small. Larger angular
frequency leads to shrinking oscillation magnitude, indicating that the effect of applied potentials
with rather large frequency is equivalent to a zero applied potential. This observation is further
confirmed by the lower plot in the Fig. 5, which is obtained with a zero applied potential (ω = 0)
for T - 1.5. We can see that the profile of the total net charges is almost identical to the case
with ω = 95π.
### 6 Conclusions
The Poisson–Nernst–Planck (PNP) equations are a classical model to describe ion transport,
which is fundamental to many applications. In this work, we have developed finite difference
schemes for solving the multi-dimensional PNP equations with multiple ionic species. Numerical
analysis has shown that the schemes are able to guarantee mass conservation, positivity, and
22
free-energy dissipation at fully discrete level. The novelty of numerical schemes lies in using the
harmonic-mean approximations in the spatial discretization of the Nernst–Planck equations. In
addition, we have proposed a new Newton’s method to efficiently solve a fully implicit nonlinear system resulting from discretization. The improved computational efficiency of the Newton’s
method originates from the usage of the electrostatic potential as the iteration variable, instead
of both the potential and concentration of multiple ionic species. Thanks to the harmonic-mean
approximations, we have been able to rigorously establish the solvability and stability of the linearized problem in the Newton’s method and estimates on the upper bound of condition numbers
of coefficient matrices in linear systems that are solved iteratively. Extensive numerical tests
have been performed to corroborate the anticipated numerical accuracy, computational efficiency,
and structure-preserving properties of the developed schemes. Also, numerical simulations have
shown that a strategy of adaptive time stepping is able to speed up simulation of problems with
time-dependent, alternating boundary potentials. Finally, the proposed numerical approaches
have been applied to understand ion transport in response to a sinusoidal applied potential. Such
numerical simulations demonstrate that the developed numerical approaches are promising in
solving complex, realistic ion transport problems.
We now discuss several issues and possible further refinements of our work. The current
development of numerical methods only considers a regular domain. However, it is of practical
interest to extend the developed numerical methods for irregular computational domains, such
as irregular geometry considered in ion-channel applications. The discretization accuracy on
irregular boundaries deserves further attention, and discrete structure-preserving properties, such
as positivity preservation and mass conservation, are highly desirable to maintain. Because these
numerical properties are crucial to the validity of numerical solutions. It is also desirable to
pursue second-order temporal discretization schemes that have structure-preserving properties.
In addition, it will be our future work to extend the proposed discretization schemes and the
Newton’s method to solve other modified PNP models that account for steric effects, Coulomb
ionic correlations, and inhomogeneous dielectric effects [3,20,23,24,27,33,37].
Acknowledgments. J. Ding was supported by Postgraduate Research & Practice Innovation
Program of Jiangsu Province and National Natural Science Foundation of China (No. 21773165,
11601361, 11771318, and 11790274). S. Zhou was supported by National Natural Science Foundation of China (No. 21773165 and 11601361) and National Key R&D Program of China (No.
2018YFB0204404).
### A Appendix: the matrix K( µ l, u )
To facilitate the presentation, we denote by S <sup>l</sup> = q <sup>l</sup> u and introduce the following discrete operators
(1 + e <sup>S</sup> i,j <sup>l,n</sup>
i,j <sup>l,n</sup> ±1 <sup>−S</sup> i,j <sup>l,n</sup>
i,j <sup>l,n</sup> ±1 <sup>−S</sup> i,j <sup>l,n</sup>
i,j
x <sup>±S</sup> i,j <sup>l,n</sup>
(1 + e <sup>S</sup> i <sup>l,n</sup> ±
i <sup>l,n</sup> ±1,j <sup>−S</sup> i,j <sup>l,n</sup>
i <sup>l,n</sup> ±1,j <sup>−Sl,n</sup>
i,j
e <sup>S</sup> i,j <sup>l,n</sup>
i,j <sup>l,n</sup> <sup>=</sup>
Ex <sup>±</sup>
e <sup>S</sup> i <sup>l,n</sup> ±
i,j <sup>l,n</sup> <sup>=</sup>
i
y
<sup>l,n</sup>
i,j ) <sup>2</sup> <sup>,</sup> <sup>E</sup> <sup>±</sup>
y <sup>±S</sup> i,j <sup>l,n</sup>
<sup>l,n</sup>
i,j ) <sup>2</sup> <sup>.</sup>
We now examine elements in each column of the matrix K. For the kth column with k = [i, j],
the column elements are related to coefficients in the discretization stencils of the Nernst–Planck
equations, associated to the grid point {xi, yj}. Thus, we look into all of the discretization stencils
for different types of grid points.
23
First, for any interior grid point {xi, yj} with i = 2, . . ., Nx − 1 and j = 2, . . ., Ny − 1, non-zero
entries of the kth column (k = [i, j]) are given by
j
- 2∆t <sup>n+1</sup> <sup>hy</sup>
j
<sup>hy</sup>
h <sup>x</sup>
i−
<sup>l,n</sup> m+Ny <sup>−</sup> <sup>2∆tn+1</sup> h <sup>hx</sup> j <sup>y</sup>
j
h <sup>hxy</sup>
i−
i− <sup>1</sup> 2
Ex <sup>+</sup>
<sup>1</sup> 2
<sup>l,n</sup> m <sup>,</sup> m = [i − 1, j],
i,j <sup>l,nµl,n</sup> m
i− <sup>1</sup> 2
x <sup>−S</sup> i,j <sup>l,n</sup>
x <sup>+S</sup> i <sup>l,n</sup> −1
i <sup>l,n</sup> −1,j <sup>µl,n</sup> m
i
- 2∆t <sup>n+1</sup> <sup>hx</sup>
<sup>l,n</sup> m <sup>−</sup> <sup>2∆tn+1</sup> <sup>h</sup> i <sup>x</sup>
h <sup>y</sup>
i,j <sup>l,nµ</sup> m <sup>l,n</sup>
i
<sup>hx</sup>
h <sup>y</sup>
j−
j− 2 <sup>1</sup>
i
<sup>hx</sup>
h <sup>y</sup>
j−
Ey <sup>−</sup>
2 <sup>1</sup>
Ey <sup>+S</sup> i,j <sup>l,n</sup>
i,j <sup>l,n</sup> −1 <sup>µl,n</sup> m
y <sup>−S</sup> i,j <sup>l,n</sup>
m <sup>l,n</sup> +1 <sup>,</sup> m = [i, j − 1],
j− <sup>1</sup> 2
i+ <sup>1</sup> 2
Ex <sup>+</sup>
<sup>1</sup> 2
Ex <sup>−</sup>
<sup>1</sup> 2
Ey <sup>+</sup>
<sup>1</sup> 2
Ex <sup>+</sup>
2 <sup>1</sup>
Ey <sup>−</sup>
2 <sup>1</sup>
i
h <sup>y</sup>
j+
j+ 2 <sup>1</sup>
Ey <sup>+</sup>
2 <sup>1</sup>
i
h <sup>y</sup>
j−
j− 2 <sup>1</sup>
2∆t <sup>n+1</sup>
j
h <sup>x</sup>
i+
i,j <sup>l,n</sup> <sup>+</sup> h <sup>x</sup> i
h <sup>y</sup>
i,j <sup>l,n</sup> <sup>+</sup> h <sup>x</sup> i
h <sup>y</sup>
Ey <sup>−</sup>
2 <sup>1</sup>
j
h <sup>x</sup>
i−
h <sup>y</sup> j
i− <sup>1</sup> 2
Ex <sup>−</sup>
<sup>1</sup> 2
m
µ <sup>l,n</sup>
m
x <sup>+S</sup> i,j <sup>l,n</sup>
i,j <sup>l,n</sup> <sup>+</sup>
x <sup>−S</sup> i,j <sup>l,n</sup>
y <sup>+S</sup> i,j <sup>l,n</sup>
y <sup>−S</sup> i,j <sup>l,n</sup>
i,j
Km,k <sup>l</sup> <sup>=</sup>
j
h <sup>x</sup>
i+ <sup>1</sup> 2
<sup>hy</sup>
j
<sup>hy</sup>
h <sup>x</sup>
i+
i+ <sup>1</sup> 2
Ex <sup>−</sup>
<sup>1</sup> 2
<sup>l,n</sup> m−Ny <sup>+ 2∆tn+1</sup> <sup>h</sup> j <sup>y</sup>
h <sup>x</sup>
m+Ny
i <sup>l,n</sup> −1,j <sup>µl,n</sup> m
i <sup>l,n</sup> +1,j <sup>µl,n</sup> m
j
+ 2∆t <sup>n+1</sup> <sup>hy</sup>
j
<sup>hy</sup>
h <sup>x</sup>
i−
i− 2 <sup>1</sup>
x <sup>+S</sup> i <sup>l,n</sup> −1
x <sup>−S</sup> i <sup>l,n</sup> +1
i
+ 2∆t <sup>n+1</sup> <sup>hx</sup>
<sup>l,n</sup> m+1 <sup>+ 2∆tn+1</sup> <sup>h</sup> i <sup>x</sup>
h <sup>y</sup>
i
<sup>hx</sup>
h <sup>y</sup>
j−
Ey <sup>+</sup>
2 <sup>1</sup>
i,j <sup>l,n</sup> −1 <sup>µ</sup> m <sup>l,n</sup>
i
<sup>hx</sup>
h <sup>y</sup>
j+
j+ 2 <sup>1</sup>
Ey <sup>−</sup>
<sup>1</sup> 2
Ex <sup>−</sup>
<sup>1</sup> 2
y <sup>−S</sup> i,j <sup>l,n</sup>
i,j <sup>l,n</sup> +1 <sup>µl,n</sup> m
y <sup>+S</sup> i,j <sup>l,n</sup>
m <sup>l,n</sup> −1 <sup>,</sup> <sup>m = k,</sup>
i
- 2∆t <sup>n+1</sup> <sup>hx</sup>
<sup>l,n</sup> m+1 <sup>−</sup> <sup>2∆tn+1</sup> <sup>h</sup> i <sup>x</sup>
h <sup>y</sup>
i
<sup>hx</sup>
h <sup>y</sup>
j+
j+ <sup>1</sup> 2
m <sup>l,n,</sup> m = [i, j + 1],
j− 2 <sup>1</sup>
Ey <sup>+</sup>
<sup>1</sup> 2
i
<sup>hx</sup>
h <sup>y</sup>
j+
j+ <sup>1</sup> 2
Ey <sup>−S</sup> i,j <sup>l,n</sup>
i,j <sup>l,n</sup> +1 <sup>µl,n</sup> m
y <sup>+S</sup> i,j <sup>l,n</sup>
i,j <sup>l,nµ</sup> m <sup>l,n</sup>
j
- 2∆t <sup>n+1</sup> <sup>hy</sup>
j
<sup>hy</sup>
h <sup>x</sup>
i+
<sup>l,n</sup> m+Ny <sup>−</sup> <sup>2∆tn+1</sup> <sup>h</sup> j <sup>y</sup>
h <sup>x</sup>
j
<sup>hy</sup>
h <sup>x</sup>
i+
i+ <sup>1</sup> 2
Ex <sup>+</sup>
<sup>1</sup> 2
m <sup>l,n,</sup> m = [i + 1, j].
i+ <sup>1</sup> 2
x <sup>−S</sup> i <sup>l,n</sup> +1
i <sup>l,n</sup> +1,j <sup>µl,n</sup> m
x <sup>+S</sup> i,j <sup>l,n</sup>
i,j <sup>l,nµ</sup> m <sup>l,n</sup>
Hence, the conclusion (38) holds for the columns associated to interior grid points. We examine
the conclusion for boundary grid points that are adjacent to four edges but not corner vertices.
We consider Dirichlet boundary grid points {x1, yj} for j = 2, . . ., Ny −1, and Neumann boundary
grid points {xi, y1} for i = 2, . . ., Nx − 1. Non-zero entries of the kth column (k = [1, j]) are
1
- 2∆t <sup>n+1</sup> <sup>hx</sup>
1
<sup>hx</sup>
h <sup>y</sup>
j−
j− 2 <sup>1</sup>
1 <sup>l,n</sup>,j−1 <sup>µl,n</sup> m <sup>−</sup> <sup>2∆tn+1</sup> <sup>h</sup> 1 <sup>x</sup>
h <sup>y</sup>
Ey <sup>−</sup>
2 <sup>1</sup>
1 <sup>l,n</sup>,j <sup>µ</sup> m <sup>l,n</sup> +1 <sup>,</sup> m = [1, j − 1],
1
<sup>hx</sup>
h <sup>y</sup>
j−
y <sup>+S</sup> 1 <sup>l,n</sup>,j
y <sup>−S</sup> 1 <sup>l,n</sup>,j
j− 2 <sup>1</sup>
j Ex <sup>+</sup>
<sup>x</sup> 3
2
Ey <sup>+</sup>
2 <sup>1</sup>
1
h <sup>y</sup>
j+
j+ 2 <sup>1</sup>
Ey <sup>+</sup>
2 <sup>1</sup>
1
h <sup>y</sup>
j−
j− 2 <sup>1</sup>
2∆t <sup>n+1</sup>
j
h <sup>x</sup> 3
x <sup>+S</sup> 1 <sup>l,n</sup>,j
1 <sup>l,n</sup>,j <sup>+</sup> h <sup>x</sup> 1
h <sup>y</sup>
2 <sup>l,n</sup>,j <sup>µl,n</sup> m+Ny
1 <sup>l,n</sup>,j <sup>+</sup> h <sup>x</sup> 1
h <sup>y</sup>
Ey <sup>−</sup>
2 <sup>1</sup>
j
<sup>hy</sup>
h <sup>x</sup> 3
j <sup>y</sup> Ex <sup>−</sup>
<sup>x</sup> 3
2
x <sup>−S</sup> 2 <sup>l,n</sup>,j
j
m <sup>+ 2∆tn+1 hy</sup>
h <sup>x</sup>
y <sup>+S</sup> 1 <sup>l,n</sup>,j
y <sup>−S</sup> 1 <sup>l,n</sup>,j
1,j
1
<sup>hx</sup>
h <sup>y</sup>
j−
j− <sup>1</sup> 2
Ey <sup>+</sup>
<sup>1</sup> 2
Ey <sup>−</sup>
2 <sup>1</sup>
1 <sup>l,n</sup>,j+1 <sup>µl,n</sup> m+1 <sup>+ 2∆tn+1</sup> <sup>h</sup> 1 <sup>x</sup>
h <sup>y</sup>
1 <sup>l,n</sup>,j−1 <sup>µ</sup> m <sup>l,n</sup> −1 <sup>,</sup> <sup>m = k,</sup>
m
µ <sup>l,n</sup>
Km,k <sup>l</sup> <sup>=</sup>
1
+ 2∆t <sup>n+1</sup> <sup>hx</sup>
j
h <sup>x</sup> 3
2
<sup>hy</sup>
t <sup>n+1</sup>
1
<sup>hx</sup>
h <sup>y</sup>
j+
j+ 2 <sup>1</sup>
y <sup>−S</sup> 1 <sup>l,n</sup>,j
y <sup>+S</sup> 1 <sup>l,n</sup>,j
1
- 2∆t <sup>n+1</sup> <sup>hx</sup>
1
<sup>hx</sup>
h <sup>y</sup>
j+
j+ 2 <sup>1</sup>
Ey <sup>+</sup>
2 <sup>1</sup>
Ey <sup>−</sup>
2 <sup>1</sup>
1 <sup>l,n</sup>,j+1 <sup>µl,n</sup> m <sup>−</sup> <sup>2∆tn+1</sup> <sup>h</sup> 1 <sup>x</sup>
h <sup>y</sup>
1 <sup>l,n</sup>,j <sup>µ</sup> m <sup>l,n</sup> −1 <sup>,</sup> m = [1, j + 1],
1
<sup>hx</sup>
h <sup>y</sup>
j+
j+ 2 <sup>1</sup>
y <sup>−S</sup> 1 <sup>l,n</sup>,j
y <sup>+S</sup> 1 <sup>l,n</sup>,j
j
- 2∆t <sup>n+1 hy</sup>
x <sup>−S</sup> 2 <sup>l,n</sup>,j
x <sup>+S</sup> 1 <sup>l,n</sup>,j
j
<sup>hy</sup>
h <sup>x</sup> 3
j
<sup>hy</sup>
h <sup>x</sup> 3
j <sup>y</sup> Ex <sup>+</sup>
<sup>x</sup> 3
2
j
<sup>y</sup> Ex <sup>−</sup>
<sup>x</sup> 3
2
2 <sup>l,n</sup>,j <sup>µl,n</sup> m <sup>−</sup> <sup>2∆tn+1 h</sup> j <sup>y</sup>
h <sup>x</sup>
1 <sup>l,n</sup>,j <sup>µl,n</sup> m−Ny <sup>,</sup> m = [2, j].
24
Non-zero entries of the kth column (k = [i, 1]) are
i
- 2∆t <sup>n+1 hx</sup>
1
- 2∆t <sup>n+1</sup> <sup>hy</sup>
1
<sup>hy</sup>
h <sup>x</sup>
i−
i− <sup>1</sup> 2
<sup>l,n</sup> m+Ny <sup>−</sup> <sup>2∆tn+1</sup> <sup>h</sup> 1 <sup>y</sup>
h <sup>x</sup>
i, <sup>l,n</sup> 1 <sup>µl,n</sup> m+
1
<sup>hy</sup>
h <sup>x</sup>
i−
Ex <sup>+</sup>
<sup>1</sup> 2
x <sup>−S</sup> i, <sup>l,n</sup> 1
x <sup>+S</sup> i <sup>l,n</sup> −1
i <sup>l,n</sup> −1,1 <sup>µl,n</sup> m
<sup>l,n</sup> m <sup>,</sup> m = [i − 1, 1],
i+ 2 <sup>1</sup>
i− <sup>1</sup> 2
Ex <sup>+</sup>
2 <sup>1</sup>
Ex <sup>−</sup>
<sup>1</sup> 2
i− <sup>1</sup> 2
Ex <sup>−</sup>
<sup>1</sup> 2
1
h <sup>x</sup>
i−
i− <sup>1</sup> 2
Ex <sup>−</sup>
<sup>1</sup> 2
i
<sup>h</sup>
h <sup>y</sup> 3
i <sup>x</sup> Ey <sup>+</sup>
<sup>y</sup> 3
2
m−Ny
1
m <sup>+ 2∆tn+1</sup> <sup>hy</sup>
h <sup>x</sup>
1
<sup>hy</sup>
h <sup>x</sup>
i−
2∆t <sup>n+1</sup>
1
h <sup>x</sup>
i+
<sup>hy</sup>
t <sup>n+1</sup>
1
h <sup>x</sup>
i+
i, <sup>l,n</sup> 1 <sup>+</sup> h <sup>y</sup> 1
h <sup>x</sup>
i, <sup>l,n</sup> 1 <sup>+</sup> <sup>h</sup> i <sup>x</sup>
h <sup>y</sup>
i <sup>l,n</sup> −1,1 <sup>µl,n</sup> m
Ex <sup>+</sup>
<sup>1</sup> 2
y <sup>+S</sup> i, <sup>l,n</sup> 1
x <sup>+S</sup> i, <sup>l,n</sup> 1
x <sup>−S</sup> i, <sup>l,n</sup> 1
i,1
x <sup>+S</sup> i <sup>l,n</sup>
Km,k <sup>l</sup> <sup>=</sup>
i
<sup>hx</sup>
h <sup>y</sup> 3
i <sup>x</sup> Ey <sup>−</sup>
<sup>y</sup> 3
2
<sup>l,n</sup> m+Ny <sup>+ 2∆tn+1 h</sup> i <sup>x</sup>
h <sup>y</sup>
i <sup>l,n</sup> +1,1 <sup>µl,n</sup> m
i, <sup>l,n</sup> 2 <sup>µ</sup> m <sup>l,n</sup>
y <sup>−S</sup> i, <sup>l,n</sup> 2
m
µ <sup>l,n</sup>
1
+ 2∆t <sup>n+1</sup> <sup>hy</sup>
1
<sup>hy</sup>
h <sup>x</sup>
i+
i+ <sup>1</sup> 2
x <sup>−S</sup> i <sup>l,n</sup> +1
m <sup>l,n</sup> +1 <sup>,</sup> <sup>m = k,</sup>
m <sup>l,n</sup> −1 <sup>,</sup> m = [i, 2],
i
m <sup>l,n</sup> <sup>−</sup> <sup>2∆tn+1 hx</sup>
h <sup>y</sup>
i
<sup>x</sup> Ey <sup>−</sup>
<sup>y</sup> 3
2
i, <sup>l,n</sup> 1 <sup>µ</sup> m <sup>l,n</sup>
i
<sup>hx</sup>
h <sup>y</sup> 3
i <sup>x</sup> Ey <sup>+</sup>
<sup>y</sup> 3
2
i
<sup>hx</sup>
h <sup>y</sup> 3
y <sup>−S</sup> i, <sup>l,n</sup> 2
i, <sup>l,n</sup> 2 <sup>µ</sup> m <sup>l,n</sup>
y <sup>+S</sup> i, <sup>l,n</sup> 1
1
- 2∆t <sup>n+1</sup> <sup>hy</sup>
<sup>l,n</sup> m <sup>−</sup> <sup>2∆tn+1</sup> <sup>h</sup> 1 <sup>y</sup>
h <sup>x</sup>
m <sup>l,n</sup> −Ny <sup>,</sup> m = [i + 1, 1].
Ex <sup>−</sup>
<sup>1</sup> 2
i, <sup>l,n</sup> 1 <sup>µ</sup> m <sup>l,n</sup>
1
<sup>hy</sup>
h <sup>x</sup>
i+
1
<sup>hy</sup>
h <sup>x</sup>
i+
i+ <sup>1</sup> 2
Ex <sup>+</sup>
<sup>1</sup> 2
i+ <sup>1</sup> 2
x <sup>−S</sup> i <sup>l,n</sup> +1
i <sup>l,n</sup> +1,1 <sup>µl,n</sup> m
x <sup>+S</sup> i, <sup>l,n</sup> 1
Thus, we can verify that the conclusion (38) holds for the columns associated to edge grid points.
For corner vertices grid points, e.g., k = [1, 1], we have
1
- 2∆t <sup>n+1 hx</sup>
1
<sup>hx</sup>
h <sup>y</sup> 3
1
<sup>x</sup> Ey <sup>−</sup>
<sup>y</sup> 3
2
1
<sup>y</sup> Ex <sup>−</sup>
<sup>x</sup> 3
2
1 Ex <sup>+</sup>
<sup>x</sup> 3
2
<sup>y</sup>
1
h <sup>x</sup> 3
2
<sup>hy</sup>
t <sup>n+1</sup>
1 <sup>x</sup> Ey <sup>−</sup>
<sup>y</sup> 3
2
1 <sup>x</sup> Ey <sup>+</sup>
<sup>y</sup> 3
2
y <sup>+S</sup> 1 <sup>l,n</sup>,1
2∆t <sup>n+1</sup>
1
h <sup>x</sup> 3
1,1
1 <sup>l,n</sup>,1 <sup>+</sup> <sup>h</sup> 1 <sup>x</sup>
h <sup>y</sup> 3
2 <sup>l,n</sup>,1 <sup>µl,n</sup> m+Ny
1 <sup>y</sup> Ex <sup>−</sup>
<sup>x</sup> 3
2
x <sup>+S</sup> 1 <sup>l,n</sup>,1
x <sup>−S</sup> 2 <sup>l,n</sup>,1
m
µ <sup>l,n</sup>
1
m <sup>+ 2∆tn+1 hy</sup>
h <sup>x</sup>
1
<sup>hy</sup>
h <sup>x</sup> 3
1
+ 2∆t <sup>n+1 hx</sup>
y <sup>−S</sup> 1 <sup>l,n</sup>,2
1 <sup>l,n</sup>,2 <sup>µ</sup> m <sup>l,n</sup> +1 <sup>,</sup> <sup>m = k,</sup>
Km,k <sup>l</sup> <sup>=</sup>
1
<sup>hx</sup>
h <sup>y</sup> 3
1
<sup>hx</sup>
h <sup>y</sup> 3
y <sup>−S</sup> 1 <sup>l,n</sup>,2
1 <sup>l,n</sup>,2 <sup>µl,n</sup> m <sup>−</sup> <sup>2∆tn+1 h</sup> 1 <sup>x</sup>
h <sup>y</sup>
y <sup>+S</sup> 1 <sup>l,n</sup>,1
1 <sup>l,n</sup>,1 <sup>µl,n</sup> m−1 <sup>,</sup> m = [1, 2],
1
- 2∆t <sup>n+1 hy</sup>
1
<sup>hy</sup>
h <sup>x</sup> 3
1 <sup>x</sup> Ey <sup>+</sup>
<sup>y</sup> 3
2
1 <sup>y</sup> Ex <sup>+</sup>
<sup>x</sup> 3
2
1
<sup>hy</sup>
h <sup>x</sup> 3
x <sup>−S</sup> 2 <sup>l,n</sup>,1
2 <sup>l,n</sup>,1 <sup>µl,n</sup> m <sup>−</sup> <sup>2∆tn+1 h</sup> 1 <sup>y</sup>
h <sup>x</sup>
x <sup>+S</sup> 1 <sup>l,n</sup>,1
1 <sup>l,n</sup>,1 <sup>µl,n</sup> m−Ny <sup>,</sup> m = [2, 1].
Other corner vertices can be verified analogously. Also, we can verify that K is a symmetric
matrix.
Without any assumption on Si,j <sup>l,n,</sup>
i,j <sup>l,n,</sup> <sup>we</sup> <sup>have</sup>
i,j <sup>l,n</sup> <sup>≤</sup> 4 <sup>1</sup>
0 < E <sup>±</sup>
k <sup>S</sup> i,j <sup>l,n</sup>
(A.1)
<sup>1</sup>
4 <sup>for</sup> <sup>k</sup> <sup>= x, y.</sup>
Therefore, we have the following results:
NxNy
m=1
Km,n <sup>l</sup> <sup>=</sup>
NxNy
n=1
Km,n <sup>l</sup> <sup>= 0</sup> for m, n = 1, . . ., NxNy,
K <sup>l</sup>
m=1
n=1
0 < Kn,n <sup>l</sup> <sup>< 2∆tn+1(</sup> <sup>h</sup> M <sup>y</sup>
M
<sup>hx</sup>
h <sup>y</sup> m
<sup>y</sup> m
M
+ <sup>hx</sup>
)∥ µ <sup>l</sup> ∥∞ for n = 1, . . ., NxNy,
M
- ∆t <sup>n+1</sup> max{ <sup>hy</sup>
h <sup>x</sup> m
M
- ∆t <sup>n+1</sup> max{ <sup>hy</sup>
M
<sup>hx</sup>
h <sup>y</sup> m
M
<sup>hy</sup>
h <sup>x</sup> m
M
, <sup>hx</sup>
<sup>y</sup> m
}∥ µ <sup>l</sup> ∥∞ < Km,n <sup>l</sup> <sup>< 0</sup> for n, m = 1, . . ., NxNy, and m̸ = n.
25
### References
[1] S. M. H. H. Amrei, S. C. Bukosky, S. P. Rader, W. D. Ristenpart, and G. H. Miller. Oscillating
electric fields in liquids create a long-range steady field. Phys. Rev. Lett., 121:185504, 2018.
[2] A. Arnold, P. Markowich, and G. Toscani. On large time asymptotics for drift-diffusion
Poisson systems. Transp. Theory Stat. Phys., 29(3-5):571–58, 2000.
[3] M. Bazant, M. S. Kilic, B. D. Storey, and A. Ajdari. Towards an understanding of induced
charge electrokinetics at large applied voltages in concentrated solutions. Adv. Colloid. Interface Sci., 152:48–88, 2009.
[4] M. Bazant, K. Thornton, and A. Ajdari. Diffuse-charge dynamics in electrochemical systems.
Phys. Rev. E, 70(2):021506, 2004.
[5] P. Biler and J. Dolbeault. Long time behavior of solutions to Nernst-Planck and Debye-H¨uckel
drift-diffusion systems. Ann. Henri Poincar´e, 1(3):461–472, 2000.
[6] P. Biler, W. Hebisch, and T. Nadzieja. The Debye system: existence and large time behavior
of solutions. Nonlinear Anal., 23:1189–1209, 1994.
[7] A. Cardenas, R. Coalson, and M. Kurnikova. Three-dimensional Poisson-Nernst-Planck the
ory studies: influence of membrane electrostatics on gramicidin A channel conductance.
Biophys. J., 79(1):80–93, 2000.
[8] J. Chaudhry, J. Comer, A. Aksimentiev, and L. Olson. A stabilized finite element method
for modified Poisson-Nernst-Planck equations to determine ion flow through a nanopore.
Commun. Comput. Phys., 15:93–125, 2014.
[9] J. Ding, H. Sun, Z. Wang, and S. Zhou. Computational study on hysteresis of ion channels:
Multiple solutions to steady-state Poisson–Nernst–Planck equations. Commun. Comput.
Phys., 23(5):1549–1572, 2018.
[10] J. Ding, C. Wang, and S. Zhou. Optimal rate convergence analysis of a second order numerical
scheme for the Poisson–Nernst–Planck system. Numer. Math. Theor. Meth. Appl., 12:607–
626, 2019.
[11] J. Ding, Z. Wang, and S. Zhou. Positivity preserving finite difference methods for poissonnern
stplanck equations with steric interactions: Application to slit-shaped nanopore conductance.
J. Comput. Phys., 397:108864, 2019.
[12] W. Fang and K. Ito. Asymptotic behavior of the drift-diffusion semiconductor equations. J.
Differ. Equ., 123:567–587, 1995.
[13] W. Fang and K. Ito. Global solutions of the time-dependent drift-diffusion semiconductor
equations. J. Differ. Equ., 123:523–566, 1995.
[14] A. Flavell, J. Kabre, and X. Li. An energy-preserving discretization for the Poisson-Nernst
Planck equations. J. Comput. Electron., 16:431–441, 2017.
26
[15] A. Flavell, M. Machen, R. Eisenberg, J. Kabre, C. Liu, and X. Li. A conservative finite
difference scheme for Poisson-Nernst-Planck equations. J. Comput. Electron., 13:235–249,
2014.
[16] H. Gajewski and K. G¨artner. On the discretization of Van Roosbroeck’s equations with
magnetic field. Z. Angew. Math. Mech., 76(5):247–264, 1996.
[17] H. Gajewski and K. Gr¨oger. On the basic equations for carrier transport in semiconductors.
J. Math. Anal. Appl., 113:12–35, 1986.
[18] H. Gao and D. He. Linearized conservative finite element methods for the Nernst–Planck–
Poisson equations. J. Sci. Comput., 72:1269–1289, 2017.
[19] H. Gao and P. Sun. A linearized conservative mixed finite element method for Poisson–
Nernst–Planck equations. J. Sci. Comput., 77:793–817, 2018.
[20] N. Gavish, C. Liu, and B. Eisenberg. Do bistable steric Poisson–Nernst–Planck models
describe single-channel gating? J. Phys. Chem. B, 22(20):5183–5192, 2018.
[21] G. Golub and C. Loan. Matrix Computations. Johns Hopkins Studies in the Mathematical
Sciences. Johns Hopkins University Press, 1996.
[22] J. Hu and X. Huang. A fully discrete positivity-preserving and energy-dissipative finite
difference scheme for Poisson–Nernst–Planck equations. Submitted, 2019.
[23] Y. Hyon, B. Eisenberg, and C. Liu. A mathematical model for the hard sphere repulsion in
ionic solutions. Commun. Math. Sci., 9:459–475, 2010.
[24] Y. Hyon, C. Liu, and B. Eisenberg. PNP equations with steric effects: a model of ion flow
through channels. J. Phys. Chem. B, 116:11422–11441, 2012.
[25] J. Jiang, D. Cao, D. Jiang, and J. Wu. Time-dependent density funcational theory for ion
diffusion in electrochemical systems. J. Phys.: Condens. Matter., 26:284102, 2014.
[26] M. Kilic, M. Bazant, and A. Ajdari. Steric effects in the dynamics of electrolytes at large
applied voltages. II. Modified Poisson–Nernst–Planck equations. Phys. Rev. E, 75:021503,
2007.
[27] M. S. Kilic, M. Bazant, and A. Ajdari. Steric effects in the dynamics of electrolytes at large
applied voltages. I. Double-layer charging. Phys. Rev. E, 75:021502, 2007.
[28] B. Li, P. Liu, Z. Xu, and S. Zhou. Ionic size effects: generalized boltzmann distributions,
counterion stratification, and modified debye length. Nonlinearity, 26(10):2899, 2013.
[29] X. Li, Z. Qiao, and H. Zhang. An unconditionally energy stable finite difference scheme for
a stochastic Cahn-Hilliard equation. Science China Mathematics, 59(9):1815–1834, 2016.
[30] T. Lin and B. Eisenberg. A new approach to the Lennard-Jones potential and a new model:
PNP-steric equations. Commun. Math. Sci., 12:149–173, 2014.
27
[31] H. Liu and Z. Wang. A free energy satisfying finite difference method for Poisson-Nernst
Planck equations. J. Comput. Phys., 268:363–376, 2014.
[32] H. Liu and Z. Wang. A free energy satisfying discontinuous Galerkin method for onedimensional Poisson-Nernst-Planck systems. J. Comput. Phys., 328:413–437, 2017.
[33] P. Liu, X. Ji, and Z. Xu. Modified Poisson–Nernst–Planck model with accurate Coulomb
correlation in variable media. SIAM J. Appl. Math., 78:226–245, 2018.
[34] X. Liu, Y. Qiao, and B. Lu. Analysis of the mean field free energy functional of electrolyte
solution with non-homogenous boundary conditions and the generalized PB/PNP equations
with inhomogeneous dielectric permittivity. SIAM J. Appl. Math., 78:1131–1154, 2018.
[35] Y. Liu and C.-W. Shu. Analysis of the local discontinuous Galerkin method for the drift
diffusion model of semiconductor devices. Sci. China Math., 59:115–140, 2016.
[36] B. Lu, M. Holst, J. McCammon, and Y. Zhou. Poisson-Nernst-Planck equations for simulat
ing biomolecular diffusion-reaction processes I: Finite element solutions. J. Comput. Phys.,
229(19):6979–6994, 2010.
[37] B. Lu and Y. Zhou. Poisson-Nernst-Planck equations for simulating biomolecular diffusion
reaction processes II: Size effects on ionic distributions and diffusion-reaction rates. Biophys.
J., 100:2475–2485, 2011.
[38] P. Markowich. The Stationary Semiconductor Device Equations. Springer-Verlag, New York,
1986.
[39] D. Meng, B. Zheng, G. Lin, and M. Sushko. Numerical solution of 3D Poisson-Nernst-Planck
equations coupled with classical density functional theory for modeling ion and electron
transport in confined environment. Commun. Comput. Phys., 16:1298–1322, 2014.
[40] M. Metti, J. Xu, and C. Liu. Energetically stable discretizations for charge transport and
electrokinetic models. J. Comput. Phys., 306:1–18, 2016.
[41] M. Mirzadeh and F. Gibou. A conservative discretization of the Poisson-Nernst-Planck
equations on adaptive cartesian grids. J. Comput. Phys., 274:633–653, 2014.
[42] M. Mock. An initial value problem from semiconductor device theory. SIAM J. Math. Anal.,
5:597–612, 1974.
[43] A. Prohl and M. Schmuck. Convergent discretizations for the Nernst–Planck–Poisson system.
Numer. Math., 111:591–630, 2009.
[44] Y. Qian, Z. Wang, and S. Zhou. A conservative, free energy dissipating, and positivity
preserving finite difference scheme for multi-dimensional nonlocal Fokker–Planck equation.
J. Comput. Phys., 386:22–36, 2019.
[45] Y. Qiao, X. Liu, M. Chen, and B. Lu. A local approximation of fundamental measure theory
incorporated into three dimensional Poisson–Nernst–Planck equations to account for hard
sphere repulsion among ions. J. Stat. Phys., 163:156–174, 2016.
28
[46] Y. Qiao, B. Tu, and B. Lu. Ionic size effects to molecular solvation energy and to ion current
across a channel resulted from the nonuniform size-modified PNP equations. J. Chem. Phys.,
140:174102, 2014.
[47] Z. Qiao, Z. Zhang, and T. Tang. An adaptive time-stepping strategy for the molecular beam
epitaxy models. SIAM J. Sci. Comput., 33:1395–1414, 2011.
[48] R. Schoch, J. Han, and P. Renaud. Transport phenomena in nanofluidics. Rev. Mod. Phys.,
80:839–883, 2008.
[49] F. Siddiqua, Z. Wang, and S. Zhou. A modified Poisson–Nernst–Planck model with excluded
volume effect: theory and numerical implementation. Commun. Math. Sci., 16 (1):251–271,
2018.
[50] Y. Sun, P. Sun, B. Zheng, and G. Lin. Error analysis of finite element method for Poisson–
Nernst–Planck equations. J. Comput. Appl. Math., 301:28–43, 2016.
[51] N. Wang, S. Zhou, P. Kekenes-Huskey, B. Li, and J. A. McCammon. Poisson-Boltzmann vs.
Size-modified Poisson-Boltzmann electrostatics applied to lipid bilayers. J. Phys. Chem. B,
118(51):14827–14832, 2014.
[52] Z. Xu, M. Ma, and P. Liu. Self-energy-modified Poisson–Nernst–Planck equations: WKB
approximation and finite-difference approaches. Phys. Rev. E, 90:013307, 2014.
[53] J. Zheng and M. Trudeau. Handbook of ion channels. CRC Press, 2015.
[54] Q. Zheng, D. Chen, and G. Wei. Second-order Poisson-Nernst-Planck solver for ion channel
transport. J. Comput. Phys., 230(13):5239–5262, 2011.
[55] S. Zhou, Z. Wang, and B. Li. Mean-field description of ionic size effects with non-uniform
ionic sizes: A numerical approach. Phys. Rev. E, 84:021901, 2011.
29
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.