Contents lists available atScienceDirect
Journal of Computational Physics
www.elsevier.com/locate/jcp
First and second order numerical methods based on a new convex splitting for phase-field crystal equation
Jaemin Shin
a, Hyun Geun Lee
a, June-Yub Lee
b,∗
aInstituteofMathematicalSciences,EwhaWomansUniversity,Seoul120-750,RepublicofKorea bDepartmentofMathematics,EwhaWomansUniversity,Seoul120-750,RepublicofKorea
a r t i c l e i n f o a b s t r a c t
Articlehistory:
Received5April2016
Receivedinrevisedform22September 2016
Accepted23September2016 Availableonline28September2016
Keywords:
Swift–Hohenbergfunctional Phase-fieldcrystalequation Convexsplittingmethod Gradientstability Energystability
Thephase-fieldcrystalequationderivedfromtheSwift–Hohenbergenergyfunctionalisa sixthordernonlinearequation. Weproposenumerical methodsbasedonanew convex splittingforthephase-fieldcrystalequation.Thefirstorderconvexsplittingmethodbased ontheproposedsplittingisunconditionallygradientstable,whichmeansthatthediscrete energyis non-increasingfor anytimestep.The secondorderschemeisunconditionally weakly energy stable, which means that the discrete energy is bounded by its initial valueforanytimestep.Weprovemassconservation,uniquesolvability,energystability, and theorderoftruncationerrorforthe proposedmethods.Numerical experimentsare presentedtoshowtheaccuracyandstabilityoftheproposedsplittingmethodscompared totheexistingothersplittingmethods.Numericaltestsindicatethattheproposedconvex splittingisagoodchoicefornumericalmethodsofthephase-fieldcrystalequation.
©2016ElsevierInc.Allrightsreserved.
1. Introduction
Phase-field models have emerged asa powerfulapproach formodeling andpredicting mesoscale morphologicaland microstructuralevolutioninmaterials.Manyofsuchmodels trytominimize anenergyfunctional
E(φ)
associatedwitha phasefieldfunctionφ (
x,
t)
.Ingeneral,thephasefieldequationismodeledbygradientflowsforE(φ)
,∂φ
∂
t= −
gradE (φ),
(1)where thesymbol “grad” denotes the gradient inthe sense of the Gâteaux derivative. Forexample, theAllen–Cahn and Cahn–Hilliard equationsare gradientflows ofthe Ginzburg–Landau free energy[1,2].It is worth tonote that the energy functional
E(φ)
isnon-increasingintimesince(1)isofgradienttype.Themaindifficulty developinganumericalmethodforphasefieldequationsisaseverestabilityrestrictiononthetime stepduetononlinearterms andhighorderdifferentialones. Therehavebeenmanynumericalattemptstoovercomethe stability restriction.Theconvexsplitting(CS)methodshavebeenrevitalized bythework ofEyre[3],whichareoriginally attributed to Elliott and Stuart [4]. Recently, many researchers [5–11] have developed noteworthy schemes by using CS idea where an energy functional
E(φ)
is split into two convex functionals (so called contractive and expansive parts),*
Correspondingauthor.E-mailaddress:jyllee@ewha.ac.kr(J.-Y. Lee).
http://dx.doi.org/10.1016/j.jcp.2016.09.053 0021-9991/©2016ElsevierInc.Allrightsreserved.
E(φ)
=E
c(φ)
−E
e(φ)
.Theenergyofthefirstordernumericalsolutionbyaconvexsplittingmethodmonotonicallydecreases whenE
c(φ)
isnumericallytreatedimplicitlyandE
e(φ)
explicitly,i.e.,φ
n+1− φ
nΔ
t= −
gradE
c(φ
n+1) +
gradE
e(φ
n).
(2)Theconvexsplittingmethodsallusivelyindicatethatwemighthavemanykindsofenergysplittings.
Thephase-fieldcrystal(PFC)model,whichisthemainsubjectofthispaper,hasbeensuggestedtostudythemicrostruc- turalevolutionoftwo-phasesystemsonatomiclengthanddiffusivetimescales.Elderet al.[12,13]introducethePFCmodel tominimizetheSwift–Hohenbergfreeenergyfunctional[14],
E (φ) =
1 4
φ
4+
12
φ
− + (
1+ )
2φ
dx
,
(3)where
φ
is thedensity field andis a positivebifurcation constantwith physicalsignificance.Here,
isthe Laplacian operator and
(
1+ )2=1+2+ 2.Fortheinterested readers,werefer to[14] foradetailedphysicalmeaning ofthe functional.Inparticular,
(
1+ )2 offreeenergyisfromfittingto anexperimental structurefactor[13].ThePFCequation arisingfromE(φ)
undertheconstraintofmassconservationcanbewrittenasfollows:∂φ
∂
t= μ = φ
3− φ + (
1+ )
2φ
,
(4)where
μ
isthechemicalpotential definedasμ
=δδφE and δφδ denotesthevariationalderivativewithrespecttoφ
.Sinceit isoriginallymodeledtoproducetheperiodicstates[12],weassumethatthedensityfieldφ
isperiodicon.
Some researchers try to use a convex splitting method basedon the following formof the Swift–Hohenberg energy functional,
E (φ) =
1
4
φ
4+
1−
2
φ
2− |∇φ|
2+
1 2(φ)
2dx (5)
whichisidenticalto(3)andcanbeeasilysplitintotwoconvexfunctionals,
E
D Fc(φ) =
1
4
φ
4+
1−
2
φ
2+
1 2(φ)
2dx
, E
D Fe(φ) =
|∇φ|
2dx,
(6)with
≤1.Here,thediffusion(DF) termisusedfortheexpansivepart.Wiseet al.[5]proposeafirstorderanduncondi- tionallygradientstableschemebasedontheconvexsplitting(6),
φ
n+1− φ
nΔ
t= μ
n+1,
(7)μ
n+1= φ
n+1 3+ (
1− ) φ
n+1+
2φ
n+1+
2φ
n,
(8)whichwe aregoingtorefertoasCSD F(1).Huet al.[6]proposeasecondorderconvexsplittingmethod,whichisweakly energystable.Thesecondordermethodcanbewrittenas
φ
n+1− φ
nΔ
t= μ
n+12,
(9)μ
n+12= φ
n+1+
1−
2
φ
n+1+ φ
n+
12
2
φ
n+1+ φ
n+
3
φ
n− φ
n−1,
(10)where
φ
n+1=14
φ
n+1+ φnφ
n+12+
φ
n2and
φ
−1= φ0,whichwe aregoingtorefertoasCSD F(2).Wecangive an accountforthismethodasamulti-stepimplicit–explicitmethod[15].The implicitpartisdesignedwithasecant-type differencemethodlikeasin[16] andexplicitpartisfromasecondorderAdams–Bashfordmethod.Thesecant-typediffer- enceissecondorderaccurateandplaysanimportantrolefortheproofoftheenergystability.InordertosolvethePFCequationaccuratelyandefficiently,weproposenewnumericalmethodsbasedonthefollowing convexsplitting
E
B Fc(φ) =
c
(φ) +
12
φ (
1+ )
2φ
dx
, E
eB F(φ) =
e
(φ)
dx,
(11)where
c
(φ)
= 14φ
4 ande
(φ)
= 2φ
2. Notethat (11)has a differentformto (6)but itis closelyrelatedto theoriginal form(3).Here,thebifurcation(BF)termisusedfortheexpansivepart.Wecaneasilyshowthat(11)isaconvexsplitting andthedetailedproofispresentedinAppendix A.Theproposed energysplittingisalso applicableto theframeworksoffirstandsecond orderconvexsplittingmethods [5,6]. Applying theseframeworks,we propose thefirst andsecond orderconvexsplitting methods andcompletelyprove massconservation,uniquesolvability,energystability,andtheorderoftruncationerrorfortheproposedmethods.Moreover, wetrytonumericallydemonstratethat(11)isagoodchoiceintheconvexsplittingstrategyforaccuratenumericalmethods.
Forinterestedreaderstothesecondordermethodswiththeenergystability,therehavebeennotablestudiesforsolving the PFC equation. Vignal et al. [7]propose a nonlinear, second order time accurate, and unconditionally gradient stable methodbyusingtheCrank–Nicolsonmethodandtheadditionalstabilizationapproachproposedin[8]fortheCahn–Hilliard equation.Theaccuracyandstabilityoftheirmethoddependonthevalue ofthestabilizationparameter.Thesecondorder method in [7]can be considered asthe method based on the convex splitting (11).Glasner et al. [9]propose a linear, second ordertime accurate, and unconditionallygradient stable method based on a linear convex splitting.In addition, Gomezet al.[17] propose a nonlinear, second ordertime accurate, andunconditionallygradient stablemethodwiththe modifiedCrank–Nicolsonmethod,whichisnotbasedontheconvexsplitting.
This paper is organized as follows. In Sections 2 and 3, we propose the first andsecond convex splitting methods, respectively, forthePFC equationwithdetailedproofs forthemassconservation,unique solvability,andenergystability.
In Section 4, a one-dimensional numerical experiment is presented to show the accuracy andstability of the proposed methods.Inaddition,wedescribenonlineariterativemethodswithnumericalimplementations.InSection5,wenumerically demonstratetheorderofaccuracywithatwo-dimensionalexample.Wealsosimulatetwo- andthree-dimensionalexamples toshowtheapplicabilityofthenumericalmethod.Finally,conclusionsaredrawninSection6.InAppendix B,weshowthat theerrorestimateintimeforthefirstandsecondordermethods.Inaddition,weprovideacomparisonofoursecondorder methodwiththemethodof[7]inAppendix C.
2. Numericalanalysisofthefirstordernumericalmethod,CSB F(1)
Inthissection,we proposea firstordernumericalmethodbasedonthe convexsplitting(11)withdetailedproofsfor themassconservation,unconditionaluniquesolvability,andunconditionalgradientstability.Thefirstorderconvexsplitting method,referredtoasCSB F(1),iswrittenas
φ
n+1− φ
nΔ
t=
φ
n+1 3+ (
1+ )
2φ
n+1− φ
n.
(12)Forsimpledescriptionfortheproof,werewrite(12)as
φ
n+1− φ
n= Δ
tμ
n+1,
(13)μ
n+1= φ
n+1 3+ (
1+ )
2φ
n+1− φ
n.
(14)Theorem1.Thescheme(13)ismassconserving.
Proof. Themassconservationof(13)followsfrom
φ
n+1− φ
n,
1L2
= Δ
tμ
n+1,
1L2
= −Δ
t∇ μ
n+1, ∇
1L2
=
0,
(15)where
(φ, ψ)
L2=φψ
dx denotestheL2 innerproduct.Here,theintegrationbypartsformulacanbederivedforφ
andψ
satisfyingtheperiodicboundaryconditions,(φ, ψ)
L2= − (∇φ, ∇ψ)
L2.
(16)Thus,if(13)hasasolution
φ
n+1,thenitmustbeφ
n+1,
1L2=
φ
n,
1L2.
Weintroducetheusefullemma,whichwillbeusedfortheproofofthesolvabilityforbothofthefirstandsecondorder methods.
Lemma2.WeconsidertheHilbertspaceH0asazeroaveragespace.Forgivenv1
,
v2∈H0,wedefinetheinnerproductofdualspace by(
v1,
v2)
H−1=∇
ϕ
v1,
∇ϕ
v2
L2,where
ϕ
v1, ϕ
v2∈H0arethesolutionsoftheperiodicboundaryvalueproblem−ϕ
v1=v1and−
ϕ
v2=v2in.Fromtheabovedefinition,if
ψ
∈H0,thenwehavetheidentity(−φ, ψ)
H−1= (φ, ψ)
L2.
(17)Theorem3.Thescheme(13)isuniquelysolvableforanytimestep
Δ
t>
0.Proof. WeconsiderthefollowingfunctionalonH=
φ
| (φ,1)
L2=φ
n,
1L2
:
G
(φ) =
12
φ − φ
n2
H−1
+ Δ
tE
c(φ) − Δ
tδ δφ E
eφ
n, φ
L2
.
(18)Itmaybeshownthat
φ
n+1∈ H istheuniqueminimizerofG ifandonlyifitsolves,foranyψ
∈H0, dGds
(φ +
sψ )
s=0=
φ − φ
n, ψ
H−1
+ Δ
tδ
δφ E
c(φ) , ψ
L2
− Δ
tδ δφ E
eφ
n, ψ
L2
=
φ − φ
n− Δ
tδ
δφ E
c(φ) − δ δφ E
eφ
n, ψ
H−1
=
0,
(19)
becauseitisclearthatthefunctionalG isstrictlyconvexby
d2G
ds2
(φ +
sψ )
s=0=
12
ψ
2H−1+ Δ
t 2δ
2δφ
2E
c(φ) ψ, ψ
L2
≥
0.
(20)Therefore,(19)istrueforany
ψ
∈H0ifandonlyifthegivenequationholdsφ
n+1− φ
nΔ
t=
δ δφ E
cφ
n+1− δ δφ E
eφ
n.
(21)Hence,minimizingthestrictlyconvexfunctional(18)isequivalenttosolving(12)(or(13)).
Beforeprovingtheenergystability,wepresenttwousefullemmas.Forthesimplicity,wedefinetimedifferenceoperators asJφnK = φn+1− φn andq
φ
ny=
φ
n+1−
φ
n.
Lemma4.Supposethat
φ
,ψ
aresufficientlyregularand(φ)
istwotimescontinuouslydifferentiable.Considerthecanonicalconvex splittingof(φ)
into(φ)
= c(φ)
− e(φ)
,i.e.,bothfunctionsc
(φ)
ande
(φ)
areconvexfunctions,then(φ) − (ψ) ≤
c
(φ) −
e(ψ )
(φ − ψ).
(22)Proof. The analogousproof could befoundin [5],howeverweintroduce itforaself-containeddescription.Becauseboth
cand
e areconvex,wehave
c
(φ) −
c(ψ ) ≤
c(φ)(φ − ψ),
(23)e
(φ) −
e(ψ ) ≥
e(ψ )(φ − ψ).
(24)Byusingtheseinequalities,wehave
(φ)
c(φ) −
c(ψ )) − (
e(φ) −
e(ψ ))
≤
c(φ)(φ − ψ) −
e(ψ )(φ − ψ)
=
c
(φ) −
e(ψ )
(φ − ψ).
(25)
As the applicationofLemma 4,we havethe followinglemma forthe proof ofthe energystability for thefirst order method.
Lemma5.Consideranenergyfunction
(φ)
=14φ
4−2φ
2andacanonicalconvexsplittingintoc
(φ)
=14φ
4ande
(φ)
=2φ
2. Sincebothc
(φ)
ande
(φ)
areconvex,wehaves
1 4φ
n4−
2
φ
n2{
≤
φ
n+1 3− φ
nJφ
nK .
(26)Now,weprovetheenergystabilityofthefirstordermethod(13).
Theorem6.Supposethat
φ
n+1isasolutionto(13).Theconvexsplittingscheme(13)isunconditionallyenergystable,meaningthat foranytimestepsizeΔ
t>
0,E (φ
n+1) ≤ E (φ
n).
(27)Proof. BasedonLemma 5,theenergydifferenceis
J E (φ
n) K =
s
1 4φ
n4−
2
φ
n2{ +
12
r
φ
n(
1+ )
2φ
nz
dx
≤
φ
n+1 3− φ
nJφ
nK +
1 2r
φ
n(
1+ )
2φ
nz
dx
.
(28)
By(14),wehave
φ
n+13−
φ
n=μ
n+1− (1+ )2φ
n+1 and(28)followsasJ E (φ
n)K ≤
μ
n+1− (
1+ )
2φ
n+1Jφ
nK +
1 2r
φ
n(
1+ )
2φ
nz
dx
=
μ
n+1Jφ
nK − Jφ
nK (
1+ )
2φ
n+1+
1 2r
φ
n(
1+ )
2φ
nz
dx
.
(29)
Wenowproceedtoexpandthedifferenttermsontheright-handsideof(29).Using(13),thefirsttermin(29)ismanipu- latedby
μ
n+1Jφ
nK
dx= Δ
t
μ
n+1μ
n+1dx= −Δ
t
∇ μ
n+12dx
.
(30)Next,forthesecondtermin(29),wehave
Jφ
nK (
1+ )
2φ
n+1dx=
Jφ
nK (
1+ )
2φ
n+1+ φ
n 2+ Jφ
nK
2
dx=
1 2
r
φ
n(
1+ )
2φ
nz
dx
+
1 2
Jφ
nK (
1+ )
2Jφ
nK
dx=
1 2
r
φ
n(
1+ )
2φ
nz
dx
+
1 2
(
1+ ) Jφ
nK
2dx
.
(31)
Here,forthesecondandthirdlinesin(31),weusetheidentity
φ (
1+ )
2ψ
dx=
(
1+ )φ(
1+ )ψ
dx=
ψ (
1+ )
2φ
dx.
(32)Rearranging(31),wehave
− Jφ
nK (
1+ )
2φ
n+1+
1 2r
φ
n(
1+ )
2φ
nz
dx
= −
1 2
(
1+ ) Jφ
nK
2dx
.
(33)Applying(30)and(33)to(29),wehave
J E (φ
n)K ≤ −Δ
t
∇ μ
n+12dx
−
1 2
(
1+ ) Jφ
nK
2dx
≤
0 (34)whichprovestheenergydissipationforanytimestep
Δ
t>
0.3. Numericalanalysisofthesecondordermethod,CSB F(2)
Now, we propose a second order numerical method based on the convex splitting (11)with detailed proofs forthe massconservation,unconditionaluniquesolvability,andunconditional(weakly)gradientstability.Thesecondorderconvex splittingmethod,referredtoasCSB F(2),iswrittenas
φ
n+1− φ
nΔ
t=
φ
n+1+
12
(
1+ )
2φ
n+1+ φ
n−
2
3
φ
n− φ
n−1,
(35)whereasecant-typedifference
φ
n+1isdefinedby
φ
n+1=
cφ
n+1−
cφ
nφ
n+1− φ
n=
14
φ
n+1+ φ
nφ
n+1 2+
φ
n2(36)
forgiven
φ
n andaninitialsettingφ
−1= φ0.Thefirsttimestepreductiondoesnotaffecttheoverallsecondorderaccuracy oftheschemeasthenumericalresultswillbeshown. Ifone couldliketoavoidthisreduction,referto [10]andconsider thetheirsuggestion.Forsimpledescriptionfortheproof,(35)canbewrittenas
φ
n+1− φ
n= Δ
tμ
n+12,
(37)μ
n+12= φ
n+1+
12
(
1+ )
2φ
n+1+ φ
n−
2
3
φ
n− φ
n−1,
(38)where
φ
n+1isdefinedasin(36)and
φ
−1= φ0. Theorem7.Thescheme(37)ismassconserving,i.e.,φ
n+1,
1L2=
φ
n,
1L2. Proof. WeskiptheproofsinceitissimilartoTheorem 1.
Theorem8.Thescheme(37)isuniquelysolvableforanytimestep
Δ
t>
0.Proof. WeconsiderthefollowingfunctionalonH=
φ
| (φ,1)
L2=φ
n,
1L2
:
G
(φ) =
12
φ − φ
n2
H−1
+ Δ
t Q(φ) + Δ
t 12
(
1+ )
2φ
n−
2
3
φ
n− φ
n−1, φ
L2
,
(39)where
Q
(φ) =
1 4φ
4 4+ φ
33
φ
n+ φ
2 2φ
n2+ φ φ
n3,
1L2
+
14
(
1+ ) φ
2L2.
(40)Thefunctional Q isconvexbecause(1+ ) φ2L2 isconvexand
d2 d2
φ
1 4φ
4 4+ φ
33
φ
n+ φ
2 2φ
n2+ φ φ
n3=
1 2φ
2+
14
φ + φ
n2≥
0.
(41)Alsonotethatbyconstruction
d d
φ
1 4φ
4 4+ φ
33
φ
n+ φ
2 2φ
n2+ φ φ
n3=
1 4φ + φ
nφ
2+
φ
n2= (φ) .
(42)Now,itmaybeshownthat
φ
n+1∈ H istheuniqueminimizerofG ifandonlyifitsolves,foranyψ
∈H0, dGds
(φ +
sψ )
s=0=
φ − φ
n, ψ
H−1
+ Δ
t(φ) +
12
(
1+ )
2φ, ψ
L2
+ Δ
t 12
(
1+ )
2φ
n−
2
3
φ
n− φ
n−1, ψ
L2
=
φ − φ
n− Δ
tμ , ψ
H−1
=
0,
(43)
where
μ = (φ) +
12
(
1+ )
2φ + φ
n−
2
3
φ
n− φ
n−1,
(44)becauseitisclearthatthefunctionalG isstrictlyconvexby
d2G
ds2
(φ +
sψ )
s=0=
12
ψ
2H−1+ Δ
t 2 1 2φ
2+
14
φ + φ
n2ψ +
14
(
1+ )
2ψ, ψ
L2
≥
0.
(45)Therefore,(43)istrueforany
ψ
∈H ifandonlyifthegivenequationholdsφ
n+1− φ
nΔ
t=
φ
n+1+
12
(
1+ )
2φ
n+1+ φ
n−
2
3
φ
n− φ
n−1.
(46)Hence,minimizingthestrictlyconvexfunction(39)isequivalenttosolving(35)(or(37)).
Theorem9.Supposethat
φ
n+1isasolutionto(37).Thesecondorderscheme(37)isunconditionally(weakly)gradientstable,meaning thatforanytimestepsizeΔ
t>
0 andn≥1,E φ
n≤ E φ
0.
(47)Proof. Supposethatn≥1.Takingtheinnerproductof
μ
n+12 with(37)andusingintegrationbyparts,weobtain−Δ
t
∇ μ
n+122dx
= E (φ
n+1) − E (φ
n)
+
2
φ
n+1 2dx
−
2
φ
n2dx
−
2
Jφ
nK
3
φ
n− φ
n−1 dx.
(48)
Withtheidentity
Jφ
nK
3
φ
n− φ
n−1 dx=
Jφ
nK
φ
n+1− φ
n dx−
Jφ
nK
φ
n+1+ φ
n dx+
Jφ
nK
φ
n− φ
n−1 dx,
(49)
wehave
E
φ
n+1− E φ
n= −Δ
t
∇ μ
n+122dx
−
2
Jφ
nK
2dx−
2
Jφ
nK r φ
n−1z
dx
.
(50)UsingCauchy’sinequality,wehavethefollowinginequality
−
Jφ
nK r φ
n−1z
dx≤
12
Jφ
nK
2dx+
1 2
r φ
n−1z
2dx
.
(51)Combining(50)and(51),wehave
E
φ
n+1− E φ
n≤ −Δ
t
∇ μ
n+122dx
−
4
Jφ
nK
2dx+
4
r φ
n−1z
2dx
.
(52)Now,summing(52),wehave
E
φ
n+1− E φ
1=
n k=1E (φ
k+1) − E (φ
k)
≤
n k=1⎛
⎝−Δ
t
∇ μ
k+122dx
−
4
r φ
kz
2dx
+
4
r φ
k−1z
2dx
⎞
⎠
= −Δ
t n k=1
∇ μ
k+122dx
−
4
Jφ
nK
2dx+
4
r φ
0z
2dx
.
(53)
Forthecaseofn=0,using
φ
−1= φ0,thelasttermontheright-hand-sideof(50)disappearstoyieldE
φ
1− E φ
0= −Δ
t
∇ μ
122dx
−
2
r φ
0z
2dx
.
(54)Adding(54)to(53)yields
E
φ
n+1− E φ
0≤ −Δ
t n k=0
∇ μ
k+122dx
−
4
Jφ
nK
2dx−
4
r φ
0z
2dx
≤
0,
(55)anditmeansthattheweaklygradientstabilityisproven.
Fig. 1. Time evolution of solution for the PFC equation in 1D.
Remark10.Analternativeapproach tothequestion ofenergystabilityisto introduceamodified energyfunctional ˜E (φ) as
E ˜ φ
n+1= E φ
n+1+
4
Jφ
nK
2dx.
(56)(52) showsthat thisenergy isnon-increasingfromone time step to thenext. In other words,the second order scheme (37)isstronglyenergystablewithrespectto ˜E (φ).Meanwhile, ˜E (φ)isconsistentwith
E (φ)
asΔ
t tendtozero.Formore details,pleasereferto[6,10].4. Convergenceandstabilitytestofthenumericalmethodsin1D
Inthissection,wepresentonedimensionalexamplestonumericallydemonstratetheaccuracy, stability,andefficiency of theproposed methods CSB F(1)andCSB F(2).Becauseproposed numericalmethods arenonlinear, we needa nonlinear iterative method.Wepresentthe detailednumericalimplementations forfirstandsecond order methodsin Sections4.2 and4.4,respectively.Anumericaltolerancetol isdefinedas10−9unlessmentionedotherwise.
WebeginbyshowingthesolutionevolutionofthePFCequationwiththeperiodicboundaryconditionandthefollowing initialcondition
φ (
x,
0) =
0.
07−
0.
02 cosπ (
x−
12)
16+
0.
02 cos2π (
x+
10)
32−
0.
01 cos2π
x 8(57)
on a domain
= [0
,
32]. For the numerical simulations,=0
.
2 is used and the grid size is fixed toΔ
x=1/
2 which providesenoughspatialaccuracy.ThenumericalsolutionisevolvedtotimeTf=128.Fig. 1displaysthetimeevolutionofsolutionwithasmallenoughtimestep
Δ
t=Tf/
214usingthesecondordermethod CSB F(2).At the earlystage, solutions are rearranged andadjusted to findtheir desiredmode withlow magnitude. After finishingtheadjusting,thesolutiongrowsupandapproachestothesteady-statesolution.Thissolutionwillbeusedasthe referencesolutiontoestimatetheconvergencerate.Fig. 2displays thetimeevolutionoffreeenergy
E (φ)
corresponding thesolutioninFig. 1.Thepropertyoftheenergy dissipation isvalidandonesteepenergytransitionisobserved.Whenthesolutionisarrangedwithlow magnitudeatthe earlystage,energyisslightlydeclined.Afterthatenergyissteeplydeclinedbecauseofgrowingthesolution.Finally,energy issluggishlydecreasingsincethesolutionisnearatthesteadystate.Fig. 2. Energy evolution for the PFC equation in 1D.
Fig. 3. Relative l2-errors at t=48 with respect to the grid size for various time steps in 1D.
4.1. SpatialaccuracytestofCSB F(1)andCSB F(2)
Since we assume the periodic boundary condition andfocus only on thetime marching method,we use the Fourier spectralmethodforthespatial discretization.And,thefastFouriertransformwiththeMATLABprogramisappliedforthe wholenumericalsimulations.
Wedemonstratethenumericalconvergenceinspacewiththesameconditionsandparametersinthebeginningofthis section.Toestimatetheconvergenceratewithrespecttoagridsize,simulationsareperformedbyvaryingthegridpoints 16
,
24,
32, . . . ,
128.Furthermore,wecalculatethemwithvarioustimesteps.Fig. 3showstherelativel2-errorswithrespecttovariousgridsize.Here,theerrorsarecomputedbycomparisonwith thereferencenumericalsolutionobtainedusingthesecondordermethodCSB F(2)withatimestep
Δ
t=Tf/
214and256 grid points.As can be seen,the spatial convergenceofthe resultsunderthe gridrefinements isevident. Furthermore,it showsthat64 gridpoints(Δ
x=1/
2)providethesufficientspatialaccuracy.4.2. Numericalimplementationofthefirstordermethod,CSB F(1)
Forcompletedescriptionofthenumericalsolver,letusrecallthefirstordernumericalmethodCSB F(1)
φ
n+1− φ
nΔ
t=
φ
n+1 3+ (
1+ )
2φ
n+1− φ
n.
(58)Since(58)isnonlinear,weintroducetheNewton-typeiterativemethod,whichisawell-knownnonlinearsolver.Usingthe linearizationofthenonlinearterm
φ
n,m+1 3=
3φ
n,m2φ
n,m+1−
2φ
n,m3,
(59)wedevelopaNewton-typeiterativemethodas
I
− Δ
t3
φ
n,m2+ (
1+ )
2φ
n,m+1= φ
n− Δ
tφ
n−
2Δ
tφ
n,m3.
(60)Fig. 4. Number of nonlinear and BICG iterations for the first order method.
The initial guessissetas
φ
n,0= φn andthenonlineariteration (60)isrecursively applieduntil arelative l2-norm ofthe consecutiveerrorofφ
n,m+1islessthantolerancetol,i.e., φn,m+1−φn,m 2
φn,m2
<
tol.Thenletφ
n+1beφ
n,m+1.Inaddition,weneedtosolvethelinearsystem(60)foreachm-step.Since(60)isnotsymmetry,weusethebi-conjugate gradient(BICG)methodinthisstudy.ThestoppingcriterionfortheBICGiterationisthatarelativel2-normoftheresidual errorislessthanatol.Moreover,toacceleratetheconvergencespeedoftheBICGalgorithm,wesuggestapre-conditioner
M
=
I− Δ
tA I
¯ + (
1+ )
2,
(61)where A is¯ theaveragevalueof3
φ
n,m2.
We note that the above description for the numerical implementation is not specified in one dimensional case. We also remarkthatspectral methodsare usedinall ofnumericalcomputations.Simulationsare executedby usingMATLAB programwithafastFouriertransform.Evenintwoandthreedimensions,thecomputationalspeedisreasonablyfast.
Toshowtherobustnessofnonlinearsolverandthenecessityofpre-conditioner,wecountthenumberofbothiterations anddisplaytheaveragenumberwithrespecttothevarioustimestep
Δ
t=Tf/
212,
Tf/
211, . . . ,
Tf/
23.Theinitialstateand otherparametersareidenticaltothoseinthebeginningofthissectionexceptthetolerancetol=10−8.Therelativelysmall toleranceisbecauseoftheconvergenceissueofBICGwhenweusethelargetimestepwithoutthepre-conditioner.Thenumberofnonlineariterationsaveragedoverthesimulationtime0
<
t=nΔ
t≤Tf isshownasafunctionoftime stepΔ
t in Fig. 4 (a).On average,2–4iterations were involved inproceedingto thenext time step.We canexplain that suchafastiterativeconvergencecanbeachievedsincethesuccessiveiterationsareNewton-typeiterativemethods.Onthe other hand,thenumber ofBICGiterations averaged over thesimulation time isshownasa function oftime stepΔ
t in Fig. 4(b).Inthiscase,weregard thenumberofBICGiterationofonetime stepastheaveragednumberofBICGiteration inthenonlineariterations foronetime step.As showninthefigure,theBICGiterations areremarkablyreducedwiththe pre-conditioner.4.3. ComparisonbetweenCSB F(1)andCSD F(1)
Now,wecomparetheproposedfirstorderschemeCSB F(1)tootherwell-knownconvexsplittingmethodCSD F(1)using the numericalconvergence.We demonstratethenumericalconvergence withthesameconditions andparameters in the beginning ofthissection.Toestimate theconvergenceratewithrespect toatime step
Δ
t, simulationsareperformedby varyingthetimestepΔ
t=Tf/
212,
Tf/
211, . . . ,
Tf/
23.Fig. 5showstherelativel2-errorswithrespecttovarioustimesteps.Here,theerrorsarecomputedbycomparisonwith aquadruplyover-resolvedreferencenumericalsolutionobtainedusingthesecondordermethodCSB F(2).Itisobservedthat bothschemesgivedesiredfirstorderaccuracyintime.
Fig. 6 shows the time evolutions of the free energy functional with
Δ
t=1/
2, 1/
23, and 1/
25. Using the proposed method, CSB F(1), the free energy functional at the same time t is almost similar for the different time steps, whereas significantdifferenceemergeswithlargertimestepsforCSD F(1).4.4. Numericalimplementationofthesecondordermethod,CSB F(2)
Numericalsolvers forCSB F(2)aresimilartothoseforCSB F(1)inSection4.2,sothat wesimplydescribethederivation oftheiterativemethodforthesecondordermethodCSB F(2)
φ
n+1− φ
nΔ
t=
φ
n+1+
12
(
1+ )
2φ
n+1+ φ
n−
2
3