校园网页 · 学校官网
Stabilized Semi-Implicit Spectral Deferred Correction Methods for Allen-Cahn and Cahn-Hilliard Equations.pdf
Special Issue Paper Received 20 February 2013 Published online 3 July 2013 in Wiley Online Library (wileyonlinelibrary.com) DOI: 10.1002/mma.2869 MOS subject classification: 65M12, 37L65, 65M06, 65M70, 65Z05, 37L15 Stabilized semi-implicit spectral deferred correction methods for Allen–Cahn and Cahn–Hilliard equations Fei Liua and Jie Shenb,c*† Communicated by Q. Wang Stabilized semi-implicit spectral deferred correction methods are constructed for the time discretization of Allen–Cahn and Cahn–Hilliard equations. These methods are unconditionally stable, lead to simple linear system to solve at each iteration, and can achieve high-order time accuracy with a few iterations in each time step. Ample numerical results are pre- sented to demonstrate the effectiveness of the stabilized semi-implicit spectral deferred correction methods for solving the Allen–Cahn and Cahn–Hilliard equations. Copyright © 2013 John Wiley & Sons, Ltd. Keywords: spectral deferred correction; spectral Galerkin method; method of lines; Allen–Cahn and Cahn–Hilliard equations 1. Introduction We consider in this paper the numerical approximation of the Allen–Cahn equation @t u D/CR /DC4 /c129u /NUL1 "2 f.u/ /NAK , .x, t/ 2/DEL/STX.0, T/c141, (1.1) and the Cahn–Hilliard equation @t u D/CR/c129 /DC4 /NUL/c129u C 1 "2 f.u/ /NAK , .x, t/ 2/DEL/STX.0, T/c141, (1.2) with the initial condition ujtD0 D u0 and a suitable set of boundary conditions, for example, periodic boundary conditions or homogeneous Neumann boundary conditions @u @nj@/DELD 0, (1.3) for (1.1) and @u @nj@/DELD 0, @/c129u @n j@/DELD 0, (1.4) for (1.2). In the previous equation,f.u/ D.u2 /NUL1/u D F0.u/ where F.u/ D 1 4.u2 /NUL1/2 is the usual double-well potential,/DELis a bounded domain, and n is the outward normal. We have introduced a parameter " explicitly in (1.1) and (1.2) to highlight additional difficulties that may arise when" /FS 1 as in interfacial problems. The Allen–Cahn Equation (1.1) was originally introduced in [1] to describe the motion of anti-phase boundaries in crystalline solids, whereas the Cahn–Hilliard Equation (1.2) was introduced by [2] to describe the complicated phase separation and coarsening phenom- ena in a solid. These equations have been used extensively in materials science as model for phase transition, pattern formation, and aSchool of Mathematics and Statistics, Huazhong University of Science and Technology, Wuhan, China bSchool of Mathematical Science, Xiamen University, Xiamen, China cDepartment of Mathematics, Purdue University, West Lafayette, IN 47907-1957, USA *Correspondence to: Jie Shen, Department of Mathematics, Purdue University, West Lafayette, IN 47907-1957, USA. †E-mail: shen@math.purdue.edu 4564 Copyright © 2013 John Wiley & Sons, Ltd. Math. Meth. Appl. Sci. 2015, 38 4564–4575 F . LIU AND J. SHEN such, and have been the subject of extensive mathematical and numerical studies (see, e.g.,[3–6] and the references therein). It is still a challenge to construct efficient high-order, unconditionally energy stable schemes that are robust with small". Although an enormous body of work have been devoted to developing high-order or spectrally accurate schemes for spatial vari- ables (cf. [7–11] and the references therein), much less attention has been paid to developing high-order or spectrally accurate schemes in time, some efforts in this direction include [12–19]. Although in principle, one can apply a spectral-collocation or spectral Galerkin method to the time variable, a fundamental difficulty is how to solve the resultant nonlinear system efficiently. Note that it is certainly not a good idea to treat the whole time interval with one spectral element, as it will lead to very large nonlin- ear systems that are hard to store and solve. Instead, we should adopt the h-p finite element (or spectral element) strategy in time to divide the whole time interval into a sequence of smaller intervals Œsi, siC1/c141, i D 0, 1,/SOH/SOH/SOH, M /NUL1 and construct a spectrally accurate time marching scheme from time si to siC1. We note that for the h /NULp method applied to the spatial variables, it is not possible to decouple the computation element-wise; however, the fact that the time variable has a direction makes the subinterval-wise decoupling possible in time. The crucial issue is how to solve the nonlinear systems at each time interval stably and efficiently. The advent of spectral/Krylov deferred correction (SDC/KDC) method [14] provided a good starting point. We shall describe later in the text several strategies that will allow us to construct high-order or even spectrally accurate schemes in time for a class of partial differential equations in fluid mechanics and materials science. To use the SDC/KDC approach, the main difficulty is to construct an efficient basic scheme that is unconditionally energy stable. One option is to use a convex splitting scheme [20] which is unconditionally energy stable but leads to a nonlinear system to solve at each time step. Instead, we propose to use a stabilized semi-implicit scheme (cf. [21]) that is unconditionally stable and leads to a system of Poisson type equations that can be solved very efficiently. Thus, this approach will allow us to use large time steps with high-order accuracy in time, which is otherwise very difficult to achieve. Although we only consider the Allen–Cahn and Cahn–Hilliard equations in this paper, it is clear that this approach can be applied to more general gradient flows, including the equations for thin film epitaxy (cf. [22–24]) and anisotropic Cahn–Hilliard equations (cf. [25–27]). Moreover, this approach is an important component for developing high-order stable schemes for phase-field models of the multiphase flows (cf. for instance [28] and the references therein). The remainder of the paper is organized as follows. In the next section, we briefly describe the SDC and the semi-implicit SDC (SISDC) methods. In Section 3, we construct the stabilized semi-implicit SDC (SSISDC) scheme for the Allen–Cahn and Cahn–Hilliard equations. We present ample numerical results to demonstrate the high-order (in time) accuracy of the SSISDC method in Section 4, followed by some concluding remarks. 2. SDC and SISDC Schemes for system of ODEs The SDC method was first introduced by Dutt, Greengard, and Rokhlin in [14] to construct high-order stable methods for solving ODEs. The basic idea of the SDC method is to replace the original ODE by the corresponding Picard integral equation and discretize it on a sequence of large time intervals by using a Legendre–Gauss-type quadrature. The resultant system is first solved approximately by using a simple time marching numerical method and correct the solution to higher-order accuracy by solving a sequence of correction equations on the same Gauss-type grid with a simple time marching scheme (such as the Euler method). For the readers’ convenience, we describe later in the text the basic SDC method in some detail. Consider the following system of ODEs: /RS 0.t/ D F.t,/RS.t//, t 2Œ0, T/c141, /RS.0/ D/RS0, (2.1) where/RS.t/,/RS0 2 Cn and F : R /STXCn ! Cn. We assume that F is sufficiently smooth such that the problem (2.1) is well posed. We subdivide the time intervalŒ0, T/c141in K non-overlapping intervals:Œ0, T/c141D[ K/NUL1 jD0Œtj, tjC1/c141. We shall describe later in the text the SDC method that will be used to advance fromtj to tjC1. To simplify the notation, we shall denote the intervalŒtj, tjC1/c141by the generic interval Œa, b/c141. 2.1. Picard integral equation The first key idea of the SDC method is to rewrite (2.1) in the form of Picard integral equation. Integrating (2.1) from a to t,w eo b t a i n the equivalent Picard integral equation /RS.t/ D/RSa C Z t a F./FS,/RS./FS//d/FS. (2.2) Given an initial approximate solution/RS0.t/ to (2.2), we denote the error byı.t/ D/RS.t/ /NUL/RS0.t/. Another measure for the quality of the approximation is given by the residual function /SI.t,/RS0/ D/RSa C Z t a F./FS,/RS0./FS//d/FS/NUL/RS0.t/. (2.3) Copyright © 2013 John Wiley & Sons, Ltd. Math. Meth. Appl. Sci. 2015, 38 4564–4575 4565 F . LIU AND J. SHEN Because/RS.t/ D/RS0.t/ Cı.t/, we can rewrite (2.2) as /RS0.t/ Cı.t/ D/RSa C Z t a F./FS,/RS0./FS/Cı./FS//d/FS. Combining the previously mentioned equation with (2.3), we derive ı.t/ D Z t a ŒF./FS,/RS0./FS/Cı./FS///NULF./FS,/RS0./FS///c141d/FSC/SI.t,/RS0/, (2.4) which is referred to as the correction equation. 2.2. The SDC method based on the Euler method We denote the p Legendre–Gauss–Radau IIa nodes (including the right end point) on the interval Œ/NUL1, 1/c141by r1, r2,::: , rp,w h i c hi sa strictly increasing sequence of points, and denote by s1, s2,::: , sp the p Legendre–Gauss–Radau IIa nodes on the interval Œa, b/c141, given by the formula si D b /NULa 2 ri C b C a 2 . We then divide the intervalŒa, b/c141into p subintervalsŒsi, siC1/c141by the Legendre–Gauss–Radau IIa points a D s0 < s1 < s2 <:::< sp D b. The subintervalŒsi, siC1/c141is referred to as a substep. An approximate solution /RS0.si/ can be obtained by using the forward Euler method or the backward Euler method. For instance, using the notation/RSk i D/RSk.si/ (likewise forık i and/SIi /NUL /RSk/SOH ), the backward Euler scheme for (2.1) is given by the formula /RS0 iC1 D/RS0 i Cıti /SOHF.siC1,/RS0 iC1/, ıti D siC1 /NULsi, (2.5) whereas the forward Euler scheme is /RS0 iC1 D/RS0 i Cıti /SOHF.si,/RS0 i /, ıti D siC1 /NULsi, (2.6) for i D 0,::: , p /NUL1. To compute a sequence of corrections ık i by discretizing Equation (2.4) to obtain an increasingly accurate approximate solution /RSkC1 D/RSk Cık, the residual function/SI.s,/RSk.s// is approximated using the spectral integration matrix E/SID E/RSa C/c129tAEF /NULE/RSk, (2.7) where A is the spectral integration matrix [14], which was discussed in detail in [29]. We shall use the correction Equation (2.4) to construct a sequence of corrections fıkg and new approximations f/RSkg.B yu s i n gt h e backward Euler scheme to the correction Equation (2.4), we obtain ık iC1 Dık i Cıti h F /DLE siC1,/RSk iC1 Cık iC1 /DC1 /NULF /DLE siC1,/RSk iC1 /DC1i C/SIiC1 /DLE /RSk /DC1 /NUL/SIi /DLE /RSk /DC1 . (2.8) On the other hand, the forward Euler scheme leads to ık iC1 Dık i Cıti h F /DLE si,/RSk i Cık i /DC1 /NULF /DLE si,/RSk i /DC1i C/SIiC1 /DLE /RSk /DC1 /NUL/SIi /DLE /RSk /DC1 . (2.9) Let us denote IiC1 i /DLE /RSk /DC1 D Z siC1 si F /DLE t,/RSk.t/ /DC1 dt. We then derive from (2.3) that IiC1 i /DLE /RSk /DC1 D/SIiC1 /DLE /RSk /DC1 /NUL/SIi /DLE /RSk /DC1 C/RSk iC1 /NUL/RSk i . (2.10) Because/RSk iC1 Cık iC1 D/RSkC1 iC1 , substituting (2.10) into Equation (2.8), we obtain the equation /RSkC1 iC1 D/RSkC1 i Cıti h F /DLE siC1,/RSkC1 iC1 /DC1 /NULF /DLE siC1,/RSk iC1 /DC1i C IiC1 i /DLE /RSk /DC1 . (2.11) On the other hand, substituting (2.10) into Equation (2.9), we obtain the equation /RSkC1 iC1 D/RSkC1 i Cıti h F /DLE si,/RSkC1 i /DC1 /NULF /DLE si,/RSk i /DC1i C IiC1 i /DLE /RSk /DC1 . (2.12) 4566 Copyright © 2013 John Wiley & Sons, Ltd. Math. Meth. Appl. Sci. 2015, 38 4564–4575 F . LIU AND J. SHEN We can use either (2.11) or (2.12) to compute a new approximation /RSkC1 from/RSk.N o t et h a tt h eo n l yt h i n gr e m a i n e dt ob es p e c i fi e di s how to compute IiC1 i /NUL /RSk/SOH . The second key idea of the SDC method is to approximate F /NUL t,/RSk/SOH by its Lagrange interpolation polynomials Fp /NUL t,/RSk/SOH based on the Gauss-type points, and integrate R siC1 si Fp /NUL t,/RSk/SOH dt exactly. More precisely, we write Fp /DLE t,/RSk /DC1 D pX jD1 Fp /DLE tj,/RSk /DC1 Lp j .t/, (2.13) and approximate IiC1 i /NUL /RSk/SOH by IiC1 i /DLE /RSk /DC1 /EM Z siC1 si Fp /DLE t,/RSk.t/ /DC1 dt D pX jD1 Fp /DLE tj,/RSk /DC1 cp ij , (2.14) where cp ij D Z siC1 si Lp j .t/dt (2.15) can be precomputed once and for all. It is formally shown in [14] that the order of accuracy for the approximation/RSk is of order min.k C 1, 2p /NUL2/ if p Gauss-Radau points are used. 2.3. Semi-implicit SDC schemes In general, it may not be good to use either the forward or backward Euler scheme for the correction Equation (2.4), as the sys- tem (2.1) may have terms with different time scales and/or different stiffness. Thus, it is plausible to treat some terms implicitly and other terms explicitly, leading to the so-called SISDC scheme (cf. [14, 30]). More precisely, assuming that we split F.t,/RS.t// as FI.t,/RS.t// C FE.t,/RS.t// and treat FI implicitly and FE explicitly. Then a first-order semi-implicit scheme for computing an initial approximation/RS0 i to Equation (2.1) is /RS0 iC1 D/RS0 i Cıti /SOHŒFI.siC1,/RS0 iC1/ C FE.si,/RS0 i //c141. (2.16) Similarly, a semi-implicit scheme for (2.4) is ık iC1 Dık i CıtiŒFI.siC1,/RSk iC1 Cık iC1/ /NULFI.siC1,/RSk iC1/ C FE.si,/RSk i Cık i / /NULFE.si,/RSk i //c141C/SIiC1 /DLE /RSk /DC1 /NUL/SIi /DLE /RSk /DC1 , (2.17) which can be rearranged as /RSkC1 iC1 D/RSkC1 i CıtiŒFI.siC1,/RSkC1 iC1 / /NULFI.siC1,/RSk iC1/ C FE.si,/RSkC1 i / /NULFE.si,/RSk i //c141C IiC1 i /DLE /RSk /DC1 . (2.18) In summary, given a system of ODEs (2.1), the only thing we need to specify for the previous SISDC scheme is the splittingF D FI CFE . 3. Stabilized SISDC Schemes for the Allen–Cahn and Cahn–Hilliard Equations To apply the SISDC scheme described above to the Allen–Cahn and Cahn–Hilliard equations, the first step is to discretize them in space with a suitable spatial discretization to obtain a system of ODEs in the form of (2.1). Then, we need to construct a suitable splitting of F D FI C FE to be used in (2.16). 3.1. Spatial discretization Although the SISDC schemes presented previously can be combined with any consistent spatial discretization, we shall restrict our- selves to the spectral Galerkin method (cf. [31]), which has proven to be effective for interfacial problems modeled by Allen–Cahn and Cahn–Hilliard equations (cf. [21]). For the readers’ convenience, we shall present the 1D case in some detail; we refer to [31] for more detail on the multidimensional case. We consider first the Legendre–Galerkin method for the Allen–Cahn equation. Let us denote XN Df u 2 PN :@x u.˙ 1/ D 0gD spanf/RS0, /SOH/SOH/SOH,/RSN/NUL2g, with/RS0.x/ D 1, and for k /NAK1,/RSk.x/ D Lk.x/ /NULbk LkC2.x/,w h e r eLk.x/ is the Legendre polynomial of k-th order, and bk D k.k C 1/ .k C 2/.k C 3/ , k /NAK0. It is easy to verify that Dij D./RS00 j ,/RSi/ D 0f o ri ¤ j,a n dMij D./RSj,/RSi/ D 0f o ri ¤ j, j ˙ 2. Copyright © 2013 John Wiley & Sons, Ltd. Math. Meth. Appl. Sci. 2015, 38 4564–4575 4567 F . LIU AND J. SHEN The Legendre–Galerkin method for (1.1) with (1.3) is to find UN./SOH, t/ 2 XN such that .@t UN,/RSk/ D/CR /DC2 @xx UN /NUL1 "2 f.UN/,/RSk /DC3 , k D 0, 1,/SOH/SOH/SOH, N /NUL2. (3.1) Let us denote UN.x, t/ D N/NUL2X kD0 Quk.t//RSk.x/, Nu D.Qu0, Qu1, /SOH/SOH/SOH, QuN/NUL2/T , f.Nu/k.t/ D/NUL.f.UN/,/RSk/, Nf.Nu/ D.f.Nu/0, f.Nu/1, /SOH/SOH/SOH, f.Nu/N/NUL2/T . (3.2) Then, (3.1) reduces to MNu0.t/ D/CR /DC4 DNu.t/ C 1 "2 Nf.Nu.t// /NAK , (3.3) which can be written in the form of (2.1) as Nu0.t/ D/CRM/NUL1 /DC4 DNu.t/ C 1 "2 Nf.Nu.t// /NAK :D F.t, Nu.t//. (3.4) For the Cahn–Hilliard equation, we denote YN Df u 2 PN :@x u.˙ 1/ D@3 x u.˙ 1/ D 0gD spanf 0, /SOH/SOH/SOH, N/NUL4g. Setting k.x/ D Lk.x/ C hk LkC2.x/ C gk LkC4.x/ with hk D/NUL 2k.k C 1/.2k C 5/ .2k C 7/.k2 C 7k C 9/ , gk D k.k C 1/.2k C 3/.k2 C 3k /NUL1/ .k C 4/.k C 5/.2k C 7/.k2 C 7k C 9/ , k /NAK0. It is easy to verify that QDij D/NUL. 0000 j , i/ D 0f o ri ¤ j, Cij D. 00 j , i/ D 0f o ri ¤ j, j ˙ 2, and QMij D. j, i/ D 0f o ri ¤ j, j ˙ 2, ˙ 4. The Legendre–Galerkin method for (1.2) with (1.4) is to find UN./SOH, t/ 2 YN such that .@t UN,/RSk/ D/NUL/CR /DC2 @xxxx UN /NUL1 "2@xx f.UN/, k /DC3 , k D 0, 1,/SOH/SOH/SOH, N /NUL4. (3.5) Let us denote UN.x, t/ D N/NUL4X kD0 Quk.t/ k.x/, Nu D.Qu0, Qu1, /SOH/SOH/SOH, QuN/NUL4/T , g.Nu/k.t/ D.@xx f.UN/, k/, Ng.Nu/ D.g.Nu/0, g.Nu/1, /SOH/SOH/SOH, g.Nu/N/NUL4/T . (3.6) Then, (3.5) reduces to QMNu0.t/ D/CR /DC4 QDNu.t/ C 1 "2 Ng.Nu.t// /NAK , (3.7) which can be written in the form of (2.1) as Nu0.t/ D/CRQM/NUL1 /DC4 QDNu.t/ C 1 "2 Ng.Nu.t// /NAK :D F.t, Nu.t//. (3.8) Hence, we can directly apply the SISDC method to (3.4) and (3.8). The only ingredient remains to be specified is how to split F.s, u/ in (3.4) and (3.8) such that the basic scheme (2.16) is simple, easy to solve, and stable for large time steps. 3.2. Stabilized semi-implicit scheme We now present stabilized semi-implicit schemes that determine the splitting of F.s, Nu/ in (3.4) and (3.8). Let us denote E.u/ Dk ruk2 C 1 "2 R /DELF.u/dx. An important property of the Allen–Cahn Equation (1.1) is that its solution satisfies the following energy law: @ @t E.u/ D/NUL/CR /CR/CR/CR /CR/c129u /NUL1 "2 f.u/ /CR/CR/CR /CR 2 . (3.9) 4568 Copyright © 2013 John Wiley & Sons, Ltd. Math. Meth. Appl. Sci. 2015, 38 4564–4575 F . LIU AND J. SHEN Similarly, the solution of the Cahn–Hilliard Equation (1.2) satisfies @ @t E.u/ D/NUL/CR /CR/CR /CR/CRr./c129u /NUL1 "2 f.u// /CR/CR /CR/CR 2 . (3.10) Hence, it is highly desirable that the solution of a numerical scheme satisfy a corresponding discrete energy law. Such a numerical scheme is then said to be energy stable. It can be shown that the usual first-order semi-implicit methods for Allen–Cahn and Cahn–Hilliard equations are energy stable under quite restrictive conditions /c129t D O."2/ and/c129t D O."4/, respectively, when " /FS 1. Shen and Yang presented the following stabi- lized first-order semi-implicit methods and proved their stability in [21]. The stabilized first-order semi-implicit method for Allen–Cahn Equation (1.1) reads /DC21 ıt C/CRS "2 /DC3 .ukC1 /NULuk/ D/CR /DC4 /c129ukC1 /NUL1 "2 f.uk/ /NAK , (3.11) whereas that for the Cahn–Hilliard Equation (1.2) is 1 ıt.ukC1 /NULuk/ D/CR/c129 /DC2 /NUL/c129ukC1 C S "2 /DLE ukC1 /NULuk /DC1 C 1 "2 f.uk/ /DC3 . (3.12) In the previous schemes, S is a stabilizing parameter to be specified. The stabilizing term/CRS "2 .ukC1/NULuk/ in (3.11) (resp. /CRS "2 /c129.ukC1/NULuk/ in (3.12)) introduces an extra consistency error that is of the same order as the error introduced by the explicit treatment of the nonlin- ear term (cf. [21]). Therefore, the stabilized semi-implicit schemes (3.11) and (3.12) are of the same order of accuracy, in terms of ıt and ", as the standard first-order semi-implicit schemes, that is, with S D 0 in (3.11) and (3.12). As for the stability, the following results are established in [21]: Lemma 1 Let S /NAKL 2 where L D max/RS2R jf0./RS/j. Then, the stabilized schemes (3.11) and (3.12) are unconditionally energy stable for anyıt,t h a ti s , the solutions of (3.11) and (3.12) satisfy E.ukC1/ /DC4E.uk/ for all k /NAK0a n da n yıt. Remark 1 Note that for F./RS/being the double-well potential, we have L D max/RS2R jF00./RS/jD1 so the condition S /NAKL 2 can not be satisfied. However, because it is well known that the Allen–Cahn equation satisfies the maximum principle, we can truncate F.u/ to quadratic growth outside of the intervalŒ/NULM, M/c141without affecting the solution if the maximum norm of the initial condition u0 is bounded by M. Although the Cahn–Hilliard equation does not satisfy the maximum principle, it has been shown in [32] that for a truncated potential F.u/ with quadratic growth at infinities, the maximum norm of the solution for the Cahn–Hilliard equation is bounded. Therefore, it has been a common practice (cf. [33, 34]) to replace the double-well potential by a truncated potential with quadratic growth at infinity so that L is finite. In practice, if we assume max/RS2R ju0./RS/jD 1, we can truncate F./RS/outside of the intervalŒ/NUL1, 1/c141in such a way that L D max/RS2R jF00./RS/jD 2. At each time step, the stabilized scheme (3.11) (resp. (3.12)) leads to a Poisson (resp. biharmonic) type equation, which can be effi- ciently solved by the spectral Galerkin method (cf. [31]), so they are very good candidates for the basic scheme in the SDC approach. They will allow us to use large time steps with high-order accuracy in time, which is otherwise very difficult to achieve. 3.3. Fully discretized SSISDC scheme We now combine all the ingredients presented previously to describe the SSISDC scheme with the Legendre–Galerkin approximation in space. By using the notation in Subsection 3.1, the Legendre–Galerkin approximation for the stabilized semi-implicit scheme (3.11) for Allen–Cahn equation reads /DC21 ıt C/CRS "2 /DC3 M.NukC1 /NULNuk/ D/CR /DC4 DNukC1 C 1 "2 Nf.Nuk/ /NAK , (3.13) whereas the Legendre–Galerkin approximation for the stabilized semi-implicit scheme (3.12) Cahn–Hilliard equation is 1 ıt QM.NukC1 /NULNuk/ D/CRQDNukC1 C/CRS "2 C.NukC1 /NULNuk/ C /CR "2 Ng.Nuk/. (3.14) We shall use the previous schemes as the basic semi-implicit scheme in the SDC approach. More precisely, the scheme (3.13) corresponds to (2.16) with the splitting FI.s, Nu/ D/CR /DC2 M/NUL1DNu /NUL S "2 Nu /DC3 , FE.s, Nu/ D/CR /DC21 "2 M/NUL1Nf.Nu/ C S "2 Nu /DC3 , (3.15) whereas the scheme (3.14) corresponds to (2.16) with the splitting FI.s, Nu/ D/CRM/NUL1 /DC2 QDNu C S "2 CNu /DC3 , FE.s, Nu/ D/CRM/NUL1 /DC21 "2 Ng.Nu/ /NUL S "2 CNu /DC3 . (3.16) Copyright © 2013 John Wiley & Sons, Ltd. Math. Meth. Appl. Sci. 2015, 38 4564–4575 4569 F . LIU AND J. SHEN 4. Numerical Results In this section, we present some numerical results for Allen–Cahn and Cahn–Hilliard equations obtained by using the SSISDC method. 4.1. Allen–Cahn equation We consider the one-dimensional Allen–Cahn Equation (1.1) with the homogeneous Neumann boundary conditions (1.3) and solve it by using the SSISDC method with the Legendre–Galerkin approximation described in the last section. We choose N, the number of modes in the spatial discretization, to be large enough that the spatial discretization error is negligible compared with the time discretization error. We first investigate the stability issue. We fix p D 4a n d J D 2, and start with a random initial condition with values in Œ/NUL1, 1/c141.W e define/c129tc D T m to be the largest possible time step, which allows stable numerical computation, that is, the numerical solution will blow up if ıt >/c129tc. In Table I, we list the values of /c129tc with/CRD 0.1, 0.01," D 0.01, 0.001, and different stabilizing parameters of S. We observe that the stabilized scheme with S D 1 or 2 is stable for virtually any /c129t, whereas the non-stabilized scheme has a rather restrictive time step constraint. Next, we investigate the effect of stabilizing parameter S on the accuracy of the transient state as well as steady state solutions. We fix p D 4a n dJ D 3, and take/CRD 0.01 and" D 0.01 in (1.1). On the left of Figure 1, we observe that the stabilized scheme with S D 1, 2 leads to visually the same results at a transient time with a time step which is 50 times larger than the non-stabilized scheme (i.e.,S D 0), whereas for the steady state, the time step of the stabilized scheme with S D 1 or 2 can be 1000 times larger while maintaining the same accuracy. We note that the time step of 10/NUL4 is close to the maximum allowable time step for the non-stabilized scheme. We now examine the order of accuracy as we increase the number of iteration. To fix the idea, we use the following parameters: /CRD 0.01," D 0.1, S D 2, and N D 127, and we compute the L1-norm of the residual defined in (2.7) at time T D 1. We first take p D 4 (4 Gauss–Radau IIa points) and J D 1, 2, 3, 4, 5. The decay rates of the residual with different number J of iterations are shown in Figure 2. We observe that for p and J, relatively small as in this example, the SSISDC scheme achieves the expected accuracy of order min.J C 1, 2p /NUL2/. Table I./c129tc with different/CR," and S for the Allen–Cahn equation. /CR" S /c129tc /CRD 0.1 " D 0.01 S D 0 /c129tc /EM3.0303E /NUL3 S D 1 /c129tc > 10 S D 2 /c129tc > 10 /CRD 0.1 " D 0.001 S D 0 /c129tc /EM2.7027E /NUL5 S D 1 /c129tc > 10 S D 2 /c129tc > 10 /CRD 0.01 " D 0.001 S D 0 /c129tc /EM2.7027E /NUL4 S D 1 /c129tc > 10 S D 2 /c129tc > 10 −1 −0.5 0 0.5 1−1 −0.5 0 0.5 1 x u(t=0.01) Δ × × −1 −0.5 0 0.5 1 −1 −0.5 0 0.5 1 x u(t=1) Δ Figure 1. Comparison of the numerical solutions obtained by the SISDC and SSISDC method. Left: a transient state; Right: at the steady state. 4570 Copyright © 2013 John Wiley & Sons, Ltd. Math. Meth. Appl. Sci. 2015, 38 4564–4575 F . LIU AND J. SHEN 10−210−110−15 10−10 10−5 Time step size Residual 4 Gauss−Radau IIa nodes Figure 2. L1 residual versus /c129t with J D 1, /SOH/SOH/SOH,5( p D 4). 0 2 4 6 8 10 1210−20 10−15 10−10 10−5 100 Number of Iterations Residual 8 Gauss−Radau IIa nodes Figure 3. L1 residual versus number of iterations J with different /c129t (p D 8). x y S=0 0 2 4 6 0 2 4 6 x y S=2 0 2 4 6 0 2 4 6 Figure 4. Comparison of the numerical solutions of the 2-D Allen–Cahn equation with /CRD 0.01, " D 0.01 at T D 10. Left: by the non-stabilized SISDC scheme; Right: by the SSISDC scheme. To examine the convergence behavior for lager numbers of iterations, we fix p D 8a n dt a k e/c129t D 1 8 , 1 16 , 1 32 , respectively. We plot in Figure 3 the residual versus J, the number of iterations. We observe that the errors decrease as the expected formal accuracy of order min.J C 1, 2p /NUL2/ only for J relatively small, and that the maximum order accuracy, 2 p /NUL2, does not seem to attainable. This type of order reduction is well known for stiff problems, and is consistent with the observation in [29], which suggests to use the KDC to accel- erate the SDC method if very high-order of accuracy (i.e., p large) is desired. However, for many PDEs as Allen–Cahn and Cahn–Hilliard equations, a time accuracy of 6th to 8th order (achievable with p D 4 and 5, respectively) often suffices. In these cases, the simple and robust SDC method is more than adequate. As the last example for the Allen–Cahn equation, we consider a two-dimensional domain /DELDŒ0, 2/EM/c141 2 with periodic boundary con- ditions. We start with a random initial data and integrated the Allen–Cahn equation with /CRD 0.01," D 0.01 to T D 10. The Fourier spectral method with 128 Fourier modes in each direction is used. Figure 4 shows the solution comparisons at T D 10 using the SISDC scheme with/c129t D 10/NUL3 and the SSISDC scheme with S D 2a n d/c129t D 0.1. The two results are visually indistinguishable. Copyright © 2013 John Wiley & Sons, Ltd. Math. Meth. Appl. Sci. 2015, 38 4564–4575 4571 F . LIU AND J. SHEN 4.2. Cahn–Hilliard Equation We now consider the Cahn–Hilliard Equation (1.2) with the homogeneous Neumann boundary conditions (1.4), and present a same set of numerical results as for the Allen–Cahn equation. The results in Table II are similar to those in Table I, except that the time step for the non-stabilized scheme becomes much more restrictive. Therefore, it is extremely beneficial to use a stabilized scheme that is unconditionally stable. Next, we investigate the effect of the stabilizing term on the accuracy. We first compute the residuals with different stabilizing param- eters with varying/c129t by fixing p D 4, J D 3, " D 1, and/CRD 0.01. The results are shown in Figure 5 which shows that the residuals are almost the same with stabilizing parameters S D 0, 1, 2 even with relatively large time steps. Table II./c129tc with different/CR," and S for the Cahn–Hilliard equation. /CR" S /c129tc /CRD 0.1 " D 0.1 S D 0 /c129tc /EM0.009 S D 1 /c129tc > 1 S D 2 /c129tc > 1 /CRD 0.1 " D 0.01 S D 0 /c129tc /EM9E /NUL7 S D 1 /c129tc > 1 S D 2 /c129tc > 1 /CRD 0.01 " D 0.01 S D 0 /c129tc /EM9E /NUL6 S D 1 /c129tc > 1 S D 2 /c129tc > 1 10−210−110−12 10−10 10−8 10−6 10−4 10−2 Time step size Residual 4 Gauss−Radau IIa nodes S=0 S=1 S=2 Figure 5. L1 residual versus /c129t with different stabilization parameters. −1 −0.5 0 0.5 1 −1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1 x −1 −0.5 0 0.5 1 −1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1 x u(t=0.5) u(t=10−3) × Figure 6. Comparison of the numerical solutions obtained by the SISDC and SSISDC method for the Cahn–Hilliard equation. Left: at a transient time; Right: at the steady state. 4572 Copyright © 2013 John Wiley & Sons, Ltd. Math. Meth. Appl. Sci. 2015, 38 4564–4575 F . LIU AND J. SHEN 0.01560.1250.5 10−10 10−7 10−4 10−1 Time step size Residual 4 Gauss−Radau IIa nodes J=1 J=2 J=3 J=4 J=5 Figure 7. L1 residual versus /c129t with J D 1, /SOH/SOH/SOH,5( p D 4). 1 2 3 4 5 6 7 8 9 1010−12 10−10 10−8 10−6 10−4 Number of Iterations Residual 8 Gauss−Radau IIa nodes Figure 8. L1 residual versus the number of iterations J with different /c129t (p D 8). x y S=0 0 24 60 2 4 6 x y S=2 0 2 4 6 0 2 4 6 Figure 9. Comparison of the numerical solutions of the 2D Cahn–Hilliard equation with /CRD 10/NUL4, " D 0.01 at T D 10. Left: by the non-stabilized SISDC scheme; Right: by the SSISDC scheme. We then fix p D 4, J D 3a n dt a k e/CRD 0.1 and" D 0.05 in (1.2). On the left (resp. right) of Figure 6, we plot the solutions at a transient time (resp. the steady state) obtained by using the non-stabilized and stabilized schemes. We observe that for the transient time (resp. the steady state), the time step of the stabilized scheme can be 125 (resp. 1250) times larger than that of the non-stabilized scheme with no visible difference in the numerical solutions. In the next two experiments, we fix /CRD 0.01," D 1 in (1.2), and examine the order of accuracy of the SSISDC scheme with different number of iterations. As for the Allen–Cahn equation, we first take p D 4w i t hJ up to 5. Figure 7 shows how the residual decays as J increases with different time step sizes. It is observed that the scheme achieves the expected formal accuracy of order min.JC1, 2p/NUL2/ only for J D 1, 2, 3. As we further increaseJ, the order of convergence does not behave like min.JC1, 2p/NUL2/. Similar situation is observed for p D 8 (cf. Figure 8). The order reduction of the SSISDC method for the Cahn–Hilliard equation appears to be more severe than that Copyright © 2013 John Wiley & Sons, Ltd. Math. Meth. Appl. Sci. 2015, 38 4564–4575 4573 F . LIU AND J. SHEN for the Allen–Cahn equation, but this is not surprising because the ODE system from the semi-discretization of Cahn–Hilliard equation is much more stiff than that of the Allen–Cahn equation. As the final example for the Cahn–Hilliard equation, we solve the Cahn–Hilliard Equation (1.2) with /CRD 10/NUL4," D 0.01 and periodic boundary conditions in the domain /DELDŒ0, 2/EM/c1412 using the non-stabilized SISDC scheme and the SSISDC scheme with a Fourier dis- cretization in space. We start with a random initial condition and use 512 Fourier modes in each direction. We plot Figure 9 the contour lines of the solution at T D 10 by using the non-stabilized SISDC scheme (i.e., S D 0) with/c129t D 10/NUL5 and the SSISDC scheme with S D 2 and/c129t D 0.05. No visible difference is observable. 5. Concluding remarks We presented SSISDC methods for the time discretization of Allen–Cahn and Cahn–Hilliard equations. Although these methods can be coupled with any consistent spatial discretization, we used Legendre–Galerkin method for nonperiodic boundary conditions and Fourier–Galerkin method for periodic boundary conditions. The combined algorithms are unconditionally stable, lead to simple linear system to solve at each iteration, and can achieve high-order time accuracy with a few iterations in each time step. We presented ample numerical results to demonstrate the effectiveness of the SSISDC methods. It is observed that the SSISDC meth- ods can achieve a relatively high-order accuracy in time with just a few SDC iterations. However, due to the stiffness in the ODE systems from the semi-discretizations of the Allen–Cahn and the Cahn–Hilliard equations, the actual order of accuracy is usually less than the expected formal accuracy of order min.J C 1, 2p /NUL2/ for large J and p. If very high order of accuracy is desired, one can use instead the so-called KDC method. However, it usually takes a quite large number of iterations to reach the maximum order of accuracy of 2 p /NUL2. In conclusion, the SSISDC methods are very effective for solving Allen–Cahn and Cahn–Hilliard equations. In particular, they allow us to use much larger time steps to obtain moderately high-order of accuracy with only a few iterations at each time step. They can also be generalized to deal with more general gradient flows, and can be used as a major ingredient for developing highly efficient and accurate numerical schemes for other systems involving Allen–Cahn and Cahn–Hilliard equations such as the phase-field model for multiphase incompressible flows. Acknowledgements Fei Liu is partially supported by the Chinese Universities Scientific Fund No. 2010QNA3019. Jie Shen is partially supported by the grant of National Natural Science Foundation of China No. 91130002. References 1. Allen SM, Cahn JW. A microscopic theory for antiphase boundary motion and its application to antiphase domain coarsening. Acta Metallurgica et Materialia 1979; 27:1085–1095. 2. Cahn JW, Hilliard JE. Free energy of a nonuniform system. I. Interfacial free energy. Journal of Chemical Physics 1958; 28:258. 3. Elliott CM, French DA. Numerical studies of the Cahn-Hilliard equation for phase separation. IMA Journal of Applied Mathematics 1987; 38(2):97–128. 4. Du Q, Nicolaides RA. Numerical analysis of a continuum model of phase transition. SIAM Journal on Numerical Analysis 1991; 28(5):1310–1322. 5. Elliott CM, Garcke H. On the Cahn–Hilliard equation with degenerate mobility. SIAM Journal on Mathematical Analysis 1996; 27:404–423. 6. Zhu J, Chen LQ, Shen J, Tikare V. Coarsening kinetics from a variable-mobility Cahn-Hilliard equation: application of semi-implicit Fourier spec tral method. Physical Review E 1999; 60:3564–3572. 7. Gottlieb D, Orszag SA. Numerical Analysis of Spectral Methods: Theory and Applications. SIAM-CBMS: Philadelphia, 1977. 8. Boyd JP. Chebyshev and Fourier Spectral Methods, Second edition. Dover Publications Inc.: Mineola, NY, 2001. 9. Karniadakis GE, Sherwin SJ. Spectral/hp Element Methods for Computational Fluid Dynamics , Second edition, Numerical Mathematics and Scientific Computation. Oxford University Press: New York, 2005. 10. Canuto C, Hussaini MY, Quarteroni A, Zang TA. Spectral Methods , Scientific Computation. Springer-Verlag: Berlin, 2006. Fundamentals in single domains. 11. Shen J, Tang T, Wang L-L. Spectral Methods: Algorithms, Analysis and Applications , Springer Series in Computational Mathematics, Vol. 41. Springer: Heidelberg, 2011. 12. Tal-Ezer H. Spectral methods in time for parabolic problems. SIAM Journal on Numerical Analysis 1989; 26(1):1–11. 13. Bar-Yoseph P, Moses E, Zrahia U, Yarin AL. Space-time spectral element methods for one-dimensional nonlinear advection-diffusion problems. Journal of Computational Physics 1995; 119(1):62–74. 14. Dutt A, Greengard L, Rokhlin V. Spectral deferred correction methods for ordinary differential equations. BIT 2000; 40(2):241–266. 15. Shen J, Wang L-L. Analysis of a spectral-Galerkin approximation to the Helmholtz equation in exterior domains. Applied Numerical Mathematics 2007; 57:710–720. 16. Huang J, Jia J, Minion M. Arbitrary order Krylov deferred correction methods for differential algebraic equations. Journal of Computational Physics 2007; 221(2):739–760. 17. Layton AT, Minion ML. Implications of the choice of predictors for semi-implicit Picard integral deferred correction methods. Communications in Applied Mathathematics and Computer Sciece 2007; 2:1–34. 18. Jia J, Huang J. Krylov deferred correction accelerated method of lines transpose for parabolic problems. Journal of Computational Physics 2008; 227(3):1739–1753. 19. Hansen AC, Strain J. On the order of deferred correction. Applied Numerical Mathematics 2011; 61(8):961–973. 20. Eyre DJ. Unconditionally gradient stable time marching the Cahn-Hilliard equation. In Computational and Mathematical Models of Microstructural Evolution (San Francisco, CA, 1998), Vol. 529, Mater. Res. Soc. Sympos. Proc. MRS: Warrendale, PA, 1998; 39–46. 4574 Copyright © 2013 John Wiley & Sons, Ltd. Math. Meth. Appl. Sci. 2015, 38 4564–4575 F . LIU AND J. SHEN 21. Shen J, Yang X. Numerical approximations of Allen-Cahn and Cahn-Hilliard equations. Discrete and Continuous Dynamical Systems 2010; 28(4): 1669–1691. 22. Li B, Liu J-G. Thin film epitaxy with or without slope selection. European Journal on Applied Mathematics 2003; 14(6):713–743. 23. Evans JW, Thiel PA, Bartelt MC. Morphological evolution during epitaxial thin film growth: formation of 2D islands and 3D mounds. Surface Science Reports 2006; 61:1–128. 24. Wang C, Wang X, Wise SM. Unconditionally stable schemes for equations of thin film epitaxy. Discrete and Continuous Dynamical Systems 2010; 28(1):405–423. 25. Taylor JE, Cahn JW. Diffuse interfaces with sharp corners and facets: phase field models with strongly anisotropic surfaces. Physica D 1998; 112(3-4):381–411. 26. Wise S, Kim J, Lowengrub J. Solving the regularized, strongly anisotropic Cahn–Hilliard equation by an adaptive nonlinear multigrid method.Journal of Computational Physics 2007; 226(1):414–446. 27. Torabi S, Lowengrub J, Voigt A, Wise S. A new phase-field model for strongly anisotropic systems. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Science 2009; 465(2105):1337–1359. 28. Liu C, Shen J. A phase field model for the mixture of two incompressible fluids and its approximation by a Fourier-spectral method. Physica D 2003; 179(3-4):211–228. 29. Huang J, Jia J, Minion M. Accelerating the convergence of spectral deferred correction methods. Journal of Computational Physics 2006; 214(2):633–656. 30. Minion ML. Semi-implicit spectral deferred correction methods for ordinary differential equations. Communications in Mathematical Sciences 2003; 1:471–500. 31. Shen J. Efficient spectral-Galerkin method I. Direct solvers for second- and fourth-order equations by using Legendre polynomials. SIAM Journal of Scientific Computing 1994; 15:1489–1505. 32. Caffarelli LA, Muler NE. An L1 bound for solutions of the Cahn-Hilliard equation. Archive for Rational Mechanics and Analysis 1995; 133(2):129–144. 33. Kessler D, Nochetto RH, Schmidt A. A posteriori error control for the Allen–Cahn problem: circumventing Gronwall’s inequality. M2AN Mathematical Modelling and Numerical Analysis 2004; 38(1):129–142. 34. Condette N, Melcher C, Süli E. Spectral approximation of pattern-forming nonlinear evolution equations with double-well potentials of quadrat ic growth. Mathematics of Computation 2011; 80(273):205–223. Copyright © 2013 John Wiley & Sons, Ltd. Math. Meth. Appl. Sci. 2015, 38 4564–4575 4575
采集于
查看校方原文 ↗