EIT Agent
登录
← 校园网页目录

校园网页 · 学校官网

Bound preserving and energy dissipative schemes for porous medium equation

Journal of Computational Physics 410 (2020) 109378 Contents lists available at ScienceDirect Journal of Computational Physics www.elsevier.com/locate/jcp Bound preserving and energy dissipative schemes for porous medium equation ✩ Yiqi Gu, Jie Shen∗ Department of Mathematics, Purdue University, 150 N. University Street, West Lafayette, IN 47907-2067, United States of America a r t i c l e i n f o a b s t r a c t Article history: Received 7 November 2019 Received in revised form 13 February 2020 Accepted 1 March 2020 Available online 5 March 2020 Keywords: Porous medium equation Wasserstein gradient flow Bound preserving Degenerate PDEs Energy stability A class of bound preserving and energy dissipative schemes for the porous medium equation are constructed in this paper. The schemes are based on a positivity preserving approach for Wasserstein gradient flow and a perturbation technique, and are shown to be uniquely solvable, bound preserving, and in the first-order case, also energy dissipative. Ample numerical results are presented to validate the theoretical results and demonstrate the effectiveness of the new schemes. © 2020 Elsevier Inc. All rights reserved. 1. Introduction The porous medium equation (PME), ft = /Delta1( f m) with m >1, arises in the study of diffusion of gas through a porous medium under the action of the Darcy law [12]. It is widely used in many applications, such as flow through porous media, heat and mass transfer or combustion theory, population dynamics and tumor growth models, etc. (see [30,14,17] and the references therein). The PME has several distinct properties, including bound preserving, degeneracy and finite speed propagation. We refer to [25,26]f o r a summary of its analytic properties. There are many challenges in solving the PME numerically. A good numerical scheme should preserve, as much as possible, essential properties satisfied by the PME, in particular: (i) bound preserving which implies in particular positivity preserving; and (ii) energy dissipation. It should also be able to accurately deal with degeneracy and finite speed propagation which means the solution remains to be zero in certain region for some time if it initially has a compact support. The degenerate region in which f = 0w i l l impede the usage of many traditional parabolic schemes. Besides, for fractional powers m, the numerical solution at any time should be non-negative to avoid producing complex values. Thus, it is critical that a numerical scheme for PME should preserve bound. Many numerical methods have been proposed for the PME, such as Galerkin methods with finite element approximation [16,21,8,28,9,31,10,27,15], linearization schemes [24,18,20,13,11], perturbation approach [19,7], and particle schemes [29,6]. However, to the best of authors’ knowledge, there is no numerical scheme which is provable bound preserving and energy dissipative. It should be noted that the PME, along with Keller-Segel equation, Poisson-Nernst-Planck (PNP) equation and many other nonlinear parabolic equations, can be viewed as a Wasserstein gradient flow [1] whose nonlinear structure guarantees that ✩ This work is partially supported by NSF DMS-1720442 and AFOSR FA9550-16-1-0102. * Corresponding author. E-mail addresses:gu129@purdue.edu (Y. Gu), shen7@purdue.edu (J. Shen). https://doi.org/10.1016/j.jcp.2020.109378 0021-9991/© 2020 Elsevier Inc. All rights reserved. 2 Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 (i) the solution will remain positive if it is initially so, and (ii) the solution is energy (entropy) dissipative. Therefore, a key ingredient in designing numerical schemes which are positivity preserving and energy dissipative is to preserve the Wasserstein structure in the discrete setting. This approach has been used recently to construct bound preserving and energy dissipative schemes for the Keller-Segel equation in [23] and for the PNP equation [22]. However, to deal with PME, there are two additional essential difficulties which are not present in the Keller-Segel and PNP equations: (i) bound preserving, and (ii) degeneracy. The fact that the solution may vanish in certain region prevents a direct application of the approach used in [23,22]. An effective approach to overcome the degeneracy is to introduce a perturbation [19,7]. More precisely, the initial value is elevated by a small perturbation ε>0s u c h that the initial condition in the whole domain is positive, which will also guarantee the solution remain to be positive for all time. In this case, the approximation error will depend on the discretization errors as well as perturbation parameter. A fully implicit backward Euler scheme is considered in [19], and the L2 error is estimated to be of order (τ+ ε2)1/2. In this paper, we shall combine the approach developed in [23,22]f o r Wasserstein gradient flows and the perturbation approach in [19,7]t o construct a class of nonlinear schemes, both semi-discrete in time and fully discrete with a finite- difference in space, which are uniquely solvable, bound preserving, and in the first-order case, also energy dissipative. Moreover, the schemes at each time step can be interpreted as Euler Lagrangian equations of convex functionals, so they can be efficiently solved by a Newton type iterative method with just a few iterations. We believe that our schemes are the first which is bound preserving as well as energy (entropy) dissipative. The organization of this paper is as follows. In Section 2, we introduce the Dirichlet and Neumann problem of PME, and present the perturbation technique. In Section 3, we construct semi-discrete schemes and prove their solvability, uniform boundedness, mass decrease, energy dissipation and H1 stability. In Section 4, we consider fully discrete schemes with finite-difference in space and establish their properties. In Section 5, we present ample numerical experiments in 1-D and 2-D to validate our schemes. We conclude with some remarks in the final section. 2. The porous medium equation We describe below the Dirichlet problem of the PME that we shall consider in this paper and recall some of mathematical properties. 2.1. The Dirichlet problem We consider the following PME ∂f ∂t = /Delta1( f m), in Q T := /Omega1× (0, T), (2.1) with initial condition f (x,0) = f0(x), in /Omega1, (2.2) and one of the boundary conditions { Dirichlet B.C.: f (x, t) =0, Neumann B.C.: ∂ ∂ν f (x, t) =0, in /Sigma1T := ∂/Omega1×[0, T], (2.3) where m >1i s a constant power, and ν is the outer normal to the boundary ∂/Omega1. The following existence result is well known (see, e.g., [26]): Theorem 2.1. Assume /Omega1is a C2,α domain, and f0 is bounded in Cα(/Omega1), then the PME (2.1)-(2.2) with Dirichlet B.C. admits a solution fi n C2,1(Q T ). Furthermore, if f0 is C∞ , then so is f. Same results apply to the Neumann problem. However, the uniqueness of solutions is not guaranteed, since /Delta1( f m) = m∇· ( f m−1∇ f ), implying possible degeneracy where f0 vanishes. The issue can be solved by introducing the following non-degenerate assumption on the data 0 < m1 ≤ f0(x) ≤ m0, ∀x ∈ /Omega1. (2.4) Under the above assumption, the Dirichlet or Neumann problem is uniquely solvable and the solution f is uniformly bounded above and below as the data, i.e. m1 < f (x, t)< m0, ∀(x, t) ∈ Q T . (2.5) However, in many applications of interest, we can only assume that the initial data is bounded and non-negative, i.e. 0 ≤ f0(x) ≤ m0, ∀x ∈ /Omega1. (2.6) In this paper, we always assume (2.6) holds, and, for simplicity, /Omega1is sufficiently smooth (e.g. a C2,α domain). Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 3 2.2. Some properties The PME (2.1)-(2.3)i s energy dissipative under the hypothesis (2.6), and is mass decreasing for Dirichlet boundary condition and mass conservative for Neumann boundary condition. • Taking the inner product of (2.1)w i t h f m and integrating by parts, we obtain energy dissipation d dt ˆ /Omega1 f m+1dx =− (m +1) ˆ /Omega1 |∇( f m)|2dx ≤ 0. (2.7) • For Dirichlet B.C., integrating (2.1)o v e r /Omega1, noticing that ˛ ∂/Omega1 ∂ ∂n( f m)ds = ˛ ∂/Omega1 lim |n|→ 0 f m(xs) − f m(xs − n) |n| ds =− ˛ ∂/Omega1 lim |n|→ 0 f m(xs − n) |n| ds, (2.8) which is non-positive since f >0i n /Omega1, we find that the mass is decreasing as d dt ˆ /Omega1 fdx = ˛ ∂/Omega1 ∂ ∂n( f m)ds ≤ 0, (2.9) where ni s the outward unit normal of ∂/Omega1. For Neumann B.C., ¸ ∂/Omega1 ∂ ∂n ( f m)ds =0d i r e c t l y leads to the mass conservation, ˆ /Omega1 f (x, t)dx = ˆ /Omega1 f (x,0)dx, ∀t >0. (2.10) 3. Semi-discrete (in time) schemes We construct in this section bound preserving semi-discrete (in time) schemes for the PME with Dirichlet boundary condition. Note that all schemes that we construct can be used for PME with Neumann boundary conditions with simple modifications, so we only discuss the Dirichlet case in the following sections. 3.1. A perturbed problem If f is positive and differentiable in /Omega1, then by noting ∇ f = f ∇ln f, (2.1)c a n be rewritten as ∂f ∂t = m∇· ( f m∇ln f ), in Q T . (3.1) However, the existence of term ln f requires f >0i n Q T , which is a little more strict than the assumption (2.6). Hence we introduce a small perturbation to the initial data to enforce f to be strictly positive. That is, we solve the following perturbed problem ∂fε ∂t = m∇· ( f m ε ∇ln fε), in Q T , (3.2) with initial condition fε(x,0) = f0(x) + ε, in /Omega1, (3.3) and boundary condition fε(x, t) = ε, in /Sigma1T , (3.4) where ε> 0i s a small positive number to make sure the transformed log-type PME (3.2)t o be well-defined and non- degenerate. Without loss of generality, we assume ε≪ m0. 3.2. A first-order scheme We first study the scheme in the strong formulation, followed by the study of its weak formulation which allows us to establish uniform bounds for the numerical solution. 4 Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 3.2.1. Strong formulation Let N be the total number of time steps, and τ:= T/N, we consider the following nonlinear scheme for (3.2): f n ε − f n−1 ε τ = m∇· ( ( f n−1 ε )m∇ln f n ε ) , in Q T , (3.5) with initial condition f0 ε(x) = f0(x) + ε, in /Omega1, (3.6) and boundary condition f n ε(x) = ε, on ∂/Omega1. (3.7) Theorem 3.1. Let f n−1 ε >0 in the scheme (3.5), then f n ε is uniquely solvable and positivity preserving with boundary condition (3.7), i.e., f n ε >0. Proof. Let Ln be a linear operator that Ln g is the (unique) solution of { −mτ∇· ( ( f n−1 ε )m∇ u ) = g, in /Omega1, u =− lnε, on ∂/Omega1. (3.8) Note Ln is self-adjoint and positive definite. Consider the functional F[ f ]: = ˆ /Omega1 f (ln f − 1)dx + 1 2 ˆ /Omega1 ( f − f n−1 ε )Ln( f − f n−1 ε )dx. (3.9) It is easy to check that F is strictly convex in the admissible set A := {f ∈ H2(/Omega1) : f >0i n/Omega1, f |∂/Omega1= ε}. (3.10) Hence, there exists a unique f n ε ∈ A such that δF δf n ε =0[ 4]. Since δF δf =ln f + Ln( f − f n−1 ε ), we find that δF δf n ε =0i s exactly the scheme (3.6). /Box Remark 3.1. If we integrate (3.5)o v e r /Omega1with f n ε − ε, the following L2 energy dissipation can be obtained by similar argument, ˆ /Omega1 | f n ε|2dx − ˆ /Omega1 | f n−1 ε |2dx ≤− mτ ˆ /Omega1 ( f n−1 ε )m f n ε |∇ f n ε|2dx. 3.2.2. Weak formulation and uniform boundedness It is shown above that the scheme (3.5)i s positivity preserving, but does not show it is bound preserving. In order to prove a uniform bound and associated properties for the numerical solution, we shall consider a weak formulation for (3.5). Let ˆH1 ε(/Omega1) := {f ∈ H1(/Omega1), f ≥ 0i n/Omega1, f |∂/Omega1= ε}. (3.11) Then a weak formulation of (3.5)i s : Given f n−1 ε ∈ ˆH1 ε(/Omega1), find f n ε ∈ ˆH1 ε(/Omega1) such that ( f n ε − f n−1 ε ,φ ) + mτ ( ( f n−1 ε )m∇ln f n ε,∇φ ) =0, ∀φ ∈ H1 0(/Omega1). (3.12) Theorem 3.2. Let ε≤ f n−1 ε ≤ m0 + ε. Then, the problem (3.12) admits a unique solution such that ε≤ f n ε ≤ m0 + ε. (3.13) Proof. The existence of weak solutions directly follows Theorem 3.1, which implies the weak problem admits at least one solution. The uniqueness can be derived as follows. Let f n 1 and f n 2 be two solutions of (3.12), then it follows ( f n 1 − f n 2 ,φ ) + mτ ( ( f n−1 ε )m∇(ln f n 1 − ln f n 2 ),∇φ ) =0, ∀φ ∈ H1 0(/Omega1). (3.14) Taking φ =ln f n 1 − ln f n 2 ∈ H1 0(/Omega1) gives Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 5 ( f n 1 − f n 2 ,ln f n 1 − ln f n 2 ) + mτ ( ( f n−1 ε )m∇(ln f n 1 − ln f n 2 ),∇(ln f n 1 − ln f n 2 ) ) =0. (3.15) The first term on the left is non-negative because of the monotonicity of ln x. This is also true for the second term since ( f n−1 ε )m >0. Therefore both terms have to equal to zero, which implies f n 1 = f n 2 . It remains to show the uniform bounds. Taking φ =[ ε− f n ε]+ in (3.12), we find ( f n ε − ε,[ε− f n ε]+ ) + mτ ( ( f n−1 ε )m∇ln f n ε,∇[ε− f n ε]+ ) = ( f n−1 ε − ε,[ε− f n ε]+ ) . (3.16) Note the first term on the left is non-positive, and the second term equals to −mτ ˆ { f n ε<ε} ( f n−1 ε )m f n ε |∇ f n ε|2dx ≤ 0, so the left hand side of (3.16)i s non-positive. But the right hand side of (3.16)i s non-negative, hence all the three terms in (3.16)a r e equal to zero, which implies meas{ f n ε < ε} =0, i.e. f n ε ≥ ε. Similarly, by taking φ =[ f n ε − m0 − ε]+, we can obtain f n ε ≤ m0 + ε. /Box The uniform boundedness of the weak solution is consistent with that of classical PME equation (2.5), and plays an important role for our analysis below. In particular, we derive from (3.13) that ˆ /Omega1 |∇ln f n ε|2dx = ˆ /Omega1 |∇ f n ε|2 ( f n ε)2 dx ≤ 1 ε2 ˆ /Omega1 |∇ f n ε|2dx. Moreover, since the classical solution of (3.5)-(3.7)s o l v e s the weak problem (3.12), the boundedness result (3.13)i s also true for (3.5)-(3.7), by which we can show the classical solution is mass decreasing and energy dissipative. More precisely, we have Theorem 3.3. The solution of scheme (3.5) with conditions (3.6) and (3.7) is mass decreasing, i.e., ˆ /Omega1 f n εdx ≤ ˆ /Omega1 f n−1 ε dx, (3.17) and energy dissipative (as ε→ 0) in the sense that E[ f n ε]− E[ f n−1 ε ]≤− mτ ⎛ ⎝ ˆ /Omega1 ( f n−1 ε )m|∇ln f n ε|2 − εm−1 lnε ˛ ∂/Omega1 ∂ ∂n f n εds ⎞ ⎠ , (3.18) where E[ f ] := ´ /Omega1f (ln f − 1)dx. Proof. By integrating (3.5)o v e r /Omega1and performing integration by parts, it follows that 1 τ ⎛ ⎝ ˆ /Omega1 f n εdx − ˆ /Omega1 f n−1 ε dx ⎞ ⎠ = m ˆ /Omega1 ∇· ( ( f n−1 ε )m∇ln f n ε ) dx = m ˛ ∂/Omega1 ( f n−1 ε )m ∂ ∂n ln f n εds = m ˛ ∂/Omega1 ( f n−1 ε )m f n ε ∂ ∂n f n εds ≤ 0, (3.19) where the last inequality is derived by using a similar argument as in the proof of (2.9)a n d the boundedness (3.13). It remains to prove the energy dissipation law. By multiplying ln f n ε on both sides of (3.5), integrating over /Omega1and performing a similar calculation as in (3.19), we obtain 1 τ ˆ /Omega1 ( f n ε − f n−1 ε )ln f n εdx = m ˆ /Omega1 ∇· ( ( f n−1 ε )m∇ln f n ε ) ln f n εdx =− m ⎛ ⎝ ˆ /Omega1 ( f n−1 ε )m|∇ln f n ε|2 − ˛ ∂/Omega1 ( f n−1 ε )m ln f n ε f n ε ∂ ∂n f n εds ⎞ ⎠ =− m ⎛ ⎝ ˆ /Omega1 ( f n−1 ε )m|∇ln f n ε|2 − εm−1 lnε ˛ ∂/Omega1 ∂ ∂n f n εds ⎞ ⎠ . 6 Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 Given a, b >0, by Taylor expansion, there exists ξbetween a and b such that (a − b)ln a = (aln a − a) − (bln b − b) + (a − b)2 2ξ . (3.20) Hence,ˆ /Omega1 f n ε(ln f n ε − 1)dx − ˆ /Omega1 f n−1 ε (ln f n−1 ε − 1)dx ≤ ˆ /Omega1 ( f n ε − f n−1 ε )ln f n εdx ≤ − mτ ⎛ ⎝ ˆ /Omega1 ( f n−1 ε )m|∇ln f n ε|2 − εm−1 lnε ˛ ∂/Omega1 ∂ ∂n f n εds ⎞ ⎠ , which is the desired energy dissipation law. /Box Next, we derive the l2(H1) stability for the semi-discrete weak problem (3.12). Theorem 3.4. Under the hypothesis of (2.6), θn ε :=ln f n ε satisfies τ p∑ n=1 ∥emθn−1 ε /2∇θn ε∥2 ≤ (1 +lnε) · C(m, m0,/Omega1), (3.21) for any p =1 ··· , N. Especially, it satisfies τ N∑ n=1 ∥∇θn ε∥2 ≤ (1 +lnε) · C(m, m0,/Omega1). (3.22) Proof. Rewrite the problem (3.12)a s { find θn ε ∈ H1 lnε(/Omega1) := {θ∈ H1(/Omega1) :tr(θ)=lnεon ∂/Omega1}such that( eθn ε − eθn−1 ε ,φ ) + mτ ( emθn−1 ε ∇θn ε,∇φ ) =0, ∀φ ∈ H1 0(/Omega1), (3.23) with θ0 ε(x) =ln( f0(x) + ε). Taking φ = θn ε − lnε∈ H1 0(/Omega1) in (3.23)l e a d s to ( eθn ε − eθn−1 ε ,θn ε − lnε ) + mτ ( emθn−1 ε ∇θn ε,∇θn ε ) =0. (3.24) Sum up (3.24)f o r n =1, ··· , p, we obtain p∑ n=1 ( eθn ε − eθn−1 ε ,θn ε ) + mτ p∑ n=1 ( emθn−1 ε ∇θn ε,∇θn ε ) =lnε ( eθn ε − eθn−1 ε ,1 ) . (3.25) Since lnε≤ θn ε ≤ ln(m0 + ε) by (3.13), the first term in (3.25)c a n be bounded from below as follows. p∑ n=1 ˆ /Omega1 (eθn ε − eθn−1 ε )θn εdx ≥ p∑ n=1 ˆ /Omega1 θn ε(x)ˆ θn−1 ε (x) sesdsdx = ˆ /Omega1 θp ε(x)ˆ θ0 ε(x) sesdsdx = ˆ /Omega1 ( (θp ε − 1)eθp ε − (θ0 ε − 1)eθ0 ε ) dx ≥− C(m0,/Omega1), where C(m0, /Omega1) is a constant only depending on m0 and /Omega1. On the other hand, the right hand side in (3.25)s a t i s fi e s lnε ˆ /Omega1 (eθp ε − eθ0 ε)dx ≤ lnε· C(m0,/Omega1). Combining the above relations into (3.25), we obtain the desired results. /Box Remark 3.2. Introducing the transformation θn ε :=ln f n ε is only for convenience in the statement and proof of Theorem 3.4. In numerical simulations, we solve the equation for f n ε directly and do not compute θn ε. Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 7 3.3. A second-order scheme Special care has to be taken when constructing second-order schemes since linear extrapolation of two positive functions is not guaranteed to be positive. Therefore, a nonlinear extrapolation has to be used. For example, we can construct the following second-order scheme based on Crank-Nicolson: f n ε − f n−1 ε τ = m∇· ( ( ˜fε n− 1 2 )m∇ln f n ε + f n−1 ε 2 ) , in Q T , (3.26) with initial condition (3.6) and boundary condition (3.7). Here ˜fε n− 1 2 is defined by ˜fε n− 1 2 := { 1 2 (3 f n−1 ε − f n−2 ε ), if 3f n−1 ε > f n−2 ε , ∀x ∈ /Omega1, ( f n−1 ε ) 3 2 /( f n−2 ε ) 1 2 , if 3f n−1 ε ≤ f n−2 ε , otherwise, (3.27) which is a second-order approximation to fε(x, tn−1/2) and always positive. By using similar arguments as in the proof of Theorem 3.1 with (3.9)r e p l a c e d by F[ f ]: = ˆ /Omega1 ( f + f n ε)(ln f + f n ε 2 − 1)dx + 1 2 ˆ /Omega1 ( f − f n ε ) Ln( f − f n ε)dx, (3.28) we can prove the following result: Theorem 3.5. Let f n−1 ε , f n−2 ε >0. The scheme (3.26) with conditions (3.6) and (3.7) is uniquely solvable and bound preserving, i.e., f n ε >0. Furthermore, the solution is mass decreasing, i.e., ˆ /Omega1 f n εdx ≤ ˆ /Omega1 f n−1 ε dx. Note that we are unable to prove that the second-order scheme is energy dissipative as the first-order scheme. In order to establish a uniform bound for the numerical solution, we consider the following weak formulation of (3.26): ⎧ ⎨ ⎩ find f n ε ∈ ˆH1 ε(/Omega1)such that ( f n ε − f n−1 ε ,φ ) + mτ ( ( ˜fε n− 1 2 )m∇ln f n ε+ f n−1 ε 2 ,∇φ ) =0, ∀φ ∈ H1 0(/Omega1). (3.29) It can be shown that the problem (3.29) admits a unique solution by using similar arguments for the first-order case. However, we can only derive a uniform bound for ( f n ε + f n−1 ε )/2. Theorem 3.6. Assuming ε≤ f n−1 ε ≤ m0 + ε, the solution of (3.29) satisfies ε≤ f n ε+ f n−1 ε 2 ≤ m0 + ε. Proof. By taking φ =[ ε− f n ε+ f n−1 ε 2 ]+ in (3.29), it follows ( f n ε − ε,[ε− f n ε + f n−1 ε 2 ]+ ) + mτ ( ( ˜fε n− 1 2 )m∇ln f n ε + f n−1 ε 2 ,∇[ε− f n ε + f n−1 ε 2 ]+ ) = ( f n−1 ε − ε,[ε− f n ε + f n−1 ε 2 ]+ ) . (3.30) Note the second term on the left of (3.30)i s equal to − mτ 2 ˆ {x: f nε+ f n−1 ε 2 <ε} ( ˜fε n− 1 2 )m f n ε + f n−1 ε |∇( f n ε + f n−1 ε )|2dx ≤ 0. Also, note { x : f n ε+ f n−1 ε 2 < ε } ⊂ { f n ε < ε } since f n−1 ε ≥ ε, so the first term on the left of (3.30)i s non-positive. But the right hand side of (3.30)i s non-negative, hence all the three terms in (3.30)a r e equal to zero, which implies meas{ f n ε+ f n−1 ε 2 < ε} =0, i.e. f n ε+ f n−1 ε 2 ≥ ε. Similarly, by taking φ =[ f n ε+ f n−1 ε 2 − m0 − ε]+, we can obtain f n ε+ f n−1 ε 2 ≤ m0 + ε. /Box 8 Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 Since we can not apply the above results recursively to derive a uniform bound for f n ε, we construct below a modified scheme that will allow us to do so. • Compute ˆfε n from ˆfε n − f n−1 ε τ = m∇· ( ( ˜fε n− 1 2 )m∇ln ˆfε n + f n−1 ε 2 ) , in Q T , with ˜fε n− 1 2 := { 1 2 (3 f n−1 ε − f n−2 ε ), if 3f n−1 ε > f n−2 ε , ∀x ∈ /Omega1, ( f n−1 ε ) 3 2 /( f n−2 ε ) 1 2 , otherwise. (3.31) If ˆfε n ≥ ε∀x ∈ /Omega1, set f n ε = ˆfε n and go to the next time step. • Otherwise, set ˆfε n− 1 2 = ˆfε n + f n−1 ε 2 , and compute ˆfε n+1 2 from ˆfε n+1 2 − ˆfε n− 1 2 τ = m∇· ⎛ ⎝( ˜fε n )m∇ln ˆfε n+1 2 + ˆfε n− 1 2 2 ⎞ ⎠ , in Q T , with ˜fε n := ( ˆfε n− 1 2 )2/ f n−1 ε , (3.32) set f n ε = ˆfε n+1 2 + ˆfε n− 1 2 2 with homogeneous Dirichlet boundary condition, and go to the next time step. Following a similar procedure as in the proof of Theorem 3.6, we can establish the following result: Corollary 3.7. Assuming ε≤ f n−1 ε ≤ m0 + ε, then the solution of (3.31)-(3.32) satisfies ε≤ f n ε ≤ m0 + ε. 4. Fully discrete schemes We consider in this section fully discrete schemes for the PME using a second-order finite difference method for spatial discretization. To simplify the presentation, we shall only consider the 1-D case below, but the scheme and the associated results can be easily extended to multi-dimensional rectangular domains. 4.1. First-order in time schemes Let /Omega1 = (− L, L) with L >0, given I ∈ N+, we denote h :=2L/I be the grid width and xi := −L + ih, i =0, ··· , I, be the collocation points. Let f n i be the approximation to fε(xi, nτ), then a fully discrete version of (3.5)i s as follows f n i − f n−1 i τ = m h2 ( ( f n−1 i+1 2 )m(ln f n i+1 − ln f n i ) − ( f n−1 i− 1 2 )m(ln f n i − ln f n i−1) ) , i =1,··· , I − 1, (4.1) with initial condition f0 i = f0(xi) + ε, i =1,··· , I − 1, (4.2) and boundary condition f n 0 = f n I = ε, (4.3) for n =1, ··· , N. It is clear that the above scheme is formally second-order in space. The solvability of the fully discretized scheme can be described as follows. Theorem 4.1. Let f n−1 i >0 for i =1, ··· , I − 1 in the scheme (4.1), then f n := [f n 1 f n 2 ··· f n I−1]T is uniquely solvable and positivity preserving with condition (4.3), i.e., f n >0. Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 9 Proof. The scheme (4.1)l e a d s to a system of nonlinear equations F( f n) =0, (4.4) with F( f n) := 1 τ( f n − f n−1) + Aln f n + c, (4.5) where (A)ij = ⎧ ⎪⎪ ⎪⎪⎪ ⎪ ⎨ ⎪⎪⎪⎪ ⎪ ⎪⎩ − m h2 ( f n−1 i− 1 2 )m, j = i − 1, m h2 ( ( f n−1 i+1 2 )m + ( f n−1 i− 1 2 )m ) , j = i, − m h2 ( f n−1 i+1 2 )m, j = i +1, 0, | j − i| >1, (4.6) and c = [ − m h2 ( f n−1 1 2 )m lnε,0,··· ,0,− m h2 ( f n−1 I− 1 2 )m lnε ]T . It can be easily seen that A is symmetric positive definite, hence so is A−1. Then the unique solvability can be directly obtained by the fact that (4.4)i s equivalent to A−1 F( f n) =0, which is the Euler-Lagrange equation of the strictly convex function G( f n) = 1 2τ( f n − f n−1)T A−1( f n − f n−1) + ( f n)T (ln f n − 1) + cT A−1 f n. (4.7) The proof is complete. /Box The above nonlinear system can be solved efficiently by using Newton’s iteration (see the numerical examples in the next section) with Jacobian of F given by (∇ F)ij = ⎧ ⎪⎪ ⎪ ⎪⎪⎪ ⎨ ⎪⎪⎪⎪ ⎪ ⎪⎩ − mτ h2 ( f n−1 i− 1 2 )m/ f n i−1, j = i − 1, 1 + mτ h2 ( ( f n−1 i+1 2 )m + ( f n−1 i− 1 2 )m ) / f n i , j = i, − mτ h2 ( f n−1 i+1 2 )m/ f n i+1, j = i +1, 0, | j − i| >1. (4.8) 4.1.1. Uniform boundedness Similar to the semi-discrete cases, we have Theorem 4.2. Given ε≤ f n−1 i ≤ m0 + ε, i =1, ··· , I − 1 with f n−1 0 = f n−1 N = ε, then the solution of (4.1) satisfies ε≤ f n i ≤ m0 + ε for i =1,··· , I − 1 and n =1,··· , N. (4.9) Proof. Multiplying φi ∈ R to both sides of (4.1)w i t h φ0 = φN =0, summing up for i =1, ··· , I − 1 and using summation by parts, we obtain I−1∑ i=1 ( f n i − f n−1 i )φi + mτ h2 I−1∑ i=0 ( f n−1 i+1 2 )m(ln f n i+1 − ln f n i )(φi+1 − φi) =0. (4.10) Taking φi =max{ε− f n i , 0} in (4.10)g i v e s I−1∑ i=1 ( f n i − ε)max{ε− f n i ,0}− I−1∑ i=1 ( f n−1 i − ε)max{ε− f n i ,0} + mτ h2 I−1∑ i=0 ( f n−1 i+1 2 )m(ln f n i+1 − ln f n i ) ( max{ε− f n i+1,0}− max{ε− f n i ,0} ) =0. Note all three terms (including the signs) on the left side are always non-positive, and the right side is zero, so the only possibility is that all terms are zero, in particular, 10 Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 I−1∑ i=1 ( f n i − ε)max{ε− f n i ,0}= 0, which implies max{ε− f n i , 0} =0, i.e. f n i ≥ ε. Similarly, we can show that f n i ≤ m0 + ε. /Box After obtaining the boundedness, we can show Theorem 4.3. Given ε≤ f n−1 i ≤ m0 + ε, i = 1, ··· , I − 1 with f n−1 0 = f n−1 N = ε, then the solution { f n i } of the fully discretized scheme (4.10) is mass decreasing, i.e. 1 τ I−1∑ i=1 f n i ≤ 1 τ I−1∑ i=1 f n−1 i , (4.11) and energy dissipative in two separated forms, i.e. En h − En−1 h ≤− mτεm h I−1∑ i=0 |ln f n i+1 − ln f n i |2, (4.12) where En h := h I−1∑ i=1 f n i (ln f n i − 1), and I−1∑ i=1 | f n i |2 − I−1∑ i=1 | f n−1 i |2 ≤− 2mτ (m0 + ε)h2 I−2∑ i=1 ( f n−1 i+1 2 )m| f n i+1 − f n i |2. (4.13) Proof. By summing up (4.1)f o r i =1, ··· , I − 1, we obtain 1 τ (I−1∑ i=1 f n i − I−1∑ i=1 f n−1 i ) = m h2 ( ( f n−1 I− 1 2 )m(lnε− ln f n I−1) − ( f n−1 1 2 )m(ln f n 1 − lnε) ) . (4.14) By (4.9), the right hand side of above is non-positive, which implies (4.11). To prove (4.12), it suffices to take φi =ln f n i in (4.10)t h e n apply (4.9) and (3.20). To prove (4.13), we take φi = f n i in (4.10), then it follows I−1∑ i=1 ( f n+1 i − f n i ) f n+1 i + mτ h2 I−2∑ i=1 ( f n−1 i+1 2 )m(ln f n i+1 − ln f n i )( f n i+1 − f n i ) + mτ h2 ( −( f n−1 N− 1 2 )m(lnε− ln f n N−1) f n N−1 + ( f n−1 1 2 )m(ln f n 1 − lnε) f n 1 ) =0. (4.15) By (4.9), the third term on the left side is non-negative. Hence by using the identity (a − b)a = 1 2 ( a2 − b2 + (a − b)2 ) , (4.16) it follows that I−1∑ i=1 | f n i |2 − I−1∑ i=1 | f n−1 i |2 ≤− 2mτ h2 I−2∑ i=1 ( f n−1 i+1 2 )m ξn i | f n i+1 − f n i |2, where ξn i >0t a k e s a value between f n i and f n i+1. Then we can obtain (4.13)f r o m the above and (4.9). /Box 4.2. Second-order in time schemes The fully discrete version of the modified second-order Crank-Nicolson scheme (3.31)-(3.32)i s as follows: Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 11 • Compute {ˆf n i } from ˆf n i − f n−1 i τ = m h2 (˜f n− 1 2 i+1 2 )m ( ln ˆf n i+1 + f n−1 i+1 2 − ln ˆf n i + f n−1 i 2 ) − m h2 (˜f n− 1 2 i− 1 2 )m ( ln ˆf n i + f n−1 i 2 − ln ˆf n i−1 + f n−1 i−1 2 ) , (4.17) with ˜f n− 1 2 i := { 1 2 (3 f n−1 i − f n−2 i ), if 3f n−1 j > f n−2 j ,∀j, ( f n−1 i ) 3 2 /( f n−2 i ) 1 2 , otherwise. If ˆf n i ≥ ε∀i, set f n i = ˆf n i ∀i and go to the next time step. • Otherwise, set ˆf n− 1 2 i = ˆf n i + f n−1 i 2 , ∀i and compute {ˆf n+1 2 i } from ˆf n+1 2 i − ˆf n− 1 2 i τ = m h2 (˜f n i+1 2 )m ⎛ ⎝ln ˆf n+1 2 i+1 + ˆf n− 1 2 i+1 2 − ln ˆf n+1 2 i + ˆf n− 1 2 i 2 ⎞ ⎠ − m h2 (˜f n i− 1 2 )m ⎛ ⎝ln ˆf n+1 2 i + ˆf n− 1 2 i 2 − ln ˆf n+1 2 i−1 + ˆf n− 1 2 i−1 2 ⎞ ⎠ , (4.18) with ˜f n i := (ˆf n− 1 2 i )2/ f n−1 i . Then, we set f n i = ˆf n+1 2 i +ˆf n− 1 2 i 2 for i =1, ··· , I − 1w i t h conditions (4.2) and (4.3), and go to the next time step. Following similar arguments in the proofs of Theorem 4.2, we can also establish the following results: Theorem 4.4. Given ε≤ f n−1 i ≤ m0 + ε, i = 1, ··· , I − 1 with f n−1 0 = f n−1 N = ε, then the solution of the second-order scheme (4.17)-(4.18) satisfies ε≤ f n i ≤ m0 + ε for i =1,··· , I − 1, (4.19) and 1 τ I−1∑ i=1 f n i ≤ 1 τ I−1∑ i=1 f n−1 i . (4.20) We can also construct a second-order scheme based on the second-order backward difference formula (BDF2) as follows: 3 f n i − 4 f n−1 i + f n−2 i 2τ = m h2 ( (˜f n i+1 2 )m(ln f n i+1 − ln f n i ) − (˜f n i− 1 2 )m(ln f n i − ln f n i−1) ) , i =1,··· , I − 1, (4.21) with ˜f n i := { 2 f n−1 i − f n−2 i , if 2f n−1 j > f n−2 j ,∀j, ( f n−1 i )2/ f n−2 i , otherwise. For multi-dimensional cases, fully discretized schemes of first- and second-order can be constructed by using similar finite difference approaches on (3.5) and (3.26)w i t h corresponding initial and boundary conditions. For the second-order BDF scheme (4.21), we are unable to prove a uniform bound for the solutions. 12 Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 5. Numerical experiments We present several numerical examples in this section to validate our theoretical results and demonstrate the effective- ness of the proposed schemes. For all examples, the standard Newton’s iteration is employed to solve the nonlinear algebraic equations in each time step with stopping tolerance 10−12. 5.1. Accuracy test First we test the accuracy of schemes by solving the Dirichlet problem of PME with a source term g: ∂f ∂t = /Delta1( f m) + g(x, t), in (0, T) × (−1,1), (5.1) such that the exact solution is given by f (x, t) =exp(−t)cos(πx/2), (5.2) which is C∞ and supported in [−1, 1]. To evaluate the accuracy, we use the maximum error and discrete L2 error defined by eN ∞ :=max i ⏐⏐⏐ f N i − f (xi, T) ⏐⏐⏐, eN 2 := ( h I−1∑ i=1 ( f N i )2 )1 2 . (5.3) We discretize the space with a high resolution I =8000 and test our schemes with various τand ε. The final time is set to T =1. The errors for τ= τ=2−7, ··· , τ=2−10 and ε=10−4 ··· , 10−10 by BDF1, BDF2 and modified C-N schemes are listed in Table 5.1 and 5.2. Furthermore, we list the average number of Newton’s iterations in each time step in Table 5.3. It is worth mentioning that the Newton iteration does not guarantee the positivity of the intermediate solutions so negative intermediate solution may occur, although we have not meet such issues. One may need to use a more robust nonlinear solver (e.g. downhill algorithm) if such situation occurs. We observe from these two tables that first-order convergence rate is achieved by BDF1, and second-order convergence rate is achieved by BDF2 and modified C-N for maximum and L2 errors, as long as the perturbation parameter εis small enough (e.g. ε=10−8 or 10−10) so that the errors are dominated by the discretization error. On the other hand, it is clearly seen larger εwill cause slower or no error decay (the cases of ε=10−4 or 10−6 for BDF2 and C-N). 5.2. Barenblatt solution We consider the well-known Barenblatt solution [26], whose explicit expression is given by Bm,d(x, t) = (t +1)−α ( 1 − α(m − 1) 2md |x|2 (t +1)2α/d )1/(m−1) + , (5.4) Table 5.1 Maximum error for various τand εby BDF1, BDF2 and C-N. ετ BDF1 BDF2 C-N eN ∞ Order eN ∞ Order eN ∞ Order 10−4 2−7 2.68e-02 ∼ 2.49e-03 ∼ 1.92e-03 ∼ 2−8 1.49e-02 0.85 1.16e-03 1.11 1.02e-03 0.91 2−9 8.12e-03 0.87 8.30e-04 0.48 7.99e-04 0.35 2−10 4.51e-03 0.85 7.55e-04 0.14 7.48e-04 0.10 10−6 2−7 2.63e-02 ∼ 1.85e-03 ∼ 1.27e-03 ∼ 2−8 1.43e-02 0.88 4.86e-04 1.93 3.37e-04 1.91 2−9 7.46e-03 0.94 1.29e-04 1.92 9.11e-05 1.89 2−10 3.82e-03 0.97 3.75e-05 1.78 2.81e-05 1.70 10−8 2−7 2.63e-02 ∼ 1.84e-03 ∼ 1.26e-03 ∼ 2−8 1.43e-02 0.88 4.80e-14 1.94 3.30e-04 1.93 2−9 7.45e-03 0.94 1.22e-04 1.97 8.46e-05 1.96 2−10 3.81e-03 0.97 3.10e-05 1.98 2.15e-05 1.97 10−10 2−7 2.63e-02 ∼ 1.84e-03 ∼ 1.26e-03 ∼ 2−8 1.43e-02 0.88 4.80e-04 1.94 3.30e-04 1.93 2−9 7.45e-03 0.94 1.22e-04 1.97 8.45e-05 1.97 2−10 3.81e-03 0.97 3.09e-05 1.98 2.15e-05 1.98 Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 13 Table 5.2 L2 error for various τand εby BDF1, BDF2 and C-N. ετ BDF1 BDF2 C-N eN 2 Order eN 2 Order eN 2 Order 10−4 2−7 1.13e-02 ∼ 6.73e-04 ∼ 5.43e-04 ∼ 2−8 5.97e-03 0.93 3.64e-04 0.89 3.39e-04 0.68 2−9 3.16e-03 0.92 2.99e-04 0.28 2.94e-04 0.21 2−10 1.72e-03 0.87 2.85e-04 0.07 2.84e-04 0.05 10−6 2−7 1.11e-02 ∼ 4.72e-04 ∼ 3.21e-04 ∼ 2−8 5.72e-03 0.96 1.22e-04 1.95 8.48e-05 1.92 2−9 2.91e-03 0.98 3.23e-05 1.92 2.31e-05 1.88 2−10 1.47e-03 0.99 9.63e-06 1.75 7.48e-06 1.63 10−8 2−7 1.11e-02 ∼ 4.70e-04 ∼ 3.20e-04 ∼ 2−8 5.72e-03 0.96 1.21e-04 1.96 8.30e-05 1.94 2−9 2.90e-03 0.98 3.06e-05 1.98 2.12e-05 1.97 2−10 1.46e-03 0.99 7.75e-06 1.98 5.40e-06 1.97 10−10 2−7 1.11e-02 ∼ 4.70e-04 ∼ 3.20e-04 ∼ 2−8 5.72e-03 0.96 1.21e-04 1.96 8.30e-05 1.95 2−9 2.90e-03 0.98 3.06e-05 1.98 2.12e-05 1.97 2−10 1.46e-03 0.99 7.73e-06 1.99 5.38e-06 1.98 Table 5.3 Average number of Newton’s iterations in each time step for various τand εby BDF1, BDF2 and C-N. ετ BDF1 BDF2 C-N 10−4 2−7 3.01 3.01 3.01 2−8 333 2−9 3 2.82 2.49 2−10 32 . 2 9 2 . 1 7 10−6 2−7 3.01 3.01 3.01 2−8 332 . 9 4 2−9 3 2.47 2.29 2−10 2.94 2.12 2.06 10−8 2−7 3.01 3.01 3.01 2−8 332 . 9 4 2−9 3 2.47 2.3 2−10 2.94 2.12 2.06 10−10 2−7 3.01 3.01 3.01 2−8 332 . 9 4 2−9 3 2.47 2.29 2−10 2.94 2.12 2.06 where (s)+ =max(s, 0), α= d d(m−1)+2 with d being the dimension of the problem. Note that the solution is weakly singular at |x| =0 and at the moving front where 1 − α(m−1) 2md |x|2 (t+1)2α/d =0. One-dimensional case. We solve the Dirichlet problem from t =0t o t =1i n the domain /Omega1 = (−8, 8) using the first-order scheme (4.1), the second-order BDF scheme (4.21), and the second-order C-N scheme (4.17)-(4.18)w i t h m = 1.5, 3, ε= 10−8, 10−10, and time step τfrom 2−5 to 2−10. Since the exact solution is singular, we use a fine mesh (I =8000) in space to resolve the singularity. The error curves for all schemes are shown in Fig. 5.1. It can be observed the errors from second-order schemes (BDF2 and C-N), although not achieving second-order due to singularity, decay faster than the first-order scheme, both in maximum norm and L2 norm. Also, similar results are obtained with ε= 10−8 and 10−10, which implies that the range for the perturbation parameter between 10−10 and 10−8 is acceptable. The exact and numerical solutions with ε=10−8 and τ=2−10 at various time are plotted in Fig. 5.2, from which it is clearly observed that the support of solutions is expanding with finite speed. We also plot in Fig. 5.3 the time evolution of the positive interface point defined by xR(t) :=sup{x : x >0, f (x, t)> 10−2}. (5.5) 14 Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 Fig. 5.1. Maximum error (red) by BDF1 (circle line), BDF2 (star line) and C-N (dotted line); L2 error (blue) by BDF1 (square line), BDF2 (cross line) and C-N (dashed line). (For interpretation of the colors in the figures, the reader is referred to the web version of this article.) Fig. 5.2. The plot of Barenblatt solution for m=1.5 and 3 at t=0, 0.5 and 1 by various schemes (Exact: black solid curve; BDF1: blue square; BDF2: red circle; C-N: red cross). Fig. 5.3. Time evolution of the positive interface point xR for the Barenblatt solution for m=1.5 and 3 by various schemes (Exact: black solid curve; BDF1: blue square; BDF2: red circle; C-N: red cross). Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 15 Table 5.4 The difference between global minimum and εfor various m, τand εby BDF1, BDF2 and C-N. ετ m =1.5 m =3 BDF1 BDF2 C-N BDF1 BDF2 C-N 10−8 2−5 -2.65e-22 -2.90e-22 -1.47e-22 -6.46e-25 -6.59e-25 -2.58e-25 2−6 -2.42e-22 -2.93e-22 -9.26e-23 -1.81e-25 -2.58e-26 -2.46e-25 2−7 -1.31e-22 -2.40e-22 -7.11e-23 -6.46e-26 -7.75e-25 -1.29e-26 2−8 -1.04e-22 -2.56e-22 -3.80e-23 -2.58e-26 <1e-27 -1.29e-26 2−9 -5.29e-23 -2.91e-22 -2.81e-23 -1.29e-26 -1.55e-25 -2.58e-26 2−10 -1.82e-23 -2.17e-22 -9.93e-24 <1e-27 -7.75e-26 1e-27 10−10 2−5 <1e-27 <1e-27 -5.13e-23 <1e-27 <1e-27 <1e-27 2−6 <1e-27 <1e-27 <1e-27 <1e-27 -2.35e-24 <1e-27 2−7 -2.10e-22 -4.17e-22 <1e-27 -1.64e-24 -1.29e-26 <1e-27 2−8 <1e-27 <1e-27 <1e-27 <1e-27 <1e-27 <1e-27 2−9 <1e-27 <1e-27 <1e-27 -6.60e-24 -3.88e-26 -6.60e-24 2−10 <1e-27 <1e-27 <1e-27 <1e-27 -3.96e-23 <1e-27 Fig. 5.4. The energy evolution of approximate Barenblatt solution for m=1.5 and 3 by various schemes (τ=2−8: dashed curve; τ=2−9: dotted dashed curve; τ=2−10: dotted curve). We observe that the accuracy when m =3i s better than m =1.5s i n c e the solution is more regular as m increases. To verify the uniform boundedness of the numerical solution, we compute the global maximum and minimum by M f :=max{ f n i :0 ≤ i ≤ I,0 ≤ n ≤ N}, (5.6) m f :=min{ f n i :0 ≤ i ≤ I,0 ≤ n ≤ N}. (5.7) It is shown in examples M f =1f o r all τ, m, εand all schemes. Actually, max i f n i is always decreasing over time, and hence M f is attained at the initial value. For the global minimum, we show the difference between m f and the theoretical lower bound εin Table 5.4, from which it can be observed m f − εis numerically zero (within the machine precision), hence the uniform boundedness is indeed satisfied. Finally, we track the discrete energy of the numerical solutions over time for various τ. We define the discrete energy at t = nτby En h := h I−1∑ i=1 ( f n i (ln f n i − 1) ) . (5.8) The plot of energy evolution is presented in Fig. 5.4. We observe that the discrete energy of all schemes appears to be unconditionally dissipative, although the result is only proved for the first-order scheme. 16 Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 Fig. 5.5. Maximum error (red) by BDF1 (circle line), BDF2 (star line) and C-N (dotted line); L2 error (blue) by BDF1 (square line), BDF2 (cross line) and C-N (dashed line). Fig. 5.6. The profile of Barenblatt solution computed by C-N for m=1.5 and 3 at t=0, 0.5 and 1. Fig. 5.7. The error profiles of Barenblatt solution computed by C-N for m=1.5 and 3 at t=1. Two-dimensional case. We consider the PME with the Barenblatt solution (5.4)f o r m =1.5 and 3i n the two-dimensional domain /Omega1 = (−8, 8) × (−8, 8) and the final time T =1. We test the effect of various time step τfrom 2−4 to 2−8 with a high spatial resolution I = 1000 in each direction. Also, we test the perturbation parameter ε= 10−8 and 10−10. Same as the 1-D case, the maximum error and the discrete L2 error are taken as the metric. The errors obtained from various schemes are shown in Fig. 5.5. The profiles of 2-D solution computed by modified C-N scheme with ε=10−8 and τ=2−8 are shown in Fig. 5.6. We observe that the support is expanding with finite speed. The error profiles at the final time are plotted in Fig. 5.7. It can be observed the error is mainly distributed near the interface. Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 17 Fig. 5.8. Time evolution of the positive interface point xR for the Barenblatt solution for m=1.5 and 3 by various schemes (Exact: black solid curve; BDF1: blue square; BDF2: red circle; C-N: red cross). Fig. 5.9. The energy evolution of approximate Barenblatt solution for m=1.5 and 3 by various schemes (τ=2−4: dashed curve; τ=2−6: dotted dashed curve; τ=2−8: dotted curve). We also track and plot in Fig. 5.8 the interface point in the positive x-axis defined by xR(t) :=sup{x : x >0, f (x,0, t)> 10−2}. (5.9) Finally, the plot of energy evolution is presented in Fig. 5.9. We observe again that the computed energy appears uncondi- tionally dissipative in all cases. 5.3. Solution with waiting time We now consider the 1-D PME with the following initial function ρ0(x) = { (m−1 m ( (1 − θ)cos2 x + θcos4 x ))1 m−1 , if − π 2 ≤ x ≤ π 2 , 0, otherwise. (5.10) It is known that the solution with initial data (5.10) has the waiting time phenomenon for 0 ≤ θ≤ 1, i.e., the interface will only move after a certain period of time from the start. Specifically, the theoretical waiting time for 0 ≤ θ≤ 1/4i s given by [2] twaiting = 1 2(m +1)(1 − θ). (5.11) We solve the PME for m =6w i t h initial data (5.10)f o r θ=0o r 0.25 by the BDF1, BDF2 and C-N schemes with ε=10−8, τ=10−3 and I =8000 as the parameters. The approximate solutions are plotted in Fig. 5.10. We observe that the support of profile remains unchanged while the shape of the profile is changing with time. 18 Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 Fig. 5.10. The approximate solution with waiting time for m=6 and θ=0, 0.25 at t=0, 0.15 and 0.3 by various schemes (BDF1: blue curve; BDF2: red circle; C-N: red cross). Fig. 5.11. Evolution of the right interface point xR for the 1-D approximate solution with waiting time for m=6 and θ=0, 0.25 by various schemes (BDF1: solid curve; BDF2: dashed curve; C-N: dashed dotted curve). The red dashed line represents the theoretical waiting time. We also plot the evolution of right interface point in Fig. 5.11 which clearly shows the waiting time phenomenon: the interface point stagnates until the waiting time. Next, we consider the 2-D PME with waiting time for m =3 and 5w i t h the following initial function ρ0(x1, x2) = ⎧ ⎨ ⎩ cos ( π 2 √ x2 1 + x2 2 ) , if x2 1 + x2 2 ≤ 1, 0, otherwise. (5.12) The evolution of the outer interface point at the x-axis are shown in Fig. 5.12. Similar to the 1-D case, the phenomenon of stagnation when m =5i s more significant than the case of m =3, and the waiting time of the former also appears longer. 5.3.1. Solution having complex support Finally we perform two simulations of PME with complex initial data. First, we set the initial solution to be ρ0(x) = ⎧ ⎪⎪ ⎪⎪⎪ ⎪ ⎪⎨ ⎪⎪⎪ ⎪ ⎪⎪⎪ ⎩ ( 25(0.252 − (|x|− 0.75)2) 3 2 ) 1 m−1 , if 0.5 ≤| x|≤ 1, x1 <0, x2 <0, ( 25(0.252 −| x − (0,0.75)|2) 3 2 ) 1 m−1 , if |x − (0,0.75)|≤ 0.25, x1 ≥ 0, ( 25(0.252 −| x − (0.75,0)|2) 3 2 ) 1 m−1 , if |x − (0.75,0)|≤ 0.25, x2 ≥ 0, 0, otherwise, (5.13) Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 19 Fig. 5.12. Evolution of the outer interface point at the x-axis xR for the 2-D approximate solution with waiting time for m=3 and 5 by various schemes (BDF1: solid curve; BDF2: dashed curve; C-N: dashed dotted curve). Fig. 5.13. Evolution of the approximate solution with compactly supported initial condition for m=1.5 and 3 at t=0, 0.15 and 0.3. which has a partial donut shape as depicted in the first figure of Fig. 5.13, and was used in [3]. The second-order C-N scheme is utilized to solve the PME for m =1.5 and 3w i t h initial data (5.13)i n the 2-D domain (−1.5, 1.5) × (−1.5, 1.5) from t =0t o t =0.3. We set ε=10−8, τ=2−7 and I =1000. The numerical solutions at various time are shown in Fig. 5.13. It can be seen the support of the solution is spreading over time with a finite speed. Second, we set the initial condition to be ρ0(x) = ⎧ ⎪⎨ ⎪⎩ cos( π 0.8 (x1 − 0.4))cos( π 0.8 (x2 − 0.4)), if 0≤ x1, x2 ≤ 0.8, cos( π 0.8 (x1 +0.4))cos( π 0.8 (x2 +0.4)), if − 0.8 ≤ x1, x2 ≤ 0, 0, otherwise, (5.14) whose support is two disconnected squares as shown in the first figure of Fig. 5.14, and was used in [15,5]. We set the domain to be (−1.5, 1.5) × (−1.5, 1.5) and the final time T =1. We still apply the C-N scheme with the same parameters as in the previous example. The numerical solutions are presented in Fig. 5.14. We observe that the two disconnected squares move closer and eventually merge together. We also observe that the case with m = 1.5s p r e a d s faster than that with m =3. 6. Conclusion We presented in this paper a class of bound preserving and energy dissipative schemes for the porous medium equa- tion. Our schemes are based on a general approach for Wasserstein gradient flow developed in [23,22] and a perturbation technique [19,7]. We proved that both semi-discrete in time and fully discrete with finite difference schemes are uniquely solvable, bound preserving, and in the first-order case, also energy dissipative. We believe that these schemes are the first which is bound preserving as well as energy (entropy) dissipative. Moreover, the schemes at each time step can be interpreted as Euler Lagrangian equations of convex functionals, so they can be efficiently solved by a Newton type iterative method with just a few iterations. Ample numerical results for well-known benchmark problems are presented to validate the theoretical results and demonstrate the effectiveness of the new schemes. 20 Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 Fig. 5.14. Evolution of two peaks for m=1.5 and 3 at t=0, 0.5 and 1. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. References [1] Luigi Ambrosio, Nicola Gigli, Giuseppe Savaré, Gradient Flows in Metric Spaces and in the Space of Probability Measures, second edition, Lectures in Mathematics ETH Zürich, Birkhäuser Verlag, Basel, 2008. [2] D. Aronson, L. Caffarelli, S. Kamin, How an initially stationary interface begins to move in porous medium flow, SIAM J. Math. Anal. 14 (4) (1983) 639–658. [3] M.J. Baines, M.E. Hubbard, P.K. Jimack, A moving mesh finite element algorithm for the adaptive solution of time-dependent partial differential equa- tions with moving boundaries, Appl. Numer. Math. 54 (3) (2005) 450–469. [4] Stephen Boyd, Lieven Vandenberghe, Convex Optimization, Cambridge University Press, 2004. [5] José A. Carrillo, Bertram Düring, Daniel Matthes, David S. McCormick, A Lagrangian scheme for the solution of nonlinear diffusion equations using moving simplex meshes, J. Sci. Comput. 75 (3) (Jun 2018) 1463–1499. [6] José Antonio Carrillo, Yanghong Huang, Francesco Saverio Patacchini, Gershon Wolansky, Numerical study of a particle method for gradient flows, arXiv preprint, arXiv:1512 .03029, 2015. [7] J. Duque, R. Almeida, S. Antontsev, Convergence of the finite element method for the porous media equation with variable exponent, SIAM J. Numer. Anal. 51 (6) (2013) 3483–3504. [8] Carsten Ebmeyer, Error estimates for a class of degenerate parabolic equations, SIAM J. Numer. Anal. 35 (3) (June 1998) 1095–1112. [9] Carsten Ebmeyer, W.B. Liu, Finite element approximation of the fast diffusion and the porous medium equations, SIAM J. Numer. Anal. 46 (5) (June 2008) 2393–2410. [10] E. Emmrich, D. Šiška, Full discretization of the porous medium/fast diffusion equation based on its very weak formulation, Commun. Math. Sci. 10 (2012) 1055–1080. [11] Stefan Karpinski, Iuliu Sorin Pop, Florin Adrian Radu, Analysis of a linearization scheme for an interior penalty discontinuous Galerkin method for two-phase flow in porous media with dynamic capillarity effects, Int. J. Numer. Methods Eng. 112 (6) (2017) 553–577. [12] A.A. Lacey, J.R. Ockendon, A.B. Tayler, “Waiting-time” solutions of a nonlinear diffusion equation, SIAM J. Appl. Math. 42 (6) (1982) 1252–1264. [13] Florian List, Florin A. Radu, A study on iterative methods for solving Richards’ equation, Comput. Geosci. 20 (2) (Apr 2016) 341–353. [14] James D. Murray, Mathematical Biology, Springer-Verlag, New York, 2002. [15] Cuong Ngo, Weizhang Huang, A study on moving mesh finite element solution of the porous medium equation, J. Comput. Phys. 331 (2017) 357–380. [16] Ricardo H. Nochetto, Claudio Verdi, Approximation of degenerate parabolic problems using a numerical integration, SIAM J. Numer. Anal. 25 (1988) 784–814. [17] Benoît Perthame, Fernando Quirós, Juan-Luis Vázquez, The Hele-Shaw asymptotics for mechanical models of tumor growth, Arch. Ration. Mech. Anal. 212 (2014) 93–127. [18] I.S. Pop, F. Radu, P. Knabner, Mixed finite elements for the Richards’ equation: linearization procedure, J. Comput. Appl. Math. 168 (1–2) (July 2004) 365–373. [19] Iuliu Sorin Pop, Wen-An Yong, A numerical approach to degenerate parabolic equations, Numer. Math. 92 (2) (Aug 2002) 357–381. [20] Florin Adrian Radu, Jan Martin Nordbotten, Iuliu Sorin Pop, Kundan Kumar, A robust linearization scheme for finite volume based discretizations for simulation of two-phase flow in porous media, J. Comput. Appl. Math. 289 (Complete) (2015) 134–141. [21] Jim Rulla, Noel J. Walkington, Optimal rates of convergence for degenerate parabolic problems in two dimensions, SIAM J. Numer. Anal. 33 (1) (February 1996) 56–67. [22] Jie Shen, Jie Xu, Unconditionally positivity preserving and energy dissipative schemes for Poisson–Nernst–Planck equations, submitted for publication, 2019. [23] Jie Shen, Jie Xu, Unconditionally bound preserving and energy dissipative schemes for a class of Keller–Segel equations, submitted for publication, 2019. [24] Marián Slodicka, A robust and efficient linearization scheme for doubly nonlinear and degenerate parabolic problems arising in flow in porous media, SIAM J. Sci. Comput. 23 (5) (May 2001) 1593–1614. [25] Juan Luis Vázquez, An introduction to the mathematical theory of the porous medium equation, in: Shape Optimization and Free Boundaries, Springer, 1992, pp. 347–389. Y. Gu, J. Shen / Journal of Computational Physics 410 (2020) 109378 21 [26] Juan Luis Vazquez, The Porous Medium Equation: Mathematical Theory, Clarendon Press, 2007. [27] Lin Wang, Haijun Yu, Convergence analysis of an unconditionally energy stable linear Crank-Nicolson scheme for the Cahn-Hilliard equation, J. Math. Study 51 (2018) 89–114. [28] Dongming Wei, Lew Lefton, A priori Lρ error estimates for Galerkin approximations to porous medium and fast diffusion equations, Math. Comput. 68 (227) (July 1999) 971–989. [29] Michael Westdickenberg, Jon Wilkening, Variational particle schemes for the porous medium equation and for the system of isentropic Euler equations, ESAIM: Math. Model. Numer. Anal. 44 (1) (2010) 133–166. [30] T.P. Witelski, Segregation and mixing in degenerate diffusion in population dynamics, J. Math. Biol. 35 (1997) 695–712. [31] Qiang Zhang, Zi-Long Wu, Numerical simulation for porous medium equation by local discontinuous Galerkin finite element method, J. Sci. Comput. 38 (2) (Feb 2009) 127–148.

采集于

查看校方原文 ↗