Professional Documents
Culture Documents
Electro Chemo Mechanical Phase Field Modeling of Localized Corrosion: Theory and COMSOL Implementation
Electro Chemo Mechanical Phase Field Modeling of Localized Corrosion: Theory and COMSOL Implementation
https://doi.org/10.1007/s00366-023-01833-8
ORIGINAL ARTICLE
Received: 17 September 2022 / Accepted: 25 April 2023 / Published online: 11 May 2023
© The Author(s) 2023
Abstract
A new theoretical phase field-based formulation for predicting electro-chemo-mechanical corrosion in metals is presented.
The model combines electrolyte and interface electrochemical behaviour with a phase field description of mechanically-
assisted corrosion accounting for film rupture, dissolution and repassivation. The theoretical framework is numerically
implemented in the finite element package COMSOL MULTIPHYSICS and the resulting model is made freely available.
Several numerical experiments are conducted showing that the corrosion predictions by the model naturally capture the influ-
ence of varying electrostatic potential and electrolyte concentrations, as well as predicting the sensitivity to the pit geometry
and the strength of the passivation film.
13
Vol.:(0123456789)
3878 Engineering with Computers (2023) 39:3877–3894
13
Engineering with Computers (2023) 39:3877–3894 3879
phase field order parameter 𝜙, the normalized metal ion con- locally intact/fully damaged. 𝜓Sch,d and 𝜓Lch,d are the chemical
centration cM, the electrostatic potential 𝜑l, the concentration free energy density terms respectively associated with the
of multiple ionic species ci and the metal displacement vec- concentrations of the solid phase cS and the liquid phase cL .
tor u. Based on these preliminaries, we shall first define the Accordingly,
energy functions (Sect. 2.2), then derive the balance equations ( ) ( )
of the primal fields (Sect. 2.3), introduce the main corrosion- 𝜕𝜓Sch,d cS 𝜕𝜓Lch,d cL
= (5)
mechanics coupling relations in the electro-chemo-mechanical 𝜕cS 𝜕cL
system (Sect. 2.4), particularize the electrochemistry of the
electrolyte (Sect. 2.5) and, finally, summarize the governing and,
equations of our theory (Sect. 2.6). cM = h(𝜙)cS + [1 − h(𝜙)]cL (6)
2.2 Free energy Consistent with the KKS model, 𝜓Sch,d and 𝜓Lch,d are given by
Consistent with our prior research [12], we consider two 𝜓Sch,d = A(cS − cSe )2 and 𝜓Lch,d = A(cL − cLe )2 (7)
distinct systems, namely the electrochemical system and the
where cSe = csolid ∕csolid = 1 and cLe = csat ∕csolid are the nor-
mechanical system. These two systems possess their respective
malized equilibrium concentrations for the solid and liquid
free energies, denoted by ΠE and ΠM, which will be formulated
phases. Also, A is the free energy density parameter, which
in Sects. 2.2.1 and 2.2.2, respectively. The coupling of these
is assumed to be equal for the solid and liquid phases and
two systems will be addressed in Sect. 2.4.
can be determined by benchmarking the chemical free ener-
gies obtained from KKS model with those obtained from
2.2.1 Electrochemical system
thermodynamic databases [19, 23].
Combining Eqs. (4)–(7), one reaches
In this section, we introduce a general expression for the
energy function in corrosion problems. Consider first the free [ ]2
𝜓 ch,d = A cM − h(𝜙)(cSe − cLe ) − cLe (8)
energy of the electrochemical system, denoted by ΠE, which
is an integral of the electrochemical energy density 𝜓 E over The second element of 𝜓 ch , the energy stored in the dilute
the domain Ω, such that solution, 𝜓 ch,s, is defined as follows:
( ch ) ∑
∫Ω ∫Ω
n
( )
ΠE = 𝜓 E dV = 𝜓 + 𝜓 i + 𝜓 el dV (2) 𝜓 ch,s = ci Rg T ln ci − 1 + ci 𝜇i0 (9)
i=1
where 𝜓 ch , 𝜓 i , and 𝜓 el denote the chemical, interfacial, and
where i is the associated ionic species (e.g.,
electrostatic free energy densities, respectively. These are
Na+ , Cl− , H+ , OH− ), Rg is the gas constant, T is the tem-
defined below.
perature, and 𝜇i0 is the reference chemical potential. Here,
Chemical free energy density 𝜓 ch. The chemical free energy
one should note that the chemical energy associated with
density 𝜓 ch can be further decomposed into the energy for +
the metallic ions MnM is already accounted for through the
metal dissolution 𝜓 ch,d and the energy stored in the dilute solu-
KKS model.
tion 𝜓 ch,s,
Interfacial free energy density 𝜓 i . The interfacial strain
𝜓 ch = 𝜓 ch,d + 𝜓 ch,s (3) energy density 𝜓i is defined as the sum of double-well poten-
tial energy and the energy corresponding to the phase field
We follow the KKS model [25] to define 𝜓 ch,d . Accordingly, gradient, reading
each material point is a mixture of both solid and liquid
𝛼
phases with different concentrations but equal chemical 𝜓 i = g(𝜙)w + |∇𝜙|2 (10)
2
potentials. Thus, 𝜓 ch,d is given by
where 𝛼 is the gradient energy coefficient and w is the height
𝜓 ch,d = h(𝜙)𝜓Sch,d + [1 − h(𝜙)]𝜓Lch,d (4) of the double-well potential g(𝜙), which is chosen here as
g(𝜙) = 𝜙2 (1 − 𝜙)2 . As discussed and derived in Appendix
where h(𝜙) = −2𝜙3 + 3𝜙2 is a degradation function intrinsic
A, the height w and the gradient energy coefficient 𝛼 in Eq.
to the phase field model. Here we define h(𝜙 = 1) = 1 as
(10) can be related to the interface energy per area 𝛾 and its
intact metal and h(𝜙 = 0) = 0 as fully corroded region to
thickness 𝓁 as:
describe the phase transition due to metal dissolution. Also,
h� (𝜙 = 0) = h� (𝜙 = 1) = 0 must be satisfied to ensure that
the energy converges to a finite value where the domain is
13
3880 Engineering with Computers (2023) 39:3877–3894
√ √ ( E )
𝛼w 8𝛼 𝜕𝜙 𝜕𝜓
(16)
2
𝛾= and 𝓁= (11) = −L − 𝛼∇ 𝜙
18 w 𝜕t 𝜕𝜙
∫Ω ∫Ω (13)
ΠM = 𝜓 M dV = h(𝜙)(𝜓 e + 𝜓 p )dV where i0 is the exchange current density and L0 is the inter-
face kinetics coefficient when the overpotential 𝜂 is zero.
where the corrosion degradation function h(𝜙) captures the Thus, as shown in Sect. 4.2, the proportionality constant 𝜉
reduction of material stiffness due to metal dissolution. The can be determined by conducting a numerical experiment
elastic strain energy density is given as under activation corrosion conditions (small La).
The corrosion current density ia can usually be esti-
1 e
𝜓e = 𝜺 ∶ C e ∶ 𝜺e (14) mated by using the so-called Butler–Volmer equation:
2
[ ( ) ( )]
aa nM F𝜂 (1 − aa )nM F𝜂
where Ce is the linear elastic stiffness matrix and 𝜺e is the ia = i0 exp − exp − (19)
elastic strain tensor. The plastic behaviour of the solid is Rg T Rg T
characterized in this work by means of von Mises J2 plas-
where aa is the anodic charge transfer coefficient. Consist-
ticity theory. Accordingly, for a plastic strain tensor 𝜺p , the
ent with Eqs. (18)–(19), La can also be estimated by a But-
plastic component of the strain energy density reads,
ler–Volmer-type equation:
t [ ( ) ( )]
∫0
𝜓p = 𝝈 0 ∶ 𝜺̇ p dt (15) aa nM F𝜂 (1 − aa )nM F𝜂
La = L0 exp − exp − (20)
Rg T Rg T
where 𝝈 0 is the so-called undamaged or effective Cauchy
stress tensor. And Eq. (20) can be further simplified as a Tafel-type equa-
tion if only the anodic reaction is relevant at the dissolution
surface; i.e.,
2.3 Balance equations ( )
a n F𝜂
La = L0 exp a M (21)
Consistent with the free energy defined in Sect. 2.2, we Rg T
shall now formulate the governing equations of the electro-
Finally, the overpotential is expressed as:
chemo-mechanical phase field corrosion theory.
𝜂 = 𝜑s − 𝜑l − Eeq (22)
2.3.1 Phase field evolution where 𝜑s is the solid (applied) potential and Eeq is the
equilibrium potential. In this work, we assume Eeq = 0 for
As in previous phase field corrosion models [8, 12], the convenience.
phase field evolves based on the following Allen–Cahn
equation:
13
Engineering with Computers (2023) 39:3877–3894 3881
𝜕𝜓 E [ ] ⎧ ⎫
𝜇M = = 2A cM − h(𝜙)(cSe − cLe ) − cLe ∕csolid + F𝜑l nM �mt
� vjm � −vjm ⎪
𝜕cM csolid ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ ⏟⏟⏟ ⎪
𝜇M2
Rj = ⎨kmp cj − kmr cj ⎬ (32)
m=1 ⎪ ⎪
𝜇M1
vjm >0 vjm <0
(26) ⎩ ⎭
Where we emphasise that csolid is a constant used for normal-
where mt is the total number of chemical equations, vjm is
ising the metal ion concentration.
the stoichiometric coefficient for species j in the chemical
Accordingly, the flux JM can be calculated by a Fick law-
reaction m, and kmp and kmr respectively denote the rate con-
type relation,
stant of products and reactants in reaction m. Note that we
DM 2 define vjm > 0 for products and vjm < 0 for reactants. Also,
JM = JM1 + JM2 = − c ∇𝜇
2A solid M1 we emphasize that when the metal ion is involved, the actual
[1 − h(𝜙)]DM cM csolid concentration c0M = cM csolid must be adopted in Eq. (32).
− ∇𝜇M2
Rg T
[ ] (27)
= −DM csolid ∇ cM − h(𝜙)(cSe − cLe ) − cLe 2.3.3 Electrostatic potential
[1 − h(𝜙)]DM cM csolid
− FnM ∇𝜑l
Rg T The distribution of electrostatic potential 𝜑l can be estimated
by the following Poisson-type equation [28, 29],
Note that the term [1 − h(𝜙)] is present in JM2 to ensure the
𝜕𝜙
transport of species is only valid in the electrolyte and along ∇ ⋅ (𝜅∇𝜑l ) = nM Fcsolid (33)
the interface (𝜙 < 1). However, this term is not necessary 𝜕t
for JM1, given that cM and 𝜙 are naturally coupled by the In Eq. (33), the variation of charge density due to the chemi-
KKS model. Also, note that we use the real metal ion con- cal reaction shown in Eq. (1) is accounted for by defining
centration c0M = cM csolid in (27) to maintain the dimensional an additional term on the right-hand side, with the term
consistency of JM and Ji . Now, inserting (27) into the mass
13
3882 Engineering with Computers (2023) 39:3877–3894
csolid 𝜕𝜙∕𝜕t capturing the creation of electrons due to the where E is the Young’s modulus, 𝜎y is the initial yield stress
dissolution of the metal electrode. Also, 𝜅 is the electric and N is the strain hardening exponent (0 ⩽ N ⩽ 1).
conductivity, which is defined as
𝜅 = h(𝜙)𝜅s + [1 − h(𝜙)]𝜅l (34) 2.4 Dissolution‑mechanics interactions
where 𝜅s and 𝜅l are the conductivity in solid and liquid Two important physical couplings are relevant to our theory.
phases, respectively. The magnitude of the solid conductiv- Firstly, the evolution of localized corrosion will result in
ity is chosen to be a sufficiently large value (𝜅s = 1 × 107 material damage and redistribution of mechanical fields,
S/m), so as to ensure a uniform distribution of 𝜑l in the solid see Eq. (37). Secondly, the mechanical deformation of the
phase. Thus, 𝜑l , which is indistinctly referred to as elec- solid will impact metallic dissolution by enhancing corro-
trolyte or electrostratic potential, is solved for in the entire sion rates (mechanochemical theory [21]) and by fracturing
domain but its magnitude is only relevant within the elec- the passivation layer (FRDR mechanism [22]). The latter is
trolyte and at the electrolyte-electrode interface. Then, upon captured by enhancing the phase field mobility coefficient,
the assumption of a dilute solution [30], 𝜅l is given by the as proposed by Cui et al. [12]. Thus, the mechanical work
following concentration-dependent function required to fracture the passivation film is characterised
( ) using the equivalent plastic strain 𝜀p , such that film rup-
F2 ∑
𝜅l = c c D n + 2 2
ci Di ni (35) ture will occur when 𝜀p reaches a critical value 𝜀f . After a
Rg T M solid M M i film rupture event, passivation will result in the deposition
of an initially unstressed oxide layer on the newly exposed
metallic surface. Thus, corrosion rates are the result of a
2.3.4 Mechanical deformation competition between the kinetics of passivation and strain-
ing. Accordingly, the relevant time scale over which strains
The governing equation of the mechanical system is derived by accumulate is the time that it takes for the new passivation
minimizing the strain energy density 𝛿ΠM = 0. Let us neglect layer to rupture, since its deposition. This rupture-dissolu-
for simplicity body loads and external tractions. Accordingly, tion-repassivation cycle time interval is here denoted ti and
see Eqs. (13)–(15), one reaches: accordingly,
∫Ω
ti
(36)
∫0
h(𝜙) 𝝈 0 ∶ 𝛿𝜺 dV = 0 p p
𝜀i = 𝜀f with 𝜀i = 𝜀̇ p dt (40)
13
Engineering with Computers (2023) 39:3877–3894 3883
( ) ( )
( ) 𝜀p 𝜎h Vm a result, the reactions are typically assumed to be in equi-
i(t) = km 𝜀p , 𝜎h if (ti ) = + 1 exp i (t ) (42) librium. Under equilibrium conditions, the concentrations
𝜀y Rg T f i
involved must remain proportional to each other and conse-
where 𝜎h is the hydrostatic stress and Vm is the molar vol- quently an equilibrium constant can be defined for each of
ume. The latter is defined as Vm = Mm ∕𝜌m , such that for the reactions being considered; i.e., here one finds1
a stainless steel with density 𝜌m = 7930 kg∕m3 and molar
kf 1 cH cMOH kf 2
mass Mm = 0.056 kg/mol, the molar volume equals K1 = = , K2 = = cH cOH (47)
Vm = 7.1 × 10−6 m3 ∕mol. kb1 cM csolid kb2
Accordingly, building upon the connection between the
Two approaches are typically followed to introduce the equi-
mobility coefficient L and the corrosion current density i, a
librium assumption in the Nernst–Planck equations (31)
generalized L can be defined that incorporates: (i) the FRDR
[32]. One can solve for some of the ionic species assuming
mechanism, via (41); (ii) the sensivity of corrosion kinet-
Ri = 0 and then estimate the remaining concentrations via
ics to mechanical fields, via (42); and (iii) the impact of
their equilibrium relationships. For example, focusing on
the overpotential 𝜂 on the corrosion current, via (19)–(21).
reaction (45), a numerical solution for cH can be obtained
Hence,
by solving Eq. (31) with RH = 0 , and then Eq. (47b) can
( ) be used to estimate cOH , as the magnitude of K2 is known.
L = L 𝜀 p , 𝜎h , 𝜂
{ ( ) Alternatively, the magnitude of Ri , the source term in Eq.
km 𝜀p , 𝜎h La (𝜂), if 0 < ti ⩽ t0
= ( ) [ ( )] (31), can be adequately chosen so as to ensure that the equi-
km 𝜀p , 𝜎h La (𝜂) exp −k ti − t0 , if t0 < ti ⩽ t0 + tf librium conditions are fulfilled. I.e., for the case of reac-
(43) tion (45), the magnitudes of RH and ROH are chosen such
that the numerical estimates for cH and cOH always satisfy
2.5 Species and reactions in the electrolyte cH cOH = K2. Here, the latter approach is adopted. Thus, fol-
lowing Eq. (47), the expressions for the reaction terms (46)
The transport of ionic species and the homogeneous chemi- can be re-formulated as
cal reactions in the electrolyte have an impact on localized ( )
RM = kb1 −K1 cM csolid + cH cMOH
corrosion. Here, we assume that the electrolyte is a NaCl- ( )
based solution containing the following six ionic species: RMOH = kb1 K1 cM csolid − cH cMOH
+ + ( ) ( )
MnM , M(OH)(nM −1) , H+, OH−, Na+ and Cl−. These result in RH = kb1 K1 cM csolid − cH cMOH + kb2 K2 − cH cOH
the following chemical reactions: ( )
ROH = kb2 K2 − cH cOH
+
kb1
+
(48)
MnM + H2 O −
−−
↽⇀− M(OH)(nM −1) + H+ (44) and by inserting (48) into (28) and (31), the governing
kf 1
equations for all concerned species are obtained. Here, it
kb2 is important to note that the local equilibrium assumption
H2 O −
−−
↽⇀− H+ + OH− (45) for the chemical reactions implies that one does not need
kf 2
to know the magnitude of the backward and forward reac-
Thus, the reaction term for each ionic species in Eq. (32) tion rates ( kfi and kbi ), it suffices to know the value of the
can be re-written as: equilibrium constants Ki . Consider for example Eq. (48)d,
the term kb2 acts as a penalty term as increasing its magni-
RM = −kf 1 cM csolid + kb1 cH cMOH tude will constraint the solution to ensure that cH cOH = K2
RM(OH) = kf 1 cM csolid − kb1 cH cMOH is met. Accordingly, the choice of kbi is purely numerical,
(46) with the equilibrium condition been enforced for kbi → ∞.
RH = kf 1 cM csolid − kb1 cH cMOH + kf 2 − kb2 cH cOH
As discussed in Sect. 4.1, the magnitude of kbi is chosen to
ROH = kf 2 − kb2 cH cOH be sufficiently large to approximate equilibrium conditions
but not so large so as to induce convergence problems.
where kf and kb respectively denote the rate constants for the
forward and backward reactions, with the subscripts 1 and
2 being employed to distinguish between the reactions (44)
and (45), respectively. Chemical reactions typically occur
over much shorter times scales than mass transport and, as
1
Note that, for dimensional consistency, some authors choose to
define a unit activity concentration ca0, such that K2 = cH cOH ∕c2a0,
with ca0 usually taken to be 1 mol/L. Here, we choose to drop this
term for simplicity.
13
3884 Engineering with Computers (2023) 39:3877–3894
13
Engineering with Computers (2023) 39:3877–3894 3885
𝜕 2 cM 𝜕c and
ea + da M + ∇ ⋅ 𝚪 = f (50)
𝜕t 2 𝜕t { ( )
t, if 𝜀p − 𝜀c > 𝜀f
Accordingly, Eq. (50) can be particularised to (T.2) upon the tc = (53)
following choices: da = 1, ea = 0, f = RM/csolid and tc , otherwise
13
3886 Engineering with Computers (2023) 39:3877–3894
13
Engineering with Computers (2023) 39:3877–3894 3887
1.0
120
100 0.8
0.04
80
0.6
0.02
60
0.4
40 0.00
1 2
0.2
20
0 0.0
0 40 80 120 160 200 0.0 0.5 1.0 1.5 2.0 2.5
Fig. 3 Pencil electrode test with electrochemistry: predictions of pit Fig. 4 Pencil electrode test with electrochemistry: normalized metal
depth versus time t as a function of the electrolyte height Hl (for a concentration cM distribution along the vertical direction ( y∕Hs).
fixed metal height Hs = 150 𝜇m) Results are obtained for a time of t = 100 s for two selected values of
the electrolyte height (Hl = 0 and Hl = 200 𝜇m)
13
3888 Engineering with Computers (2023) 39:3877–3894
100 75
80 60
60 45
40 30
20 15
0 0
0 40 80 120 160 200 0 40 80 120 160 200
Fig. 5 Pencil electrode test with electrochemistry: predictions of pit Fig. 7 Pencil electrode test with electrochemistry: predictions of pit
depth versus time t as a function of applied potential 𝜑s depth versus time t as a function of the initial NaCl concentration
4.2 Mechanically‑assisted corrosion
in the entire domain, with the phase field being used to track from a semi‑circular pit:
the location of the electrode-electrolyte interface. Thus, the electro‑chemo‑mechanical analysis
distribution of 𝜑l in the solid phase (𝜙 = 1) has no practical
interest. Another interesting observation from Fig. 6 is the We now turn our attention to the interplay between elec-
increase in magnitude of 𝜑l with increasing 𝜑s , as readily trochemistry and mechanics. A rectangular plate of width
observed when comparing legends. This can be understood W = 0.3 mm and height Hs = 0.15 mm is considered. Plane
by considering the dual role that the applied potential plays. strain conditions are assumed. The plate contains a circular
On the one hand, corrosion kinetics are accelerated for larger pit of radius 10 μ m and is exposed to a NaCl-based electro-
values of the applied potential, as shown in Fig. 5 and dis- lyte solution that extends over a domain with height Hl = 0.3
cussed above. On the other hand, see (T.4), the increased mm. The geometry of the metal-electrolyte system is shown
dissolution rate (d𝜙∕dt ) resulting from higher applied poten- in Fig. 8, together with the initial and boundary conditions.
tials translates into a higher gradient of 𝜑l and, given that As shown in Fig. 8, we assume that the pit has nucleated as a
𝜙l = 0 at the top edge, in a higher value of the electrolyte result of the localised rupture of the passive film, and there-
potential. fore consider the presence of a passive film along all regions
13
Engineering with Computers (2023) 39:3877–3894 3889
Fig. 8 Mechanically-assisted corrosion from a semi-circular pit: geo- and this leads to a proportionality constant of
metric setup, initial and boundary conditions 𝜉 = 1.08 × 10−11 in (18). Using the experimentally meas-
ured exchange current density i0 = 1.422 mA∕cm2 reported
in Ref. [42], the reference interface mobility parameter is
of the metal-electrolyte interface outside the pit region. found to be L0 = 1.5 × 10−10 mm2 ∕(Ns).
Within the void region ( R = 10 μm), we assume the passive The results obtained are shown in Fig. 9, in terms of the
film is less stable, allowing the FRDR process described by phase field contours, which illustrate the evolution of the
(T.7) to be applicable. Conversely, the passive film outside corrosion front. A more quantitative description of the cor-
of the void region is assumed to be stable enough to preclude rosion pit is shown in Fig. 10, where the pit growth along the
corrosion and the transport of ionic species. This is imple- depth and width directions is shown. Here, pit depth refers
mented by separating the electrolyte and the metal over those to the growth along the vertical direction (or 𝜃 = 90◦ for a
protected regions with an impenetrable and non-corroding 1 polar coordinate system centred at the pit mouth), while pit
μ m layer, as indicated by the bold line in Fig. 8. width refers to the growth along the horizontal direction
For simplicity, the same electrochemical parameters used (𝜃 = 0◦). The results show that pitting is not symmetric, with
in the pencil electrode test case study are adopted (Table 2), corrosion rates being faster along the depth direction due to
unless otherwise stated. The applied potential is chosen to be the role of mechanical fields in enhancing corrosion kinet-
𝜑s = 0.4 V. The Dirichlet boundary conditions 𝜙 = cM = 0 ics—see Eqs. (42) and (43). Differences are notable, with
and 𝜑l = 0 are prescribed at the top edge. The initial values the pit extending along the vertical direction more than twice
of ci and the associated Dirichlet boundary conditions at the the pit width after 5400 s.
top edge of the electrolyte are same as those in the pencil Moreover, results reveal that corrosion rates reduce
electrode test. As in Ref. [24], the constitutive behaviour of with time, deviating from the linear behaviour reported in
the stainless steel is characterized by a Young’s modulus of the results obtained for the pencil electrode test (Figs. 5
E = 190 GPa, a Poisson’s ratio of 𝜈 = 0.3, a yield stress of and 7). This is despite L0 being much smaller in the pre-
𝜎y = 400 MPa, and a strain hardening exponent of N = 0.1. sent case study; L = 1.5 × 10−10 mm2 ∕(Ns) vs L = 0.001
Film rupture, dissolution and repassivation is assumed to mm2 ∕(N ⋅ s) for Figs. 5 and 7. It is of interest to investi-
take place along the pit surface, and is characterized by gate the source of this drop in corrosion rates, which can
the following FRDR parameters k = 0.0001, t0 = 50 s, and be potentially caused by three factors: (i) the role of film
𝜀f = 0.003 [24]. A constant mechanical load is applied by passivation, (ii) a shift from activation-controlled corro-
constraining the left side of the metallic sample and pre- sion to diffusion-controlled corrosion, and (iii) a raise in
scribing a constant horizontal displacement of u∞ = 0.8 μ m electrolyte potential 𝜑l . Inspection of the cM distribution
in its right edge. The entire metal-electrolyte system is dis- shows that the concentration of metal ions at the interface
cretized by means of approximately 20,000 triangular linear is below the saturation concentration csat ; hence, we pro-
finite elements, with the mesh being particularly refined in ceed to disregard (ii). Then, the role of the electrostatic
the expected corrosion region, where the characteristic ele- potential is investigated by plotting the contours of 𝜑l for
ment length is at least three times smaller than the interface relevant time intervals. The results are shown in Fig. 11
thickness 𝓁.
13
3890 Engineering with Computers (2023) 39:3877–3894
1.0
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
Fig. 9 Mechanically-assisted corrosion from a semi-circular pit: phase field contours illustrating the pit evolution over three selected time stages:
a t = 1800 s, b t = 3600 s and c t = 5400 s
0.0030
0.0032
0.0034
0.0036
0.0038
0.0040
0.0042
0.0044
0.0046
0.0048
(a) (b) (c) 0.0050
Fig. 11 Mechanically-assisted corrosion from a semi-circular pit: contours of electrostatic potential 𝜑l at times: a 1800 s, b 3600 s, and c 5400 s
13
Engineering with Computers (2023) 39:3877–3894 3891
Fig. 13 Mechanically-assisted corrosion from a semi-circular pit: Contours of a cM ⋅ csolid , b pH, and c cCl. The results are shown for a time
t = 5400 s
13
3892 Engineering with Computers (2023) 39:3877–3894
species and the distribution of electrostatic potential. These where I is the integrand of (56). Combining (56)–(57), one
three components are fully coupled and impact corrosion kinet- reaches
ics by means of a mechanics- and( electrochemistry-dependent
) ( )2
interface mobility parameter L 𝜀p , 𝜎h , 𝜂 . The model is imple- 1 d𝜙
w𝜙2 (1 − 𝜙)2 − 𝛼 = const (58)
mented in COMSOL MULTIPHYSICS, with the numerical 2 dy
implementation being described and made freely available
to the reader at http://www.empaneda.com/codes. Numerical
13
Engineering with Computers (2023) 39:3877–3894 3893
13
3894 Engineering with Computers (2023) 39:3877–3894
23. Nguyen TT, Bolivar J, Shi Y, Réthoré J, King A, Fregonese M, 37. Wu JY, Huang Y, Nguyen VP (2021) Three-dimensional phase-
Adrien J, Buffiere JY, Baietto MC (2018) A phase field method field modeling of mode I + II / III failure in solids. Comput Meth-
for modeling anodic dissolution induced stress corrosion crack ods Appl Mech Eng 373:113–537
propagation. Corros Sci 132:146–160 38. Gao H, Ju L, Li X, Duddu R (2020) A space-time adaptive finite
24. Cui C, Ma R, Martínez-Pañeda E (2022) A generalised, multi- element method with exponential time integrator for the phase
phase-field theory for dissolution-driven stress corrosion cracking field model of pitting corrosion. J Comput Phys 406:109–191
and hydrogen embrittlement. J Mech Phys Solids 166:104–951 39. Gao H, Ju L, Duddu R, Li H (2020) An efficient second-order
25. Kim SG, Kim WT, Suzuki T (1999) Phase-field model for binary linear scheme for the phase field model of corrosive dissolution.
alloys. Phys Rev E Stat Phys Plasmas Fluids Relat Interdiscip J Comput Appl Math 367:112–472
Topics 60(6):7186–7197 40. Scheiner S, Hellmich C (2007) Stable pitting corrosion of stain-
26. Mai W, Soghrati S (2018) New phase field model for simulat- less steel as diffusion-controlled dissolution process with a sharp
ing galvanic and pitting corrosion processes. Electrochim Acta moving electrode boundary. Corros Sci 49(2):319–346
260:290–304 41. Coelho LB, Torres D, Bernal M, Paldino GM, Bontempi G, Ustar-
27. Ansari TQ, Xiao Z, Hu S, Li Y, Luo JL, Shi SQ (2018) Phase- roz J (2023) Probing the randomness of the local current distribu-
field model of pitting corrosion kinetics in metallic materials. npj tions of 316 L stainless steel corrosion in NaCl solution. Corros
Comput Mater 4(1):1–9 Sci 217:111,104
28. Tsuyuki C, Yamanaka A, Ogimoto Y (2018) Phase-field modeling 42. Chen Z, Bobaru F (2015) Peridynamic modeling of pitting corro-
for pH-dependent general and pitting corrosion of iron. Sci Rep sion damage. J Mech Phys Solids 78:352–381
8(1):1–14 43. Kristensen PK, Niordson CF, Martínez-Pañeda E (2020) Applica-
29. Lin C, Ruan H, Shi SQ (2019) Phase field study of mechanico- tions of phase field fracture in modelling hydrogen assisted fail-
electrochemical corrosion. Electrochim Acta 310:240–255 ures. Theoret Appl Fract Mech 110:102–837
30. Laycock NJ, White SP (2001) Computer simulation of single pit 44. Kristensen PK, Niordson CF, Martínez-Pañeda E (2020) A phase
propagation in stainless steel under potentiostatic control. J Elec- field model for elastic-gradient-plastic solids undergoing hydrogen
trochem Soc 148(7):B264 embrittlement. J Mech Phys Solids 143:104,093
31. Gutman EM (1998) Mechanochemistry of materials. Cambridge 45. Zhao Y, Wang R, Martínez-Pañeda E (2022) A phase field electro-
International Science Publishing, Cambridge chemo-mechanical formulation for predicting void evolution at the
32. Walton JC (1990) Mathematical modeling of mass transport and Li-electrolyte interface in all-solid-state batteries. J Mech Phys
chemical reaction in crevice and pitting corrosion. Corros Sci Solids 167:104–999
30(8–9):915–928
33. Simo JC, Ju JW (1987) Strain- and stress-based continuum dam- Publisher's Note Springer Nature remains neutral with regard to
age models—I. Formulation. Int J Solids Struct 23(7):821–840 jurisdictional claims in published maps and institutional affiliations.
34. Isfandbod M, Martínez-Pañeda E (2021) A mechanism-based
multi-trap phase field model for hydrogen assisted fracture. Int J
Plast 144:103,044
35. Wu JY, Huang Y, Nguyen VP (2020) On the BFGS monolithic
algorithm for the unified phase field damage theory. Comput
Methods Appl Mech Eng 360:112–704
36. Kristensen PK, Martínez-Pañeda E (2020) Phase field fracture
modelling using quasi-Newton methods and a new adaptive step
scheme. Theoret Appl Fract Mech 107:102–446
13