EIT Agent
登录
← 校园网页目录

校园网页 · 学校官网

Energy stability and convergence of SAV block-centered finite difference method for gradient flows

This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . MA THEMA TICS OF COMPUT A TION V olume 88, Number 319, September 2019, Pages 2047–2068 https://doi.org/10.1090/mcom/3428 Article electronically published on April 1, 2019 ENERGY STABILITY AND CONVERGENCE OF SA V BLOCK-CENTERED FINITE DIFFERENCE METHOD FOR GRADIENT FLOWS XIAOLI LI, JIE SHEN, AND HONGXING RUI Abstract. We present in this paper construction and analysis of a block- centered finite difference method for the spatial discretization of the scalar auxiliary variable Crank-Nicolson scheme (SAV/CN-BCFD) for gradient flows, and show rigorously that the scheme is second-order in both time and space in various discrete norms. When equipped with an adaptive time strategy, the SAV/CN-BCFD scheme is accurate and extremely efficient. Numerical experiments on typical Allen-Cahn and Cahn-Hilliard equations are presented to verify our theoretical results and to show the robustness and accuracy of the SAV/CN-BCFD scheme. 1. Introduction Gradient flows are widely used in mathematical models for problems in many fields of science and engineering, particularly in materials science and fluid dy- namics; cf. [1,2,18,27] and the references therein. Therefore it is important to develop efficient and accurate numerical schemes for their simulation. There exists an extensive literature on the numerical analysis of gradient flows; see for instance [3,6–8,11,12,20] and the references therein. In the algorithm design of gradient flows, an important goal is to guarantee the energy stability at the discrete level, in order to capture the correct long-time dynamics of the system and provide enough flexibility for dealing with the stiffness problem induced by the thin interface. Many schemes for gradient flows are based on the traditional fully-implicit or explicit discretization for the nonlinear term, which may suffer from harsh time step constraint due to the thin interfacial width [9,19]. In order to deal with this problem, the convex splitting approach [13,15,21] and linear stabilization approach [14,19,24,29] have been widely used to construct unconditionally energy stable schemes. However, the convex splitting approach usually leads to nonlinear schemes and the linear stabilization approach is usually limited to first-order accuracy. Received by the editor June 26, 2018, and, in revised form, November 18, 2018. 2010 Mathematics Subject Classification.Primary 65M06, 65M12, 65M15, 35K20, 35K35, 65Z05. Key words and phrases.Scalar auxiliary variable (SAV), gradient flows, energy stability, block- centered finite difference, error estimates, adaptive time stepping. The first author thanks the China Scholarship Council for financial support. The work of the second author was supported in part by NSF grants DMS-1620262, DMS- 1720442, and AFOSR grant FA9550-16-1-0102. The second author is the corresponding author. The work of the third author was supported by the National Natural Science Foundation of China grant 11671233. c⃝2019 American Mathematical Society 2047 This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . 2048 XIAOLI LI, JIE SHEN, AND HONGXING RUI Recently, a novel numerical method, the so-called invariant energy quadratiza- tion (IEQ), was proposed in [25,26,28]. This method is a generalization of the method of Lagrange multipliers or of auxiliary variable. The IEQ approach is remarkable as it permits us to construct linear, unconditionally stable, and second- order unconditionally energy stable schemes for a large class of gradient flows. However, it leads to coupled systems with variable coefficients that may be difficult or expensive to solve. The scalar auxiliary variable (SAV) approach [17,18] was inspired by the IEQ approach, which inherits its main advantages but overcomes many of its shortcomings. In particular, in a recent paper [16], the authors es- tablished the first-order convergence and error estimates for the semidiscrete SAV scheme. In this paper, we construct a SAV/CN scheme with block-centered finite dif- ferences for gradient flows, carry out a rigorous stability and error analysis, and implement an adaptive time stepping strategy so that the time step is only dictated by accuracy rather than by stability. The block-centered finite difference method can be thought of as the lowest order Raviart-Thomas mixed element method with a suitable quadrature. Its main advantage over using a regular finite difference method is that it can approximate both the phase function and chemical potential with Neumann boundary conditions in the mixed formulation to second-order ac- curacy, and it guarantees local mass conservation. Our approach for error estimates here is very different from that in [16] which is based on derivingH 2 bounds for the numerical solution. However, this approach cannot be used in the fully discrete case with finite-differences in space. The essential tools used in the proof are the summation-by-parts formulae both in space and time to derive energy stability, and an induction process to show that the discreteL ∞ norm of the numerical solu- tion is uniformly bounded, without assuming a uniform Lipschitz condition on the nonlinear potential. To the best of the authors’ knowledge, this is the first paper with rigorous proof of second-order convergence both in time and space for a linear scheme to a class of gradient flows without assuming a uniform Lipschitz condition for the nonlinear potential. The paper is organized as follows. In Section 2, we describe our numerical scheme, including the temporal discretization and spacial discretization. In Section 3, we demonstrate the energy stability for our SAV/CN-BCFD scheme. In Section 4, we carry out error estimates for the SAV/CN-BCFD schemes. In Section 5, we present some numerical experiments to verify the energy stability and accuracy of the proposed schemes. Throughout the paper we useC, with or without subscript, to denote a positive constant, which could have different values at different places. 2. The SA V/CN-BCFD scheme Assume given a typical energy functional [16] (2.1) E(φ)= ∫ Ω (λ 2φ2 + 1 2|∇φ|2)dx+E1(φ), where Ω is a rectangular domain inR2, λ≥0, andE1(φ)= ∫ ΩF(φ)dx ≥−c0 for some c0 > 0, i.e., it is bounded from below. We consider the following gradient flow: (2.2) { ∂φ ∂t= MGμ,in Ω×J, μ= −Δφ+λφ+F′(φ), in Ω×J. This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . ENERGY STABILITY AND CONVERGENCE 2049 J =( 0,T ], and T denotes the final time. M is the mobility constant which is positive. The chemical potential μ= δE δφ. G = −1f o rt h eL2 gradient flow and G =Δf o rt h eH−1 gradient flow.F(φ) is the nonlinear free energy density and we focus on, as an example, whenE1(φ)= ∫ Ωα(1−φ2)2dx,t h eL2 and H−1 gradient flows are the well-known Allen-Cahn and Cahn-Hilliard equations, respectively. The boundary and initial conditions are (2.3) { ∂nφ|∂Ω =0 ,∂nμ|∂Ω =0 , φ|t=0 = φ0, where n is the unit outward normal vector of the domain Ω. The equation satisfies the following energy dissipation law: (2.4) dE dt = ∫ Ω ∂φ ∂tμdx = M ∫ Ω μGμdx ≤0. 2.1. The semidiscrete SA V/CN scheme. We recall the SAV/CN scheme intro- duced in [18] first. Let C0 >c 0 so thatE1(φ)+ C0 > 0. Without loss of generality, we substitute E1 with E1 +C0 without changing the gradient flow. ThenE1 has a positive lower bound ˆC0 = C0 −c0, which we still denote asC0 for simplicity. In the SAV approach, a scalar variabler(t)= √ E1(φ)i si n t r o d u c e d ,a n dt h e system (2.2) can be transformed into ⎧ ⎪⎪⎪ ⎪ ⎪ ⎪ ⎨ ⎪⎪ ⎪ ⎪ ⎪⎪⎩ ∂φ ∂t= MGμ,(2.5) μ= −Δφ+λφ+ r√ E1(φ) F′(φ),(2.6) rt = 1 2 √ E1(φ) ∫ Ω F′(φ)φtdx.(2.7) Then, the SAV/CN scheme is given as ⎧ ⎪⎪⎪ ⎪ ⎪ ⎪ ⎪⎪⎪ ⎨ ⎪⎪⎪⎪ ⎪ ⎪ ⎪ ⎪⎪⎩ φ n+1 −φn Δt = MGμn+1/2,(2.8) μn+1/2 = −Δφn+1/2 +λφn+1/2 + rn+1/2 √ E1(˜φn+1/2) F′(˜φn+1/2),(2.9) rn+1 −rn Δt = 1 2 √ E1(˜φn+1/2) ∫ Ω F′(˜φn+1/2)φn+1 −φn Δt dx,(2.10) where φn+1/2 = 1 2(φn + φn+1), rn+1/2 = 1 2(rn + rn+1), and ˜φn+1/2 can be any explicit approximation ofφ(tn+1/2)w i t ha ne r r o ro fO(Δt2). For instance, we may let ˜φn+1/2 be the extrapolation by (2.11) ˜φn+1/2 = 1 2(3φn −φn−1). 2.2. Spacial discretization. We apply the BCFD method on the staggered grids for the spacial discretization. This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . 2050 XIAOLI LI, JIE SHEN, AND HONGXING RUI First we give some preliminaries. LetLm(Ω) be the standard Banach space with norm ∥v∥Lm(Ω) = ( ∫ Ω |v|mdΩ )1/m . For simplicity, let (f,g )=( f,g )L2(Ω) = ∫ Ω fg dΩ denote theL2(Ω) inner product,∥v∥∞ = ∥v∥L∞(Ω). Let Wk,p(Ω) be the standard Sobolev space Wk,p(Ω) ={g : ∥g∥W kp (Ω) < ∞}, where (2.12) ∥g∥W k,p(Ω) = ⎛ ⎝ ∑ |α|≤k ∥Dαg∥p Lp(Ω) ⎞ ⎠ 1/p . The grid points are denoted by (xi+1/2,yj+1/2),i =0 ,...,N x,j =0 ,...,N y, and the notation similar to that in [22] is used: xi =( xi−1 2 +xi+ 1 2 )/2,i =1 ,...,N x, hx = xi+ 1 2 −xi−1 2 ,i =1 ,...,N x, yj =( yj−1 2 +yj+ 1 2 )/2,j =1 ,...,N y, hy = yj+ 1 2 −yj−1 2 ,j =1 ,...,N y, where hx and hy are grid spacings inx and y directions, and Nx and Ny are the number of grids along thex and y coordinates, respectively. Let gi,j,g i+ 1 2,j,g i,j+ 1 2 denote g(xi,yj),g (xi+ 1 2 ,yj),g (xi,yj+ 1 2 ). Define the dis- crete inner products and norms as: (f,g )m = Nx∑ i=1 Ny∑ j=1 hxhyfi,jgi,j, (f,g )x = Nx−1∑ i=1 Ny∑ j=1 hxhyfi+ 1 2,jgi+ 1 2,j, (f,g )y = Nx∑ i=1 Ny−1∑ j=1 hxhyfi,j+ 1 2 gi,j+ 1 2 , (v, r)TM =( v1,r1)x +(v2,r2)y. For simplicity, from now on we always omit the superscriptn (the time level) if the omission does not cause conflicts. Define [dxg]i+ 1 2,j =( gi+1,j −gi,j)/hx, [dyg]i,j+ 1 2 =( gi,j+1 −gi,j)/hy, [Dxg]i,j =( gi+ 1 2,j −gi−1 2,j)/hx, [Dyg]i,j =( gi,j+ 1 2 −gi,j−1 2 )/hy, [dtg]n i,j =( gn i,j −gn−1 i,j )/Δt. This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . ENERGY STABILITY AND CONVERGENCE 2051 The following discrete-integration-by-part lemma [22] plays an important role in the analysis. Lemma 1. Let qi,j,w1,i+1/2,j ,a n d w2,i,j+1/2 be any values such that w1,1/2,j = w1,Nx+1/2,j = w2,i,1/2 = w2,i,Ny+1/2 =0 .T h e n (q,Dxw1)m = −(dxq,w1)x, (q,Dyw2)m = −(dyq,w2)y. 2.2.1. SA V/CV-BCFD scheme for H−1 gradient flow. Let us denote the BCFD approximations to{φn,μn,rn}N n=0 by {Zn,W n,Rn}N n=0. The scheme for theH−1 gradient flow is as follows: for 1≤i ≤Nx, 1 ≤j ≤Ny, ⎧ ⎪⎪ ⎪ ⎪ ⎪⎪⎪ ⎪ ⎪ ⎪ ⎪⎨ ⎪⎪ ⎪ ⎪⎪⎪ ⎪ ⎪ ⎪ ⎪⎪⎩ [d tZ]n+1 i,j = M[DxdxW +DydyW]n+1/2 i,j ,(2.13) Wn+1/2 i,j = −[DxdxZ +DydyZ]n+1/2 i,j +λZn+1/2 i,j(2.14) + Rn+1/2 √ Eh 1(˜Zn+1/2) F′(˜Zn+1/2 i,j ), dtRn+1 = 1 2 √ Eh 1(˜Zn+1/2) (F′(˜Zn+1/2),dtZn+1)m,(2.15) where ˜Zn+1/2 is an approximation of˜φn+1/2,a n d Eh 1(˜Zn+1/2)= Nx∑ i=1 Ny∑ j=1 hxhyF(˜Zn+1/2 i,j ). The boundary and initial approximations are (2.16) ⎧ ⎪⎪ ⎪ ⎪⎨ ⎪⎪ ⎪ ⎪ ⎩ [d xZ]n 1/2,j =[ dxZ]n Nx+1/2,j =0 , 1 ≤j ≤Ny, [dyZ]n i,1/2 =[ dyZ]n i,Ny+1/2 =0 , 1 ≤i ≤Nx, [dxW]n 1/2,j =[ dxW]n Nx+1/2,j =0 , 1 ≤j ≤Ny, [dyW]n i,1/2 =[ dyW]n i,Ny+1/2 =0 , 1 ≤i ≤Nx, Z0 i,j = φ0,i,j,1 ≤i ≤Nx,1 ≤j ≤Ny. Remark. The solution procedure of the above scheme is described in detail in [17, 18], and hence is omitted here. 2.2.2. SA V/CV-BCFD scheme for L2 gradient flow. Let us denote the BCFD ap- proximations to{φn,μn,rn}N n=0 by {Zn,W n,Rn}N n=0. The scheme for theL2 gra- dient flow is as follows: for 1≤i ≤Nx, 1 ≤j ≤Ny, ⎧ ⎪⎪⎪⎪ ⎪ ⎪ ⎪⎪⎪ ⎪ ⎪ ⎨ ⎪⎪⎪ ⎪ ⎪ ⎪⎪⎪ ⎪ ⎪ ⎪⎩ [d tZ]n+1 i,j = −MWn+1/2 i,j ,(2.17) Wn+1/2 i,j = −[DxdxZ +DydyZ]n+1/2 i,j +λZn+1/2 i,j(2.18) + Rn+1/2 √ Eh 1(˜Zn+1/2) F′(˜Zn+1/2 i,j ), dtRn+1 = 1 2 √ Eh 1(˜Zn+1/2) (F′(˜Zn+1/2),dtZn+1)m,(2.19) where ˜Zn+1/2 is an approximation of˜φn+1/2. The boundary and initial conditions are given in (2.16). This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . 2052 XIAOLI LI, JIE SHEN, AND HONGXING RUI 3. Unconditional energy stability We demonstrate below that the full discrete SAV/CN-BCFD schemes are un- conditionally energy stable with the discrete energy functional (3.1) Ed(Zn)= λ 2∥Zn∥2 m + 1 2∥dZn∥2 TM +(Rn)2, where dZ =( dxZ,dyZ). 3.1. H−1 gradient flow. Theorem 2. The scheme (2.13)–(2.15) is unconditionally stable and the following discrete energy law holds for any Δt: (3.2) 1 Δt[Ed(Zn+1)−Ed(Zn)] =−M∥dWn+1/2∥2 TM ∀n ≥0. Proof. Multiplying equation (2.13) byWn+1/2 i,j hxhy, and making summation oni,j for 1≤i ≤Nx, 1 ≤j ≤Ny,w eh a v e (3.3) (dtZn+1,W n+1/2)m = M(DxdxWn+1/2 +DydyWn+1/2,W n+1/2)m. Using Lemma 1, equation (3.3) can be transformed into the following: (3.4) (dtZn+1,W n+1/2)m =−M(∥dxWn+1/2∥2 x +∥dyWn+1/2∥2 y) =−M∥dWn+1/2∥2 TM . Multiplying equation (2.14) by dtZn+1 i,j hxhy, and making summation on i,j for 1 ≤i ≤Nx, 1 ≤j ≤Ny,w eh a v e (3.5) (dtZn+1,W n+1/2)m =−(DxdxZn+1/2 +DydyZn+1/2,dtZn+1)m + Rn+1/2 √ Eh 1(˜Zn+1/2) (F′(˜Zn+1/2),dtZn+1)m +λ(Zn+1/2,dtZn+1)m. Using Lemma 1 again, the first term on the right-hand side of equation (3.5) can be written as (3.6) −(DxdxZn+1/2 +DydyZn+1/2,dtZn+1)m =(dxZn+1/2,dtdxZn+1)x +(dyZn+1/2,dtdyZn+1)y =∥dZn+1∥2 TM −∥dZn∥2 TM 2Δt . Multiplying equation (2.15) byRn+1 +Rn leads to (3.7) (Rn+1)2 −(Rn)2 Δt = Rn+1/2 √ Eh 1(˜Zn+1/2) (F′(˜Zn+1/2),dtZn+1)M. Combining equation (3.7) with equations (3.4)–(3.6) gives that (3.8) (Rn+1)2 −(Rn)2 Δt +λ∥Zn+1∥2 m −∥Zn∥2 m 2Δt + ∥dZn+1∥2 TM −∥dZn∥2 TM 2Δt =−M∥dWn+1/2∥2 TM ≤0, which implies the desired results (3.2). □ This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . ENERGY STABILITY AND CONVERGENCE 2053 3.2. L2 gradient flow. For theL2 gradient flow, we shall only state the result, as its proof is essentially the same as for theH−1 gradient flow. Theorem 3. The scheme (2.17)–(2.19) is unconditionally stable and the following discrete energy law holds for any Δt: (3.9) 1 Δt[Ed(Zn+1)−Ed(Zn)] =−M∥Wn+1/2∥2 m ∀n ≥0. 4. Error estimates In this section, we derive our main results of this paper, i.e., error estimates for the fully discrete SAV/CN-BCFD schemes. For simplicity, we set en φ= Zn −φn,e n μ= Wn −μn,e n r = Rn −rn. 4.1. H−1 gradient flow. We shall first derive error estimates for the case of the H−1 gradient flow. Theorem 4. Assume F(φ) ∈C3(R), φ∈W1,∞(J;W4,∞(Ω))∩W3,∞(J;W1,∞(Ω)), and μ∈L∞(J;W4,∞(Ω)).L e t Δt ≤C(hx + hy). Then for the discrete scheme (2.13)–(2.15), there exists a positive constant C independent of hx, hy ,a n dΔt such that (4.1) ∥Zk+1 −φk+1∥m +∥dZk+1 −dφk+1∥TM +|Rk+1 −rk+1| + ( k∑ n=0 Δt∥dWn+1/2 −dμn+1/2∥2 TM )1/2 + ( k∑ n=0 Δt∥Wn+1/2 −μn+1/2∥2 m )1/2 ≤C(∥φ∥W 1,∞(J;W 4,∞(Ω))+∥μ∥L∞(J;W 4,∞(Ω)))(h2 x +h2 y) +C∥φ∥W 3,∞(J;W 1,∞(Ω))Δt2. We shall split the proof of the above results into three lemmas below. Lemma 5. Under the conditions of Theorem 4, there exists a positive constant C independent of hx, hy ,a n d Δt such that (4.2) (ek+1 r )2 + 1 2∥dek+1 φ ∥2 TM + λ 2∥ek+1 φ ∥2 m + M 2 k∑ n=0 Δt∥den+1/2 μ ∥2 TM ≤C k+1∑ n=0 Δt∥den φ∥2 TM + M 2 k+1∑ n=0 Δt∥en+1/2 μ ∥2 m +C k+1∑ n=0 Δt∥en φ∥2 m +C k+1∑ n=0 Δt(en r)2 +C(∥φ∥2 W 1,∞(J;W 4,∞(Ω))+∥μ∥2 L∞(J;W 4,∞(Ω)))(h4 x +h4 y) +C∥φ∥2 W 3,∞(J;W 1,∞(Ω))Δt4. This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . 2054 XIAOLI LI, JIE SHEN, AND HONGXING RUI Proof. Denote δx(φ)= dxφ−∂φ ∂x,δy(φ)= dyφ−∂φ ∂y, δx(μ)= dxμ−∂μ ∂x,δy(μ)= dyμ−∂μ ∂y. Subtracting equation (2.5) from equation (2.13), we obtain (4.3) [dteφ]n+1 i,j =M[Dx(dxeμ+δx(μ))+ Dy(dyeμ+δy(μ))]n+1/2 i,j +Tn+1/2 1,i,j +Tn+1/2 2,i,j , where (4.4) Tn+1/2 1,i,j = ∂φ ∂t ⏐⏐n+1/2 i,j −[dtφ]n+1 i,j ≤C∥φ∥W 3,∞(J;L∞(Ω))Δt2, (4.5) Tn+1/2 2,i,j = M[Dx ∂μ ∂x+Dy ∂μ ∂y]n+1/2 i,j −MΔμn+1/2 i,j ≤CM(h2 x +h2 y)∥μ∥L∞(J;W 4,∞(Ω)). Subtracting equation (2.6) from equation (2.14) leads to (4.6) en+1/2 μ,i,j =−[Dx(dxeφ+δx(φ))+ Dy(dyeφ+δy(φ))]n+1/2 i,j +λen+1/2 φ,i,j + Rn+1/2 √ Eh 1(˜Zn+1/2) F′(˜Zn+1/2 i,j ) − rn+1/2 √ E1(φn+1/2) F′(φn+1/2 i,j )+ Tn+1/2 3,i,j , where (4.7) Tn+1/2 3,i,j =Δφn+1/2 i,j −[Dx ∂φ ∂x+Dy ∂φ ∂y]n+1/2 i,j ≤C(h2 x +h2 y)∥φ∥L∞(J;W 4,∞(Ω)). Subtracting equation (2.7) from equation (2.15) gives that (4.8) dten+1 r = 1 2 √ Eh 1(˜Zn+1/2) (F′(˜Zn+1/2),dtZn+1)m − 1 2 √ E1(φn+1/2) ∫ Ω F′(φn+1/2)φn+1/2 t dx+Tn+1/2 4 , where (4.9) Tn+1/2 4 = rn+1/2 t −dtrn+1 ≤C∥r∥W 3,∞(J)Δt2. This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . ENERGY STABILITY AND CONVERGENCE 2055 Multiplying equation (4.3) byen+1/2 μ,i,j hxhy, and making summation oni,j for 1≤ i ≤Nx, 1 ≤j ≤Ny,w eh a v e (4.10) (dten+1 φ ,en+1/2 μ )m =M ( Dx(dxeμ+δx(μ))n+1/2 +Dy(dyeμ+δy(μ))n+1/2,en+1/2 μ ) m +(Tn+1/2 1 ,en+1/2 μ )m +(Tn+1/2 2 ,en+1/2 μ )m. Using Lemma 1, we can write the first term on the right-hand side of equation (4.10) as (4.11) M ( D x(dxeμ+δx(μ))n+1/2 +Dy(dyeμ+δy(μ))n+1/2,en+1/2 μ ) m =−M ( (dxeμ+δx(μ))n+1/2,dxen+1/2 μ ) x −M ( (dyeμ+δy(μ))n+1/2,dyen+1/2 μ ) y =−M∥den+1/2 μ ∥2 TM −M(δx(μ)n+1/2,dxen+1/2 μ )x −M(δy(μ)n+1/2,dyen+1/2 μ )y. Thanks to the Cauchy-Schwarz inequality, the last two terms on the right-hand side of equation (4.11) can be transformed into (4.12) −M(δx(μ)n+1/2,dxen+1/2 μ )x −M(δy(μ)n+1/2,dyen+1/2 μ )y ≤M 6 ∥dμn+1/2∥2 TM +C∥μ∥2 L∞(J;W 3,∞(Ω))(h4 x +h4 y). Multiplying equation (4.6) bydten+1 φ,i,jhxhy, and making summation oni,j for 1 ≤i ≤Nx, 1 ≤j ≤Ny,w eh a v e (4.13) (en+1/2 μ ,dten+1 φ )m = −(Dx(dxeφ+δx(φ))n+1/2 +Dy(dyeφ+δy(φ))n+1/2,dten+1 φ )m +( Rn+1/2 √ Eh 1(˜Zn+1/2) F′(˜Zn+1/2)− rn+1/2 √ E1(φn+1/2) F′(φn+1/2),dten+1 φ )m +λ(en+1/2 φ ,dten+1 φ )m +(Tn+1/2 3 ,dten+1 φ )m. Similar to the estimate of equation (3.6), the first term on the right-hand side of equation (4.13) can be transformed into the following: (4.14) −(Dx(dxeφ+δx(φ))n+1/2 +Dy(dyeφ+δy(φ))n+1/2,dten+1 φ )m =(dxen+1/2 φ ,dtdxen+1 φ )x +(dyen+1/2 φ ,dtdyen+1 φ )y +(δx(φ)n+1/2,dtdxen+1/2 φ )x +(δy(φ)n+1/2,dtdyen+1/2 φ )y = ∥den+1 φ ∥2 TM −∥den φ∥2 TM 2Δt +(δx(φ)n+1/2,dtdxen+1/2 φ )x +(δy(φ)n+1/2,dtdyen+1/2 φ )y. This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . 2056 XIAOLI LI, JIE SHEN, AND HONGXING RUI The second term on the right-hand side of equation (4.13) can be rewritten as follows: (4.15) ( Rn+1/2 √ Eh 1 (˜Zn+1/2) F′(˜Zn+1/2)− rn+1/2 √ E1(φn+1/2) F′(φn+1/2),dten+1 φ )m =rn+1/2( F′(˜Zn+1/2)√ Eh 1(˜Zn+1/2) − F′(˜φn+1/2)√ Eh 1(˜φn+1/2) ,dten+1 φ )m +rn+1/2( F′(˜φn+1/2)√ Eh 1(˜φn+1/2) − F′(φn+1/2)√ E1(φn+1/2) ,dten+1 φ )m +en+1/2 r ( F′(˜Zn+1/2)√ Eh 1 (˜Zn+1/2) ,dten+1 φ )m. Recalling equation (4.3), the first term on the right-hand side of equation (4.15) can be transformed into the following: (4.16) rn+1/2( F′(˜Zn+1/2)√ Eh 1(˜Zn+1/2) − F′(˜φn+1/2)√ Eh 1(˜φn+1/2) ,dten+1 φ )m =Mrn+1/2( F′(˜Zn+1/2)√ Eh 1(˜Zn+1/2) − F′(˜φn+1/2)√ Eh 1(˜φn+1/2) ,Dx(dxeμ+δx(μ))n+1/2)m +Mrn+1/2( F′(˜Zn+1/2)√ Eh 1(˜Zn+1/2) − F′(˜φn+1/2)√ Eh 1(˜φn+1/2) ,Dy(dyeμ+δy(μ))n+1/2)m +rn+1/2( F′(˜Zn+1/2)√ Eh 1(˜Zn+1/2) − F′(˜φn+1/2)√ Eh 1(˜φn+1/2) ,T n+1/2 1 +Tn+1/2 2 )m. Next, we shall first make the hypothesis that there exists a positive constantC∗ such that (4.17) ∥Zn∥∞ ≤C∗. This hypothesis will be verified in Lemma 7 using a bootstrap argument. Since F(φ) ∈C3(R), we have (4.18) dxF′(˜Zn+1/2)√ Eh 1(˜Zn+1/2) −dxF′(˜φn+1/2)√ Eh 1(˜φn+1/2) =dxF′(˜φn+1/2) Eh 1(˜φn+1/2)−Eh 1(˜Zn+1/2)√ Eh 1 (˜Zn+1/2)Eh 1(˜φn+1/2)(Eh 1(˜Zn+1/2)+ Eh 1 (˜φn+1/2)) + dxF′(˜Zn+1/2)−dxF′(˜φn+1/2)√ Eh 1 (˜Zn+1/2) . This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . ENERGY STABILITY AND CONVERGENCE 2057 Using the above and the Cauchy-Schwartz inequality, we can deduce that (4.19) Mrn+1/2( F′(˜Zn+1/2)√ Eh 1(˜Zn+1/2) − F′(˜φn+1/2)√ Eh 1(˜φn+1/2) ,Dx(dxeμ+δx(μ))n+1/2)m =−Mrn+1/2(dxF′(˜Zn+1/2)√ Eh 1(˜Zn+1/2) −dxF′(˜φn+1/2)√ Eh 1(˜φn+1/2) ,(dxeμ+δx(μ))n+1/2)x ≤M 6 ∥dxen+1/2 μ ∥2 x +C∥r∥2 L∞(J)(∥en φ∥2 m +∥en−1 φ ∥2 m) +C∥r∥2 L∞(J)(∥dxen φ∥2 x +∥dxen−1 φ ∥2 x) +C∥μ∥2 L∞(J;W 3,∞(Ω))(h4 x +h4 y). Similarly we can obtain (4.20) Mrn+1/2( F′(˜Zn+1/2)√ Eh 1(˜Zn+1/2) − F′(˜φn+1/2)√ Eh 1(˜φn+1/2) ,Dy(dyeμ+δy(μ))n+1/2)m ≤M 6 ∥dyen+1/2 μ ∥2 y +C∥r∥2 L∞(J)(∥en φ∥2 m +∥en−1 φ ∥2 m) +C∥r∥2 L∞(J)(∥dyen φ∥2 y +∥dyen−1 φ ∥2 y) +C∥μ∥2 L∞(J;W 3,∞(Ω))(h4 x +h4 y). Then equation (4.16) can be estimated by (4.21) rn+1/2( F′(˜Zn+1/2)√ Eh 1(˜Zn+1/2) − F′(˜φn+1/2)√ Eh 1 (˜φn+1/2) ,dten+1 φ )m ≤M 6 ∥den+1/2 μ ∥2 TM +C∥r∥L∞(J)(∥en φ∥2 m +∥en−1 φ ∥2 m) +C∥r∥L∞(J)(∥den φ∥2 TM +∥den−1 φ ∥2 TM ) +C∥μ∥2 L∞(J;W 4,∞(Ω))(h4 x +h4 y)+ C∥φ∥2 W 3,∞(J;L∞(Ω))Δt4. Similar to (4.16), the second term on the right-hand side of equation (4.15) can be controlled by (4.22) rn+1/2( F′(˜φn+1/2)√ Eh 1(˜φn+1/2) − F′(φn+1/2)√ E1(φn+1/2) ,dten+1 φ )m ≤M 6 ∥den+1/2 μ ∥2 TM +C∥μ∥2 L∞(J;W 4,∞(Ω))(h4 x +h4 y) +C∥φ∥2 L∞(J;W 2,∞(Ω))(h4 x +h4 y) +C∥φ∥2 W 3,∞(J;W 1,∞(Ω))Δt4. The third term on the right-hand side of equation (4.13) can be estimated by (4.23) λ(en+1/2 φ ,dten+1 φ )m = λ ∥en+1 φ ∥2 m −∥en φ∥2 m 2Δt . This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . 2058 XIAOLI LI, JIE SHEN, AND HONGXING RUI Multiplying equation (4.8) byen+1 r +en r leads to (4.24) (en+1 r )2 −(en r)2 Δt = en+1/2 r√ Eh 1(˜Zn+1/2) (F′(˜Zn+1/2),dtZn+1)m − en+1/2 r√ E1(φn+1/2) ∫ Ω F′(φn+1/2)φn+1/2 t dx +Tn+1/2 4 ·(en+1 r +en r ). The first and second terms on the right-hand side of equation (4.24) can be trans- formed into (4.25) e n+1/2 r√ Eh 1(˜Zn+1/2) (F′(˜Zn+1/2),dtZn+1)m − en+1/2 r√ E1(φn+1/2) ∫ Ω F′(φn+1/2)φn+1/2 t dx = en+1/2 r√ E1(φn+1/2) ( (F′(φn+1/2),dtφn+1)m − ∫ Ω F′(φn+1/2)φn+1/2 t dx ) + en+1/2 r√ Eh 1(˜Zn+1/2) (F′(˜Zn+1/2),dten+1 φ )m +en+1/2 r ( F′(˜Zn+1/2)√ Eh 1(˜Zn+1/2) − F′(φn+1/2)√ E1(φn+1/2) ,dtφn+1)m. Since F(φ) ∈C3(R), we have that (4.26) en+1/2 r ( F′(˜Zn+1/2)√ Eh 1 (˜Zn+1/2) − F′(φn+1/2)√ E1(φn+1/2) ,dtφn+1)m =en+1/2 r ( F′(˜Zn+1/2)√ Eh 1 (˜Zn+1/2) − F′(φn+1/2)√ Eh 1 (˜Zn+1/2) ,dtφn+1)m +en+1/2 r ( F′(φn+1/2)√ Eh 1(˜Zn+1/2) − F′(φn+1/2)√ E1(φn+1/2) ,dtφn+1)m ≤C(en+1/2 r )2 +C∥φ∥2 W 1,∞(J;L∞(Ω))(∥en φ∥2 m +∥en−1 φ ∥2 m). Recalling the midpoint approximation property of the rectangle quadrature for- mula, we can obtain that (4.27) en+1/2 r√ E1(φn+1/2) ( (F′(φn+1/2),dtφn+1)m − ∫ Ω F′(φn+1/2)φn+1/2 t dx ) ≤C(en+1/2 r )2 +C∥φ∥2 W 1,∞(J;W 2,∞(Ω))(h4 x +h4 y). This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . ENERGY STABILITY AND CONVERGENCE 2059 Combining equation (4.24) with equations (4.10)–(4.27) and using the Cauchy- Schwarz inequality results in (en+1 r )2 −(en r )2 Δt + ∥den+1 φ ∥2 TM −∥den φ∥2 TM 2Δt +λ ∥en+1 φ ∥2 m −∥en φ∥2 m 2Δt +M∥den+1/2 μ ∥2 TM (4.28) ≤ M 2 ∥den+1/2 μ ∥2 TM +C∥r∥2 L∞(J)(∥en φ∥2 m +∥en−1 φ ∥2 m) +C∥r∥2 L∞(J)(∥den φ∥2 TM +∥den−1 φ ∥2 TM ) −(δx(φ)n+1/2,dtdxen+1/2 φ )x −(δy(φ)n+1/2,dtdyen+1/2 φ )y +(Tn+1/2 3 ,dten+1 φ )m −(Tn+1/2 1 ,en+1/2 μ )m −(Tn+1/2 2 ,en+1/2 μ )m +Tn+1/2 4 ·(en+1 r +en r ) +C(en+1/2 r )2 +C∥φ∥2 W 1,∞(J;L∞(Ω))(∥en φ∥2 m +∥en−1 φ ∥2 m) +C(∥φ∥2 W 1,∞(J;W 2,∞(Ω))+∥μ∥2 L∞(J;W 4,∞(Ω)))(h4 x +h4 y) +C∥φ∥2 W 3,∞(J;W 1,∞(Ω))Δt4. From the discrete-integration-by-parts, (4.29) k∑ n=0 Δt(fn,dtgn+1)= − k∑ n=1 Δt(dtfn,gn) +(fk,gk+1)+( f0,g0), we find (4.30) k∑ n=0 Δt(Tn+1/2 3 ,dten+1 φ ) =− k∑ n=1 Δt(dtTn+1/2 3 ,en φ)+( Tk+1/2 3 ,ek+1 φ )+( T1/2 3 ,e0 φ) ≤C k∑ n=1 Δt∥en φ∥2 m + λ 4∥ek+1 φ ∥2 m +C∥φ∥2 W 1,∞(J;W 4,∞(Ω))(h4 x +h4 y). Similarly we have (4.31) − k∑ n=0 Δt(δx(φ)n+1/2,dtdxen+1/2 φ )x − k∑ n=0 Δt(δy(φ)n+1/2,dtdyen+1/2 φ )y ≤C k∑ n=1 Δt∥den φ∥2 TM + λ 4∥ek+1 φ ∥2 m +C∥φ∥2 W 1,∞(J;W 3,∞(Ω))(h4 x +h4 y). Multiplying equation (4.28) by Δt, summing overn, n=0 ,1,...,k , and combining with equations (4.30) and (4.31), we can obtain (4.2). □ This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . 2060 XIAOLI LI, JIE SHEN, AND HONGXING RUI Lemma 6. Under the conditions of Theorem 4, there exists a positive constant C independent of hx, hy ,a n d Δt such that (4.32) ∥ek+1 φ ∥2 m +M k∑ n=0 Δt∥en+1/2 μ ∥2 m ≤C k∑ n=0 Δt(en+1 r )2 +C k∑ n=0 Δt∥en φ∥2 m + M 4 k∑ n=0 Δt∥den+1/2 μ ∥2 TM +C k∑ n=0 Δt∥den+1/2 φ ∥2 TM +C(∥μ∥2 L∞(J;W 4,∞(Ω))+∥φ∥2 L∞(J;W 4,∞(Ω)))(h4 x +h4 y) +C∥φ∥2 W 3,∞(J;L∞(Ω))Δt4. Proof. Multiplying equation (4.3) byen+1/2 φ,i,j hxhy, and making summation oni,j for 1≤i ≤Nx, 1 ≤j ≤Ny,w eh a v e (4.33) (dten+1 φ ,en+1/2 φ )m =M ( Dx(dxeμ+δx(μ))n+1/2 +Dy(dyeμ+δy(μ))n+1/2,en+1/2 φ ) m +(Tn+1/2 1 ,en+1/2 φ )m +(Tn+1/2 2 ,en+1/2 φ )m. Using Lemma 1, the first term on the right-hand side of equation (4.33) can be transformed into the following: (4.34) M ( Dx(dxeμ+δx(μ))n+1/2 +Dy(dyeμ+δy(μ))n+1/2,en+1/2 φ ) m =−M ( (dxeμ+δx(μ))n+1/2,dxen+1/2 φ ) x −M ( (dyeμ+δy(μ))n+1/2,dyen+1/2 φ ) y . The first term on the right-hand side of equation (4.34) can be estimated as (4.35) −M ( (dxeμ+δx(μ))n+1/2,dxen+1/2 φ ) x =−M ( dxen+1/2 μ ,(dxeφ+δx(φ))n+1/2 ) x +M(dxen+1/2 μ ,δx(φ)n+1/2)x −M(δx(μ)n+1/2,dxen+1/2 φ )x ≤M ( en+1/2 μ ,Dx(dxeφ+δx(φ))n+1/2 ) m + M 4 ∥dxen+1/2 μ ∥2 x +C∥dxen+1/2 φ ∥2 x +C(∥μ∥2 L∞(J;W 3,∞(Ω))+∥φ∥2 L∞(J;W 3,∞(Ω)))(h4 x +h4 y). This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . ENERGY STABILITY AND CONVERGENCE 2061 In they direction, we have similar estimates. Then the left-hand side in (4.34) can be bounded by (4.36) M ( Dx(dxeμ+δx(μ))n+1/2 +Dy(dyeμ+δy(μ))n+1/2,en+1/2 φ ) m ≤M ( en+1/2 μ ,Dx(dxeφ+δx(φ))n+1/2 +Dy(dyeφ+δy(φ))n+1/2 ) m + M 4 ∥den+1/2 μ ∥2 TM +C∥den+1/2 φ ∥2 TM +C(∥μ∥2 L∞(J;W 3,∞(Ω))+∥φ∥2 L∞(J;W 3,∞(Ω)))(h4 x +h4 y). Thanks to (4.6) and (4.15), the first term on the right-hand side of (4.36) can be estimated as follows: (4.37) M ( en+1/2 μ ,Dx(dxeφ+δx(φ))n+1/2 +Dy(dyeφ+δy(φ))n+1/2 ) m =M ⎛ ⎝en+1/2 μ , Rn+1/2 √ Eh 1(˜Zn+1/2) F′(˜Zn+1/2)− rn+1/2 √ E1(φn+1/2) F′(φn+1/2) ⎞ ⎠ m +M(en+1/2 μ ,λen+1/2 φ )m +M(en+1/2 μ ,T n+1/2 3 )m −M∥en+1/2 μ ∥2 m ≤M 2 ∥en+1/2 μ ∥2 m +C(en+1 r +en r )2 +C(∥en φ∥2 m +∥en−1 φ ∥2 m) −M∥en+1/2 μ ∥2 m +C∥φ∥2 L∞(J;W 4,∞(Ω))(h4 x +h4 y). Combining equation (4.33) with equations (4.36) and (4.37) and multiplying equa- tion (4.28) by 2Δt, summing overn, n =0 ,1,...,k , leads to (4.32). □ Lemma 7. Under the conditions of Theorem 4, there exists a positive constant C∗ independent of hx, hy ,a n d Δt such that ∥Zn∥∞ ≤C∗ for all n. Proof. We proceed in two steps. Step 1 (Definitionof C∗). Usingthescheme(2.13)–(2.15)for n = 0andapplyingthe inverse assumption, we can get the approximationZ1 with the following property: ∥Z1∥∞ ≤∥Z1 −φ1∥∞ +∥φ1∥∞ ≤∥Z1 −Πhφ1∥∞ +∥Πhφ1 −φ1∥∞ +∥φ1∥∞ ≤Ch−1(∥Z1 −φ1∥m +∥φ1 −Πhφ1∥m)+ ∥Πhφ1 −φ1∥∞ +∥φ1∥∞ ≤C(h+h−1Δt2)+ ∥φ1∥∞ ≤C, where h =m a x{hx,hy} and Πh is a bilinear interpolant operator with the following estimate [5]: (4.38) ∥Πhφ1 −φ1∥∞ ≤Ch2. Thus we can choose the positive constantC∗independent ofh and Δt such that C∗≥max{∥Z1∥∞,2∥φn∥∞}. Step 2 (Induction). By the definition of C∗, it is trivial that hypothesis (4.17) holds true for l = 1. Supposing that ∥Zl−1∥∞ ≤ C∗ holds true for an integer l =1 ,...,k +1, with the aid of the estimate (4.41), we have that ∥Zl −φl∥m ≤C(Δt2 +h2). This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . 2062 XIAOLI LI, JIE SHEN, AND HONGXING RUI Next we prove that∥Zl∥∞ ≤C∗holds true. We have (4.39) ∥Zl∥∞ ≤∥Zl −φl∥∞ +∥φl∥∞ ≤∥Zl −Πhφl∥∞ +∥Πhφl −φl∥∞ +∥φl∥∞ ≤Ch−1(∥Zl −φl∥m +∥φl −Πhφl∥m)+ ∥Πhφl −φl∥∞ +∥φl∥∞ ≤C1(h+h−1Δt2)+ ∥φ1∥∞. Let Δt ≤C2h and let a positive constanth1 be small enough to satisfy C1(1+ C2 2)h1 ≤C∗ 2 . Then forh ∈(0,h1], we derive from (4.39) that ∥Zl∥∞ ≤C1(h+h−1Δt2)+ ∥φl∥∞ ≤C1(h1 +C2 2h1)+ C∗ 2 ≤C∗. This completes the induction. □ We are now in position to prove our main results. Proof of Theorem 4. Thanks to the above three lemmas, we can obtain (4.40) (ek+1 r )2 + 1 2∥dek+1 φ ∥2 TM +∥ek+1 φ ∥2 m + M 4 k∑ n=0 Δt∥den+1/2 μ ∥2 TM + M 2 k∑ n=0 Δt∥en+1/2 μ ∥2 m ≤C k+1∑ n=0 Δt∥den φ∥2 TM +C k+1∑ n=0 Δt∥en φ∥2 m +C k+1∑ n=0 Δt(en r)2 +C(∥φ∥2 W 1,∞(J;W 4,∞(Ω))+∥μ∥2 L∞(J;W 4,∞(Ω)))(h4 x +h4 y) +C∥φ∥2 W 3,∞(J;W 1,∞(Ω))Δt4. Finally applying the discrete Gronwall’s inequality, we arrive at the desired result: (4.41) (ek+1 r )2 +∥dek+1 φ ∥2 TM +∥ek+1 φ ∥2 m + k∑ n=0 Δt∥den+1/2 μ ∥2 TM + k∑ n=0 Δt∥en+1/2 μ ∥2 m ≤C(∥φ∥2 W 1,∞(J;W 4,∞(Ω))+∥μ∥2 L∞(J;W 4,∞(Ω)))(h4 x +h4 y) +C∥φ∥2 W 3,∞(J;W 1,∞(Ω))Δt4. Thus, the proof of Theorem 4 is complete. □ 4.2. L2 gradient flow. For the L2 gradient flow, we shall only state the error estimates below, as their proofs are essentially the same as for theH−1 gradient flow. Theorem 8. Assume F(φ) ∈C3(R), φ∈W1,∞(J;W4,∞(Ω))∩W3,∞(J;W1,∞(Ω)), and Δt ≤C(hx + hy). Then for the discrete scheme (2.17)–(2.19),t h e r ee x i s t sa positive constant C independent of hx, hy ,a n d Δt such that (4.42) ∥Zk+1 −φk+1∥m +∥dZk+1 −dφk+1∥TM +|Rk+1 −rk+1| ≤C∥φ∥W 3,∞(J;W 1,∞(Ω))Δt2 +C∥φ∥W 1,∞(J;W 4,∞(Ω))(h2 x +h2 y). This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . ENERGY STABILITY AND CONVERGENCE 2063 5. Numerical simulations We present in this section various numerical experiments to verify the energy stability and accuracy of the proposed numerical schemes. 5.1. Accuracy test for Allen-Cahn and Cahn-Hilliard equations. We con- sider the free energy (5.1) E(φ)= ∫ Ω ( 1 2|∇φ|2 + 1 4ϵ2(φ2 −1)2 ) dx, and for better accuracy rewrite it as (5.2) E(φ)= ∫ Ω ( 1 2|∇φ|2 + β 2ϵ2φ2 + 1 4ϵ2(φ2 −1−β)2 −β2 +2β 4ϵ2 ) dx, where βis a positive number to be chosen. To apply our schemes (2.13)–(2.15) or (2.17)–(2.19) to the system (2.2), we drop the constant in the free energy and specify the operatorG, the energyE1(φ), andλas follows: (5.3) G = −(−Δ)s,E 1(φ)= 1 4ϵ2 ∫ Ω (φ2 −1−β)2dx,λ = β ϵ2. The system (2.2) becomes the standard Allen-Cahn equation withs =0 ,a n dt h e standard Cahn-Hilliard equation withs =1 . We denote ⎧ ⎪⎪ ⎪ ⎪⎪⎨ ⎪⎪ ⎪⎪⎪ ⎩ ∥f −g∥ ∞,2 =m a x 0≤n≤k {∥fn+q −gn+q∥X}, ∥f −g∥2,2 = ( k∑ n=0 Δt∥fn+q −gn+q∥2 X )1/2 , ∥R−r∥∞ =m a x 0≤n≤k {Rn+1 −rn+1}, where q = 1 2, 1a n dX = m, TM. In the following simulations, we choose Ω = (0,1)×(0,1) andC0 =0 . 5.1.1. Convergence rates of the SA V/CN-BCFD scheme for the Allen-Cahn equa- tion. Example 1. We takeT =0 .5, G = −1,β =0 ,M =0 .01,ϵ =0 .08, Δt =5 E−4, and the initial solutionφ0 =c o s (πx)cos(πy). To get around the fact that we do not have possession of an exact solution, we measure Cauchy error, which is similar to [4,6,23]. Specifically, the error between two different grid spacingsh and h 2 is calculated by∥eζ∥ = ∥ζh −ζh/2∥. The numerical results are listed in Table 1. We observe the second-order con- vergence predicted by the error estimates in Theorem 8. This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . 2064 XIAOLI LI, JIE SHEN, AND HONGXING RUI Table 1. Errors and convergence rates of Example 1. h ∥eZ ∥∞,2 Rate ∥edZ ∥∞,2 Rate ∥eW ∥∞ Rate 1/10 6.36E-3 — 5.96E-2 — 5.93E-3 — 1/20 1.59E-3 2.00 1.57E-2 1.93 1.47E-3 2.01 1/40 3.98E-4 2.00 3.98E-3 1.98 3.69E-4 2.00 1/80 9.96E-5 2.00 9.98E-4 1.99 9.23E-5 2.00 5.1.2. Convergence rates of SA V/CN-BCFD scheme for the Cahn-Hilliard equation. Example 2. We takeT =0 .5, G =Δ,β =0 ,M =0 .01,ϵ =0 .2, Δt =5 E −4, with the same initial solution as in Example 1. The numerical results are listed in Tables 2 and 3. Again, we observe the expected second-order convergence rate in various discrete norms. Table 2. Errors and convergence rates of Example 2. h ∥eZ ∥∞,2 Rate ∥edZ ∥∞,2 Rate ∥eR∥∞ Rate 1/10 5.49E-3 — 2.78E-2 — 4.88E-3 — 1/20 1.36E-3 2.01 6.91E-3 2.01 1.20E-3 2.02 1/40 3.41E-4 2.00 1.73E-3 2.00 3.00E-4 2.00 1/80 8.51E-5 2.00 4.31E-4 2.00 7.49E-5 2.00 Table 3. Errors and convergence rates of Example 2. h ∥eW ∥2,2 Rate ∥edW ∥2,2 Rate 1/10 2.50E-2 — 2.18E-1 — 1/20 6.11E-3 2.03 5.46E-2 2.00 1/40 1.52E-3 2.01 1.37E-2 2.00 1/80 3.79E-4 2.00 3.42E-3 2.00 5.2. Coarsening dynamics and adaptive time stepping. Example 3. In this example, we simulate the coarsening dynamics of the Cahn- Hilliard equation. Since the scheme (2.13)–(2.15) is unconditionally energy stable, we can choose time steps according to accuracy only with an adaptive time stepping. Actually in many situations, the energy and solution of gradient flows can vary drastically in certain time intervals, but only slightly elsewhere. In order to maintain the desired accuracy, we adjust the time sizes based on an adaptive time-stepping strategy below ([10,17]). We update the time step size by using the formula (5.4) A dp(e,Δt)= ρ ( tol e )1/2 Δt, This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . ENERGY STABILITY AND CONVERGENCE 2065 Algorithm 1 Adaptive time stepping procedure Given: Zn and Δtn. 1: Computer Zn+1 Ref using a first order SAV-BCFD scheme and Δtn. 2: Computer Zn+1 using the SAV/CN-BCFD scheme (2.13)-(2.15) and Δtn. 3: Calculate en+1 = ∥Zn+1 Ref −Zn+1∥/∥Zn+1∥. 4: If en+1 >t o lthen Recalculate time step Δtn ← max{Δtmin,min{Adp(en+1,Δtn),Δtmax}}. 5: goto 1 6: else Update time step Δtn+1 ← max{Δtmin,min{Adp(en+1,Δtn),Δtmax}}. 7: endif where ρis a default safety coefficient,tol is a reference tolerance, and e is the relative error at each time level. In this simulation, we take⎧ ⎨ ⎩ G =Δ, Δtmax =1 0−2, Δtmin =1 0−5,t o l=1 0−3, M =0 .002,ϵ =0 .01,β =6 ,ρ=0 .9, with a random initial condition with values in [−0.05,0.05], and the initial time step is taken as Δtmin. To demonstrate the effectivity of theSAC/CN-BCFD scheme with adaptive time stepping, we compute the reference solutions with a small uniform time step Δt =1 0−5 and a large uniform time step Δt =1 0−3, respectively. Characteristic evolutions of the phase functions are presented in Figure 1. We also present in Figure 2 the energy evolutions and the roughness of interface, where the roughness measure functionR(t)i sd e fi n e da sf o l l o w s : (5.5) R(t)= √ 1 |Ω| ∫ Ω (φ−¯φ)2dΩ, with ¯φ= 1 |Ω| ∫ ΩφdΩ. One observes that the solution obtained with adaptive time steps is consistent with the reference solution obtained with a small time step, while the solution with large time step deviates from the reference solution. This is also verified by both the energy evolutions and roughness measure functionR(t). We present in Figure 3 the adaptive time steps for differentϵ =0 .02, 0.01, 0.005. We observe that there are about two orders of magnitude variation in the time steps with the adaptive time stepping, which indicates that the adaptive time stepping for the SAV/CN-BCFD scheme is very efficient. This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . 2066 XIAOLI LI, JIE SHEN, AND HONGXING RUI Figure 1. Snapshots of the phase function among small time steps, adaptive time steps and large time steps in Example 3. 0 0.2 0.4 0.6 0.8 1 t 0 500 1000 1500 2000 2500 3000Energy Δt=10-5 Adaptive Δt=10-3 0 0.2 0.4 0.6 0.8 1 t 0 0.2 0.4 0.6 0.8 1 Roughness Δt=10-5 Adaptive Δt=10-3 Figure 2. Numerical comparisons of discrete scaled surface en- ergy and roughness for the simulation of spinodal decomposition in Example 3. This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . ENERGY STABILITY AND CONVERGENCE 2067 0 0.2 0.4 0.6 0.8 1 1.2 t 10-5 10-4 10-3 Time steps (a) 0 0.2 0.4 0.6 0.8 1 1.2 t 10-5 10-4 10-3 Time steps (b) 0 0.2 0.4 0.6 0.8 1 1.2 t 10-5 10-4 10-3 10-2 Time steps (c) Figure 3. Adaptive time steps for differentϵ:( a )ϵ =0 .02, (b) ϵ =0 .01, (c)ϵ =0 .005 References [1] J. W. Cahn and J. E. Hilliard,Free energy of a nonuniform system.I. Interfacial free energy, J. Chemical Physics28 (1958), 258–267. [2] J. W. Cahn and J. E. Hilliard,Free energy of a nonuniform system.III.N u c l e a t i o ni na two-component incompressible fluid,J .C h e m i c a lP h y s i c s31 (1959), 688–699. [3] W. Chen, Y. Liu, C. Wang, and S. M. Wise,Convergence analysis of a fully discrete finite difference scheme for the Cahn-Hilliard-Hele-Shaw equation,Math.Comp. 85(2016),no.301, 2231–2257, DOI 10.1090/mcom3052. MR3511281 [4] Y. Chen and J. Shen, Efficient, adaptive energy stable schemes for the incompressible Cahn-Hilliard Navier-Stokes phase-field models,J .C o m p u t .P h y s .308 (2016), 40–56, DOI 10.1016/j.jcp.2015.12.006. MR3448237 [ 5 ]C .N .D a w s o n ,M .F .W h e e l e r ,a n dC .S .W o o d w a r d ,A two-grid finite difference scheme for nonlinear parabolic equations, SIAM J. Numer. Anal. 35 (1998), no. 2, 435–452, DOI 10.1137/S0036142995293493. MR1618822 [6] A. E. Diegel, X. H. Feng, and S. M. Wise,Analysis of a mixed finite element method for a Cahn-Hilliard-Darcy-Stokes system,S I A MJ .N u m e r .A n a l .53 (2015), no. 1, 127–152, DOI 10.1137/130950628. MR3296618 [7] C. M. Elliott, D. A. French, and F. A. Milner, A second order splitting method for the Cahn-Hilliard equation, Numer. Math.54 (1989), no. 5, 575–590, DOI 10.1007/BF01396363. MR978609 [8] X. Feng, Fully discrete finite element approximations of the Navier-Stokes-Cahn-Hilliard diffuse interface model for two-phase fluid flows,S I A MJ .N u m e r .A n a l .44 (2006), no. 3, 1049–1072, DOI 10.1137/050638333. MR2231855 [9] X. Feng and A. Prohl,Numerical analysis of the Allen-Cahn equation and approximation for mean curvature flows, Numer. Math.94 (2003), no. 1, 33–65, DOI 10.1007/s00211-002-0413- 1. MR1971212 [10] H. Gomez and T. J. R. Hughes,Provably unconditionally stable, second-order time-accurate, mixed variational methods for phase-field models,J .C o m p u t .P h y s .230 (2011), no. 13, 5310–5327, DOI 10.1016/j.jcp.2011.03.033. MR2799512 [11] G. Gr¨un, On convergent schemes for diffuse interface models for two-phase flow of incom- pressible fluids with general mass densities,S I A MJ .N u m e r .A n a l .51 (2013), no. 6, 3036– 3061, DOI 10.1137/130908208. MR3127973 [12] J. Guo, C. Wang, S. M. Wise, and X. Yue,An H2 convergence of a second-order convex- splitting, finite difference scheme for the three-dimensional Cahn-Hilliard equation,Commun. Math. Sci. 14 (2016), no. 2, 489–515, DOI 10.4310/CMS.2016.v14.n2.a8. MR3436249 [13] Z. Hu, S. M. Wise, C. Wang, and J. S. Lowengrub, Stable and efficient finite-difference nonlinear-multigrid schemes for the phase field crystal equation,J .C o m p u t .P h y s .228 (2009), no. 15, 5323–5339, DOI 10.1016/j.jcp.2009.04.020. MR2541456 [14] C. Liu, J. Shen, and X. Yang,Dynamics of defect motion in nematic liquid crystal flow: modeling and numerical simulation, Commun. Comput. Phys.2 (2007), 1184–1198. This is a free offprint provided to the author by the publisher. Copyright restrictions may apply . 2068 XIAOLI LI, JIE SHEN, AND HONGXING RUI [15] J. Shen, C. Wang, X. Wang, and S. M. Wise, Second-order convex splitting schemes for gradient flows with Ehrlich-Schwoebel typeenergy: application to thin film epitaxy,S I A MJ . Numer. Anal. 50 (2012), no. 1, 105–125, DOI 10.1137/110822839. MR2888306 [16] J. Shen and J. Xu,Convergence and error analysis for the scalar auxiliary variable (SAV) schemes to gradient flows,S I A MJ .N u m e r .A n a l .56 (2018), no. 5, 2895–2912, DOI 10.1137/17M1159968. MR3857892 [17] J. Shen, J. Xu, and J. Yang,A new class of efficient and robust energy stable schemes for gradient flows, arXiv preprint arXiv:1710.01331, 2017. [18] J. Shen, J. Xu, and J. Yang,The scalar auxiliary variable (SAV) approach for gradient flows, J. Comput. Phys.353 (2018), 407–416, DOI 10.1016/j.jcp.2017.10.021. MR3723659 [19] J. Shen and X. Yang,Numerical approximations of Allen-Cahn and Cahn-Hilliard equations, D i s c r e t eC o n t i n .D y n .S y s t .28 (2010), no. 4, 1669–1691, DOI10.3934/dcds.2010.28.1669. MR2679727 [20] J. Shen and X. Yang,A phase-field model and its numerical approximation for two-phase incompressible flows with different densities and viscosities,S I A MJ .S c i .C o m p u t .32 (2010), no. 3, 1159–1179, DOI 10.1137/09075860X. MR2639233 [21] C. Wang and S. M. Wise,An energy stable and convergent finite-difference scheme for the modified phase field crystal equation, SIAM J. Numer. Anal.49 (2011), no. 3, 945–969, DOI 10.1137/090752675. MR2802554 [22] A. Weiser and M. F. Wheeler,On convergence of block-centered finite differences for elliptic problems,S I A MJ .N u m e r .A n a l .25 (1988),no. 2, 351–375,DOI 10.1137/0725025. MR933730 [23] S. Wise, J. Kim, and J. Lowengrub,Solving the regularized, strongly anisotropic Cahn-Hilliard equation by an adaptive nonlinear multigrid method,J .C o m p u t .P h y s .226 (2007), no. 1, 414–446, DOI 10.1016/j.jcp.2007.04.020. MR2356365 [24] C.Xuand T.Tang, Stability analysis of large time-stepping methods for epitaxial growth mod- els,S I A MJ .N u m e r .A n a l .44 (2006), no. 4, 1759–1779,DOI 10.1137/050628143. MR2257126 [25] X. Yang,Linear, first and second-order, unconditionally energy stable numerical schemes for the phase field model of homopolymer blends,J .C o m p u t .P h y s .327 (2016), 294–316, DOI 10.1016/j.jcp.2016.09.029. MR3564340 [26] X. Yang and G. Zhang , Numerical approximations of the Cahn-Hilliard and Allen-Cahn equations with general nonlinear potential using the Invariant Energy Quadratization ap- proach, arXiv preprint arXiv:1712.02760, 2017. [27] P. Yue, J. J. Feng, C. Liu, and J. Shen, A diffuse-interface method for simulat- ing two-phase flows of complex fluids , J. Fluid Mech. 515 (2004), 293–317, DOI 10.1017/S0022112004000370. MR2260713 [28] J. Zhao, X. Yang, Y. Gong, and Q. Wang,A novel linear second order unconditionally energy stable scheme for a hydrodynamicQ-tensor model of liquid crystals, Comput. Methods Appl. Mech. Engrg. 318 (2017), 803–825, DOI 10.1016/j.cma.2017.01.031. MR3627201 [29] J. Zhao, X. Yang, J. Li, and Q. Wang,Energy stable numerical schemes for a hydrodynamic model of nematic liquid crystals, SIAM J. Sci. Comput.38 (2016), no. 5, A3264–A3290, DOI 10.1137/15M1024093. MR3561773 School of Mathematics, Shandong University, Jinan 250100, People’s Republic of China Current address: Fujian Provincial Key Laboratory onMathematical Modeling and High Per- formance Scientific Computing and School of Mathematical Sciences, Xiamen University, Xiamen, Fujian, 361005, People’s Republic of China Email address: xiaolisdu@163.com Department of Mathematics, Purdue University, West Lafayette, Indiana 47907 Email address: shen7@purdue.edu School of Mathematics, Shandong University, Jinan 250100, People’s Republic of China Email address: hxrui@sdu.edu.cn

采集于

查看校方原文 ↗