EIT Agent
登录
← 校园网页目录

校园网页 · 学校官网

A new Lagrange multiplier approach for constructing structure preserving schemes, II. bound preserving.pdf

SIAM J. N UMER. A NAL. © 2022 Society for Industrial and Applied Mathematics V ol. 60, No. 3, pp. 970–998 A NEW LAGRANGE MUL TIPLIER APPROACH FOR CONSTRUCTING STRUCTURE PRESER VING SCHEMES, II. BOUND PRESER VING∗ QING CHENG † AND JIE SHEN † Abstract. In the second part of this series, we use the Lagrange multiplier approach proposed in the first part [Comput. Methods Appl. Mech. Engr. , 391 (2022), 114585] to construct efficient and accurate bound and/or mass preserving schemes for a class of semilinear and quasi-linear parabolic equations. We establish stability results under a general setting and carry out an error analysis for a second-order bound preserving scheme with a hybrid spectral discretization in space. We apply our approach to several typical PDEs which preserve bound and/or mass and also present ample numerical results to validate our approach. Key words. bound preserving, mass conservation, KKT conditions, Lagrange multiplier, sta- bility, error analysis AMS subject classifications. 65M70, 65M12, 65N22 DOI. 10.1137/21M144877X 1. Introduction. Solutions of partial differential equations (PDEs) arising from sciences and engineering applications are often required to be positive or to remain in a bounded interval. It is beneficial, and often necessary, that their numerical approximations preserve the positivity or bound at the discrete level. In recent years, a large effort has been devoted to construct bound preserving schemes for various problems. In the first part of this series [7], we constructed a class of positivity preserving schemes using a new Lagrange multiplier approach. A main objective of this paper is to extend the approach in [7] to construct bound preserving schemes for a class of nonlinear PDEs in the following form: (1.1) ut + Lu + N (u) = 0 with suitable initial and boundary conditions, where L is a linear or nonlinear non- negative operator and N (u) is a semilinear or quasi-linear operator. We assume that the solution of (1.1) is bound preserving, i.e., a ≤ u(x, 0) ≤ b for all x ∈ Ω; then a ≤ u(x, t) ≤ b for all ( x, t) ∈ Ω × (0, T). There exists an extensive literature devoted to constructing positivity/bound pre- serving schemes for (1.1). We refer to the first part of this series [7] (and the references therein) for a summary of existing approaches for constructing positivity/bound pre- serving schemes. In particular, large efforts have been devoted to construct spatial discretization for (1.1) such that the resulting numerical scheme satisfies a discrete maximum principle (cf., for instance, [14, 8, 9, 13, 24, 32, 23, 22] and the review paper in [15] for a up-to-date summary in this regard). Another popular strategy is to use a ∗Received by the editors September 27, 2021; accepted for publication (in revised form) January 4, 2022; published electronically May 5, 2022. https://doi.org/10.1137/21M144877X Funding: The work of the first and second authors is partially supported by NSF (National Science Foundation), USA Grant DMS-2012585 and AFOSR (Air Force Office of Scientific Research), USA Grant FA9550-20-1-0309. †Department of Mathematics, Purdue University, West Lafayette, IN 47907 USA (cheng573@ purdue.edu, shen7@purdue.edu). 970 CONSTRUCTING BOUND PRESERVING SCHEMES 971 convex splitting approach to construct positivity/bound preserving schemes (cf., for instance, [6, 12, 11]). Consider a generic spatial discretization of (1.1): ∂tuh + Lhuh + Nh(uh) = 0,(1.2) where uh is in a certain finite dimensional approximation space Xh and Lh is a certain approximation of L. In general, the solution uh, if it exists, may not be bound preserving. Oftentimes, (1.2) may not be well posed if the values of uh go outside of [ a, b]. For example, a direct finite elements or spectral approximation to the Allen–Cahn or Cahn–Hilliard equation with logarithmic potential may not be well posed. Instead of using special spatial discretizations which satisfy a dis- crete maximum principle, we aim to develop a bound preserving approach which can be used for a large class of spatial discretizations. To preserve positivity, it suffices to introduce a Lagrange multiplier λh. But to preserve bound, we need to introduce an additional quadratic function g(u) = ( b − u)(u − a) and consider the following expanded system with a Lagrange multiplier λh: ∂tuh + Lhuh + Nh(uh) = λhg′(uh), λh ≥ 0, g (uh) ≥ 0, λ hg(uh) = 0.(1.3) The second equation in (1.3) represents the well-known KKT conditions [20, 17, 19, 2] for constrained minimization. The problem (1.3) can be viewed as an approximation to (1.1); it can also be viewed as a discrete problem without a background PDE, e.g., coming from a discrete constrained minimization problem. Existing approaches for (1.3) usually start with an implicit time discretization scheme so that the nonlinear system at each time step can still be interpreted as a constrained minimization, then apply a suitable iterative procedure (cf. [30]). As in [7], we shall use a different approach which decouples the computation of the Lagrange multiplier λh from that of uh, leading to a much more efficient algorithm. We recall that for positivity preserving, we simply use g(uh) = uh in the above formulation. However, for bound preserving, the nonlinear nature of g(uh) makes it much harder to prove stability in norms involving derivatives, and mass conservation whenever is necessary. On the other hand, since the numerical solutions remain to be bounded by construction, this allows us to derive more precise stability results, which in turn enable us to obtain optimal error estimates for both semilinear and quasi- linear PDEs. More precisely, the bound preserving schemes that we construct based on the operator splitting approach enjoy all advantages of the positivity preserving schemes in [7], and furthermore, thanks to the bound preserving property, they allow us to prove a more precise stability result (see Theorem 3.2) and to establish rigorous error estimates for a class of semilinear and quasi-linear dissipative equations (see Theorem 4.1). We would like to point out that the schemes constructed in this paper include the usual cutoff approach [25] as a special case. Therefore, our presentation provides an alternative interpretation of the cutoff approach and allows us to construct new cutoff implicit-explicit (IMEX) schemes with mass conservation. To validate our schemes, we apply our new schemes to a variety of problems with bound preserving solutions, including the Allen–Cahn [1] and Cahn–Hilliard [3] equations and a class of Fokker–Planck equations [26]. The remainder of the paper is organized as follows. In section 2, we construct bound preserving schemes for general nonlinear systems (1.1) using the Lagrange 972 QING CHENG AND JIE SHEN multiplier approach. For problems which also conserve mass, we modify our bound preserving schemes so that they also conserve mass. In section 3, we restrict ourselves to second-order parabolic-type equations and establish a stability result for, as an example, the second-order scheme with mass conservation. In section 4, we consider a hybrid spectral method as an example to carry out an error analysis for a fully discretized second-order scheme. In section 5, we describe applications of our schemes to several typical PDEs with bound and/or mass preserving properties. In section 6, we present some numerical simulations to validate the accuracy and robustness of our schemes. And we conclude with some remarks in the final section. 2. Bound preserving schemes. We construct in this section efficient bound preserving schemes for solving (1.3). The key is to adopt an operator splitting ap- proach in which a standard scheme, which is not bound preserving, is used in the first step, while in the second step, the solution is made bound preserving with a simple yet consistent procedure. We shall first describe a generic spatial discretization with nodal Lagrangian basis functions, followed by time discretization without and with mass conservation. Let Σ h be a set of mesh points or collocation points in ¯Ω. Note that Σ h should not include the points at the part of the boundary where a Dirichlet (or essential) boundary condition is prescribed, while it should include the points at the part of the boundary where a Neumann or mixed (or nonessential) boundary condition is prescribed. We assume that (1.3) is satisfied pointwise as follows: ∂tuh(z, t) + Lhuh + Nh(uh) = λh(z, t)g′(uh) ∀z ∈ Σh, λh(z, t) ≥ 0, g (uh(z, t)) ≥ 0, λ h(z, t)g(uh(z, t)) = 0 ∀z ∈ Σh,(2.1) with the Dirichlet boundary condition to be satisfied pointwise if the original problem includes a Dirichlet boundary condition at part or all of the boundary. The above scheme includes finite difference schemes, collocation schemes, and Galerkin-type spa- tial discretization with a Lagrangian basis. Denote δt the time step and tn = nδt for n = 0 , 1, 2, . . . , T δt , where T is the final computational time. Our schemes consist of two steps: in the first step, we use a generic time discretization, which can be implicit, explicit, or IMEX, to find an intermediate solution ˜un+1 h which is usually not bound preserving; then we introduce a Lagrange multiplier λn+1 h (z) to determine a bound preserving un+1 h , which is a correction to ˜un+1 h . We shall first construct bound preserving schemes which do not necessarily preserve mass; then we introduce a simple modification which allows us to construct bound preserving schemes which can also preserve mass. For the sake of clarity, we shall restrict ourselves to constructed schemes based on the IMEX-type time discretization since they are most commonly used for parabolic- type systems. It is straightforward to extend the approach below to schemes based on other types of time discretization. 2.1. A class of multistep IMEX schemes. We construct below kth-order bound preserving schemes for (2.1) based on the backward difference formula for the time derivative and Adams–Bashforth extrapolation by using a predictor-corrector approach. In order to describe the scheme, we define a sequence {αk} with a slight abuse of notation. For any function v, we use Ak(vn) and Bk−1(vn) to denote two operators depending on ( vn, . . . , vn−k+1) as follows: CONSTRUCTING BOUND PRESERVING SCHEMES 973 k = 1: (2.2) α1 = 1, A 1(vn) = vn, B 0(vn) = 0; k = 2: (2.3) α2 = 3 2 , A 2(vn) = 2vn − 1 2 vn−1, B 1(vn) = vn; k = 3: α3 = 11 6 , A 3(vn) = 3vn − 3 2 vn−1 + 1 3 vn−2, B2(vn) = 2vn − vn−1. (2.4) The formula for k = 4, 5, 6 can be derived similarly with Taylor expansions. We assume that uj h, j = 0, 1, . . . , k− 1 are properly initialized. Then we take the following steps. Step 1 (predictor) . Solve ˜un+1 h from αk˜un+1 h (z) − Ak(un h(z)) δt + Lh˜un+1 h (z) + Nh(Bk(un h(z))) = Bk−1(λn hg′(un h(z))) ∀z ∈ Σh. (2.5) Step 2 (corrector) . Solve un+1 h and λn+1 h from αk(un+1 h (z) − ˜un+1 h (z)) δt = λn+1 h (z)g′(un+1 h (z)) − Bk−1(λn h(z)g′(un h(z))),(2.6a) g(un+1 h (z)) ≥ 0, λ n+1 h (z) ≥ 0, λ n+1 h (z)g(un+1 h (z)) = 0 ∀z ∈ Σh.(2.6b) The second step can be solved pointwise as follows. We denote (2.7) ηn+1 h := − δt αk Bk−1(λn hg′(un h)) and rewrite (2.6a) as αk(un+1 h (z) − (˜un+1 h (z) + ηn+1 h (z))) δt = λn+1 h (z)g′(un+1 h (z)). We find from the above and (2.6b) that (un+1 h (z), λn+1 h (z)) =    (˜un+1 h (z) + ηn+1 h (z), 0) if a < ˜un+1 h (z) + ηn+1 h (z) < b, a, a−(˜un+1 h (z)+ηn+1 h (z)) δt αk g′(a)  if ˜ un+1 h (z) + ηn+1 h (z) ≤ a,  b, b−(˜un+1 h (z)+ηn+1 h (z)) δt αk g′(b)  if ˜ un+1 h (z) + ηn+1 h (z) ≥ b, ∀z ∈ Σh. (2.8) Remark 2.1. It is obvious that the above scheme is a kth-order approximation to (2.1). We would like to point out that it is also a kth-order (in time) approximation plus the spatial discretization error to (1.1). On the other hand, if we replace Bk−1(λn hg′(un h)) in the above scheme by zero, then it is easy to see that the second step is equivalent to the simple cutoff approach, which is a first-order approximation to (2.1). However, it is easy to see that the error in maximum norm by the cutoff approach is smaller than the error by the corresponding semi-implicit scheme; therefore, the cutoff approach is also a kth-order (in time) approximation plus the spatial discretization error to (1.1). 974 QING CHENG AND JIE SHEN 2.2. Mass conservation. A drawback of the schemes (2.5)–(2.6) is that it does not preserve mass if the exact solution does. We present below a simple modification which enables mass conservation. More precisely, we introduce another Lagrange multiplier ξn+1 h , which is independent of spatial variables, to enforce the mass conservation in the second step. The first step is still exactly the same as (2.5). Step 1 (predictor) . Solve ˜un+1 h from αk˜un+1 h (z) − Ak(un h(z)) δt + Lh˜un+1 h (z) + Nh(Bk(un h(z))) = Bk−1(λn h(z)g′(un h(z))) + Bk−1(ξn h) ∀z ∈ Σh. (2.9) We introduce another Lagrange multiplier ξn+1 h in the second step to enforce the mass conservation. Step 2 (corrector) . Solve ( un+1 h , λn+1 h ) from αk(un+1 h (z) − ˜un+1 h (z)) δt = λn+1 h (z)g′(un+1 h (z)) (2.10a) − Bk−1(λn h(z)g′(un h(z))) + ξn+1 h − Bk−1(ξn h) ∀z ∈ Σh, λn+1 h (z) ≥ 0, g (un+1 h (z)) ≥ 0, λ n+1 h (z)g(un+1 h (z)) = 0 ∀z ∈ Σh,(2.10b) (un+1 h , 1)h = (un h, 1)h,(2.10c) where (·, ·)h is a discrete inner product. In order to solve the above system, we denote (2.11) ηn+1 h := δt αk (ξn+1 h − Bk−1(ξn h) − Bk−1(λn hg′(un h))) and rewrite (2.10a) as (2.12) αk(un+1 h (z) − (˜un+1 h (z) + ηn+1 h (z))) δt = λn+1 h (z)g′(un+1 h (z)). Hence, assuming ξn+1 h is known, we find from the above and (2.10b) that (un+1 h (z), λn+1 h (z)) =    (˜un+1 h (z) + ηn+1 h (z), 0) if a < ˜un+1 h (z) + ηn+1 h (z) < b, a, a−(˜un+1 h (z)+ηn+1 h (z)) δt αk g′(a)  if ˜ un+1 h (z) + ηn+1 h (z) ≤ a,  b, b−(˜un+1 h (z)+ηn+1 h (z)) δt αk g′(b)  if ˜ un+1 h (z) + ηn+1 h (z) ≥ b ∀z ∈ Σh. (2.13) It remains to determine ξn+1 h . Denote aΣh(ξ) = {z ∈ Σh : ˜un+1 h (z) + δtξ ≤ a}, aΣb h(ξ) = {z ∈ Σh : a < ˜un+1 h (z) + δtξ < b }, Σb h(ξ) = {z ∈ Σh : ˜un+1 h (z) + δtξ ≥ b}. (2.14) CONSTRUCTING BOUND PRESERVING SCHEMES 975 Then, thanks to (2.13), the discrete mass conservation (2.10c) can be rewritten as (2.15)X z∈aΣb h(ηn+1 h ) (˜un+1 h (z) + δtη n+1 h )ωz + X z∈Σb h(ηn+1 h ) b ωz + X z∈aΣh(ηn+1 h ) a ωz = (un h, 1)h. Setting Gn(η) := X z∈aΣb h(η) (˜un+1 h (z) + δtη)ωz + X z∈Σb h(η) b ωz + X z∈aΣh(η) a ωz − (un h, 1)h, Fn(ξ) := Gn  δt αk (ξ − Bk−1(ξn h) − Bk−1(λn hg′(un h)))  , (2.16) we find from the above and (2.15) that ξn+1 h is a solution to the nonlinear algebraic equation Fn(ξ) = 0. Since F ′ n(ξ) may not exist and is difficult to compute if it exists, instead of the Newton iteration, we can use the following secant method: (2.17) ξk+1 = ξk − Fn(ξk)(ξk − ξk−1) Fn(ξk) − Fn(ξk−1) . Since ξn+1 h is an approximation to zero, we can choose ξ0 = 0 and ξ1 = O(δt). In all our experiments, (2.17) converges in a few iterations so that the cost is negligible. Once ξn+1 h is known, we can update ( un+1 h , λn+1 h ) with (2.13). Remark 2.2. It is usually very difficult to construct mass conserved IMEX schemes using the simple cutoff approach. However, replacing Bk−1(λn h(z)g′(un h(z))) in (2.9)– (2.10) by zero, we obtain a mass conserved kth-order IMEX cutoff scheme. This is one of the advantages of reformulating the cutoff approach with the operator splitting approach. 3. Stability results. While the schemes constructed in the last section auto- matically ensure the L∞ bound for {un h}, it does not imply any bound on the energy norm ⟨L·, ·⟩. In this section, we shall use the energy estimates to derive a bound on the energy norm for {˜un h} as well as a bound on the Lagrange multiplier. We shall frequently use the following discrete Gronwall lemma [27]. Lemma 3.1. Let an, b n, c n, and dn be four nonnegative sequences satisfying am + τ mX n=1 bn ≤ τ m−1X n=0 andn + τ m−1X n=0 cn + C, m ≥ 1, where C and τ are two positive constants. Then am + τ mX n=1 bn ≤ exp τ m−1X n=0 dn ! τ m−1X n=0 cn + C ! , m ≥ 1. To fix the idea, we assume thatL is a second-order unbounded positive self-adjoint operator in L2(Ω) with domain D(L) and that the nonlinear term can be written as follows: N (u) = f1(u) + ∇ · f2(u) with f1(0) = f2(0) = 0, and f1, f 2 are locally Lipchitz semilinear functions .(3.1) 976 QING CHENG AND JIE SHEN Without loss of generality, we assume that ab ≤ 0. Otherwise, we can always find a constant C such that ( a + C)(b + C) ≤ 0 and consider the equation for v = u + C. Since ab ≤ 0, we have 0 ∈ (a, b). Hence, (3.1) implies in particular (3.2) |f1(u)| = |f1(u) − f1(0)| ≤ C1|u|, |f2(u)| = |f2(u) − f2(0)| ≤ C2|u| if a ≤ u ≤ b. We observe that the nonlinearities in common nonlinear parabolic equations do satisfy (3.1); see in particular some specific examples given in section 5. We shall also interpret the first step of the schemes, (2.5) and (2.9), in a Galerkin formulation. More precisely, let Xh ⊂ X be a subspace with Lagrangian basis func- tions on Σ h. We define a discrete inner product on Σ h = {z} in ¯Ω: (3.3) ( u, v)h = X z∈Σh βzu(z)v(z), where we require that the weights βz > 0. We also denote the induced norm by ∥u∥ = (u, u) 1 2 h , and we assume that this norm is equivalent to theL2 norm for functions in Xh. We denote by ⟨Lhuh, vh⟩ the bilinear form on Xh × Xh based on the discrete inner product after suitable integration by part, and we assume that (3.4) C0∥∇uh∥2 ≤⟩Lhuh, uh⟩ ∀ uh ∈ Xh, with C0 > 0, which is satisfied by many common spatial discretizations. Hereafter, we shall use C and Ci to denote generic positive constants which are independent of δt and h. We shall only consider a second-order scheme with mass conservation in this section. It is clear that similar bounds can be derived for second-order schemes with- out mass conservation and for the first-order schemes, but bounds for higher-order schemes are still elusive. For clarity, we rewrite the second-order version of (2.9)– (2.10) as follows. Step 1 (predictor) . Find ˜un+1 h ∈ Xh such that, for all vh ∈ Xh, 3˜un+1 h − 4un h + un−1 h 2δt , vh  h + ⟨Lh˜un+1 h , vh⟩ + (f1(uh), vh)h − (f2(uh), ∇vh)h = (λn hg′(un h) + ξn h , vh)h(3.5) Step 2 (corrector) . Find un+1 h , λ n+1 h , ξ n+1 h from 3(un+1 h (z) − ˜un+1 h (z)) 2δt = λn+1 h (z)g′(un+1 h (z)) − λn h(z)g′(un h(z)) + ξn+1 h − ξn h ∀z ∈ Σh,(3.6a) λn+1 h (z) ≥ 0, g (un+1 h (z)) ≥ 0, λ n+1 h (z)g(un+1 h (z)) = 0 ∀z ∈ Σh,(3.6b) (un+1 h , 1)h = (un h, 1)h(3.6c) and we assume that ˜u0 h and u0 h are computed with the first-order scheme (2.9)–(2.10) with k = 1. Theorem 3.2. We assume (3.1), (3.2), and (3.4). Then, for the scheme (3.5)– (3.6), if the generic scheme in (2.9) is mass conservative, i.e., (3.7) ⟨Lh˜un+1 h , 1⟩ + (f1(uh), 1)h − (f2(uh), ∇1)h = 0, CONSTRUCTING BOUND PRESERVING SCHEMES 977 then we have 4∥um h ∥2 + ∥2um h − um−1 h ∥2 + 4 3 δt2∥λn+1 h g′(um h ) + ξm h ∥2 + 2δt m−1X n=0 C0∥∇˜un+1 h ∥2 ≤ C(T )∥u0 h∥2 ∀1 ≤ m ≤ T /δt. Proof. Choosing vh = 4δt˜un+1 h in (3.5), using the assumption (3.4), we obtain (3˜un+1 h − 4un h + un−1 h , 2˜un+1 h )h + 4δtC0∥∇˜un+1 h ∥2 + 4δt(f1(2un h − un−1 h ), ˜un+1 h )h − 4δt(f2(2un h − un−1 h ), ∇˜un+1 h )h ≤ 4δt(λn hg′(un h) + ξn h , ˜un+1 h )h. (3.8) We start by dealing with the first term in (3.8). (3˜un+1 h − 4un h + un−1 h , 2˜un+1 h )h = 2(3un+1 h − 4un h + un−1 h , un+1 h )h + 6(˜un+1 h − un+1 h , ˜un+1 h )h + 2(3un+1 h − 4un h + un−1 h , ˜un+1 h − un+1 h )h. (3.9) For the terms on the right-hand side of (3.9), we have 2(3un+1 h − 4un h + un−1 h , un+1 h )h = ∥un+1 h ∥2 − ∥un h∥2 + ∥2un+1 h − un h∥2 − ∥2un h − un−1 h ∥2 + ∥un+1 h − 2un h + un−1 h ∥2(3.10) (3.11) 6(˜ un+1 h − un+1 h , ˜un+1 h )h = 3(∥˜un+1 h ∥2 − ∥un+1 h ∥2 + ∥˜un+1 h − un+1 h ∥2) and 2(3un+1 h − 4un h + un−1 h , ˜un+1 h − un+1 h )h = 2(un+1 h − 2un h + un−1 h , ˜un+1 h − un+1 h )h + 4(un+1 h − un h, ˜un+1 h − un+1 h )h ≥ −∥un+1 h − 2un h + un−1 h ∥2 − ∥˜un+1 h − un+1 h ∥2 + 4(un+1 h − un h, ˜un+1 h − un+1 h )h. (3.12) The last term in the above needs a special treatment. Using (3.6a) and the fact that (un+1 h − un h, 1)h = 0, we can write 4(un+1 h − un h, ˜un+1 h − un+1 h )h = −8δt 3 (un+1 h − un h, λn+1 h g′(un+1 h ) − λn hg′(un h) + ξn+1 h − ξn h)h = −8δt 3 (un+1 h − un h, λn+1 h g′(un+1 h ) − λn hg′(un h))h − 8δt 3 (ξn+1 h − ξn h)(un+1 h − un h, 1)h = −8δt 3 (un+1 h − un h, λn+1 h g′(un+1 h ))h − 8δt 3 (un h − un+1 h , λn hg′(un h))h := I1 + I2. (3.13) Thanks to λn+1 h (z)g(un+1 h (z)) = 0, we obtain I1 = −8δt 3 (λn+1 h , (un+1 h − un h)(a + b − 2un+1 h ) − g(un+1 h ))h = −8δt 3 (λn+1 h , −(un+1 h )2 + ab + 2un hun+1 h − (a + b)un h)h = 8δt 3 (λn+1 h , (un+1 h − un h)2)h − 8δt 3 (λn+1 h , (un h − a)(un h − b))h ≥ 0, 978 QING CHENG AND JIE SHEN where we used the facts thata ≤ un h ≤ b and λn+1 h ≥ 0. Similarly, we use λn h(z)g(un h(z)) = 0 to derive I2 = −8δt 3 (λn h, (un h − un+1 h )g′(un h) − g(un h))h = −8δt 3 (λn h, −(un h)2 + ab + 2un hun+1 h − (a + b)un+1 h )h = 8δt 3 (λn h, (un+1 h − un h)2)h − (λn h, (un+1 h − a)(un+1 h − b))h ≥ 0, where we used again the facts that λn h ≥ 0 and a ≤ un+1 h ≤ b. We derive from the last two inequalities that 4(un+1 h − un h, ˜un+1 h − un+1 h )h = −8δt 3 (un+1 h − un h, λn+1 h g′(un+1 h ) − λn hg′(un h))h ≥ 0. (3.14) Combining the above inequalities in (3.9), we find (3˜un+1 h − 4un h + un−1 h , 2˜un+1 h )h ≥ ∥un+1 h ∥2 − ∥un h∥2 + ∥2un+1 h − un h∥2 − ∥2un h − un−1 h ∥2 + 3(∥˜un+1 h ∥2 − ∥un+1 h ∥2) + 2∥˜un+1 h − un+1 h ∥2. (3.15) Next, we rewrite (3.6a) as (3.16) 3 un+1 h − 2δt(λn+1 h g′(un+1 h ) + ξn+1 h ) = 3˜un+1 h − 2δt(λn hg′(un h) + ξn h). Taking the discrete inner product of each side of (3.16) with itself, dividing by 3, we obtain 3∥un+1 h ∥2 − 4δt(un+1 h , λn+1 h g′(un+1 h ) + ξn+1 h )h + 4 3 δt2∥λn+1 h g′(un+1 h ) + ξn+1 h ∥2 = 3∥˜un+1 h ∥2 − 4δt(˜un+1 h , λn hg′(un h) + ξn h)h + 4 3 δt2∥λn hg′(un h) + ξn h ∥2. (3.17) Note that we can interpret (3.5) pointwise as 3˜un+1 h (z) − 4un h(z) + un−1 h (z) 2δt + Lh˜un+1 h (z) + Nh(2un h(z) − un−1 h (z)) = λn h(z)g′(un h(z)) + ξn h ∀z ∈ Σh, (3.18) CONSTRUCTING BOUND PRESERVING SCHEMES 979 where Nh is defined by (Nh(uh), vh)h = (f1(uh), vh)h −(f2(uh), ∇vh)h. Summing up (3.18) and (3.6a), we obtain 3un+1 h (z) − 4un h(z) + un−1 h (z) 2δt + Lh˜un+1 h (z) + Nh(2un h(z) − un−1 h (z)) = λn+1 h (z)g′(un+1 h (z)) + ξn+1 h ∀z ∈ Σh. (3.19) Taking the discrete inner product of (3.19) with 1 on both sides, using (3.6c) and (3.7), we obtain (3.20) ( λn+1 h g′(un+1 h ) + ξn+1 h , 1)h = 0, which implies that (3.21) ξn+1 h = −(λn+1 h g′(un+1 h ), 1)h |Ω| = −(λn+1 h , a + b − 2un+1 h )h |Ω| , where |Ω| := (1, 1)h = Σz∈Σk βz > 0. It remains to show that the second term of (3.17) is nonnegative. Using the fact that λn+1 h (z)g(un+1 h (z)) = 0, we have − 4δt(un+1 h , λn+1 h g′(un+1 h ) + ξn+1 h )h = −4δt(λn+1 h , un+1 h g′(un+1 h ) − g(un+1 h ))h − 4δtξ n+1 h (un+1 h , 1)h = −4δt(λn+1 h , ab − (un+1 h )2)h + 4δt |Ω| (λn+1 h , a + b − 2un+1 h )h(un+1 h , 1)h = −4δt λn+1 h , −  un+1 h − (un+1 h , 1)h |Ω| 2 + (un+1 h , 1)h |Ω| − a (un+1 h , 1)h |Ω| − b ! h . Since a ≤ un+1 h ≤ b, we have (3.22) (un+1 h , 1)h |Ω| − a  (un+1 h , 1)h |Ω| − b  ≤ 0, which, together with λn+1 h ≥ 0, implies that (3.23) − 4δt(un+1 h , λn+1 h g′(un+1 h ) + ξn+1 h )h ≥ 0. Then, summing up (3.8) with (3.17) and using (3.14), (3.15), and (3.23), after drop- ping some unnecessary terms, we obtain 4∥un+1 h ∥2 − 4∥un h∥2 + ∥2un+1 h − un h∥2 − ∥2un h − un−1 h ∥2 + 2∥˜un+1 h − un+1 h ∥2 + 4 3 δt2(∥λn+1 h g′(un+1 h ) + ξn+1 h ∥2 − ∥λn hg′(un h) + ξn h ∥2) + 4δtC0∥∇˜un+1 h ∥2 ≤ −4δt(f1(2un h − un−1 h ), ˜un+1 h )h + 4δt(f2(2un h − un−1 h ), ∇˜un+1 h )h. (3.24) Using (3.4), the two terms on the right-hand side above can be bounded as follows: 4δt(f1(2un h − un−1 h ), ˜un+1 h )h = 4δt(f1(2un h − un−1 h ), ˜un+1 h − un+1 h )h + 4δt(f1(2un h − un−1 h ), un+1 h )h ≤ 2∥˜un+1 h − un+1 h ∥2 + 2C2 1 δt2∥2un h − un−1 h ∥2 + 2δt(C2 1 ∥2un h − un−1 h ∥2 + ∥un+1 h ∥2). (3.25) 980 QING CHENG AND JIE SHEN Similarly, we have 4δt(f2(2un h − un−1 h ), ∇˜un+1 h )h ≤ 2δtC0∥∇˜un+1 h ∥2 + 2δt C0 ∥f2(2un h − un−1 h )∥2 ≤ 2δtC0∥∇˜un+1 h ∥2 + 2δtC2 2 C0 ∥2un h − un−1 h ∥2. (3.26) Combining (3.24), (3.25), and (3.26), we obtain 4∥un+1 h ∥2 − 4∥un h∥2 + ∥2un+1 h − un h∥2 − ∥2un h − un−1 h ∥2 + 4 3 δt2(∥λn+1 h g′(un+1 h ) + ξn+1 h ∥2 − ∥λn hg′(un h) + ξn h ∥2) + 2δtC0∥∇˜un+1 h ∥2 ≤ Cδt ∥2un h − un−1 h ∥2 + 2δt∥un+1 h ∥2 ∀n ≥ 1. (3.27) For n = 0, we use a first-order scheme, namely, (2.9)–(2.10) with k = 1, to compute ˜u1 h and u1 h. Using a similar (but much simplified) procedure as above, we can obtain ∥u1 h∥2 − ∥u0 h∥2 + δt2(∥λ1 hg′(u1 h) + ξ1 h∥2 − ∥λ0 hg′(u0 h) + ξ0 h∥2) + 2δtC0∥∇˜u1 h∥2 ≤ Cδt ∥2u0 h∥2 + 2δt∥u1 h∥2. (3.28) Finally summing up (3.28) with (3.27) from n = 1 to n = m − 1, we obtain 4∥um h ∥2 + ∥2um h − um−1 h ∥2 + 4 3 δt2∥λm h g′(um h ) + ξm h ∥2 + 2δt m−1X n=1 C0∥∇˜un+1 h ∥2 ≤ ∥2u1 h − u0 h∥2 + 4∥u0 h∥2 + Cδt m−1X n=0 {∥2un h − un−1 h ∥2 + ∥un+1 h ∥2}. Applying the discrete Gronwall (lemma 3.1) and using (3.28), we arrive at the desired result. 4. Error estimate. The error analysis for the second-order scheme (3.5)–(3.6) with a general spatial discretization is very tedious and may obscure its essential difficulty. Therefore, we shall carry out a complete error analysis for a second-order bound preserving scheme with a hybrid spectral discretization that we shall describe below. To further simplify the presentation, we assume L = −∆ with Dirichlet boundary conditions on Ω = ( −1, 1)d (d = 1, 2, 3). We now describe some preliminaries for our hybrid spectral discretization. Letting PN be the space of polynomials of degree less than or equals to N in each direction, we set (4.1) X = H1 0(Ω), X N = {v ∈ PN : v|∂Ω = 0}. We define the projection operator Π N : X → XN by (4.2) ( ∇(v − ΠN v), ∇vN) = 0 ∀v ∈ X, v N ∈ XN , and recall that for any r ≥ 1, we have [4] (4.3) ∥v − ΠN v∥H s ≲ N s−r∥v∥H r ∀v ∈ H r(Ω) ∩ X, (s = 0, 1), CONSTRUCTING BOUND PRESERVING SCHEMES 981 where ∥ · ∥H r denotes the usual norm in H r(Ω). Let LN be the Legendre polynomial of degree N and {xk}0≤k≤N be the roots of (1 − x2)L′ N(x), i.e., the Legendre–Gauss–Lobatto points. We set Σ N = {xk}1≤k≤N −1 and ¯ΣN = {xk}0≤k≤N if d = 1, ΣN = {(xk, xi)}1≤k,i≤N −1 and ¯ΣN = {(xk, xi)}0≤k,i≤N if d = 2, and Σ N = {(xk, xi, xj)}1≤k,i,j≤N −1 and ¯ΣN = {(xk, xi, xj)}0≤k,i,j≤N if d = 3. We define the interpolation operator IN : C(Ω) → PN by (IN u)(z) = u(z) for all z ∈ ¯ΣN. Then, we also have [4] (4.4) ∥v − IN v∥H s ≲ N s−r∥v∥H r ∀v ∈ H r(Ω) ∩ X, (s = 0, 1). Let (·, ·)N be the discrete inner product based on the Gauss–Lobatto quadrature then it is well known that [28] (uN , vN)N = (uN , vN) ∀uN · vN ∈ P2N −1, ∥vN ∥2 ≤ (vN , vN)N ≤ (2 + 1/N)∥vN ∥2 ∀vN ∈ PN . (4.5) We observe that the bound preserving is enforced at the second step, so the first step in the bound preserving schemes can be replaced by any other kth-order scheme. We shall consider a second-order modified Crank–Nicholson scheme which is easier to analyze. More precisely, we consider the following modified Crank–Nicholson scheme [18] with a hybrid spectral discretization: find un+1 N ∈ XN such that for all n ≥ 1,  ˜un+1 N (z) − un N(z) δt , vN  N +  ∇3˜un+1 N (z) + ˜un−1 N (z) 4 , ∇vN  +  N 3 2 un N(z) − 1 2 un−1 N (z)  , vN  = 0 ∀vN ∈ XN , (4.6) and find un+1 N , λn+1 N such that un+1 N (z) − ˜un+1 N (z) δt = λn+1 N (z)g′(un+1 N (z)) ∀z ∈ ΣN , λn+1 N (z) ≥ 0, g (un+1 N (z)) ≥ 0, λ n+1 N (z)g(un+1 N (z)) = 0 ∀z ∈ ΣN . (4.7) For n = 0, we replace N ( 3 2 un N(z) − 1 2 un−1 N (z)) in (4.6) by N (un N(z)). To simplify the notation, we shall use u(t) to denote u(x, t). We denote (4.8) ¯en+1 N = u(tn+1) − ΠN u(tn+1), ˆen+1 N = ΠN u(tn+1) − un+1 N , ˜en+1 N = ΠN u(tn+1) − ˜un+1 N . Then, we have (4.9) u(tn+1) − un+1 N = ¯en+1 N + ˆen+1 N , u (tn+1) − ˜un+1 N = ¯en+1 N + ˜en+1 N . Let tk = kδt, tk+ 1 2 = 1 2(tk+1 + tk) and un+ 1 2 = un+1+un 2 . We denote K n+ 1 2 N = ¯en+1 N − ¯en N δt , T n+ 1 2 N = −∆  u(tn+ 1 2 ) − 3u(tn+1) + u(tn−1) 4  , R n+ 1 2 N = ∂tu(tn+ 1 2 ) − u(tn+1) − u(tn) 2 , J n+ 1 2 N = u(tn+ 1 2 ) − 3 2 u(tn) − 1 2 u(tn−1)  . (4.10) 982 QING CHENG AND JIE SHEN Theorem 4.1. Let ˜un+1 N , u n+1 N , λ n+1 N be the solution of (4.6)–(4.7). Given T ≥ 0, for some l ≥ 1, assuming (3.1)–(3.2), and the exact solution of (1.1) u(x, t) ∈ C2([0, T], H2(Ω)) ∩ C1([0, T], Hl(Ω)) ∩ C3([0, T], L2(Ω)), then we have the following error estimate: ∥u(tm) − um N ∥2 + δt 4 ∥∇(u(tm) − ˜um N)∥2 + δt2 m−1X n=1 ∥λn+1 N g′(un+1 N )∥2 N + δt m−1X n=1 ∥∇(u(tn+1) − ˜un+1 N + u(tn−1) − ˜un−1 N )∥2 ≤ C(δt4 + N −2l) ∀2 ≤ m ≤ T δt . Proof. We derive from (1.1) and (4.2) that (4.11) ( ∂tu, vN)N + (∇ΠN u, ∇vN) + (N (u), vN) = ϵ(vN) ∀vN ∈ XN , where (4.12) ϵ(vN) = (∂tu, vN)N − (∂tu, vN). We find from (4.5), the definition of IN, and (4.3)–(4.4) that |ϵ(vN)| = |(ut, vN)N − (ut, vN)| = |(ut − ΠN −1ut, vN)N + (ΠN −1ut − ut, vN)| = |(IN ut − ΠN −1ut, vN)N + (ΠN −1ut − ut, vN)| ≤ (3∥IN ut − ΠN −1ut∥ + ∥ΠN −1ut − ut∥)∥vN ∥ ≤ (3∥IN ut − ut∥ + 4∥ut − ΠN −1ut∥)∥vN ∥ ≤ CN −l∥vN ∥ ∀ vN ∈ PN . (4.13) Subtracting (4.11) from scheme (4.6), we obtain  ˜en+1 N − ˆen N δt , vN  N +  ∇3˜en+1 N + ˜en−1 N 4 , ∇vN  +  N (u(tn+ 1 2 )) − N 3 2 un N − 1 2 un−1 N  , vN  = (−K n+ 1 2 N , vN) − (R n+ 1 2 N , vN) − (T n+ 1 2 N , vN) + ϵ(vN). (4.14) We also derive from (4.7) that (4.15) ˆen+1 N (z) − ˜en+1 N (z) δt = sn+1 N ∀z ∈ ΣN , where sn+1 N = −λn+1 N g′(un+1 N ). Denoting Q n+ 1 2 N = N (u(tn+ 1 2 )) − N ( 3 2ΠN u(tn) − 1 2ΠN u(tn−1)), we have  N (u(tn+ 1 2 )) − N 3 2 un N − 1 2 un−1 N  , vN  = (Q n+ 1 2 N , vN) +  N 3 2ΠN u(tn) − 1 2ΠN u(tn−1)  − N 3 2 un N − 1 2 un−1 N  , vN  . (4.16) CONSTRUCTING BOUND PRESERVING SCHEMES 983 Then (4.14) can be written as  ˜en+1 N − ˆen N δt , vN  N +  ∇3˜en+1 N + ˜en−1 N 4 , ∇vN  +  N 3 2ΠN u(tn) − 1 2ΠN u(tn−1)  − N 3 2 un N − 1 2 un−1 N  , vN  = −(K n+ 1 2 N , vN) − (R n+ 1 2 N , vN) − (T n+ 1 2 N , vN) − (Q n+ 1 2 N , vN) + ϵ(vN). (4.17) Taking vN = 2δt˜en+1 N in (4.17), we obtain (˜en+1 N − ˆen N , 2˜en+1 N )N + (R n+ 1 2 N + K n+ 1 2 N + T n+ 1 2 N , 2δt˜en+1 N ) + 2δt  ∇3˜en+1 N + ˜en−1 N 4 , ∇˜en+1 N  +  N 3 2ΠN u(tn) − 1 2ΠN u(tn−1)  − N 3 2 un N − 1 2 un−1 N  , 2δt˜en+1 N  + (Q n+ 1 2 N , 2δt˜en+1 N ) = 2δtϵ(˜en+1 N ). (4.18) For the first term in (4.18), we have (˜en+1 N − ˆen N , 2˜en+1 N )N = ∥˜en+1 N ∥2 N − ∥ˆen N ∥2 N + ∥˜en+1 N − ˆen N ∥2 N .(4.19) We rewrite (4.15) as ˆen+1 N (z) − δtsn+1 N (z) = ˜en+1 N (z) ∀z ∈ ΣN(4.20) and take the discrete inner product of (4.20) with itself to get ∥ˆen+1 N ∥2 N + δt2∥sn+1 N ∥2 N − 2δt(ˆen+1 N , sn+1 N )N = ∥˜en+1 N ∥2 N .(4.21) On the other hand, 2δt  ∇3˜en+1 N + ˜en−1 N 4 , ∇˜en+1 N  = δt 4 {5(∇˜en+1 N , ∇˜en+1 N ) − (∇˜en−1 N , ∇˜en−1 N ) + (∇(˜en+1 N + ˜en−1 N ), ∇(˜en+1 N + ˜en−1 N ))}. Combining the above equations, we obtain ∥ˆen+1 N ∥2 N − ∥ˆen N ∥2 N + ∥˜en+1 N − ˆen N ∥2 N + δt2∥sn+1 N ∥2 N − 2δt(ˆen+1 N , sn+1 h )N + δt 4 {5(∇˜en+1 N , ˜en+1 N ) − (∇˜en−1 N , ∇˜en−1 N ) + (∇(˜en+1 N + ˜en−1 N ), ∇(˜en+1 N + ˜en−1 N ))} = −(R n+ 1 2 N + K n+ 1 2 N + T n+ 1 2 N + Q n+ 1 2 N , 2δt˜en+1 N ) −  N 3 2ΠN u(tn) − 1 2ΠN u(tn−1)  −N 3 2 un N − 1 2 un−1 N  , 2δt˜en+1 N  + 2δtϵ(˜en+1 N ). (4.22) We now bound the terms on the right-hand side as follows. 984 QING CHENG AND JIE SHEN Firstly, considering the final term in (4.22), using (4.13), we obtain 2δtϵ(˜en+1 N ) ≤ 2CδtN −l∥˜en+1 N ∥ ≤ 2CδtN −l∥˜en+1 N − ˆen N ∥ + 2CδtN −l∥ˆen N ∥ ≤ 8C2δt2N −2l + 1 8 ∥˜en+1 N − ˆen N ∥2 + δt∥ˆen N ∥2 + C2δtN −2l. Thanks to the KKT condition λn+1 N ≥ 0 and a ≤ ΠN u(tn+1) ≤ b, we find − 2δt(ˆen+1 N , sn+1 h )N = −2δt(un+1 N − ΠN u(tn+1), λn+1 N g′(un+1 N ))N + 2δt(λn+1 N , g(un+1 N ))N = −2δt(λn+1 N , −(un+1 N )2 + ab + 2ΠN u(tn+1)un+1 N − (a + b)ΠN u(tn+1))N = 2δt(λn+1 N , (ΠN u(tn+1) − un+1 N )2)N − 2δt(λn+1 N , (ΠN u(tn+1) − a)(ΠN u(tn+1) − b))N ≥ 0. On the other hand, since N (u) = f1(u) + ∇ · f2(u) with (3.1) and (3.2), we have  N 3 2ΠN u(tn) − 1 2ΠN u(tn−1)  − N 3 2 un N − 1 2 un−1 N  , 2δt˜en+1 N  =  f1 3 2ΠN u(tn) − 1 2ΠN u(tn−1)  − f1 3 2 un N − 1 2 un−1 N  , 2δt˜en+1 N  −  f2 3 2ΠN u(tn) − 1 2ΠN u(tn−1)  − f2 3 2 un N − 1 2 un−1 N  , 2δt∇˜en+1 N  . (4.23) The terms on the right-hand side of (4.23) can be bounded as follows:  f1 3 2ΠN u(tn) − 1 2ΠN u(tn−1)  − f1 3 2 un N − 1 2 un−1 N  , 2δt˜en+1 N  ≤ 2C1δt  |3 2 ˆen N − 1 2 ˆen−1 N |, ˜en+1 N  = 2C1δt  |3 2 ˆen N − 1 2 ˆen−1 N |, ˜en+1 N − ˆen N  + 2C1δt  |3 2 ˆen N − 1 2 ˆen−1 N |, ˆen N  ≤ 1 8 ∥˜en+1 N − ˆen N ∥2 + 8C2 1 δt2∥3 2 ˆen N − 1 2 ˆen−1 N ∥2 + C1δt  ∥ˆen N ∥2 + ∥3 2 ˆen N − 1 2 ˆen−1 N ∥2  . (4.24) Similarly,  f2 3 2ΠN u(tn) − 1 2ΠN u(tn−1)  − f2 3 2 un N − 1 2 un−1 N  , 2δt∇˜en+1 N  ≤ 2δtC2(|3 2 ˆen N − 1 2 ˆen−1 N |, ∇˜en+1 N ) ≤ 1 3 δt∥∇˜en+1 N ∥2 + 3δtC2 2 ∥3 2 ˆen N − 1 2 ˆen−1 N ∥2. (4.25) CONSTRUCTING BOUND PRESERVING SCHEMES 985 It remains to deal with the first term on the right-hand side of (4.22): − 2δt(R n+ 1 2 N + T n+ 1 2 N , ˜en+1 N ) = −2δt(R n+ 1 2 N + T n+ 1 2 N , ˜en+1 N − ˆen N) − 2δt(R n+ 1 2 N + T n+ 1 2 N , ˆen N) ≤ 4δt2∥R n+ 1 2 N ∥2 + 4δt2∥T n+ 1 2 N ∥2 + 1 4 ∥˜en+1 N − ˆen N ∥2 + δt(∥R n+ 1 2 N ∥2 + ∥T n+ 1 2 N ∥2 + ∥ˆen N ∥2) (4.26) and − 2δt(K n+1 N , ˜en+1 N ) = −2δt  ¯en+1 N − ¯en N δt , ˜en+1 N  = −2((I − ΠN)(u(tn+1) − u(tn)), ˜en+1 N − ˆen N + ˆen N) ≤ 2|((I − ΠN)(u(tn+1) − u(tn)), ˜en+1 N − ˆen N)| + 2|((I − ΠN)(u(tn+1) − u(tn)), ˆen N)| ≤ 8δt Z tn+1 tn ∥(I − ΠN)ut(t)∥2dt + 1 8 ∥˜en+1 N − ˆen N ∥2 + Z tn+1 tn ∥(I − ΠN)ut(t)∥2dt + δt∥ˆen N ∥2; (4.27) and  Q n+ 1 2 N , 2δt˜en+1 N  =  N (u(tn+ 1 2 )) − N 3 2ΠN u(tn) − 1 2ΠN u(tn−1)  , 2δt˜en+1 N  =  N (u(tn+ 1 2 )) − N 3 2 u(tn) − 1 2 u(tn−1)  , 2δt˜en+1 N  +  N 3 2 u(tn) − 1 2 u(tn−1)  − N 3 2ΠN u(tn) − 1 2ΠN u(tn−1)  , 2δt˜en+1 N  . (4.28) For the first term in right-hand side of (4.28), we have  N (u(tn+ 1 2 )) − N 3 2 u(tn) − 1 2 u(tn−1)  , 2δt˜en+1 N  =  f1(u(tn+ 1 2 )) − f1 3 2 u(tn) − 1 2 u(tn−1)  , 2δt˜en+1 N  −  f2(u(tn+ 1 2 )) − f2 3 2 u(tn) − 1 2 u(tn−1)  , 2δt∇˜en+1 N  . (4.29) Using assumptions (3.1)–(3.2) and Young’s inequality, we have  f1(u(tn+ 1 2 )) − f1 3 2 u(tn) − 1 2 u(tn−1)  , 2δt˜en+1 N  ≤ C1(|J n+ 1 2 N |, 2δt˜en+1 N ) = 2C1δt(|J n+ 1 2 N |, ˜en+1 N − ˆen N) + 2C1δt(|J n+ 1 2 N |, ˆen N) ≤ 1 4 ∥˜en+1 N − ˆen N ∥2 + 4C2 1 δt2∥J n+ 1 2 N ∥2 + δtC1(∥ˆen N ∥2 + ∥J n+ 1 2 N ∥2) (4.30) 986 QING CHENG AND JIE SHEN and  f2(u(tn+ 1 2 )) − f2 3 2 u(tn) − 1 2 u(tn−1)  , 2δt∇˜en+1 N  ≤ C2(|J n+ 1 2 N |, 2δt∇˜en+1 N ) ≤ 3δtC2 2 ∥J n+ 1 2 N ∥2 + 1 3 δt∥∇˜en+1 N ∥2. (4.31) For the second term in the right-hand side of (4.28), similar with (4.30) and (4.31), we have  N 3 2 u(tn) − 1 2 u(tn−1)  − N 3 2ΠN u(tn) − 1 2ΠN u(tn−1)  , 2δt˜en+1 N  ≤ C1  |3 2 ¯en N − 1 2 ¯en−1 N |, 2δt˜en+1 N  + C2  |3 2 ¯en N − 1 2 ¯en−1 N |, 2δt∇˜en+1 N  . (4.32) For the first term in the right-hand side of (4.32), using assumption (4.3), we have C1  |3 2 ¯en N − 1 2 ¯en−1 N |, 2δt˜en+1 N  ≤ 2C1δt  |3 2 ¯en N − 1 2 ¯en−1 N |, ˜en+1 N − ˆen N  + 2C1δt  |3 2 ¯en N − 1 2 ¯en−1 N |, ˆen N  ≤ CδtN −2l + 1 8 ∥˜en+1 N − ˆen N ∥2 + C1δt∥ˆen N ∥2. For the second term in the right-hand side of (4.32), we have C2  |3 2 ¯en N − 1 2 ¯en−1 N |, 2δt∇˜en+1 N  ≤ 1 3 δt∥∇˜en+1 N ∥2 + 3δtC2 2 ∥3 2 ¯en N − 1 2 ¯en−1 N ∥2 ≤ 1 3 δt∥∇˜en+1 N ∥2 + CδtN −2l. Combining the above relations into (4.22) and using (4.5), we arrive at ∥ˆen+1 N ∥2 N − ∥ˆen N ∥2 N + δt2∥sn+1 N ∥2 N + δt 4 {(∇˜en+1 N , ∇˜en+1 N ) − (∇˜en−1 N , ∇˜en−1 N ) + (∇(˜en+1 N + ˜en−1 N ), ∇(˜en+1 N + ˜en−1 N ))} ≤ (8C2 1 δt2 + C1δt + 3δtC2 2) 3 2 ˆen N − 1 2 ˆen−1 N 2 + 3(C1 + 1)δt∥ˆen N ∥2 N + (4δt2 + δt)∥R n+ 1 2 N ∥2 + (4δt2 + δt)∥T n+ 1 2 N ∥2 + (4C2 1 δt2 + δtC1 + 3δtC2 2)∥J n+ 1 2 N ∥2 + 8δt Z tn+1 tn ∥(I − ΠN)ut(t)∥2dt + Z tn+1 tn ∥(I − ΠN)ut(t)∥2dt + (C2 + 2C + 8C2δt)δtN −2l ∀n ≥ 1. (4.33) CONSTRUCTING BOUND PRESERVING SCHEMES 987 For n = 0, a similar estimate can be easily derived. Summing up (4.33) from n = 1 to n = m − 1 and its corresponding inequality at n = 0, we obtain ∥ˆem N ∥2 N + δt2 m−1X n=1 ∥sn+1 N ∥2 N + δt 4 ∥∇˜em N ∥2 + δt 4 ∥∇˜em−1 N ∥2 + δt m−1X n=1 ∥∇(˜en+1 N + ˜en−1 N )∥2 ≤ ∥ˆe0 N ∥2 N + δt 4 ∥∇˜e0 N ∥2 + δt 4 ∥∇˜e1 N ∥2 + m−1X n=0 ( (8C2 1 δt2 + C1δt + 3δtC2 2) 3 2 ˆen N − 1 2 ˆen−1 N 2 + 3(C1 + 1)δt∥ˆen N ∥2 + (4δt2 + δt)∥R n+ 1 2 N ∥2 + (4δt2 + δt)∥T n+ 1 2 N ∥2 +(4C2 1 δt2 + δtC1 + 3δtC2 2)∥J n+ 1 2 N ∥2 o + 8δt Z T 0 ∥(I − ΠN)ut(t)∥2dt + Z T 0 ∥(I − ΠN)ut(t)∥2dt + (C2 + 2C + 8C2δt)T N−2l. (4.34) For the term in (4.34) with l ≥ 0, we have Z T 0 ∥(I − ΠN)ut(t)∥2dt ≤ CN −2l∥ut∥2 L2(0,T;H l), ∥T n+ 1 2 N ∥2 ≤ Cδt3 Z tn+1 tn ∥utt∥2 H 2 dt, ∥J n+ 1 2 N ∥2 ≤ Cδt3 Z tn+1 tn ∥utt∥2dt, ∥R n+ 1 2 N ∥2 ≤ Cδt3 Z tn+1 tn ∥uttt∥2dt. Finally, applying the discrete Gronwall lemmas (Lemma 3.1) to the above after drop- ping some unnecessary positive terms, using the norm equivalence (4.5) and the tri- angular inequality, we obtain the desired result. Remark 4.2. By following exactly the same procedure, we can also derive a sim- ilar error estimate if we use a hybrid Fourier spectral method instead of the hybrid Legendre spectral method. 5. Some typical applications. The bound preserving schemes that we con- structed and studied in previous sections can be applied to a large class of PDEs which are bound preserving. We describe applications to several typical examples below. 5.1. Allen–Cahn equation. Consider the Allen–Cahn equation [1] (5.1) ut − ∆u + 1 ϵ2 u(u2 − 1) = 0 with homogeneous Dirichlet, homogeneous Neumann, or periodic boundary condition and where ϵ is a positive constant. It is well known that the above equation satisfies the maximum principle; in particular, if the values of the initial condition u0 is in [−1, 1], the solution of the Allen–Cahn equation (5.1) will stay within the range [−1, 1]. Setting L = −∆ + 1 ϵ2 and N (u) = f1(u) = 1 ϵ2 u(u2 − 1) − 1 ϵ2 , a second-order scheme based on the modified Crank–Nicholson for (5.1) is ˜un+1 − un δt + L 3 4 ˜un+1 + 1 4 ˜un−1  + N 3 2 un − 1 2 un−1  = λng′(un)(5.2) 988 QING CHENG AND JIE SHEN and un+1 − ˜un+1 δt = 1 2(λn+1g′(un+1) − λng′(un)), λn+1 ≥ 0, g (un+1) ≥ 0, λ n+1g(un+1) = 0, (5.3) where g(u) = (1 + u)(1 − u). Similarly, we have its cutoff version: ˜un+1 − un δt + L 3 4 ˜un+1 + 1 4 ˜un−1  + N 3 2 un − 1 2 un−1  = 0(5.4) and un+1 − ˜un+1 δt = λn+1g′(un+1), λn+1 ≥ 0, g (un+1) ≥ 0, λ n+1g(un+1) = 0. (5.5) Since f1(u) = 0 and f2(u) is certainly locally Lipschitz and satisfies (3.1)–(3.4), results which are similar to those in Theorems 3.2 and 4.1 can be derived for the above schemes. 5.2. Cahn–Hilliard equation with variable mobility . Consider the Cahn– Hilliard equation [3] with a logarithmic potential: ut = ∇ · (M(u)∇µ), µ = −ϵ2∆u + ln(1 + u) − ln(1 − u) − θ0u, (5.6) where µ is the chemical potential and M(u) = 1 − u2 > 0 is the mobility function. θ0, ϵ are two positive constants. u and µ are prescribed with homogeneous Neumann or periodic boundary condition. The Cahn–Hilliard equation (5.6) is a gradient flow which takes on the form (5.7) ut = ∇ ·  M(u)∇ δE δu  with the total free energy (5.8) E(u) = Z Ω (1 + u)ln(1 + u) + (1 − u)ln(1 − u) − θ0 2 u2 + ϵ2 2 |∇u|2dx. With a given initial condition ∥u0∥L∞ < 1 − γ for a constant γ ∈ (0, 1), due to the singular logarithmic potential, the solution of Cahn–Hilliard equation (5.6) is expected to remain in the range ( −1 +δ, 1 − δ) for some δ ∈ (0, 1) [10, 16]. Note that (5.6) is a fourth-order equation written as a system of two coupled second-order equations, so the approach for constructing bound preserving schemes introduced in section 2 can be directly applied to (5.6). For example, the second-order version of (2.5)–(2.6) for (5.6) is as follows: 3˜un+1 − 4un + un−1 2δt = ∇ · (M(2un − un−1)∇µn+1) + λng′(un), µn+1 = −ϵ2∆un+1 + ln(1 + 2un − un−1) − ln(1 − 2un + un−1) − θ0(2un − un−1) (5.9) CONSTRUCTING BOUND PRESERVING SCHEMES 989 and 3un+1 − 3˜un+1 2δt = λn+1g′(un+1) − λng′(un), λn+1 ≥ 0, g (un+1) ≥ 0, λ n+1g(un+1) = 0, (5.10) where g(u) = (u + 1 − δ)(1 − δ − u). Notice that g(u) = (u + 1 − δ)(1 − δ − u) > 0 is equivalent to −1 + δ ≤ u ≤ 1 − δ. The system (5.6) also preserves mass. Indeed, integrating the first equation in (5.6) over Ω, we obtain ∂t R Ω udx = 0. As described in section 2, we can also easily modify the scheme (5.9)–(5.10) to construct a bound and mass preserving scheme for (5.6). While the stability results in section 3 was derived only for a second-order equation for the sake of simplicity, since the nonlinear term N (u) = f2(u) = ln(1 +u) − ln(1 − u)−θ0u is locally Lipschitz for u ∈ (−1, 1) and satisfies (3.1)–(3.4), a similar procedure can be used to derive a stability result which is similar to Theorem 3.2. However, the error analysis in section 4 can not be easily extended to this case. 5.3. F okker–Planck equation. Consider the following Fokker–Planck equa- tion: (5.11) ∂tu = ∂x(xu(1 − u) + ∂xu) with no flux or periodic boundary conditions, which models the relaxation of fermion and boson gases taking on the form described in [5, 29]. The long time asymptotics of the one dimensional model has been studied in [5]. The Fokker–Planck equation (5.11) can be interpreted as a gradient flow: (5.12) ∂tu = ∂x  u(1 − u)∂x δE δu  , with E(u) being the entropy functional (5.13) E(u) = Z Ω  x2 2 u + u log(u) + (1 − u) log(1 − u)  dx. Hence, the solution of (5.11) is expected to take values in [0 , 1]. The approach for constructing bound preserving schemes introduced in section 2 can be directly applied to (5.11). For example, letting Lu = −∂xxu and N (u) = ∂xf2(u) = ∂x(−xu(1−u)), a second-order version of (2.5)–(2.6) for (5.11) is as follows: 3un+1 − 4un + un−1 2δt = ∂x(x(2un − un−1)(1 − 2un + un−1) + ∂xun+1) + λng′(un) (5.14) and 3˜un+1 − 3˜un+1 2δt = λn+1g′(un+1) − λng′(un), λn+1 ≥ 0, g (un+1) ≥ 0, λ n+1g(un+1) = 0, (5.15) where g(u) = u(1 − u). 990 QING CHENG AND JIE SHEN We observe that the Fokker–Plank equation (5.11) with no flux or periodic bound- ary conditions conserves mass, i.e., ∂t R Ω udx = 0. The above scheme can be easily modified to be mass conserving as follows: 3un+1 − 4un + un−1 2δt = ∂x(x(2un − un−1)(1 − 2un + un−1) + ∂xun+1) + λng′(un) (5.16) and 3un+1 − 3˜un+1 2δt = λn+1g′(un+1) − λng′(un) + ξn+1, λn+1 ≥ 0, g (un+1) ≥ 0, λ n+1g(un+1) = 0, (un+1, 1) = (un, 1). (5.17) It is clear that f2(u) = −xu(1 − u) is locally Lipschitz and satisfies (3.1)–(3.2) with f1(u) = 0. Therefore, a similar result as in Theorem 3.2 can be derived for the scheme (5.14)–(5.15) and (5.16)–(5.17). 6. Numerical results. In this section, we will present various numerical ex- periments to validate the proposed bound preserving schemes. For the examples presented below, if not specified, by default we assume periodic boundary conditions in Ω = [0, 2π)d and use a Fourier spectral method for spatial approximation. 6.1. Allen–Cahn equation. The first example is the Allen–Cahn equation (5.1). 6.1.1. Accuracy test. We first verify the convergence rate for the scheme (5.2)– (5.3) and its first-order version for (2.1) in the domain Ω = [0 , 2π]2 with the initial condition (6.1) u(x, y, 0) = tanh 1 − p (x − π)2 + (y − π)2 √ 2ϵ ! . We use 1282 uniform collocation points in [0 , 2π]2, i.e., Σ N = {xjk = ( j 2π , k 2π ); j, k = 0, 1, . . . ,128} so that the spatial discretization error is negligible compared with the time discretization error. We shall test their accuracy as approximations of (2.1) and (1.1), respectively. First, we consider these schemes as approximations of (2.1) and use the reference solution computed by (5.2)–(5.3) with a very small time step δt = 10−6. We observe from Table 1 that the scheme (5.2)–(5.3) (resp., its first-order version) achieves a second-order (resp., first-order) convergence rate in time. The scheme (5.4)–(5.5) only achieves first-order convergence in time. We plot in Figure 1 the profile of numerical solution u and the Lagrange multiplier λ at T = 0.001. Table 1 Accuracy test for approximations to (2.1): The L∞ errors at t = 0.01 with ϵ2 = 0.001. δt First-order version Order (5.2)–(5.3) Order (5.4)–(5.5) Order of (5.2)–(5.3) 4 × 10−5 4.89E(−3) − 3.56E(−4) − 1.36E(−3) − 2 × 10−5 2.47E(−3) 0.98 9.50E(−5) 1.90 6.75E(−4) 1.01 1 × 10−5 1.24E(−3) 0.99 2.31E(−5) 2.04 3.24E(−4) 1.06 5 × 10−6 6.22E(−4) 0.99 5.84E(−6) 1.98 1.44E(−4) 1.17 2.5 × 10−6 3.11E(−4) 1.00 1.25E(−6) 2.22 5.43E(−5) 1.40 CONSTRUCTING BOUND PRESERVING SCHEMES 991 Fig. 1 . Numerical solution u and Lagrange multiplier λ at T = 0 .001 computed by scheme (2.5)–(2.6) with k = 2 and δt = 10−6. Table 2 Accuracy test for approximations to (1.1): The L∞ errors at t = 0.01 with ϵ2 = 0.001. δt (5.2)–(5.3) Order (5.4)–(5.5) Order 4 × 10−5 1.05E(−4) − 1.05E(−4) − 2 × 10−5 4.25E(−5) 1.30 4.25E(−5) 1.30 1 × 10−5 1.00E(−5) 2.08 1.00E(−5) 2.08 5 × 10−6 2.76E(−6) 1.86 2.76E(−6) 1.86 2.5 × 10−6 6.29E(−7) 2.13 6.29E(−7) 2.13 We then consider these schemes as approximations of (1.1) and use the refer- ence solution as a highly accurate approximation to the original PDE (1.1) which is computed by a standard semi-implicit scheme with δt = 10 −8. We compare the ac- curacy between the scheme (5.2)–(5.3) and its cutoff version (5.4)–(5.5). The results are reported in Table 2. We observe that both schemes have essentially the same accuracy and are second-order in time, which is consistent with the error estimates in Theorem 4.1. The results reported in Tables 1 and 2 are consistent with Remark 2.1. 6.1.2. Comparison with a usual semi-implicit scheme. We consider the Allen–Cahn equation with ϵ2 = 0.001 and the initial condition u(x, y, 0) = tanh 1 − p (x − π)2 + (y − 3π/2)2 √ 2ϵ ! + tanh 1 − p (x − π)2 + (y − 3π/4)2 √ 2ϵ ! + 1. (6.2) We use the scheme (5.4)–(5.5) and its usual semi-implicit version: un+1 − un δt + L 3 4 un+1 + 1 4 un−1  + N 3 2 un − 1 2 un−1  = 0(6.3) with time step δt = 8 × 10−4 and 1282 Fourier modes. In Figure 2, we plot the numerical solution u at T = 0.08 and T = 0.4 using the semi-implicit scheme (6.3) and the bound preserving scheme (5.4)–(5.5). It is observed that the numerical solution by the bound preserving scheme stays within [−1, 1], while that by the semi-implicit scheme (6.3) violates this property. The Lagrange multiplier 992 QING CHENG AND JIE SHEN (a) u at T = 0.08 by (6.3). (b) u at T = 0 .08 by (5.4)- (5.5). (c) λ at T = 0.08. (d) u at T = 0.4 by (6.3). (e) u at T = 0.4 (5.4)-(5.5). (f) λ at T = 0.4. Fig. 2 . (a) and (d): Numerical solutions at T = 0 .08, 0.4 computed by (6.3). (b)–(c) and (e)–(f): numerical solutions and Lagrange multiplier λ at T = 0.08, 0.4 computed by (5.4)–(5.5). Fig. 3 . Evolution of max{u} and min{u} with respect to time for the semi-implicit scheme (6.3) and the bound preserving scheme (5.4)–(5.5). λ by the bound preserving scheme (5.4)–(5.5) is also shown in Figure 2. In Figure 3, we plot the evolution of max {u} and min{u} by both schemes. 6.2. Porous medium equation. For our bound preserving schemes, the L∞ stability is guaranteed without any time step restriction; we shall test the performance of our bound preserving schemes in accuracy for a porous medium equation [31] with larger time steps. We consider the porous medium equation which takes on the form (6.4) ut = ∆um = m∇ · (um−1∇u) CONSTRUCTING BOUND PRESERVING SCHEMES 993 Fig. 4. L2 errors with different time steps for porous medium equation (6.4) using a second- order bound preserving scheme. with Dirichlet or Neumann boundary conditions. m ≥ 1 is a physical parameter. For the predictor step, we construct the following scheme: (6.5) 3˜un+1 − 4un + un−1 2δt = m∇ · ((un+1,∗)m−1∇˜un+1) + λng′(un), where (6.6) un+1,∗ = ( 2un − un−1 if un ≥ un−1, 1 2/un−1/un−1 if un < u n−1. The correction step can be constructed as (5.15). The exact solution of the porous medium equation (6.4) in the Barenblatt form [31] is (6.7) u(x, t) = 1 tα 0  C − α m − 1 2m x2 t2α 0  1 m−1 + , where f+ = max{f, 0}, α = 1 m+1, C = 1, and t0 = t + 1. We consider the Dirichlet boundary condition and use the Legendre spectral method [28] with N = 128 spectral collocations in domain [ −5, 5]. The initial con- dition is set to be u0(x) = u(x, t)|t=0 in (6.7). In Figure 4, we depict L2 errors for porous medium equation (6.4) with m = 2 using various time steps. It is observed that time steps δt = 10−2, 10−3, 10−4 can be allowed to obtain good accuracy. If time step δt = 10−1 is chosen, the error will be extremely large, but the bound preserving scheme is still stable. 6.3. Cahn–Hilliard equation. We now consider the Cahn–Hilliard equation (5.6) with the initial condition (6.8) u0(x, y) = 0.2 + 0.05 rand(x, y), where function rand( x, y) is a uniformed distributed random function with values in (−1, 1). We set θ0 = 5 and ϵ = 0.1 and use δt = 10 −5 with 128 2 Fourier modes in 994 QING CHENG AND JIE SHEN Fig. 5. The evolution of maxi,j un i,j and mini,j un i,j with respect to time computed by the scheme (6.9) up to t ≈ .025 and by the scheme (5.9)–(5.10) up to t = 0.1. (a) t = 0.001 (b) t = 0.02 (c) t = 0.05 (d) t = 0.1 Fig. 6. Numerical solutions of the Cahn–Hilliard equation at t = 0.001, 0.02, 0.05, 0.1 computed by the scheme (5.9)–(5.10). (0, 2π)2. We first use the following semi-implicit scheme: 3un+1 − 4un + un−1 2δt = ∇ · (M(2un − un−1)∇µn+1), µn+1 = −ϵ2∆un+1 + ln(1 + 2un − un−1) − ln(1 − 2un + un−1) − θ0(2un − un−1) (6.9) and found that it blows up at t ≈ .025 when ∥un∥l∞ > 1 due to the singular potential. We then use the bound-preserving scheme (5.9)–(5.10) with δ = 0.01 to compute up to t = 0.1 and plot in Figure 5 the evolution of max z∈ΣN un(z) and minz∈ΣN un+1(z) by the scheme (6.9) up to t ≈ .025, and by the scheme (5.9)–(5.10) up to t = 0.1. In Figure 6, we plot the numerical solutions at various times which depict the coarsening process. 6.4. F okker–Planck equation. As the final example, we consider the Fokker- Planck equation (5.11) with periodic boundary condition whose solution remains in [0, 1] and is mass preserving. We present below simulations of (5.11) on the domain (−2π, 2π) with the initial condition u(x, 0) = −e− (x−1)2 0.4 using three second-order schemes: a usual semi-implicit scheme 3un+1 − 4un + un−1 2δt = ∂x(x(2un − un−1)(1 − 2un + un−1) + ∂xun+1);(6.10) CONSTRUCTING BOUND PRESERVING SCHEMES 995 (a) By the bound-preserving scheme. (b) By the semi-implicit scheme. (c) Evolutions of minimum values (d) λ at t = 0.01 Fig. 7 . (a)–(b): Numerical solutions computed with 32 Fourier modes plotted on the 256 uniform grids using (5.14)–(5.15) and (6.10). (c): Evolutions of minimal values using (5.14)–(5.15) and (6.10). (d): Lagrange multiplier lambda at t = 0.01 using (5.14)–(5.15). the bound preserving scheme (5.14)–(5.15); and the mass conservative, bound pre- serving scheme (5.16)–(5.17). In Figure 7, we plot the numerical results using the semi-implicit scheme (6.10) and the bound preserving scheme (5.14)–(5.15) with 32 Fourier modes and δt = 10−4. We observe that while the two numerical solutions look very similar, the minimum value by the semi-implicit scheme (6.10) does become negative in a short period at the beginning, while the numerical solutions by (5.14)–(5.15) remain in [0 , 1]. In Figure 8, we plot the numerical results using the bound preserving scheme (5.14)–(5.15) and the mass conservative, bound preserving scheme (5.16)–(5.17) with 32 Fourier modes and δt = 10 −4. We observe that (5.14)–(5.15) cannot preserve mass, while (5.16)–(5.17) preserves mass exactly. Only a few iterations are needed to compute the Lagrange multiplier ξ at each time step by using the mass conservative, bound-preserving scheme (5.16)–(5.17). 7. Concluding remarks. We constructed efficient and accurate bound and/or mass preserving schemes for a class of semilinear and quasi-linear parabolic equations using the Lagrange multiplier approach. 996 QING CHENG AND JIE SHEN (a) Evolution of mass (b) Solution profiles: u at t = 0.01, 0.1, 0.4. (c) Iteration number Fig. 8. (a): Evolution of mass by (5.14)–(5.15) and (5.16)–(5.17). (b): Solution profiles by (5.16)–(5.17). (c): Iteration numbers for solving ξn+1 at each time step of (5.16)–(5.17). First, we constructed a class of multistep IMEX schemes (2.5)–(2.6) for the semi- discrete problem (2.1) with a Lagrange multiplier to enforce bound preserving, which is an approximation to the original PDE (1.1). Hence, the scheme (2.5)–(2.6) is a kth- order approximation in time for both (2.1) and (1.1). In particular, (2.5)–(2.6) can be very useful if one is interested in the discrete problem (2.1) without a background PDE. Then, we pointed out in Remark 2.1 that by dropping out the termBk−1(λn hg′(un h)) in (2.5) and (2.6), we recover the usual cutoff scheme which is a kth-order approx- imation in time for (1.1) but only a first-order approximation in time for (2.1). Thus, our presentation provided an alternative interpretation of the cutoff approach and, moreover, allowed us to construct new cutoff IMEX schemes with mass conservation. We also established some stability results involving norms with derivatives un- der a general setting, and derived optimal error estimates for a second-order bound preserving scheme with a hybrid spectral discretization in space. Finally, we applied our approach to several typical PDEs which preserve bound and/or mass, and presented ample numerical results to validate our approach. The CONSTRUCTING BOUND PRESERVING SCHEMES 997 approach presented in this paper is quite general and can be used to develop bound preserving schemes for other bound preserving PDEs such as the Keller-Segel equa- tions [21]. REFERENCES [1] S. M. Allen and J. W. Cahn , A microscopic theory for antiphase boundary motion and its application to antiphase domain coarsening , Acta Metallurg., 27 (1979), pp. 1085– 1095. [2] M. Bergounioux, K. Ito, and K. Kunisch , Primal-dual strategy for constrained optimal control problems, SIAM J. Control Optim., 37 (1999), pp. 1176–1194. [3] J. W. Cahn and J. E. Hilliard, Free energy of a nonuniform system. I. Interfacial free energy, J. Chem. Phys., 28 (1958), pp. 258–267. [4] C. Canuto, M. Y. Hussaini, A. Quarteroni, and A. Thomas, Jr., Spectral Methods in Fluid Dynamics, Springer Science & Business Media, New York, 2012. [5] J. A. Carrillo, J. Rosado, and F. Salvarani , 1 D nonlinear Fokker–Planck equations for fermions and bosons , Appl. Math. Lett., 21 (2008), pp. 148–154. [6] W. Chen, C. Wang, X. Wang, and S. M. Wise, Positivity-preserving, energy stable numerical schemes for the Cahn-Hilliard equation with logarithmic potential , J. Comput. Phys. X, 3 (2019), 100031, https://doi.org/10.1016/j.jcpx.2019.100031. [7] Q. Cheng and J. Shen, A new Lagrange multiplier approach for constructing structure preserv- ing schemes, I. Positivity preserving , Comput. Methods Appl. Mech. Engrg., 391 (2022), 114585. [8] P. G. Ciarlet, Discrete maximum principle for finite-difference operators, Aequationes Math., 4 (1970), pp. 266–268. [9] P. G. Ciarlet and P.-A. Raviart, Maximum principle and uniform convergence for the finite element method, Comput. Methods Appl. Mech. Engrg., 2 (1973), pp. 17–31. [10] A. Debussche and L. Dettori, On the Cahn-Hilliard equation with a logarithmic free energy , Nonlinear Anal., 24 (1995), pp. 1491–1514. [11] L. Dong, C. Wang, S. M. Wise, and Z. Zhang, A positivity-preserving, energy stable scheme for a ternary Cahn-Hilliard system with the singular interfacial parameters , J. Comput. Phys., 442 (2021), 110451, https://doi.org/10.1016/j.jcp.2021.110451. [12] L. Dong, C. Wang, H. Zhang, and Z. Zhang, A positivity-preserving, energy stable and con- vergent numerical scheme for the Cahn-Hilliard equation with a Flory-Huggins-deGennes energy, Commun. Math. Sci., 17 (2019), pp. 921–939, https://doi.org/10.4310/CMS.2019. v17.n4.a3. [13] J. Droniou and C. L. Potier, Construction and convergence study of schemes preserving the elliptic local maximum principle , SIAM J. Numer. Anal., 49 (2011), pp. 459–490. [14] Q. Du, L. Ju, X. Li, and Z. Qiao, Maximum principle preserving exponential time differencing schemes for the nonlocal Allen–Cahn equation , SIAM J. Numer. Anal., 57 (2019), pp. 875– 898. [15] Q. Du, L. Ju, X. Li, and Z. Qiao, Maximum bound principles for a class of semilinear parabolic equations and exponential time-differencing schemes , SIAM Rev., 63 (2021), pp. 317–359, https://doi.org/10.1137/19M1243750. [16] C. M. Elliott and H. Garcke , On the Cahn–Hilliard equation with degenerate mobility , SIAM J. Math. Anal., 27 (1996), pp. 404–423. [17] F. Facchinei and J.-S. Pang , Finite-Dimensional Variational Inequalities and Complemen- tarity Problems, Springer Science & Business Media, New York, 2007. [18] S. Gottlieb and C. Wang , Stability and convergence analysis of fully discrete Fourier col- location spectral method for 3-D viscous Burgers’ equation , J. Sci. Comput., 53 (2012), pp. 102–128. [19] P. T. Harker and J.-S. Pang , Finite-dimensional variational inequality and nonlinear com- plementarity problems: A survey of theory, algorithms and applications , Math. Program., 48 (1990), pp. 161–220. [20] K. Ito and K. Kunisch , Lagrange Multiplier Approach to Variational Problems and Applica- tions, SIAM, Philadelphia, 2008. [21] E. F. Keller and L. A. Segel , Initiation of slime mold aggregation viewed as an instability , J. Theoret. Biol., 26 (1970), pp. 399–415, https://doi.org/10.1016/0022-5193(70)90092-5. [22] M. Li, Y. Cheng, J. Shen, and X. Zhang , A bound-preserving high order scheme for variable density incompressible Navier-Stokes equations , J. Comput. Phys., 425 (2021), 109906, https://doi.org/10.1016/j.jcp.2020.109906. 998 QING CHENG AND JIE SHEN [23] H.-l. Liao, T. Tang, and T. Zhou, A second-order and nonuniform time-stepping maximum- principle preserving scheme for time-fractional Allen-Cahn equations , J. Comput. Phys., 414 (2020), 109473. [24] H. Liu and H. Yu , Maximum-principle-satisfying third order discontinuous Galerkin schemes for Fokker–Planck equations , SIAM J. Sci. Comput., 36 (2014), pp. A2296–A2325. [25] C. Lu, W. Huang, and E. S. Van Vleck , The cutoff method for the numerical computation of nonnegative solutions of parabolic PDEs with application to anisotropic diffusion and lubrication-type equations, J. Computat. Phys., 242 (2013), pp. 24–36, https://doi.org/10. 1016/j.jcp.2013.01.052. [26] H. Risken , Fokker-Planck equation, in The Fokker-Planck Equation, Springer, Cham, 1996, pp. 63–95. [27] J. Shen , Long time stability and convergence for fully discrete nonlinear Galerkin methods , Appl. Anal., 38 (1990), pp. 201–229, https://doi.org/10.1080/00036819008839963. [28] J. Shen, T. Tang, and L.-L. Wang, Spectral Methods: Algorithms, Analysis and Applications, Springer Science & Business Media, New York, 2011. [29] Z. Sun, J. A. Carrillo, and C.-W. Shu , A discontinuous Galerkin method for nonlinear parabolic equations and gradient flow problems with interaction potentials , J. Comput. Phys., 352 (2018), pp. 76–104. [30] J. J. van der Vegt, Y. Xia, and Y. Xu, Positivity preserving limiters for time-implicit higher order accurate discontinuous Galerkin discretizations , SIAM J. Sci. Comput., 41 (2019), pp. A2037–A2063. [31] J. L. V´azquez, The Porous Medium Equation: Mathematical Theory, Oxford University Press, Oxford, UK, 2006. [32] H. Zhou, Z. Sheng, and G. Yuan , Physical-bound-preserving finite volume methods for the Nagumo equation on distorted meshes , Comput. Math. Appl., 77 (2019), pp. 1055–1070, https://doi.org/10.1016/j.camwa.2018.10.038.

采集于

查看校方原文 ↗