校园网页 · 学校官网
CMSV14-6-3.pdf
COMMUN. MAT H .SCI. c⃝ 2016 International Press V ol. 14, No. 6, pp. 1517–1534 ON THE MAXIMUM PRINCIPLE PRESER VING SCHEMES FOR THE GENERALIZED ALLEN–CAHN EQUA TION∗ JIE SHEN†, TAO TANG‡, AND JIANG YANG§ Abstract. This paper is concerned with the generalized Allen–Cahn equation with a nonlinear mobility that may be degenerate, which also includes an advection term appearing in many phase- field models for multi-component fluid flows. A class of maximum principle preserving schemes will be studied for the generalized Allen–Cahn equation, with either the commonly used polynomial free energy or the logarithmic free energy, and with a nonlinear degenerate mobility. For time discretization, the standard semi-implicit scheme as well as the stabilized semi-implicit scheme will be adopted, while for space discretization, the central finite difference is used for approximating the diffusion term and the upwind scheme is employed for the advection term. We establish the maximum principle for both semi-discrete (in time) and fully discretized schemes. We also provide an error estimate by using the established maximum principle which plays a key role in the analysis. Several numerical experiments are carried out to verify our theoretical results. Key words. Allen–Cahn equation, stability, error estimate, maximum principle, finite difference. AMS subject classifications. 65M06, 65M12, 65G20. 1. Introduction In this paper, we study the numerical approximation of the generalized Allen–Cahn equation ∂u ∂t+vvv·∇u=M(u) ( ϵΔu−1 ϵF′(u) ) , x∈Ω,t ∈(0,T], (1.1) u(x,0)= u0(x), x∈¯Ω, (1.2) subjected to suitable boundary conditions such as periodic boundary conditions, homo- geneous Neumann boundary conditions, or homogeneous Dirichlet boundary conditions. In (1.1), Ω is a bounded domain inR d (d=1,2,3), M(u) is a nonnegative mobility func- tional, F(u) is a double-well potential, andvvv(·,t) is a given velocity field. The Allen–Cahn equation was originally introduced by Allen and Cahn in [1] to describe the motion of anti-phase boundaries in crystalline solids. Recently, the Allen– Cahn equation has been widely used to model various phenomena, e.g., mean curvature flow [8,13], image segmentation [2], and many problems in materials science. In particu- lar, it has become a basic model equation for the diffuse interface approach developed to study phase transitions and interfacial dynamics in materials science, see, e.g., [14,16], in which a velocity field is involved in the Allen–Cahn phase equation. This is one of our ∗Received: October 10, 2015; accepted (in revised form): November 29, 2015. Communicated by Chun Liu. †Department of Mathematics, Purdue University, West Lafayette, IN 47907, USA (shen@math. purdue.edu). The work of J.S. was partially supported by NSF grant DMS-1419053 and AFOSR grant FA9550-16- 1-0102. ‡Department of Mathematics, South University of Science andTechnology, Shenzhen 518055, Guang- dong, P.R. China and Department of Mathematics & Institute for Computational and Theoretical Studies, Hong Kong Baptist University, Kowloon Tong, Hong Kong (ttang@hkbu.edu.hk). The work of T.T. was partially supported by Hong Kong Research Grants Council CERG grants, National Science Foundation of China, and Hong Kong Baptist University FRG grants. §Department of Applied Physics and Applied Mathematics, Columbia University, New York, NY10027, USA (jyanghkbu@gmail.com). 1517 1518 NUMERICAL MAXIMUM PRINCIPLE FOR ALLEN–CAHN EQUATIONS motivations to study this generalized model. Another motivation is that the nonlinear degenerate mobility can more accurately describe the physics of phase separation, as pure phases must have vanishing mobility, (see [12,18]). Compared with the simple version of Allen–Cahn equation [1], the generalized Allen–Cahn equation (1.1) is more complex due to the added velocity field and the nonlinear mobility. However, the generalized Allen–Cahn equations still preserve two intrinsic properties as ones of the simple version, i.e., nonlinear energy stability and maximum principle, which will be described in more detail below. Consider the energy functional of (1.1) with periodic boundary conditions, homo- geneous Neumann boundary conditions, or homogeneous Dirichlet boundary conditions E(u)= ∫ Ω ( 1 2ϵ|∇u|2+1 ϵF(u) ) dx. (1.3) As anL2-gradient flow,E is a decreasing function of time in the sense of dE(u(t)) dt =− ∫ Ω ( M(u) ⏐⏐ ⏐⏐ϵΔu−1 ϵF′(u) ⏐⏐ ⏐⏐ 2) ≤0. (1.4) This is often called the nonlinear energy stability. We shall assume that the free energy functional F(u) in (1.1) has a double well form with minima atβand −β,w h e r eβ satisfies F′(β)= F′(−β)=0 , (1.5) and F′(u) satisfies the monotone conditions away from (−β,β): F′(u)<0,∀u∈(−∞,−β); F′(u)>0, ∀u∈(β,∞). (1.6) The mobility function is assumed to be nonnegative, i.e., M(u)≥0, ∀u∈(−∞,∞). (1.7) Under the conditions (1.5)-(1.7), as a typical nonlinear reaction-diffusion-advection equation, it can be shown that the generalized Allen–Cahn equation (1.1) satisfies a maximum principle: if the initial value and the boundary conditions are bounded by constant βgiven in (1.5), then the entire solution is also bounded byβ, i.e., ∥u(·,t)∥ ∞ ≤β, ∀t> 0. (1.8) This is called maximum principle for (1.1). As exact solutions of these phase-field models are not readily available, numerical methods play an important role in the study of these models. The idea of design- ing numerical techniques that satisfy the nonlinear energy stability for the Allen–Cahn equation and more general phase field models has been extensively studied in the past decades. The first study was carried out by Du and Nicolaides [5] who derived a second- order accurate unconditionally stable time-stepping scheme for the Cahn–Hilliard equa- tion. Elliott and Stuart [6] (see also [7]) derived an unconditionally nonlinear energy- stable time-stepping scheme, based on a convex splitting, for a class of semi linear parabolic equations. On the other hand, it is even more important, and more difficult, to study the energy stability for fully discrete schemes. For the Allen–Cahn equa- tion, some recent stability analysis can be found in [9–11,15,19,20]. Very recently, J. SHEN, T. TANG, AND J. YANG 1519 a stronger stability inL∞-norm, i.e., the maximum principle, is established for fully discrete schemes of the simplified version of the Allen–Cahn equation [17]. In this paper, we will mainly focus on establishing the maximum principle for finite difference approximations to the generalized Allen–Cahn Equation (1.1) with potential satisfying (1.5)-(1.6) and mobility satisfying (1.7). Two types of potentialF(u) will be considered in this paper: the polynomial potential: F(u)= 1 4(u2−1)2, (1.9) the logarithmic free energy function: F(u)= θ 2[(1+u)ln(1+ u)+(1 −u)ln(1−u)]−θc 2 u2, (1.10) where θ,θc are two positive constants. More details about the latter one can be found in [3,4]. We emphasize that the numerical maximum principle is very important in the approximations of the generalized Equation ((1.1), especially for the logarithmic free energy and nonlinear degenerate mobility. Note that if numerical maximum is not satisfied then complex values will occur in the numerical solutions due to the logarithm arithmetic, and the nonlinear mobility function may become negative. The rest of this paper is organized as follows. In Section 2, we prove that the semi-discretized scheme for (1.1) can preserve the maximum principle. In Section 3, we establish the numerical maximum principle for the fully discretized scheme with semi-implicit time discretization and, central finite deference for the diffusion term and upwind scheme for the advection term. In Section 4, the polynomial and the logarithmic form of energies are studied, and in Section 5 the error estimate is given using the established numerical maximum principle. Several numerical experiments are carried out to verify our theoretical results in Section 6. Moreover, an adaptive algorithm based on the stabilized scheme is adopted for long time simulations, which is found robust and efficient. Some concluding remarks are given in the final section. 2. The semi-discrete scheme First, we consider the standard linearized semi-implicit scheme u n+1−un τ +vvvn+1·∇un+1 =M(un) ( ϵΔun+1−1 ϵF′(un) ) , (2.1) which can be rewritten as un+1+τvvvn+1·∇un+1−τϵM(un)Δun+1 =un−τ ϵM(un)F′(un), (2.2) where un,vvvn are approximations ofu(x,tn),vvv(x,tn) respectively, andτis the time step. To begin with, we estimate the right-hand side of the above equality in the following lemma. Lemma 2.1. Denote f(x)= x−τ ϵM(x)F′(x); x∈[−β,β], (2.3) where F′(x) satisfies(1.5) and (1.6). Then, we have max |x|≤β f(x)= f(β)= β;m i n |x|≤β f(x)= f(−β)= −β, (2.4) 1520 NUMERICAL MAXIMUM PRINCIPLE FOR ALLEN–CAHN EQUATIONS under the condition τ max x∈[−β,β] (M′(x)F′(x)+M(x)F′′(x))≤ϵ. (2.5) Proof. It follows from (1.5) thatf(β)= β,f(−β)= −β.It is sufficient to show that f′(x)≥0 holds in [−β,β], which is true by observing f′(x)=1 −τ ϵ (M′(x)F′(x)+M(x)F′′(x)), (2.6) and using the condition (2.5). We use ∥·∥∞ to denote the standard infinity norm for a function, a vector or a matrix. Theorem 2.2. Assume the initial value satisfies ∥u0∥∞ ≤β, (2.7) and the time step sizeτsatisfies the condition(2.5). Then the scheme(2.1), with peri- odic boundary conditions, homogeneous Neumann boundary conditions, or homogeneous Dirichlet boundary conditions, preserves the maximum principle, i.e., ∥u n∥∞ ≤β, for all n≥0. (2.8) Proof. We proceed by induction. By assumption, the result is true for n=0. Assume the result holds forn≤m i.e. ∥um∥∞ ≤β. Next we check this holds forn= m+1. By (2.2) and the definition off(x), we get um+1+τvvv·∇um+1−τϵM(um)Δum+1 =f(um). (2.9) By Lemma 2.1 and∥um∥∞ ≤β, we find ∥f(um)∥∞ ≤β. (2.10) Assume the solutionum+1 of (2.9) achieves the maximum atx∗inside Ω, thus ∇um+1(x∗)=000,Δum+1(x∗)≤0. (2.11) Consequently, max(um+1)≤f(um(x∗)). (2.12) Similarly, if the solution achieves the minimum atx∗∗inside Ω, we have min(um+1)≥f(um(x∗∗)). (2.13) Since the boundary values are bounded byβ, we find ∥um+1∥∞ ≤∥f(um)∥∞ ≤β. (2.14) This completes the proof of the induction. We observe that the time step constraint (2.5) can be very severe whenϵ≪1. To reduce the time step restriction, we consider the stabilized scheme (cf. [15]) un+1−un τ +vvvn+1·∇un+1+S(un+1−un)= M(un) ( ϵΔun+1−1 ϵF′(un) ) , (2.15) J. SHEN, T. TANG, AND J. YANG 1521 where S≥0 is a stabilizing parameter to be determined. Corollary 2.3. Under the same initial values and boundary conditions in Theorem 2.2, if the time step sizeτsatisfies the following condition 1 τ+S≥1 ϵ max x∈[−β,β] (M′(x)F′(x)+M(x)F′′(x)). (2.16) the stabilized scheme(2.15) preserves the maximum principle, i.e., ∥un∥∞ ≤β, for all n≥0. (2.17) The proof is similar to that of Theorem 2.2, so we will omit it here. In following sections, we also omit the proof for the stabilized schemes as their proof is similar to that for the non-stabilized ones. 3. The fully discretized semi-implicit scheme In this section, we construct fully discrete semi-implicit schemes with finite differ- ences for the spatial variable. For simplicity, we assume that Ω is a rectangular domain with homogeneous Dirichlet boundary conditions, although the proof techniques are valid for periodic and homogeneous Neumann boundary conditions. 3.1. 1D case. First, we handle the diffusion term by the central finite difference method u xx(xi,·)≈ui−1−2ui+ui+1 h2 . (3.1) We denote the differential matrixDh as the discrete matrix of the Laplace Operator. The differential matrixDh with Dirichlet boundary conditions on interval [0,L]i n1 D is given by Dh = 1 h2 ⎡ ⎢⎢⎢ ⎢⎢⎣ −21 1 −21 ... ... ... 1 −21 1 −2 ⎤ ⎥⎥⎥ ⎥⎥⎦ N×N , where h=L/(N+1) is the mesh size. Then we handle the advection term by the upwind scheme aux =a+u− i +a−u+ i , (3.2) where a+ and a− are defined as a+ =max{0,a},a −=min{0,a}, (3.3) and u− i and u+ i are defined as u− i = −ui−1+ui h ,u + i = ui+1−ui h . (3.4) Let us denote Λn+1 1 =diag(abs(Vn+1)), Λn 2 =diag(M(Un)), (3.5) 1522 NUMERICAL MAXIMUM PRINCIPLE FOR ALLEN–CAHN EQUATIONS where V is a vector, diag(V) is the diagonal matrix with diagonal elements being com- ponents ofV, abs(Vn+1)=( |vn+1 1 |,..., |vn+1 N |)T,M (Un)=( M(un 1),...,M (un N))T, and Av = 1 2h ⎡ ⎢⎢ ⎢ ⎢ ⎢⎣ −21 − sign(v n+1 1 ) 1+s i g n (vn+1 2 ) −21 − sign(vn+1 2 ) . . . . . . . . . 1+s i g n (vn+1 N−1) −21 − sign(vn+1 N−1) 1+s i g n (vn+1 N ) −2 ⎤ ⎥⎥ ⎥ ⎥ ⎥⎦ N×N . We consider the fully discrete version of the semi-discrete scheme (2.2) Un+1−τΛn+1 1 AvUn+1−τϵΛn 2DhUn+1 =f(Un), (3.6) and the fully discrete version of the stabilized scheme (2.15) Un+1+SτUn+1−τΛn+1 1 AvUn+1−τϵΛn 2DhUn+1 =f(Un)+SτUn. (3.7) where Un represents the vector of numerical solution andf(Un)=( f(Un 1 ),...,f (Un N))T, and −Λn+1 1 Av represents the differential matrix for the advection term. We first prove a useful lemma. Lemma 3.1. Let B=(bij)∈RN×N and A=aI−B,w h e r ea> 0.I f B is a negative diagonally dominant (NDD) matrix, i.e. bii ≤0 and bii+ ∑ j̸=i |bij|≤0, ∀i, (3.8) then, A is invertible and its inverse satisfies ∥A−1∥∞ ≤1 a. (3.9) Proof.S i n c eA is diagonally dominant,A is invertible. If B is a zero matrix, the conclusion obviously holds. Otherwise, we denote b=max i (−bii)>0. (3.10) Then we rewriteA as A=(a+b)I−(bI+B):=( a+b)(I−sC), (3.11) where s= b a+b <1a n dm a t r i xC=I+1 bB:=(cij). Thus ∥C∥∞ =max i ∑ j |cij|=max i ⎛ ⎝|1+ bii b |+1 b ∑ j̸=i |bij| ⎞ ⎠ =max i ⎛ ⎝1+ 1 b(bii+ ∑ j̸=i |bij|) ⎞ ⎠ ≤1. (3.12) J. SHEN, T. TANG, AND J. YANG 1523 Then we have ρ(sC)= sρ(C)≤s< 1, (3.13) whereρ(C)isthespectralradiusofmatrix C.A st h ei n v e r s eo fI−sC canberepresented by the power series ofsC,w eh a v e ∥A−1∥∞ = ⏐⏐⏐⏐ 1 a+b ∞∑ p=0 (sC)p⏐⏐⏐⏐ ∞ ≤ 1 a+b ∞∑ p=0 sp∥C∥p ∞ ≤ 1 a+b· 1 1−s = 1 a, (3.14) where in the last step we have used the definitions= b a+b <1. Theorem 3.2. Assume thatmax x∈¯Ω |u0(x)|≤β.T h e n •the fully discrete scheme (3.6) preserves the maximum principle in the sense that ∥Un∥∞ ≤β, provided that the condition(2.5) is satisfied; •the stabilized fully discrete scheme (3.7) preserves the maximum principle in the sense that∥Un∥∞ ≤βprovided that the condition(2.16) is satisfied. Proof. We proceed by induction. Obviously,∥U0∥∞ ≤max|u0(x)|≤β. We assume the result holds forn≤m i.e. ∥Um∥∞ ≤β. Next we check this holds forn=m+1. First, we denote Gn =τΛn+1 1 Av +τϵΛn 2Dh. (3.15) Since both Av and Dh are NDD matrices together with the nonnegative property of Λn+1 1 and Λn 2, it is easy to verify thatGn is an NDD matrix. With Gn the linear scheme (3.6) can be simply rewritten as Um+1 =(I−Gm)−1f(Um). (3.16) It follows from Lemma 2.1 and∥Um∥∞ ≤βthat ∥f(Um)∥∞ ≤β. (3.17) As Gm is NDD, using Lemma 3.1 gives ∥(I−Gm)−1∥∞ ≤1. (3.18) Consequently, ∥Um+1∥∞ ≤∥(I−Gm)−1∥∞∥f(Um)∥∞ ≤β. (3.19) The result for the stabilized scheme (3.7) can be established in a similar fashion. Remark 3.3. Since we have established the maximum principle for both semi-discrete scheme (2.1) and the fully discrete scheme (3.6),M(un), and Λn 2 are always nonnegative, bothschemes(2.1)and(3.6)areinfactlinearellipticequationswithvariablecoefficients, for which unique solvability can be easily established. 1524 NUMERICAL MAXIMUM PRINCIPLE FOR ALLEN–CAHN EQUATIONS 3.2. Extension to multi-dimensional case. For brevity, we just outline the main ideas for extending the results to the multi-dimensional rectangular domains. We can see that the analysis in the 1D case focuses on obtaining theL∞ estimate for thesolution toonelinear system. Weachieveit bytwosteps: the L∞ normof thesystem matrix I−G and the L∞ norm of the right-hand sidef(Um). For multi-dimensional rectangular domains, the estimate for the right-hand side is exactly the same as the 1D case since we accomplish it point-wisely. If we also use central finite difference method to handle the diffusion term and upwind scheme to handle the advection term, we can still ensure that the stiffness matrix is NDD. Consequently, theL ∞ norm of the stiffness matrix for the multi-dimensional case can be bounded in the same way as in the 1D case. In summary, the conditions to guarantee the maximum principle for the multi-dimensional case should be same as in the 1D case. 4. Polynomial free energy and logarithmic free energy The results in the last two sections were derived with the general conditions (1.5)– (1.6) for the potential functionF(u) and (1.7) for the mobility functionM(u). In this section, we apply the previous results to two cases commonly used in practice. 4.1. Polynomial free energy with constant mobility . We consider, as the first example, the Allen–Cahn equation in its simplest form: the mobilityM(u)=1and F(u)= 1 4(u2−1)2,F ′(u)= u3−u. (4.1) In this case, is is easy to show that (1.5)–(1.6) are satisfied withβ=1. A direct consequence of Theorem 2 is the following: Corollary 4.1. Assume max x∈¯Ω |u0(x)|≤1. Then, the fully discrete scheme (3.6) with M(u)=1 and F(u)= 1 4(u2−1)2 preserves the maximum principle in the sense that ∥Un∥∞ ≤1 for all n≥0, provided that 0<τ≤ϵ 2; (4.2) and the stabilized fully discrete scheme(3.7) also preserves the maximum principle in the sense that∥Un∥∞ ≤1 for all n≥0, provided that 1 τ+S≥2 ϵ. (4.3) We note that the above result for (3.6) without the convective term was proved in [17]. 4.2. Logarithmic free energy with nonlinear degenerate mobility . We now consider a more complicated situation with a logarithmic free energy functional F(u)= θ 2[(1+u)ln(1+ u)+(1 −u)ln(1−u)]−θc 2 u2, (4.4) where θ<θc are two positive constants, and a degenerated nonlinear mobility M(u)= D(1−u2), (4.5) which D is a positive constant. In this case, we have F′(u)= θ 2ln ( 1+u 1−u ) −θcu. (4.6) J. SHEN, T. TANG, AND J. YANG 1525 We derive from (4.6) that the roots ofF′(u)a r e±β,w h e r et h ep o s i t i v er o o ti sg i v e nb y 1 2βln1+β 1−β= θc θ. (4.7) Hence, the extreme points±αof F′(u) are given by α= √ 1−θ θc = √ 1− 2β ln1+β 1−β . (4.8) Just by Taylor expansion, it can be verified that 1− 2s ln1+s 1−s <s2, ∀s∈(0,1). (4.9) Consequently, we haveα<β. A sketch off(x)= F′(x) is plotted in Figure 4.1. From −1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 x f(x) −α−β α β Fig. 4.1. A sketch off(x)= F′(x). this figure, it is obvious that the logarithmic functionF(u) defined in (4.4) satisfies (1.5) and (1.6), andM(u) given as (4.5) satisfies condition (1.7). Hence, the continuum Allen–Cahn model has maximum principle for these settings. It is reasonable to consider the numerical maximum principle: Corollary 4.2. Assume max x∈¯Ω |u0(x)|≤β. Then the fully discrete scheme(3.6),w i t h the logarithmic free energy(4.4) and the degenerated nonlinear mobility(4.5), preserves the maximum principle in the sense that∥Un∥∞ ≤βfor all n≥0 provided that 0<τ≤ ϵ D(θ−(1−3β2)θc); (4.10) and the stabilized fully discrete scheme(3.7) with (4.4)–(4.5) preserves the maximum principle in the sense that∥Un∥∞ ≤βprovided 1 τ+S≥D(θ−(1−3β2)θc) ϵ . (4.11) 1526 NUMERICAL MAXIMUM PRINCIPLE FOR ALLEN–CAHN EQUATIONS Proof.S i n c e M′(u)= −2Du, F ′′(u)= θ 1−u2 −θc, (4.12) the condition (2.5) is equivalent to τ max u∈[−β,β] (θ−θc+3θcu2−2θuln1+u 1−u)≤ ϵ D. (4.13) It is nontrivial and not necessary to get the analytical maximum value in the above inequality, so we just offer a sufficient condition here. It is observed thatuln1+u 1−u is nonnegative foru∈(−1,1). This implies a sufficient condition for (4.13) as τ max u∈[−β,β] (θ−θc+3θcu2)≤ ϵ D. (4.14) Furthermore, it follows from (4.7) and (4.9) that θ>(1−β2)θc, which leads to max u∈[−β,β] (θ−θc+3θcu2)= θ−(1−3β2)θc >0, due toβ<1. Combining above inequalities yields the desired result (4.10). The other case can be proved similarly. Remark 4.3. Note that most existing works on the Allen–Cahn equation with logarithmic free energy assume that the numerical solution satisfies−1<u< 1t oa v o i d singularity. While in this work, we established a discrete maximum principle which ensures that|u|≤β<1. 5. Error analysis While it is relatively easy to establish some stability results for numerical schemes to the Allen–Cahn type equations, it is highly non-trivial to derive error estimates in the case with nonlinear degenerated mobility. In this section, we shall make use of the discrete maximum principle to carry out an error analysis for the fully discrete semi-implicit schemes in the maximum norm. We consider the first scheme (3.6), which can be concisely rewritten as (withn+1 replaced byn) ( I−τΛ n 1Av −τϵΛn−1 2 (Un−1)Dh ) Un =Un−1−τ ϵΛn−1 2 (Un−1)F′(Un−1), (5.1) where Λn 1 and Λn−1 2 are defined by (3.5). The errorEn is defined as En =U(tn)−Un, (5.2) where U(tn) is the vector consisting of values of the exact solution of (1.1)–(1.2) at the grid points. We define the local truncation errorTn for the scheme (5.1) by Tn = ( I−τΛn 1Av −τϵΛn−1 2 (U(tn−1))Dh ) U(tn) J. SHEN, T. TANG, AND J. YANG 1527 − ( U(tn−1)−τ ϵΛn−1 2 (U(tn−1))F′(U(tn−1) ) . (5.3) Assuming that the exact solutionU(t) is sufficiently smooth, it is easy to check that ∥Tj∥∞ ≤cτηfor j≤n, (5.4) where η=τ+h and c=c(tn) is a positive function oftn, which may depend onU(t) but not onτor h. Denote SN β ={xxx∈RN :∥xxx∥∞ ≤β}. (5.5) With the conditions (1.5)–(1.7), it has already shown thatUn (numerical maximum principle) and U(tn) (continuum maximum principle) both belong toSN β. With the help of establishing numerical maximum principle and existing continuum maximum principle, we can further show that there existκ i >0( 1≤i≤4) such that for anyppp,qqq∈ SN β ∥Λ2(ppp)−Λ2(qqq)∥∞ ≤κ1∥ppp−qqq∥∞, ∥F′(ppp)−F′(qqq)∥∞ ≤κ2∥ppp−qqq∥∞, (5.6) ∥Λ2(ppp)∥∞ ≤κ3, ∥F′(ppp)∥∞ ≤κ4. (5.7) ConsiderthecaseofSection4.1, i.e., M(u)=1and F(u)= 1 4(u2−1)2. Inthispolynomial free energy case, we can verify that κ1 =1,κ 2 =2,κ 3 =1, and κ4 = 2 3 √ 3. For the case of Section 4.2, i.e.,F(u)a n dM(u) given by (4.4) and (4.5), we can verify that κ1 =2βD, κ2 = θ 1−β2 −θc,κ 3 =D, and κ4 =F′(−α), where α, β,a n dD are given in (4.8), (4.7), and (4.5), respectively. It is noted that these constants are all independent of the mesh sizes. Theorem 5.1. Assume that the solution of (1.1)–(1.2) is sufficiently smooth and maxx∈¯Ω|u0(x)|≤β. Then we have the following error estimate for the scheme (5.1) ∥En∥∞ ≤eκtn ( ∥E0∥∞ +ctn(τ+h) ) , (5.8) where En is defined by(5.2) and κ=ϵβκ1+(κ1κ4+κ2κ3)/ϵ, (5.9) provided thatτsatisfies (2.5). Proof. Subtracting (5.1) from (5.3) gives ( I−τΛn 1Av −τϵΛn−1 2 (Un−1)Dh ) En = En−1−τϵ ( Λn−1 2 (Un−1)−Λn−1 2 (U(tn−1)) ) U(tn−1) −τ1 ϵ ( Λn−1 2 (U(tn−1))F′(U(tn−1))−Λn−1 2 (Un−1)F′(Un−1) ) +Tn =:En−1+Sn I +Sn II+Tn, (5.10) 1528 NUMERICAL MAXIMUM PRINCIPLE FOR ALLEN–CAHN EQUATIONS which yields En =(I−Gn−1)−1(En−1+Sn I +Sn II+Tn), (5.11) where Gn−1 is defined in (3.15). By (3.18) and (5.4), we have ∥En∥∞ ≤∥En−1∥∞ +∥SI∥∞ +∥SII∥∞ +cτη. (5.12) It follows from (5.6) and (5.7) that ∥Sn I ∥∞ ≤τϵβκ1∥En−1∥∞, (5.13) ∥Sn II∥∞ =τ1 ϵ ( Λn−1 2 (Un−1)−Λn−1 2 (U(tn−1)) ) F′(Un−1) +Λn−1 2 (U(tn−1)) ( F′(Un−1)−F′(U(tn−1)) ) ∞ ≤τκ1κ4+κ2κ3 ϵ ∥En−1∥∞. (5.14) Combining (5.13) and (5.14), we find from (5.12) that ∥En∥∞ ≤(1+κτ)∥En−1∥∞ +cτη, (5.15) where κis defined by (5.9). The above Gronwall-type inequality gives the desired result (5.8). Next, we will study the error estimate for the stabilized version of scheme (5.1) as ( (1+Sτ)I−τΛn 1Av −τϵΛn−1 2 (Un−1)Dh ) Un =(1+ Sτ)Un−1−τ ϵΛn−1 2 (Un−1)F′(Un−1). (5.16) Similarly, we define the truncation error for the above scheme as Tn S = ( (1+Sτ)I−τΛn 1Av −τϵΛn−1 2 (U(tn−1))Dh ) U(tn) − ( (1+Sτ)U(tn−1)−τ ϵΛn−1 2 (U(tn−1))F′(U(tn−1)) ) . (5.17) Under the consistency assumption similar to (5.4), i.e., ∥Tj∥∞ ≤cS τηfor j≤n, (5.18) and the same definitions for parametersκ1, κ2, κ3,a n dκ4 as in (5.6) and (5.7), we have the following error estimate for the stabilized scheme. Corollary 5.2. Assume that the solution of(1.1)-(1.2) is sufficiently smooth and maxx∈¯Ω|u0(x)|≤β. Then we have the following error estimate for the scheme (5.16) ∥En∥∞ ≤eκtn ( ∥E0∥∞ +cS tn(τ+h) ) (5.19) where κis defined by(5.9), provided thatτsatisfies(2.16). 6. Numerical results In this section, we present some numerical experiments to verify theoretical results obtained in the previous sections. Since the polynomial free energy has been studied in [17], we will only focus on the more difficult case with logarithmic free energy below. J. SHEN, T. TANG, AND J. YANG 1529 Example 6.1. We first consider the one-dimensional Allen–Cahn equation with logarithmic free energy (4.4) and nonlinear mobility (4.5) subject to the homogeneous Dirichlet boundary condition with the initial valueu 0(x)= −0.9sin(50x). The velocity field is given asv(x,t)= etsin(x). We takeϵ=0.01,D =1,β=0.94 assume the computation domain to be [0,2π). An equidistant mesh in space withN=200 is used. Note thatu0 takes the value−0.9a n d 0.9 at nodes alternately. Numerical results with different time stepτand stabilization parameter S are presented in Figure 6.1. We denote the constants in (4.10) and (4.11) by Mtol = D(θ−(1−3β2)θc) ϵ ,t tol = ϵ D(θ−(1−3β2)θc). (6.1) For Example 6.1,ttol =0.046. First, we set the stabilization parameterS to be 0, i.e., we use the standard implicit-explicit scheme (3.6). The maximum value of the numerical solutions at different time is shown in the left part of Figure 6.1. It is observed that when τ=t tol and τ=2.5ttol the discrete maximum principle is preserved. However, if the time step τ=5ttol, the violation of the maximum principle occur. These results indicate that (4.10) in Corollary 4.2 is a sufficient but not a necessary condition for preserving the discrete maximum principle. Figure 6.1 also shows the results given by using S=0.1M tol. In this case, it is seen that the scheme preserves the discrete maximum principle even when time stepτ=10ttol. With this large time step, non- stabilized schemes will blow up almost immediately. Hence, the stabilized scheme (3.7) allows much larger time steps with reasonable size ofS. 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.75 0.8 0.85 0.9 0.95 Infinity norm when S=0 t ||u||∞ τ=5ttol τ=2.5ttol τ=ttol y=β 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 Infinity norm when S=0.1Mtol t ||u||∞ τ=10ttol τ=5ttol τ=2.5ttol τ=ttol y=β Fig. 6.1. Example 6.1: maximum values withS=0 (left) and S=0.1Mtol (right) using different time steps. Example 6.2. Consider the 2D Allen–Cahn equation with logarithmic free energy (4.4) and nonlinear mobility (4.5) subjected to the homogeneous Dirichlet boundary condition with the following random initial value u 0(x,y)=0 .05(2·rand−1), (6.2) where ‘rand’ is a random number in [0,1]. The components of vvv are those for the clockwise rotational velocity field of the formv1(x,y,t)= y−πand v2(x,y,t)= π−x. We take the parametersϵ=0.1, D=1 and the computation domain to be [0,2π]× [0,2π]. The mesh in space is fixed withNx =Ny =100, and we setβ=0.95. Then we see ttol =0.045. In this example, we takeS=0 and time stepτ=0.04 which is smaller than 1530 NUMERICAL MAXIMUM PRINCIPLE FOR ALLEN–CAHN EQUATIONS Fig. 6.2. Example 6.2: solution evolution and maximum values. ttol. Evolutions and maximum values of numerical solutions are presented in Figure 6.2. It is observed in the last sub-figure that the discrete maximum principle are indeed well preserved. Moreover, the ordering and coarsening phenomena as well as the rotation effect due to the advection term are well observed. The last example aims to emphasize the significant impact of the stabilized scheme in the long time simulations, especially after being equipped with some time-stepping adaptivity strategy. To this end, we consider a simple case with zero velocity field and constant mobilityD. Example 6.3. Consider the 2D Allen–Cahn equation with zero velocity field and constant mobilityD in [0,2π]×[0,2π] with logarithmic free energy (4.4) subject to the periodic boundary condition. The random initial value (6.2) is taken. J. SHEN, T. TANG, AND J. YANG 1531 T=0.5 0 2 4 6 0 1 2 3 4 5 6 T=1 0 2 4 6 0 1 2 3 4 5 6 T=2 0 2 4 6 0 1 2 3 4 5 6 T=5 0 2 4 6 0 1 2 3 4 5 6 T=10 0 2 4 6 0 1 2 3 4 5 6 0 2 4 6 8 10 0 0.2 0.4 0.6 0.8 1 Infinity norm t ||⋅||∞ y=β Fig. 6.3. Example 6.3: solution evolution and maximum value obtained by non-stabilized scheme with fine time-stepτ=10−4. It is noted that due to the periodic boundary condition fast solvers are used in the computation. In this example, we take the parametersϵ=0.04 andD=2 .S a m ea si n Example 2, the mesh in space is fixed withNx =Ny =100, and we setβ=0.95. In this case, the time step size constraint (2.16) is equivalent to 1 τ+S≥D ϵ ( θ 1−β2 −θc ) =:Mtol. (6.3) The standard scheme require time step smaller thanttol = 1 Mtol =0.0046. First, we obtain the reference solution by the non-stabilized scheme with very small uniform time step τ=10−4. The fine time-step solution is shown in Figure 6.3. We then implement the stabilized scheme together with an adaptive time-stepping strategy proposed by Gomez and Hughes [12]. The main idea is to update the time step size by using the formula A dp(e,τ)= ρ ( tol e )1/2 τ, (6.4) where ρis a default safety coefficient, tol is a reference tolerance, ande is the relative error at each time level. Following [12], we chooseρ=0.9andtol=10 −3. The minimum 1532 NUMERICAL MAXIMUM PRINCIPLE FOR ALLEN–CAHN EQUATIONS T=0.50188 0 2 4 6 0 1 2 3 4 5 6 T=1.0014 0 2 4 6 0 1 2 3 4 5 6 T=2.0015 0 2 4 6 0 1 2 3 4 5 6 T=5.0001 0 2 4 6 0 1 2 3 4 5 6 T=10.0037 0 2 4 6 0 1 2 3 4 5 6 0 2 4 6 8 10 0 0.2 0.4 0.6 0.8 1 Infinity norm t ||⋅||∞ y=β Fig. 6.4 . Example 6.3: solution evolution and maximum value obtained by using the stabilized scheme with adaptive time-stepping algorithm. and maximum time steps are taken asτmin =10−4 and τmax =10−1, respectively, with a ratio of 100. The initial stabilizing parameterS is taken as 0. Note that in our algorithm the stabilized parameterS is chosen adaptively based on (6.3). By doing this, the discrete maximum principle will be preserved, sinceS≥ Mtol−1 τ is a sufficient condition to guarantee the maximum principle. We emphasize again preserving the maximum principle is extremely important for the logarithmic free energy (resp. nonlinear mobility), as the failure of the discrete maximum principle will lead to meaningless definition of the energy functional (resp. negative mobility value). (4.4). Snapshots of phase evolution and time history of maximum values for numerical solutions are shown in Figure 6.4, and the adaptive time steps and stabilized parameters are shown in Figure 6.5. It is observed that the adaptive-time solutions given in Figure 6.4 are in good agreement with the reference solutions presented in Figure 6.3. It is seen from Figure 6.5 (a) that the time step progressively increases based on the energy evolution of the solution. When the coarsening becomes dominant (e.g., t> 1), the time steps become larger, which shows that the time adaptivity based on the stabilized scheme works well for the Allen–Cahn problem. Figure 6.5 (b) shows the variation of the stabilization parametersS. It is observed thatS increases significantly atT ≈9a f t e r J. SHEN, T. TANG, AND J. YANG 1533 Algorithm 1 Time step and stabilized coefficient adaptive procedure Given: Un,τn andstabilizedparameter Sn. Step 1. Compute Un+1 FE by the forward Euler method withτn. Step 2. Compute Un+1 by the the stabilized scheme method withτn and Sn. Step 3. Calculate en+1 = ||U n+1 FE −U n+1|| ||U n+1|| Step 4. if en+1 >tol, then Recalculate time stepτn ←min{Adp(en+1,τn),τmax} and stabilized parameterSn ←min{0,Mtol−1 τn } Step 5. goto Step 1 Step 6. else Update time stepτn+1 ←min{Adp(en+1,τn),τmax} and stabilized parameterSn+1 ←min{0,Mtol− 1 τn+1 } Step 7. endif 0 2 4 6 8 10 0 0.001 0.002 0.003 0.004 0.005 0.006 0.007 0.008 0.009 0.01 T τ Adaptive time steps (a) 0 2 4 6 8 10 0 20 40 60 80 100 120 T S Adaptive stabilized parameters (b) Fig. 6.5. (a) adaptive time steps and (b) adaptive stabilized parameters. which the time step is taken asτmax. Due to the use of large stabilization parameter, the effective time step is smaller than the time step used in the stabilized scheme so it results in a slight lagging effect which can be seen by comparing Figure 6.5 to Figure 6.4. This effect can be reduced by restricting the stabilization parameterS and/or τ max to a smaller range. 7. Conclusions We considered in this paper numerical approximations of the generalized Allen– Cahn equations, which include cases with logarithmic free energy, nonlinear degenerated mobility, and/or additional advection term. We studied the stability of the scheme with first-order semi-implicit treatment in time (with or without a stabilizing term) and the central finite difference for the diffusion term and upwind scheme for the advection term in space. We proved that this conventional scheme preserves the discrete maximum principle under some reasonable time step constraint. We also proved that adding a stabilizing term can significantly increase the allowable time step. We presented numerical examples using the stabilized scheme together with an adaptive strategy to select the stabilized parameters. The numerical results indicate 1534 NUMERICAL MAXIMUM PRINCIPLE FOR ALLEN–CAHN EQUATIONS the effectiveness of the proposed approach, which also verify the theoretical results obtained in this work. 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, 27, 1085–1095, 1979. [2] Michal Benes, V. Chalupecky, and K. Mikula,Geometrical image segmentation by the Allen–Cahn equation, Applied Numerical Mathematics, 51, 187–205, 2004. [3] L. Cherfils, A. Miranville, and S. Zelik,The Cahn–Hilliard equation with logarithmic potentials, Milan Journal of Mathematics, 79(2), 561–596, 2011. [4] M.I.M. Copetti and C.M. Elliott, Numerical analysis of the Cahn–Hilliard equation with a loga- rithmic free energy, Numerische Mathematik, 63(1), 39–65, 1992. [5] Q. Du and R.A. Nicolaides,Numerical analysis of a continuum model of phase transition,S I A M J. Numer. Anal., 28, 1310–1322, 1991. [6] C.M. Elliott and A.M. Stuart,The global dynamics of discrete semilinear parabolic equations,S I A M J. Numer. Anal., 30(6), 1622–1663, 1993. [7] D.J. Eyre,An unconditionally stable one-step scheme for gradient systems, June 1998, unpublished, http://www.math.utah.edu/eyre/research/methods/stable.ps. [8] X. Feng and A. Prohl,Numerical analysis of the Allen–Cahn equation and approximation for mean curvature flows, Numerische Mathematik, 94(1), 33–65 2003. [9] X. Feng, H. Song, T. Tang, and J. Yang,Nonlinearly stable implicit-explicit methods for the Allen– Cahn equation, Inverse Problems and Imaging, 7, 679–695, 2013. [10] X. Feng, T. Tang, and J. Yang,Stabilized Crank–Nicolson/Adams–Bashforth schemes for phase field models, East Asian Journal on Applied Mathematics, 3, 59–80, 2013. [11] X. Feng, T. Tang, and J. Yang,Long time numerical simulations for phase-field problems using p-adaptive spectral deferred correction methods, SIAM J. Sci. Comput., 37(1), A271–A294, 2015. [12] H. Gomez and T.J.R. Hughes,Provably unconditionally stable, second-order time-accurate, mixed variational methods for phase-field models, J. Comput. Phys., 230, 5310–5327, 2011. [13] T. Ilmanen, Convergence of the Allen–Cahn equation to Brakke’s motion by mean curvature,J . Differential Geom., 38(2), 417–461, 1993. [14] Junseok Kim, Phase-field models for multi-component fluid flows, Commun. Comput. Phys., 12, 613–661, 2012. [15] J. Shen and X. Yang, Numerical approximations of Allen–Cahn and Cahn–Hilliard equations, Discret. Contin. Dyn. Syst., 28, 1669–1691, 2010. [16] J. Shen and X. Yang,A phase-field model and its numerical approximation for two-phase incom- pressible flows with different densities and viscosities, SIAM J. Sci. Comput., 32, 1159–1179, 2010. [17] T. Tang and J. Yang,Implicit-explicit scheme for the Allen–Cahn equation preserves the maximum principle, J. of Comp. Mathematics, to appear, 2013. [18] Y. Xia, Y. Xu, and C.-W. Shu,Local discontinuous Galerkin methods for the Cahn–Hilliard type equations, J. Comput. Phys., 227, 472–491, 2007. [19] X. Yang, Error analysis of stabilized semi-implicit method of Allen–Cahn equations, Discrete Contin. Dyn. Syst. Ser. B, 11(4), 1057–1070, 2009. [20] J. Zhang and Q. Du,Numerical studies of discrete approximations to the Allen–Cahn equation in the sharp interface limit, SIAM J. Sci. Comput., 31(4), 3042–3063, 2009.
采集于
查看校方原文 ↗