校园网页 · 学校官网
Numerical Approximations of Allen-Cahn and Cahn-Hilliard Equations.pdf
DISCRETE AND CONTINUOUS doi:10.3934/dcds.2010.28.1669 DYNAMICAL SYSTEMS Volume 28, Number 4, December 2010 pp. 1669–1691 NUMERICAL APPROXIMA TIONS OF ALLEN-CAHN AND CAHN-HILLIARD EQUA TIONS Jie Shen School of Mathematical Sciences Xiamen University Xiamen, 361005, China and Department of Mathematics Purdue University W est Lafayette, IN, 47907, USA Xiaofeng Yang Department of Mathematics University of South Carolina Columbia, SC 29208, USA Abstract. Stability analyses and error estimates are carried out for a num- ber of commonly used numerical schemes for the Allen-Cahn an d Cahn-Hilliard equations. It is shown that all the schemes we considered are either uncondi- tionally energy stable, or conditionally energy stable wit h reasonable stability conditions in the semi-discretized versions. Error estima tes for selected schemes with a spectral-Galerkin approximation are also derived. T he stability analyses and error estimates are based on a weak formulation thus the r esults can be easily extended to other spatial discretizations, such as G alerkin finite element methods, which are based on a weak formulation. 1. Introduction. We consider in this paper numerical schemes for solving the Allen-Cahn equation ut − ∆u + 1 ε2 f (u) = 0 , (x, t) ∈ Ω × (0, T ], ∂nu|∂Ω = 0, u|t=0 = u0; (1.1) and the Cahn-Hilliard equation ut − ∆(− ∆u + 1 ε2 f (u)) = 0 , (x, t) ∈ Ω × (0, T ], ∂nu|∂Ω = 0, ∂ n(∆u − 1 ε2 f (u))|∂Ω = 0, u|t=0 = u0. (1.2) In the above, Ω ⊂ Rd (d = 2 , 3) is a bounded domain, n is the outward normal, f (u) = F ′(u) with F (u) being a given energy potential. An important feature of the 2000 Mathematics Subject Classification. Primary: 65N35, 65M15, 65M70; Secondary: 65Z05. Key words and phrases. Allen-Cahn, Cahn-Hilliard, Spectral Method, Error Analys is, Stability. The first author is supported by NSF grant DMS-0915066 and AFO SR grant F A9550-08-1-0416. 1669 1670 JIE SHEN AND XIAOFENG YANG Allen-Cahn and Cahn-Hilliard equations is that they can be v iewed as the gradient flow of the Liapunov energy functional E(u) := ∫ Ω ( 1 2 |∇u|2 + 1 ε2 F (u) ) dx (1.3) in L2 and H − 1, respectively. More precisely, by taking the inner product of ( 1.1) with − ∆u + 1 ε2 f (u), we immediately find the following energy law for ( 1.1): ∂ ∂t E(u(t)) = − ∫ Ω | −∆u + 1 ε2 f (u)|2dx; (1.4) and similarly, the energy law for ( 1.2) is ∂ ∂t E(u(t)) = − ∫ Ω |∇(− ∆u + 1 ε2 f (u))|2dx. (1.5) The Allen-Cahn equation was originally introduced by Allen and Cahn in [ 1] to describe the motion of anti-phase boundaries in crystallin e solids. In this context, u represents the concentration of one of the two metallic comp onents of the alloy and the parameter ε represents the interfacial width, which is small compared t o the characteristic length of the laboratory scale. The homogen ous Neumann boundary condition implies that no mass loss occurs across the bounda ry walls. On the other hand, the Cahn-Hilliard equation was introduced by Cahn and Hilliard in [ 4] to describe the complicated phase separation and coarsening p henomena in a solid. The two boundary conditions also imply that none of the mixtu re can pass through the boundary walls. Nowadays, the Allen-Cahn and Cahn-Hilliard equations have been widely used in many complicated moving interface problems in materials science and fluid dy- namics through a phase-field approach (cf., for instance, [ 19, 7, 2, 6, 17, 27, 25, 9]). Therefore, it is very important to develop accurate and effici ent numerical schemes to solve the Allen-Cahn and Cahn-Hilliard equations. Since an essential feature of the Allen-Cahn and Cahn-Hilliard equations are that they sa tisfy the energy laws (1.4) and ( 1.5) respectively, it is important to design efficient and accura te numer- ical schemes that satisfy a corresponding discrete energy l aw, or in other words, energy stable. In this paper, we shall restrict our attention to potential f unction F (u) whose derivative f (u) = F ′(u) satisfies the following condition: there exists a constant L such that max u∈R |f ′(u)| ≤L. (1.6) We note that this condition is satisfied by many physically re levant potentials by restricting the growth of F (u) to be quadratic for |u| ≥M . Consider, for example, the Ginzburg-Landau double-well potential F (u) = 1 4 (u2− 1)2 which has been widely used. However, its quartic growth at infinity introduces var ious technical difficulties in the analysis and approximation of Allen-Cahn and Cahn-Hi lliard equations. Since it is well-known that the Allen-Cahn equation satisfies the m aximum principle, we can truncate F (u) to quadratic growth outside of the interval [ − M, M ] without affecting the solution if the maximum norm of the initial cond ition u0 is bounded by M . While the Cahn-Hilliard equation does not satisfy the maxi mum principle, it has been shown that in [ 3] that for a truncated potential F (u) with quadratic growth at infinities, the maximum norm of the solution for the Cahn-H illiard equation is bounded. Therefore, it has been a common practice (cf. [ 15, 8]) to consider the NUMERICAL APPROX. OF ALLEN-CAHN & CAHN-HILLIARD EQUATIONS 1671 Allen-Cahn and Cahn-Hilliard equations with a truncated do uble-well potential F (u). More precisely, for a given M , we can replace F (u) = 1 4 (u2 − 1)2 by ˜F (u) = 3M 2− 1 2 u2 − 2M 3u + 1 4 (3M 4 + 1), u > M 1 4 (u2 − 1)2, u ∈ [− M, M ] 3M 2− 1 2 u2 + 2M 3u + 1 4 (3M 4 + 1), u < − M , (1.7) and replace f (u) = ( u2 − 1)u by ˜F ′(u) which is ˜f (u) = ˜F ′(u) = (3M 2 − 1)u − 2M 3, u > M (u2 − 1)u, u ∈ [− M, M ] (3M 2 − 1)u + 2M 3, u < − M . (1.8) It is then obvious that there exists L such that ( 1.6) is satisfied with f replaced by ˜f . It is well known that explicit schemes usually lead to very se vere time step re- strictions and do not satisfy a discrete energy law. So we sha ll focus our attention on semi-implicit (or linearly implicit) and fully implicit schemes. The advantage of semi-implicit schemes are that only an elliptic equation wi th constant coefficients needs to be solved at each time step, making it easy to impleme nt and remarkably efficient when fast elliptic solvers are available. However, the semi-implicit schemes usually have larger truncation errors and require smaller t ime steps than fully im- plicit schemes. On the other hand, one can easily design an im plicit scheme that satisfies an energy law, has smaller truncation errors and be tter stability property. But it requires solving a nonlinear equation at each time ste p. Our first objective is to design stabilized semi-implicit schemes that satisfy an energy law, and fully or partially alleviate the restriction on time steps. There have been a large body of work on numerical analysis of A llen-Cahn and Cahn-Hilliard equations (cf. [ 10, 11, 12, 26, 13, 15, 28, 8] and the references therein). Most of the analysis are for finite element/finite d ifference methods or Fourier-spectral method with periodic boundary condition s. Very few work has been devoted to the analysis of non-periodic spectral metho ds, even though they have been widely used in practice. This is partly due to some t echnical difficulties related to the “non-optimal” inverse inequalities of the sp ectral methods, making it difficult to handle nonlinear terms optimally. However, th anks to the Lipschitz property of the modified potential. The nonlinear terms can n ow be easily handled. Thus, the second purpose of this paper is to derive optimal er ror estimates for fully discretized schemes with a spectral-Galerkin method in spa ce. We shall also demon- strate, through error estimates, why spectral methods are p articularly suitable for interface problems governed by Allen-Cahn and Cahn-Hillia rd equations. The rest of the paper is organized as follows. In Section 2, we consider the Allen-Cahn equation and show that a number of commonly used t ime discretization schemes are energy stable. We also establish error estimate s for two fully discretized schemes with a spectral-Galerkin approximation in space. I n section 3, we consider the Cahn-Hilliard equations and carry out the correspondin g stability and error analysis. We make a few remarks about the generalization and interpretation of our analysis and present some numerical results in Section 4 . 2. Allen-Cahn equation. We consider in this section the numerical analysis of a few commonly used schemes for the Allen-Cahn equation ( 1.1). 1672 JIE SHEN AND XIAOFENG YANG We first introduce some notations which will be used througho ut the paper. We use H m(Ω) and ∥ · ∥m (m = 0, ± 1, · · ·) to denote the standard Sobolev spaces and their norms, respectively. In particular, the norm and inne r product of L2(Ω) = H 0(Ω) are denoted by ∥ · ∥ 0 and ( ·, ·) respectively. We also denote the L∞ (Ω) by ∥ · ∥∞ . 2.1. Stability analysis. We show in this subsection that several commonly used time discretization schemes are energy stable under reason able assumptions. 2.1.1. First-order semi-implicit schemes. We consider first the usual first-order semi- implicit method 1 δt (un+1 − un, ψ) + (∇ un+1, ∇ ψ) + 1 ε2 (f (un), ψ) = 0 , ∀ψ ∈ H 1(Ω). (2.1) Lemma 2.1. Under the condition δt ≤ 2ε2 L , (2.2) the following energy law holds E(un+1) ≤ E(un), ∀n ≥ 0. Proof. Taking ψ = un+1 − un in ( 2.1) and using the identity (a − b, 2a) = |a|2 − |b|2 + |a − b|2, (2.3) we find 1 δt ∥un+1 − un∥2 0 + 1 2 (∥∇ un+1∥2 0 − ∥∇ un∥2 0 + ∥∇ (un+1 − un)∥2 0) + 1 ε2 (f (un), un+1 − un) = 0 . (2.4) For the last term in ( 2.4), we use the Taylor expansion F (un+1) − F (un) = f (un)(un+1 − un) + f ′(ξn) 2 (un+1 − un)2. (2.5) Therefore, by using ( 1.6), we find 1 δt ∥un+1 − un∥2 0 + 1 2 (∥∇ un+1∥2 0 − ∥∇ un∥2 0 + ∥∇ (un+1 − un)∥2 0) + 1 ε2 (F (un+1) − F (un), 1) = 1 2ε2 (f ′(ξn)(un+1 − un), un+1 − un) ≤ L 2ε2 ∥un+1 − un∥2 0, which implies the desired results. The above lemma indicates that the first-order semi-implici t scheme satisfies a discrete energy law under the condition ( 2.2). While the condition ( 2.2) appears to be quite restrictive when ε << 1, a condition such as δt ∼ ε2 is in fact needed for any scheme to be convergent. Nevertheless, This conditi on can be removed by introducing a stabilizing term as we show below. The stabilized first-order semi-implicit method reads ( 1 δt + S ε2 )(un+1 − un, ψ) + (∇ un+1, ∇ ψ) + 1 ε2 (f (un), ψ) = 0 , ∀ψ ∈ H 1(Ω), (2.6) NUMERICAL APPROX. OF ALLEN-CAHN & CAHN-HILLIARD EQUATIONS 1673 where S is a stabilizing parameter to be specified. The stabilizing term S ε2 (un+1 − un) introduces an extra consistency error of order Sδt ε2 ut(ξn). We note that this error is of the same order as the error intr oduced by the explicit treatment of the nonlinear term which is, 1 ε2 (f (u(tn+1)) − f (u(tn))) = δt ε2 ut(ηn). Therefore, the stabilized semi-implicit scheme ( 2.6) is of the same order of accuracy, in terms of δt and ε, as the semi-implicit scheme ( 2.1). However, we have the following result for the stabilized scheme. Lemma 2.2. For S ≥ L 2 , the stabilized scheme (2.6) is unconditionally stable and the following energy law holds for any δt: E(un+1) ≤ E(un), ∀n ≥ 0. (2.7) Proof. Taking ψ = un+1 − un in ( 2.6), we obtain ( 1 δt + S ε2 )∥un+1 − un∥2 0 + 1 2 (∥∇ un+1∥2 0 − ∥∇ un∥2 0 + ∥∇ un+1 − ∇ un∥2 0) + 1 ε2 (f (un), un+1 − un) = 0 . (2.8) Using again the Taylor expansion ( 2.5) and ( 1.6), we find (f (un), un+1 − un) ≥ (F (un+1) − F (un), 1) − L 2 (un+1 − un, un+1 − un). (2.9) We can then conclude from ( 2.8) and ( 2.9). Remark 2.1. The scheme ( 2.6) can also be viewed as a linearized convex splitting scheme (cf. [ 11]). One can also design other unconditionally stable scheme s with energy law by using the convex splitting approach (cf. [ 11, 22, 14]). Note that the stabilizing technique has also been considered in [ 23] for an epitaxial growth model. However, their stability proof is based on assuming t he boundedness of the numerical solution which can not be verified a priori . In fact, by using a similar argument as above (see also Lemma 3.2 for the Cahn-Hilliard e quation below), we can prove that the stabilized scheme for the epitaxial growt h model consider in [ 23] satisfies an energy law and is also unconditionally stable. 2.1.2. Second-order semi-implicit and implicit schemes. A second-order semi- implicit scheme based on the second-order BDF and Adam-Bash forth is as follows: 1 2δt (3un+1 − 4un + un− 1, ψ) + (∇ un+1, ∇ ψ) + 1 ε2 (2f (un) − f (un− 1), ψ) = 0 , ∀ψ ∈ H 1(Ω). (2.10) Its stabilized version reads: 1 2δt (3un+1 − 4un + un− 1, ψ) + S ε2 (un+1 − 2un + un− 1, ψ) + (∇ un+1, ∇ ψ) + 1 ε2 (2f (un) − f (un− 1), ψ) = 0 , ∀ψ ∈ H 1(Ω). (2.11) The stabilizing term S ε2 (un+1 − 2un + un− 1) introduces an extra consistency error of order Sδt 2 ε2 utt(ξn) which is of the same order as the error introduced by replaci ng f (un+1) with 2 f (un) − f (un− 1). Therefore, the stabilized semi-implicit scheme 1674 JIE SHEN AND XIAOFENG YANG ( 2.11) is of the same order of accuracy, in terms of δt and ε, as the semi-implicit scheme ( 2.10). The stability results for the scheme ( 2.10) and its stabilized version ( 2.11) are shown below. Lemma 2.3. Under the condition δt ≤ 2ε2 3L , (2.12) the solution of the scheme (2.11) with S ≥ 0 satisfies E(un+1) + ( 1 4δt + S + L 2ε2 )∥un+1 − un∥2 0 ≤ E(un) + ( 1 4δt + S + L 2ε2 )∥un − un− 1∥2 0, ∀n ≥ 1. (2.13) Proof. To simplify the notation, we denote δun+1 = un+1 − un and δ2un+1 = un+1 − 2un + un− 1. Taking ψ = 2 δt(un+1 − un) in ( 2.11), we compute each term in the resultant equation as follows: (3un+1 − 4un + un− 1, un+1 − un) = (2( un+1 − un) + δ2un+1, un+1 − un) =2∥un+1 − un∥2 0 + 1 2 (∥un+1 − un∥2 0 − ∥ un − un− 1∥2 0 + ∥δ2un+1∥2 0). (2.14) 2Sδt ε2 (un+1− 2un+un− 1, un+1− un) = Sδt ε2 (∥un+1− un∥2 0−∥ un− un− 1∥2 0+∥δ2un+1∥2 0). (2.15) From the Taylor expansion ( 2.5), 2δt ε2 (f (un), un+1− un) = 2δt ε2 (F (un+1)− F (un), 1)+ δt ε2 (f ′(ξn)(un+1− un), un+1− un); (2.16) On the other hand, 2δt ε2 (f (un) − f (un− 1), un+1 − un) = 2δt ε2 (f ′(ξn− 1)(un − un− 1), un+1 − un). (2.17) Combining the above relations together and using ( 1.6), we arrive at 2∥un+1 − un∥2 0 + ( 1 2 + Sδt ε2 )(∥un+1 − un∥2 0 − ∥ un − un− 1∥2 0 + ∥δ2un+1∥2 0) + 2δt ε2 (F (un+1) − F (un), 1) + δt(∥∇ un+1∥2 0 − ∥∇ un∥2 0 + ∥∇ (un+1 − un)∥2 0) ≤ Lδt ε2 (∥un+1 − un∥2 0 + 2∥un+1 − un∥0∥un − un− 1∥0) ≤ Lδt ε2 (2∥un+1 − un∥2 0 + ∥un − un− 1∥2 0) (2.18) Under the condition ( 2.12), we have 2 − 2Lδt ε2 ≥ Lδt ε2 . Therefore, after dropping some unnecessary terms, we can rearrange the above relation to ( 1 2 + (S + L)δt ε2 )(∥un+1 − un∥2 0 − ∥ un − un− 1∥2 0) + 2δt(E(un+1) − E(un)) ≤ 0, NUMERICAL APPROX. OF ALLEN-CAHN & CAHN-HILLIARD EQUATIONS 1675 which implies ( 2.13). Remark 2.2. The above lemma is valid for all S ≥ 0 which include in particular the usual second-order semi-implicit scheme ( S = 0). The stability condition ( 2.12) is only slightly more restrictive than the condition ( 2.2) for the first-order semi-implicit scheme ( 2.1). Unlike in the first-order case, we were unable to show theoret ically that the stabilized scheme ( 2.11) with S > 0 has better stability than ( 2.10), which is ( 2.11) with S = 0. However, ample numerical evidences indicate that the st abilized version (2.11) with a suitable S allows much large time steps than that is allowed by the unstabilized version ( 2.10) (cf. [ 18]). Next, we shall consider a second-order implicit scheme. It is well-known that the usual second-order implicit Crank -Nicolson scheme does not satisfy an energy law. In order to construct a second-ord er implicit scheme which satisfies an energy law, we follow the idea in [ 10] (see also [ 8]) to introduce the following approximation to f (u): ˜f (u, v) = F (u) − F (v) u − v if u ̸= v f (u) if u = v , (2.19) and consider the following (modified) Crank-Nicolson schem e ( un+1 − un δt , ψ) + (∇ un+1 + un 2 , ∇ ψ) + 1 ε2 ( ˜f (un+1, un), ψ) = 0 , ∀ψ ∈ H 1(Ω).(2.20) It is clear that the above scheme is of second-order accurate , but it can also be easily seen that its dominate truncation error is of order Sδt 2 ε2 utt(ξn), which is of the same order, in terms of δt and ε, as that of ( 2.11). Taking ψ = un+1 − un, one immediately obtains the following result: Lemma 2.4. The scheme ( 2.20) is unconditionally stable and its solution satisfies E(un+1) ≤ E(un), ∀n ≥ 0. (2.21) While the scheme is unconditionally stable, but at each time step, one has to solve a nonlinear system for which the existence and uniquen ess of the solution can only be proved under a condition δt ≤ Cε 2 for certain constant C > 0. This latter result can be proved by using a similar approach as in [ 8]. We leave the detail to the interested reader. 2.2. Error analysis. In this subsection, we shall adopt a spectral-Galerkin appr ox- imation for the spacial variables, and establish error esti mates for the fully discrete versions of the first-order stabilized scheme and second-or der implicit scheme. We now introduce some notations and basic approximation results for the spectral approximations. We denote by YN the space of polynomials of degree ≤ N in each direction, and by Π N the usual L2-projection operator in YN , namely (ΠN v − v, ψ) = 0 , ∀ψ ∈ YN , (2.22) and we define a projection operator Π 1 N : H 1(Ω) → YN by (∇ (Π1 N v − v), ∇ ψ) = 0 , (Π1 N v − v, 1) = 0 , ∀ψ ∈ YN . (2.23) It is well known (cf. [ 16, 5]) that the following estimates hold: ∥u − ΠN u∥0 ≲ N − m∥u∥m ∀u ∈ H m(Ω), m ≥ 0; (2.24) 1676 JIE SHEN AND XIAOFENG YANG ∥u − Π1 N u∥k ≲ N k− m∥u∥m, k = 0, 1; ∀u ∈ H m(Ω), m ≥ 1. (2.25) 2.2.1. First-order stabilized scheme. The spectral-Galerkin method for the first- order stabilized scheme ( 2.6) reads: Given u0 N = Π N u0, for n ≥ 0, find un+1 N ∈ YN such that ( 1 δt + S ε2 )(un+1 N − un N , ψN ) + (∇ un+1 N , ∇ ψN ) + 1 ε2 (f (un N ), ψN ) = 0 , ∀ψN ∈ YN . (2.26) Let us denote ˜en+1 N = Π 1 N u(tn+1) − un+1 N , ˆen+1 N = u(tn+1) − Π1 N u(tn+1), en+1 N = u(tn+1) − un+1 N = ˜en+1 N + ˆen+1 N . (2.27) We also denote Rn+1 := u(tn+1) − u(tn) δt − ut(tn+1). (2.28) By using the Taylor expansion with integral residuals and th e Cauchy-Schwarz inequality, we derive easily ∥Rn+1∥2 s ≤ 1 δt2 ∥ ∫ tn+1 tn (t − tn)utt(t)dt∥2 s ≤ δt 3 ∫ tn+1 tn ∥utt(t)∥2 sdt, s = − 1, 0. (2.29) Theorem 2.1. Given T > 0. We assume that, for some m ≥ 1, u ∈ C(0, T ; H m(Ω)), ut ∈ L2(0, T ; H m(Ω)) and utt ∈ L2(0, T ; H − 1(Ω)). Then, for S > L 2 , the solution of (2.26) satisfies E(un+1 N ) ≤ E(un N ) (2.30) and the following error estimate holds: ∥u(tk) − uk N ∥0 ≤ C(ε, T )(K1(u, ε)δt + K2(u, ε)N − m), ∀0 ≤ k ≤ T δt , ( δt k∑ n=0 ∥u(tn+1) − un+1 N ∥2 0 ) 1 2 ≤ C(ε, T )(K1(u, ε)δt + K2(u, ε)N 1− m), ∀0 ≤ k ≤ T δt , (2.31) where C(ε, T ) ∼ exp(T /ε2); K1(u, ε) = ∥utt∥L2(0,T ;H−1) + 1 ε ∥ut∥L2(0,T ;L2); K2(u, ε) = ∥u0∥m + (ε + δt ε )∥ut∥L2(0,T ;Hm) + 1 ε ∥u∥C(0,T ;Hm). Proof. It is clear that the proof of Lemma 2.2 is also valid for the fully discrete scheme ( 2.26). Thus ( 2.30) holds for S > L 2 . Next we proceed to error estimates. NUMERICAL APPROX. OF ALLEN-CAHN & CAHN-HILLIARD EQUATIONS 1677 Subtracting ( 2.26) from ( 1.1) at tn+1, we find (( 1 δt + S ε2 )(˜en+1 N − ˜en N ), ψN ) + (∇ ˜en+1 N , ∇ ψN ) = (Rn+1, ψN ) + ( 1 δt + S ε2 ) ( (Π1 N − I)(u(tn+1) − u(tn)), ψN ) + S ε2 (u(tn+1) − u(tn), ψN ) + 1 ε2 (f (un N ) − f (u(tn+1)), ψN ). (2.32) Taking ψ = 2δt˜en+1 N , we derive (1 + Sδt ε2 )(∥˜en+1 N ∥2 0 − ∥ ˜en+1 N ∥2 0 + ∥˜en+1 N − ˜en N ∥2 0) + 2δt∥∇ ˜en+1 N ∥2 0 ≤ 2δt∥Rn+1∥− 1∥˜en+1 N ∥1 + (2 + 2Sδt ε2 )∥(I − Π1 N )(u(tn+1) − u(tn))∥0∥˜en+1 N ∥0 + 2Sδt ε2 ∥u(tn+1) − u(tn)∥0∥˜en+1 N ∥0 + 2δt ε2 ∥f (un N ) − f (u(tn+1))∥0∥˜en+1 N ∥0 := I + II + III + IV. (2.33) Using the Cauchy-Schwarz inequality and Young’s inequalit y, the first three terms can be easily estimated as follows: I ≤ C0δt∥Rn+1∥2 − 1 + δt∥∇ ˜en+1 N ∥2 0; II ≤ (ε2 + S2δt2 ε2 ) ∫ tn+1 tn ∥(I − Π1 N )ut(t)∥2 0dt + 2δt ε2 ∥˜en+1 N ∥2 0; III ≤ S2δt2 ε2 ∫ tn+1 tn ∥ut(t)∥2 0dt + δt ε2 ∥˜en+1 N ∥2 0. For the fourth term IV, we use ( 1.6) to derive ∥f (un N ) − f (u(tn+1))∥0 ≤ ∥ f (un N ) − f (un+1 N )∥0 + ∥f (un+1 N ) − f (u(tn+1))∥0 ≤ L∥un N − un+1 N ∥0 + L(∥˜en+1 N ∥0 + ∥ˆen+1 N ∥0) ≤ L(∥˜en+1 N − ˜en N ∥0 + ∥(I − Π1 N )(u(tn+1) − u(tn))∥0 + ∥u(tn+1) − u(tn)∥0) + L(∥˜en+1 N ∥0 + ∥ˆen+1 N ∥0). (2.34) Therefore, IV ≤ Lδt ε2 ∥˜en+1 N − ˜en N ∥2 0 + Lδt2 ε2 ∫ tn+1 tn ∥(I − Π1 N )ut(t)∥2 0dt + Lδt2 ε2 ∫ tn+1 tn ∥ut(t)∥2 0dt + Lδt ε2 (∥ˆen+1 N ∥2 0 + C1∥˜en+1 N ∥2 0). (2.35) Combining the above inequalities into ( 2.33), we arrive at ∥˜en+1 N ∥2 0 − ∥ ˜en+1 N ∥2 0 + ∥˜en+1 N − ˜en N ∥2 0 + δt∥∇ ˜en+1 N ∥2 0 ≤ C0δt∥Rn+1∥2 − 1 + C2δt ε2 ∥˜en+1 N ∥2 0 + Lδt ε2 ∥ˆen+1 N ∥2 0 + (ε2 + C3δt2 ε2 ) ∫ tn+1 tn ∥(I − Π1 N )ut(t)∥2 0dt + C3δt2 ε2 ∫ tn+1 tn ∥ut(t)∥2 0dt. 1678 JIE SHEN AND XIAOFENG YANG Summing up the above inequality for n = 0 , 1, · · · , k (k ≤ T δt + 1), dropping some unnecessary terms and observing ( 2.29)), we find ∥˜ek+1 N ∥2 0 − ∥ ˜e0 N ∥2 0 + δt k∑ n=0 ∥∇ ˜en+1 N ∥2 0 ≤ δt2 ( ∥utt∥2 L2(0,T ;H−1) + C3 ε2 ∥ut∥2 L2(0,T ;L2) ) + (ε2 + C3δt2 ε2 )∥(I − Π1 N )ut∥2 L2(0,T ;L2) + L ε2 ∥(I − Π1 N )u∥2 C(0,T ;L2) + C2δt ε2 k∑ n=0 ∥˜ek+1 N ∥2 0. Applying the discrete Gronwall lemma to the above inequalit y, We can then con- clude by using the triangular inequality ∥u(tn) − un N ∥i ≤ ∥ ˜en N ∥i + ∥ˆen N ∥i (i = 0, 1), and the approximation results ( 2.24) and ( 2.25). Remark 2.3. We note that the bound on constant C(ε, T ) results from the discrete Gronwall lemma. While it is possible to improve this bound to polynomial order in terms of ε− 1 as is done in [ 12, 13, 15] and [ 24], this process is very technical so we decided not to carry it out as our main purpose in this pap er is to study the stability properties of various schemes and to demonstr ate that optimal error estimates with spectral-Galerkin approximation in space c an be derived. 2.2.2. Second-order implicit scheme. The spectral-Galerkin method for the second- order implicit scheme ( 2.20) reads: Given u0 N = Π 1 N u0. for n ≥ 0, find un+1 N ∈ YN such that ( un+1 N − un N δt , ψN ) + (∇ un+1 N + un N 2 , ∇ ψN ) + 1 ε2 ( ˜f (un+1 N , un N ), ψN ) = 0 , ∀ψN ∈ YN . (2.36) In order to carry out an error analysis, we need to first establ ish the Lipschitz property for ˜f (u, v). Using the definition of ( 2.19), we derive that for u > v , ∂ ˜f (u, v) ∂u = F ′(u)(u − v) − (F (u) − F (v)) (u − v)2 = 1 (u − v)2 ∫ u v (F ′(u) − F ′(z))dz = 1 (u − v)2 ∫ u v ∫ u z f ′(y)dydz ≤ ∥ f ′∥∞ ≤ L. (2.37) Similarly we can show that the above is true for u < v . Thus, |˜f (u1, v) − ˜f (u2, v)| ≤L|u1 − u2|. (2.38) Likewise, we can prove |˜f (u, v1) − ˜f (u, v2)| ≤L|v1 − v2|. (2.39) NUMERICAL APPROX. OF ALLEN-CAHN & CAHN-HILLIARD EQUATIONS 1679 Next, we define the truncation error Rn+1/2 = Rn+1/2 1 + Rn+1/2 2 , where Rn+1/2 1 := ( u(tn+1) − u(tn) δt − ut(tn+1/2)), (2.40) Rn+1/2 2 := − ∆ ( u(tn+1) + u(tn) 2 − u(tn+1/2) ) . (2.41) By using the Taylor expansion with integral residual, it is e asy to show (cf. [ 21]) that ∥Rn+1/2 1 ∥2 s ≤ δt3 ∫ tn+1 tn ∥uttt(t)∥2 sdt, s = − 1, 0, (2.42) ∥Rn+1/2 2 ∥2 s ≤ δt3 ∫ tn+1 tn ∥utt(t)∥2 s+2dt, s = − 1, 0. (2.43) We are now ready for the error analysis. Theorem 2.2. Given T > 0. we assume that for some m ≥ 1, u ∈ C(0, T ; H m(Ω)), ut ∈ L2(0, T ; H m(Ω)) ∩ L2(0, T ; L4(Ω)), utt ∈ L2(0, T ; H 1(Ω)) and uttt ∈ L2(0, T ; H − 1(Ω)). Then, the solution of ( 2.36) satisfies E(un+1 N ) ≤ E(un N ), (2.44) and the following error estimate holds for 0 ≤ k ≤ T δt : ∥u(tk) − uk N ∥0 ≤ C(ε, T )(K3(u, ε)δt2 + K4(u, ε)N − m), ( δt k∑ n=0 ∥∇ (u(tn+ 1 2 ) − 1 2 (un+1 N + un N )∥2 0 ) 1 2 ≤ C(ε, T )(K3(u, ε)δt2 + K4(u, ε)N 1− m), where C(ε, T ) ∼ exp(T /ε2); K3(u, ε) = ∥uttt∥L2(0,T ;H−1) + ∥utt∥L2(0,T ;H1) + 1 ε (∥ut∥L2(0,T ;L4) + ∥utt∥L2(0,T ;L2)); K4(u, ε) = ∥u0∥m + ε∥ut∥L2(0,T ;Hm) + 1 ε ∥u∥C(0,T ;Hm). Proof. Taking ψN = un+1 N − un N in ( 2.36), one derives immediately ( 2.44). In addition to ( 2.27), we define ˜en+1/2 N = ˜en+1 N + ˜en N 2 . Subtracting ( 2.36) from ( 1.1) at tn+1/2, we find ( ˜en+1 N − ˜en N δt , ψ) + (∇ ˜en+1/2 N , ∇ ψ) = ( Rn+1/2, ψN ) + 1 δt ( (Π1 N − I)(u(tn+1) − u(tn)), ψN ) + 1 ε2 ( ˜f (un+1 N , un N ) − f (u(tn+1/2)), ψN ). 1680 JIE SHEN AND XIAOFENG YANG Taking ψN = 2δt˜en+1/2 N , we derive ∥˜en+1 N ∥0 − ∥ ˜en N ∥2 0 + 2δt∥∇ ˜en+1/2 N ∥2 0 ≤ C0δt∥Rn+1/2∥2 − 1 + δt∥∇ ˜en+1/2 N ∥2 0 + ε2 ∫ tn+1 tn ∥(I − Π1 N )ut(t)∥2 0dt + δt ε2 ∥˜en+1/2 N ∥2 0 + δt ε2 ∥˜en+1/2 N ∥2 0 + δt ε2 ∥ ˜f (un+1 N , un N ) − f (u(tn+ 1 2 )∥2 0. (2.45) For the last term, we have ∥ ˜f (un+1 N , un N ) − f (u(tn+1/2))∥0 ≤∥ ˜f (un+1 N , un N ) − ˜f (u(tn+1), un N )∥0 + ∥ ˜f (u(tn+1), un N ) − ˜f (u(tn+1), u(tn))∥0 + ∥ ˜f (u(tn+1), u(tn)) − f ( u(tn+1) + u(tn) 2 )∥0 + ∥f ( u(tn+1) + u(tn) 2 ) − f (u(tn+1/2))∥0 := I + II + III + IV. (2.46) By using the Lipschitz properties ( 1.6) and ( 2.38)-(2.39), we find I2 ≤ L2∥un+1 N − u(tn+1)∥2 0 ≤ L2(∥˜en+1 N ∥2 0 + ∥ˆen+1 N ∥2 0); II2 ≤ L2∥un N − u(tn)∥2 0 ≤ L2(∥˜en N ∥2 0 + ∥ˆen N ∥2 0); IV2 ≤ L2∥ u(tn+1) + u(tn) 2 − u(tn+1/2)∥2 0 ≤ L2δt3 ∫ tn+1 tn ∥utt(t)∥2 0dt. (2.47) By using the Taylor expansion and the definitions of f and ˜f , it is easy to show that |˜f (u, v) − f ( u + v 2 )| ≤ 1 24 max ξ∈[u,v] |f ′′(ξ)||u − v|2. (2.48) Therefore, we have III2 ≤ C4∥(u(tn+1) − u(tn))2∥2 0 ≤ C4δt3 ∫ tn+1 tn ∥u2 t (t)∥2 0dt. Combining these into ( 2.45), we arrive at ∥˜en+1 N ∥0 − ∥ ˜en N ∥2 0 + δt∥∇ ˜en+1/2 N ∥2 0 ≤ C0δt∥Rn+1/2∥2 − 1 + ε2 ∫ tn+1 tn ∥(I − Π1 N )ut(t)∥2 0dt + C5δt ε2 ( ∥˜en+1 N ∥2 0 + ∥˜en N ∥2 0 + ∥ˆen+1 N ∥2 0 + ∥ˆen+1 N ∥2 0 ) + C6δt4 ε2 ∫ tn+1 tn (∥u2 t (t)∥2 0 + ∥utt(t)∥2 0)dt. (2.49) NUMERICAL APPROX. OF ALLEN-CAHN & CAHN-HILLIARD EQUATIONS 1681 Summing up the above inequality for n = 0, 1, · · · , k (k ≤ T δt − 1), and using ( 2.25) and ( 2.42)-(2.43), we obtain ∥˜ek+1 N ∥0 − ∥ ˜e0 N ∥2 0 + δt k∑ n=0 ∥∇ ˜en+1/2 N ∥2 0 ≤ C0δt4(∥uttt∥2 L2(0,T ;H−1) + ∥utt∥2 L2(0,T ;H1)) + ε2N − 2m∥ut∥2 L2(0,T ;Hm) + C5δt ε2 k∑ n=0 ( ∥˜en+1 N ∥2 0 + ∥˜en N ∥2 0 + ∥ˆen+1 N ∥2 0 + ∥ˆen N ∥2 0 ) + C6δt4 ε2 (∥ut∥2 L2(0,T ;L4) + ∥utt∥2 L2(0,T ;L2)). We can then conclude by applying the discrete Gronwall lemma to the above in- equality, and by using the triangular inequality and ( 2.25). 3. Cahn-Hilliard equation. We now consider the Cahn-Hilliard equation ( 1.2) which we rewrite in the following mixed formulation: (ut, q) + (∇ w, ∇ q) = 0 , ∀q ∈ H 1(Ω), (∇ u, ∇ ψ) + 1 ε2 (f (u), ψ) = ( w, ψ), ∀ψ ∈ H 1(Ω). (3.1) As for the Allen-Cahn equation, we shall construct semi-imp licit and implicit schemes for ( 3.1) and carry out stability and error analysis for them. 3.1. Stability analysis. 3.1.1. First-order semi-implicit schemes. We consider first the usual first-order semi- implicit method 1 δt (un+1 − un, q) + (∇ wn+1, ∇ q) = 0 , ∀q ∈ H 1(Ω), (∇ un+1, ∇ ψ) + 1 ε2 (f (un), ψ) = ( wn+1, ψ), ∀ψ ∈ H 1(Ω). (3.2) Lemma 3.1. Under the condition δt ≤ 4ε4 L2 , (3.3) the solution of (3.2) satisfies E(un+1) ≤ E(un), ∀n ≥ 0. Proof. Taking q = δtwn+1 and ψ = un+1 − un in ( 3.2), and using ( 2.5), we find (un+1 − un, wn+1) + δt∥∇ wn+1∥2 0 = 0, (3.4) and 1 2 (∥∇ un+1∥2 0 − ∥∇ un∥2 0 + ∥∇ (un+1 − un)∥2 0) + 1 ε2 (F (un+1) − F (un), 1) + 1 2ε2 (f ′(ξn)(un+1 − un), un+1 − un) = ( wn+1, un+1 − un). (3.5) On the other hand, taking q = √ δt(un+1 − un) in ( 3.2), we obtain 1682 JIE SHEN AND XIAOFENG YANG 1√ δt ∥un+1 − un∥2 0 = − √ δt(∇ wn+1, ∇ (un+1 − un)) ≤ δt 2 ∥∇ wn+1∥2 0 + 1 2 ∥∇ (un+1 − un)∥2 0. (3.6) Summing up the above three relations and using ( 1.6), we arrive at 1√ δt ∥un+1 − un∥2 0 + δt 2 ∥∇ wn+1∥2 0 + 1 2 (∥∇ un+1∥2 0 − ∥∇ un∥2 0) + 1 ε2 (F (un+1) − F (un), 1) = − 1 2ε2 (f ′(ξn)(un+1 − un), un+1 − un) ≤ L 2ε2 ∥un+1 − un∥2 0. We then conclude that the desired result holds under the cond ition ( 3.3). Notice that, as expected, the stability condition ( 3.3) for the Cahn-Hilliard equa- tion is much severe than the condition ( 2.2) for the Allen-Cahn equation. However, a condition such as δt ∼ ε4 is in fact necessary for the sake of convergence. We now consider the following first-order stabilized semi-i mplicit method: 1 δt (un+1 − un, q) + (∇ wn+1, ∇ q) = 0 , ∀q ∈ H 1(Ω), (∇ un+1, ∇ ψ) + S ε2 (un+1 − un, ψ) + 1 ε2 (f (un), ψ) = ( wn+1, ψ), ∀ψ ∈ H 1(Ω). (3.7) As in the Allen-Cahn case, the extra consistency error intro duced by the stabiliza- tion term is of the same order, in terms of δt and ε, as the dominating truncation error in ( 3.2). Lemma 3.2. For S ≥ L 2 , the stabilized scheme (3.7) is unconditionally stable and the following energy law holds for any δt: E(un+1) ≤ E(un) ∀n ≥ 0. (3.8) Proof. As in the proof of Lemma 3.1, taking q = δtwn+1 and ψ = un+1 − un in (3.2), we obtain ( 3.4) and ( 3.5) with an extra term S ε2 ∥un+1 − un∥2 0 in the left hand side of ( 3.5). Therefore, summing up ( 3.4) and and ( 3.5) with this extra term, we immediately derive the desired result. 3.1.2. Second-order semi-implicit scheme. The second-order stabilized semi-implicit scheme reads: 1 2δt (3un+1 − 4un + un− 1, q) + (∇ wn+1, ∇ q) = 0 , ∀q ∈ H 1(Ω), (∇ un+1, ∇ ψ) + S ε2 (un+1 − 2un + un− 1, ψ) + 1 ε2 (2f (un) − f (un− 1, ψ) =(wn+1, ψ), ∀ψ ∈ H 1(Ω). (3.9) Since the above scheme is a direct extension of the scheme ( 2.11) to the Cahn- Hilliard case, we refer to Remark 2.1 for its theoretical and numerical stability properties. NUMERICAL APPROX. OF ALLEN-CAHN & CAHN-HILLIARD EQUATIONS 1683 3.1.3. Second-order implicit scheme. 1 δt (un+1 − un, q) + (∇ wn+1, ∇ q) = 0 , ( ∇ un+1 + ∇ un 2 , ∇ ψ) + 1 ε2 ( ˜f (un, un+1), ψ) = ( wn+1, ψ). (3.10) Taking q = δtwn+1, ψ = un+1 − un, one immediately obtains the following result: Lemma 3.3. The scheme (3.10) is unconditionally stable and its solution satisfies E(un+1) ≤ E(un), ∀n ≥ 0. (3.11) Note that while the scheme ( 3.10) is unconditionally stable, it appears that one can only prove the existence and uniqueness of the solution t o ( 3.10) under a con- dition similar to ( 3.3) (cf. [ 8]). 3.2. Error analysis. 3.2.1. First-order stabilized semi-implicit scheme. The spectral-Galerkin method for the first-order stabilized scheme ( 3.7) reads: Given u0 N = Π N u0, for n ≥ 0, find (un+1 N , wn+1 N ) ∈ YN × YN such that 1 δt (un+1 N − un N , qN ) + (∇ wn+1 N , ∇ qN ) = 0 , ∀qN ∈ YN (∇ un+1 N , ∇ ψN ) + S ε2 (un+1 N − un N , ψN ) + 1 ε2 (f (un N ), ψN ) = ( wn+1 N , ψN ), ∀ψN ∈ YN . (3.12) We denote ˜en+1 N = Π1 N u(tn+1) − un+1 N , ˆen+1 N = u(tn+1) − Π1 N u(tn+1), ¯en+1 N = Π1 N w(tn+1) − wn+1 N , ˇen+1 N = w(tn+1) − Π1 N w(tn+1). (3.13) Theorem 3.1. Given T > 0, we assume that for some m ≥ 1, u, w ∈ C(0, T ; H m(Ω)), ut ∈ L2(0, T ; H m(Ω)) and utt ∈ L2(0, T ; L2(Ω)). Then for s > L 2 , the solution of ( 3.12) satisfies E(un+1 N ) ≤ E(un N ), and the following error estimate holds ∥u(tk) − uk N ∥0+ ( δt k∑ n=0 ∥w(tn+1) − wn+1 N ∥2 0 ) 1 2 ≤ C(ε, T )(K5(u, ε)δt + K6(u, ε)N − m), ∀0 ≤ k ≤ T δt , where C(ε, T ) ∼ exp(T /ε4); K5(u, ε) = ε2∥utt∥L2(0,T ;L2) + 1 ε2 ∥ut∥L2(0,T ;L2); K6(u, ε) = ∥u0∥m + (ε2 + δt ε2 )∥ut∥L2(0,T ;Hm) + 1 ε2 ∥u∥C(0,T ;Hm) + ∥w∥C(0,T ;Hm). 1684 JIE SHEN AND XIAOFENG YANG Proof. Obviously, the proof of Lemma 3.2 is also valid for the fully discrete scheme 3.12. We now turn to the error estimates. Let Rn+1 be defined as in ( 2.28). Subtracting ( 3.12) from ( 3.1), we obtain 1 δt (˜en+1 N − ˜en N , qN ) + (∇ ¯en+1 N , ∇ qN ) =(Rn+1, qN ) − 1 δt ((I − Π1 N )(u(tn+1) − u(tn)), qN ) (∇ ˜en+1 N , ∇ ψN ) + S ε2 (˜en+1 N − ˜en N , ψN ) + 1 ε2 (f (u(tn+1)) − f (un N ), ψN ) =(¯en+1 N + ˇen+1 N , ψN ) + S ε2 (Π1 N u(tn+1) − Π1 N u(tn), ψN ). (3.14) Taking qN = 2 δt˜en+1 N and ψN = − 2δt¯en+1 N and summing up the two identities, we derive ∥˜en+1 N ∥2 0 − ∥ ˜en N ∥2 0 + ∥˜en+1 N − ˜en N ∥2 0 + 2δt∥¯en+1 N ∥2 0 = 2δt(Rn+1, ˜en+1 N ) − 2((I − Π1 N )(u(tn+1) − u(tn)), ˜en+1 N ) + 2δtS ε2 (˜en+1 N − ˜en N , ¯en+1 N ) + 2δt ε2 (f (u(tn+1)) − f (un N ), ¯en+1 N ) − 2δt(ˇen+1 N , ¯en+1 N ) − 2Sδt ε2 (Π1 N (u(tn+1) − u(tn)), ¯en+1 N ) := I + II + III + IV + V + VI. (3.15) Similarly as in the proof of Theorem 2.1, using the Cauchy-Schwarz inequality and (2.34), we derive I ≤ ε4δt∥Rn+1∥2 0 + δt ε4 ∥˜en+1 N ∥2 0; II ≤ 2ε4 ∫ tn+1 tn ∥(I − Π1 N )ut(t)∥2 0dt + δt 2ε4 ∥˜en+1 N ∥2 0; III ≤ δt 4 ∥¯en+1 N ∥2 0 + 4δtS 2 ε4 ∥˜en+1 N − ˜en N ∥2; IV ≤ δt 4 ∥¯en+1 N ∥2 0 + C7 ( δtL2 ε4 ∥˜en+1 N − ˜en N ∥2 0 + δt2L2 ε4 ∫ tn+1 tn ∥(I − Π1 N )ut(t)∥2 0dt + δt2L2 ε4 ∫ tn+1 tn ∥ut(·, t)∥2 0dt + δtL2 ε4 (∥˜en+1 N ∥2 0 + ∥ˆen+1 N ∥2 0) ) ; V ≤ δt 4 ∥¯en+1 N ∥2 0 + 4δt∥ˇen+1 N ∥2 0; VI ≤ δt 4 ∥¯en+1 N ∥2 0 + 4S2δt2 ε4 ( ∫ tn+1 tn ∥(I − Π1 N )ut(t)∥2 0dt + ∫ tn+1 tn ∥ut(t)∥2 0dt). NUMERICAL APPROX. OF ALLEN-CAHN & CAHN-HILLIARD EQUATIONS 1685 Combining the above inequalities into ( 3.15), we arrive at ∥˜en+1 N ∥2 0 − ∥ ˜en N ∥2 0 + ∥˜en+1 N − ˜en N ∥2 0 + δt∥¯en+1 N ∥2 0 ≤ δtε4∥Rn+1∥2 0 + 4δt∥ˇen+1 N ∥2 0 + C8δt ε4 (∥˜en+1 N ∥2 0 + ∥˜en N ∥2 0 + ∥ˆen+1 N ∥2 0) + 2ε4 ∫ tn+1 tn ∥(I − Π1 N )ut(·, t)∥2dt + C9δt2 ε4 ( ∫ tn+1 tn ∥(I − Π1 N )ut(·, t)∥2dt + ∫ tn+1 tn ∥ut(·, t)∥2dt). (3.16) Summing up the above inequality for n = 0, 1, · · · , k (k ≤ T δt − 1) and using ( 2.25) and ( 2.29), we obtain ∥˜en+1 N ∥2 0 − ∥ ˜en 0 ∥2 0 + δt k∑ n=0 ∥¯en+1 N ∥2 0 ≤ 4δt k∑ n=0 ∥ˇen+1 N ∥2 0 + δt2(ε4∥utt∥2 L2(0,T ;L2) + C9 ε4 ∥ut∥2 L2(0,T ;L2)) + C8δt ε4 k∑ n=0 (∥˜en+1 N ∥2 + ∥˜en N ∥2 0 + ∥ˆen+1 N ∥2 0) + ε4N − 2m∥ut∥2 L2(0,T ;Hm) + C9δt2 ε4 N − 2m∥ut∥L2(0,T ;Hm). Applying the discrete Gronwall lemma to the above inequalit y, we can then conclude by using the triangular inequality, ( 2.24) and ( 4.3). 3.2.2. Second-order implicit scheme. The spectral-Galerkin method for the second- order implicit scheme ( 3.10) reads: Given u0 N = Π 1 N u0, for n ≥ 0 find un+1 N , wn+1 N ∈ YN such that 1 δt (un+1 N − un N , qN ) + (∇ wn+1 N , ∇ qN ) = 0 , ∀qN ∈ YN ( ∇ un+1 N + ∇ un N 2 , ∇ ψN ) + ( ˜f (un N , un+1 N ), ψN ) = ( wn+1 N , ψN ), ∀ψN ∈ YN . (3.17) Theorem 3.2. Given T > 0, we assume that, for some m ≥ 1, u, w ∈ C(0, T ; H m(Ω)), ut ∈ L2(0, T ; H m(Ω)) ∩ L2(0, T ; L4(Ω)), utt ∈ L2(0, T ; H 2(Ω)) and uttt ∈ L2(0, T ; L2(Ω)). Then the solution of ( 3.17) satisfies E(un+1 N ) ≤ E(un N ), and the following error estimate holds ∥u(tk) − uk N ∥0+ ( δt k∑ n=0 ∥w(tn+ 1 2 ) − 1 2 (wn+1 N + wn N )∥2 0 ) 1 2 ≤ C(ε, T )(K7(u, ε)δt2 + K8(u, ε)N − m), ∀0 ≤ k ≤ T δt , 1686 JIE SHEN AND XIAOFENG YANG where C(ε, T ) ∼ exp(T /ε4); K7(u, ε) =ε2∥uttt∥L2(0,T ;L2) + ∥utt∥L2(0,T ;H2) + 1 ε2 (∥utt∥L2(0,T ;L2) + ∥ut∥L2(0,T ;L4)); K8(u, ε) = ∥u0∥m + ε2∥ut∥L2(0,T ;Hm) + 1 ε2 ∥u∥C(0,T ;Hm) + ∥w∥C(0,T ;Hm). Proof. The proof of Lemma 3.3 is obviously valid for the full discrete case. For the error estimates, we denote, in addition to ( 3.13), ¯en+1/2 N = Π1 N w(tn+1/2) − wn+1 N , ˇen+1/2 N = Π1 N w(tn+1/2) − Π1 N w(tn+1/2). Subtracting ( 3.17) from ( 3.1) at tn+1/2, we find ( ˜en+1 N − ˜en N δt , qN ) + (∇ ¯en+1/2 N , ∇ qN ) = 1 δt ((Π1 N − I)(u(tn+1) − u(tn), qN ) + (Rn+1/2 1 , qN ), ∀qN ∈ YN ; (∇ ˜en+1/2 N , ∇ ψN ) + 1 ε2 (f (u(tn+1/2)) − ˜f (un N , un+1 N ), ψN ) =(ˇen+1/2 N + ¯en+1/2 N , ψN ) + (Rn+1/2 2 , ψN ), ∀ψN ∈ YN . (3.18) Taking qN = 2 δt˜en+1/2 N and ψN = − 2δt¯en+1/2 N and summing up the two identities, we derive ∥˜en+1 N ∥2 0 − ∥ ˜en N ∥2 0 + 2δt∥¯en+1/2 N ∥2 0 =2((Π1 N − I)(u(tn+1) − u(tn)), ˜en+1/2 N ) + 2δt(Rn+1/2 1 , ˜en+1/2 N ) + 2δt ε2 (f (u(tn+1/2)) − ˜f (un N , un+1 N ), ¯en+1/2 N ) − 2δt(ˇen+1/2 N , ¯en+1/2 N ) − 2δt(Rn+1/2 2 , ¯en+1/2 N ) := I + II + III + IV + V. (3.19) NUMERICAL APPROX. OF ALLEN-CAHN & CAHN-HILLIARD EQUATIONS 1687 Similarly as in the proof of Theorem 2.2, by using the Cauchy-Schwarz inequality, (2.42), ( 2.43) and ( 2.46), we derive I ≤ δt ε4 ∥˜en+1/2 N ∥2 0 + ε4 ∫ tn+1 tn ∥(Π1 N − I)ut(t)∥2 0dt; II ≤ δt ε4 ∥˜en+1/2 N ∥2 0 + δt4ε4 ∫ tn+1 tn ∥uttt(t)∥2 0dt; III ≤ δt 4 ∥¯en+1/2 N ∥2 0 + 4δt ε4 ∥f (u(tn+1/2)) − ˜f (un N , un+1 N )∥2 0 ≤ δt 4 ∥¯en+1/2 N ∥2 0 + C10δt ε4 (∥˜en+1 N ∥2 0 + ∥˜en N ∥2 0 + ∥ˆen+1 N ∥2 0 + ∥ˆen N ∥2 0) + C11δt4 ε4 ∫ tn+1 tn (∥utt(t)∥2 0 + ∥u2 t (t)∥2 0)dt; IV ≤ δt 4 ∥¯en+1/2 N ∥2 0 + 4δt∥ˇen+1/2 N ∥2 0; V ≤ δt 4 ∥¯en+1/2 N ∥2 0 + 4δt4 ∫ tn+1 tn ∥utt(t)∥2 2dt. (3.20) Combing the above inequalities into ( 3.19), we derive ∥˜en+1 N ∥2 0 − ∥ ˜en N ∥2 0 + δt∥¯en+1/2 N ∥2 0 ≤ 4δt∥ˇen+1/2 N ∥2 0 + δt4ε4 ∫ tn+1 tn ∥uttt(t)∥2 0 + C12δt ε4 (∥˜en+1 N ∥2 0 + ∥˜en N ∥2 0 + ∥ˆen+1 N ∥2 0 + ∥ˆen N ∥2 0) + ε4 ∫ tn+1 tn ∥(Π1 N − I)ut(t)∥2 0dt + C11δt4 ε4 ∫ tn+1 tn (∥utt(t)∥2 0 + ∥u2 t (t)∥2 0)dt + 4δt4 ∫ tn+1 tn ∥utt(t)∥2 2dt. (3.21) Summing up the above inequality for n = 0, 1, · · · , k (k ≤ T δt − 1), and using ( 4.3), we arrive at ∥˜en+1 N ∥2 0 − ∥ ˜e0 N ∥2 0 + δt k∑ n=0 ∥¯en+1/2 N ∥2 0 ≤ C12δt ε4 k∑ n=0 (∥˜en+1 N ∥2 0 + ∥˜en N ∥2 0) + δt4 ε4 (∥utt∥2 L2(0,T ;L2) + ∥ut∥2 L2(0,T ;L4)) + δt4∥utt∥2 L2(0,T ;H2) + δt4ε4∥uttt∥2 L2(0,T ;L2) + N − 2m(∥w∥2 C(0,T ;Hm) + 1 ε4 ∥u∥2 C(0,T ;Hm) + ε4∥ut∥2 L2(0,T ;Hm)). We can then conclude by applying the discrete Gronwall lemma to the above in- equality, and by using the triangular inequality and ( 2.25). 1688 JIE SHEN AND XIAOFENG YANG 4. Miscellaneous remarks. 4.1. Generalizations. The stability results in Sections 2 and 3 are obtained for (semi-discretized) time discretization schemes. Since al l the stability results are proved from a weak formulation, it is obvious that these resu lts are also valid for any spatial discretization whose weak formulation is simpl y the restriction of the continuous-in-space weak formulation onto a finite dimensi onal subspace, including in particular Galerkin finite-element methods and spectral -Galerkin methods. Similarly, while we only considered error estimates with a s pectral-Galerkin ap- proximation, it is clear that these error estimates can also be directly extended to Galerkin finite-element methods, except that the spatial co nvergence order m in the error estimates will be fixed to be the order of the finite eleme nt approximation. Often times, it is computationally more efficient to use, inst ead of YN , the space (cf. [ 20]) Y 0 N = {u ∈ YN : ∂u ∂n |∂Ω = 0}. (4.1) With this approximation space, we can construct special bas is functions in Y 0 N such that the stiffness and mass matrices are very sparse and can be efficiently solved by using a matrix diagonalization method, we refer to [ 20] for more detail on this matter. Introducing the corresponding projection operator ˆΠ1 N : Y 2(Ω) := {u ∈ H 2(Ω) : ∂u ∂n |∂Ω = 0} → Y 0 N defined by (∇ ( ˆΠ1 N v − v), ∇ ψ) = 0 , ∀ψ ∈ Y 0 N , (4.2) it is an easy matter to show that ∥u − ˆΠ1 N u∥k ≲ N k− m∥u∥m, k = 0, 1, 2; ∀u ∈ Y m(Ω) := {v ∈ H m(Ω) : ∂v ∂n |∂Ω = 0}, m ≥ 2. (4.3) Then, if we replace the approximation space YN by Y 0 N in Sections 2 and 3, all the error estimates are still valid for m ≥ 2. 4.2. Effect of spatial accuracy. It has been observed that for interface problems governed by Allen-Cahn or Cahn-Hilliard type equation, spe ctral methods usually provide much more accurate results using fewer points than l ower order methods like finite elements or finite differences. We now give a heuris tic argument based on our error estimates. To fix the idea, let us consider the Allen-Cahn equation ( 1.1) and its error esti- mate in ( 2.31). It is well-known that the solution of the Allen-Cahn equat ion will develop an interface with thickness of order ε. Therefore, it is reasonable to assume that ∂m x u ∼ ε− m, ∀m ≥ 0. Hence, the error estimate ( 2.31) indicates that ∥u(tn) − un N ∥0 ≲ C(ε, T )(K1(u, ε)δt + N − mε− 1− m). Since the solution is usually smooth around the interfacial area, it can be expected that the above estimate is valid for all m. Let us ignore for the moment C(ε, T ) (see Remark 2.3). Then, as soon as N > O (ε− 1), it can be expected that the error due to the spatial discretization will decay very fast , in fact faster than any algebraic order, as N increases. In practice, it has been found that having 5 − 8 points inside the trasitional region is sufficient to represe nt the interface accurately. On the other hand, for a lower order method, the correspondin g error estimate is similar to ( 2.31) with N replaced by h− 1, but only with a fixed m, e.g., m = 2 NUMERICAL APPROX. OF ALLEN-CAHN & CAHN-HILLIARD EQUATIONS 1689 for piece-wise linear finite elements or second-order finite differences. Hence, for m = 2, one needs to have h << ε 3/2 for the scheme to be convergent, and h ∼ ε3 for the spatial error to be of order O(h). Therefore, an adaptive procedure is almost necessary for low-order methods to have a desirable accurac y with reasonable cost. It is clear that similar arguments can be applied to other sch emes for the Allen- Cahn and Cahn-Hilliard equations. In fact, the situation is even worse for Cahn- Hilliard equation. 4.3. Numerical tests. In this section, we compare the accuracy of various schemes for a classical benchmark problem (cf. [ 7]) we describe below. At the initial state, there is a circular interface boundary with a radius of R0 = 100 in the rectangular domain of (0 , 256) × (0, 256). Such a circular interface is unstable and the driving force will shrink and eventually di sappear. It is shown, as the ratio between the radius of the circle and the interfac ial thickness goes to infinity, the velocity of the moving interface V approaches to V = dR dt − 1 R , (4.4) where R is the radius of the circle at a given time t. After taking the integration, we obtain R = √ R2 0 − 2t. (4.5) After mapping the domain to ( − 1, 1) × (− 1, 1), we obtain the following Allen- Cahn equation φt = γ(∆φ − f (φ) ε2 ), (4.6) with γ = 6.10351 × 10− 5 and ε = 0.0078. We solved this equation using the second- order semi-implicit scheme ( 2.11) with S = 1 and the implicit scheme ( 2.20). The spectral approximation space Y 0 N is used. For the scheme ( 2.11), we only have to solve a Poisson-type equation at each time step so it is compu tationally very efficient since the Poisson-type equation can be solved efficiently (cf . [ 20]). For the scheme (2.20), a Newton iteration is required to deal with the nonlinear s ystem at each time step. At each Newton iteration, we need to solve a non-consta nt coefficient elliptic equation which we solve by a preconditioner CG iteration wit h a constant-coefficient Poisson-type equation as a preconditioner. In the computat ions presented below, only 2-4 Newton’s iterations are needed and each Newton’s it eration requires a few PCG iterations. So the cost of one step for the scheme ( 2.20) is usually more than 10 times of the cost for one step of ( 2.11). In all computations, we used 513 × 513 points to ensure that the error is dominated by time discretization errors. In Figure 4.1, we plot the evolution of the radius obtained by the second-order implicit scheme (I2), stabili zed first-order and second- order semi-implicit schemes (SSI1 and SSI2) with the stabil ization constant S = 1. Four different time step sizes δt = 0 .1, 0.01, 0.005, 0.001 are used. We observe that all three schemes perform quite well for this problem. The sc heme SSI1 has the largest error while the schemes SSI2 and I2 have similar accu racy. Note that the scheme I2 is an order of magnitude more expensive than the sch eme SSI2. 4.4. Concluding remarks. We presented in this paper stability analyses and error estimates for a number of commonly used numerical schemes fo r the Allen-Cahn and Cahn-Hilliard equations. 1690 JIE SHEN AND XIAOFENG YANG 0 200 400 600 800 1000 1200 1400 1600 1800 2000 60 65 70 75 80 85 90 95 100 t R 980 985 990 995 1000 1005 1010 79.9 80 80.1 80.2 80.3 80.4 SSI2 SSI1 I2 Exact Solution (a) δt = 0.1 0 200 400 600 800 1000 1200 1400 1600 1800 2000 60 65 70 75 80 85 90 95 100 t R 1000 1005 1010 1015 1020 1025 79.6 79.7 79.8 79.9 80 80.1 SSI2 SSI1 I2 Exact Solution (b) δt = 0.01 0 200 400 600 800 1000 1200 1400 1600 1800 2000 60 65 70 75 80 85 90 95 100 t R 1000 1005 1010 1015 1020 1025 79.7 79.8 79.9 80 80.1 80.2 SSI2 SSI1 I2 Exact Solution (c) δt = 0.005 0 200 400 600 800 1000 1200 1400 1600 1800 2000 60 65 70 75 80 85 90 95 100 t R 1000 1005 1010 79.8 79.85 79.9 79.95 80 80.05 80.1 SSI2 SSI1 I2 Exact Solution (d) δt = 0.001 Figure 4.1. Comparison between the second-order implicit scheme (I2), stabilized second-order semi-implicit schem e (SSI2) and stabilized first-order semi-implicit scheme (SSI1). We showed that the semi-implicit schemes without stabiliza tion are energy stable under reasonable conditions; we also shown that, at least in the first-order case, the stabilized version is unconditionally energy stable. Sinc e the stabilized schemes only requires solving a constant-coefficient second-order (resp . fourth-order) equation for the Allen-Cahn (resp. Cahn-Hilliard) problem, they are computationally very efficient. On the other hand, the implicit schemes are obvious ly unconditionally stable but requires solving a nonlinear system at each time s tep. We also carried out an error analysis for selected schemes wi th a spectral-Galerkin approximation, as an example. The error estimates reveal th at high-order methods, such as spectral methods, are preferable for interface prob lems governed by Allen- Cahn and Cahn-Hilliard equations, and that an adaptive proc edure is probably necessary for low order methods to achieve desired accuracy with reasonable cost. The stability results and error estimates derived in this pa per are based on a weak formulation so they can be applied to other spatial disc retizations, such as Galerkin finite element methods, which are based on a weak for mulation. REFERENCES [1] S. M. Allen and J. W. Cahn, A microscopic theory for antiphase boundary motion and its application to antiphase domain coarsening , Acta Metall. Mater., 27 (1979), 1085–1095. [2] D. M. Anderson, G. B. McFadden and A. A. Wheeler, Diffuse-interface methods in fluid mechanics, Annual Review Of Fluid Mechanics, 30, 139–165, Annu. Rev. Fluid Mech., 30, Annual Reviews, Palo Alto, CA, (1998). NUMERICAL APPROX. OF ALLEN-CAHN & CAHN-HILLIARD EQUATIONS 1691 [3] Luis A. Caffarelli and Nora E. Muler, An L∞ bound for solutions of the Cahn-Hilliard equa- tion, Arch. Rational Mech. Anal., 133 (1995), 129–144. [4] J. W. Cahn and J. E. Hilliard, Free energy of a nonuniform system. I. Interfacial free ener gy, J. Chem. Phys., 28 (1958), 258–267. [5] C. Canuto, M. Y. Hussaini, A. Quarteroni and T. A. Zang, “Spe ctral Methods,” Fundamentals in single domains. Scientific Computation, Springer-Verla g, Berlin, 2006. [6] L. Q. Chen, Phase-field models for microstructure evolution , Annual Review of Material Research, 32 (2002), 113. [7] L. Q. Chen and J. Shen, Applications of semi-implicit Fourier-spectral method to phase-field equations, Comput. Phys. Comm., 108 (1998), 147–158. [8] N. Condette, C. Melcher and E. S¨ uli, Spectral approximation of pattern-forming nonlinear evolution equations with double-well potentials of quadra tic growth, to appear in Math. Comp.. [9] Q. Du, C. Liu and X. W ang, Simulating the deformation of vesicle membranes under elas tic bending energy in three dimensions , J. Comput. Phys., 212 (2006), 757–777. [10] Qiang Du and R. A. Nicolaides, Numerical analysis of a continuum model of phase transition , SIAM J. Numer. Anal., 28 (1991), 1310–1322. [11] David J. Eyre, Unconditionally gradient stable time marching the Cahn-Hi lliard equation , In “Computational and Mathematical Models of Microstructu ral Evolution” (San Francisco, CA, 1998), 39–46, Mater. Res. Soc. Sympos. Proc., 529, MRS, W arrendale, PA, 1998. [12] Xiaobing Feng and Andreas Prohl, Numerical analysis of the Allen-Cahn equation and ap- proximation for mean curvature flows , Numer. Math., 94 (2003), 33–65. [13] Xiaobing Feng and Andreas Prohl, Error analysis of a mixed finite element method for the Cahn-Hilliard equation , Numer. Math., 99 (2004), 47–84. [14] Z. Hu, S. M. Wise, C. W ang and J. S. Lowengrub, Stable and efficient finite-difference nonlinear-multigrid schemes for the phase field crystal equ ation, J. Comput. Phys., 228 (2009), 5323–5339. [15] Daniel Kessler, Ricardo H. Nochetto and Alfred Schmidt, A posteriori error control for the Allen-Cahn problem: circumventing Gronwall’s inequal ity, M2AN Math. Model. Numer. Anal., 38 (2004), 129–142. [16] D. Khismatullin, Y. Renardy and M. Renardy, Development and implementation of vof-prost for 3d viscoelastic liquid-liquid simulations , J. Non-Newt. Fluid Mech., 140 (1992), 120–131. [17] C. Liu and J. Shen, A phase field model for the mixture of two incompressible fluid s and its approximation by a Fourier-spectral method , Physica D, 179 (2003), 211–228. [18] C. Liu, J. Shen and X. Yang, Dynamics of defect motion in nematic liquid crystal flow: Modeling and numerical simulation , Comm. Comput. Phys, 2 (2007), 1184–1198. [19] J. Lowengrub and L. Truskinovsky, Quasi-incompressible cahn-hilliard fluids and topologica l transitions, R. Soc. Lond. Proc. Ser. A Math. Phys. Eng. Sci., 454 (1998), 2617–2654. [20] J. Shen, Efficient spectral-Galerkin method I. direct solvers for sec ond- and fourth-order equations by using Legendre polynomials , SIAM J. Sci. Comput., 15 (1994), 1489–1505. [21] Jie Shen, On error estimates of the projection methods for the Navier- Stokes equations: First-order schemes , SIAM J. Numer. Anal., 29 (1992), 57–77. [22] S. M. Wise, C. W ang and J. S. Lowengrub, An energy-stable and convergent finite-difference scheme for the phase field crystal equation , SIAM J. Numer. Anal., 47 (2009), 2269–2288. [23] Chuanju Xu and Tao Tang, Stability analysis of large time-stepping methods for epit axial growth models, SIAM J. Numer. Anal., 44 (2006), 1759–1779. [24] X. Yang, Error analysis of stabilized semi-implicit method of Allen -Cahn equation , Disc. Conti. Dyn. Sys.-B, 11 (2009), 1057–1070. [25] X. Yang, J. J. Feng, C. Liu and J. Shen, Numerical simulations of jet pinching-off and drop formation using an energetic variational phase-field metho d, J. Comput. Phys., 218 (2006), 417–428. [26] Xingde Ye, The Legendre collocation method for the Cahn-Hilliard equa tion, J. Comput. Appl. Math., 150 (2003), 87–108. [27] P. Yue, J. J. Feng, C. Liu and J. Shen, A diffuse-interface method for simulating two-phase flows of complex fluids , J. Fluid Mech., 515 (2004), 293–317. [28] J. Zhang and Q. Du, Numerical studies of discrete approximations to the Allen- Cahn equation in the sharp interface limit , to appear in SIAM J. Scient. Comput.. Received October 2009; revised February 2010. E-mail address : shen@math.purdue.edu;xfyang@math.sc.edu
采集于
查看校方原文 ↗