EIT Agent
登录
← 校园网页目录

校园网页 · 学校官网

v24_635.dvi

Commun. Comput. Phys. doi: 10.4208/cicp.OA-2017-0209 V ol.24, No. 3, pp. 635-654 September 2018 Stabilized Predictor-Corrector Schemes for Gradient Flows with Strong Anisotropic Free Energy Jie Shen1 and Jie Xu 1, ∗ 1 Department of Mathematics, Purdue University, USA. Received 30 September 2017; Accepted 19 October 2017 Abstract. Gradient flows with strong anisotropic free energy are diffic ult to deal with numerically with existing approaches. W e propose a stabilized predictor-corrector ap- proach to construct schemes which are second-order accurat e, easy to implement, and maintain the stability of first-order stabilized schemes. W e apply the new approach to three different type of gradient flows with strong anisotrop ic free energy: anisotropic diffusion equation, anisotropic Cahn-Hilliard equation, and Cahn-Hilliard equation with degenerate diffusion mobility . Numerical results are presented to show that the stabilized predictor-corrector schemes are second-order accurate, unconditionally sta- ble for the first two equations, and allow larger time step tha n the first-order stabilized scheme for the last equation. W e also prove rigorously that, for the isotropic Cahn- Hilliard equation, the stabilized predictor-corrector sc heme is of second-order. AMS subject classifications : 65M12, 82C24 Key words: Predictor-corrector, anisotropy , Cahn-Hilliard equation, Willmore regularization, de- generate diffusion mobility . 1 Introduction Many dynamical physical processes can be described by gradie nt flows of the governing free energy (see for example [1–6]). When dealing with stron gly anisotropic systems, the gradient flows are usually characterized by nonlinear coupl ings of spatial derivatives. We mention some examples here, including concentration-de pendent diffusion mobility [7, 8] or elasticity [9], and anisotropic interfacial energ y [10–12]. From the computational perspective, it is crucial to constr uct energy stable numeri- cal schemes. There are several different techniques to cons truct energy stable schemes, including convex splitting [13, 14], stabilization [15, 16 ], invariant energy quadratization (IEQ) [9, 17–19] and the newly introduced scalar auxiliary v ariable (SA V) approach [20]. ∗Corresponding author. Email addresses: shen7@purdue.edu (J. Shen), xu924@purdue.edu (J. Xu) http://www .global-sci.com/ 635 c⃝2018 Global-Science Press 636 J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 However, for gradient flows with strong anisotropic free energy , it is difficult to construct robust second-order schemes using these approaches as we ex plain below. The convex splitting and stabilization approaches usually lead to onl y first-order schemes, although second-order schemes are available for certain special cas es without nonlinear derivative terms. One can formally construct second-order energy stab le schemes using IEQ or SA V approach as long as one can split the free energy into two term s, one is a linear quadratic term and the other is bounded from below. But we may not be able to do so with free energies having strong nonlinear derivative terms. Furthe rmore, the stability of IEQ and SA V is with respect to a modified energy which, in cases of stron g nonlinear derivative terms, may not a good approximation of the original energy , c ould lead to non-physical oscillations [20]. In this work, we construct second-order stabilized predictor-corrector scheme for gra- dient flows with strongly nonlinear couplings of spatial der ivatives. More precisely , we use the first-order stabilized scheme as the predictor, follo wed by a second-order correc- tor step. The scheme enjoys the following advantages: • Simplicity: it only requires solving linear equations with constant coefficients at each time step. • Stability: we shall show numerically that it is at least as st able as the first-order stabilized scheme. • Accuracy: we shall show, analytically for a simple case and n umerically with ex- tensive examples, that the scheme is second-order accurate . We shall consider three different types of gradient flows wit h strong anisotropic free energy , and construct stabilized predictor-corrector schemes for each case. First, we con- sider in Section 2 an anisotropic diffusion equation, and introduce the stabilized predictor- corrector approach. As a comparison, we also consider the se cond-order Crank-Nicolson scheme with Adam-Bashforth extrapolation for nonlinear te rms. We will show that the stabilized predictor-corrector approach is much more robu st than the Crank-Nicolson scheme with Adam-Bashforth extrapolation. We then apply th e stabilized predictor- corrector approach to a strongly anisotropic Cahn-Hilliar d equation in Section 3 and to the Cahn-Hilliard equation with degenerate diffusion mobi lity in Section 4. In all cases, our numerical results indicate that the stabilized predict or-corrector schemes are second- order accurate while having good stability . Finally , we carry out a rigorous error analysis in Section 5 to show the second-order convergence for the iso tropic Cahn-Hilliard equa- tion. 2 Anisotropic diffusion equation In order to motivate the stabilized predictor-corrector ap proach, we consider in this sec- tion the following free energy functional, J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 637 F[φ ] = 1 2 ∫ dxa(φ )|∇ φ |2, (2.1) where we assume that a is bounded and non-negative. Such free energy can be found in many applications, e.g., as part of the free energy in the C ahn-Hilliard equation with anisotropic interfacial energy considered in the next sect ion. We examine the L2 gradient flow φ t = ∇· (a(φ )∇ φ )− 1 2 |∇ φ |2a′(φ ). (2.2) If a is constant, it reduces to the heat equation. We are interest ed in the case where amax/amin is very large or even unbounded, which brings difficulty in sol ving the equa- tion numerically . One widely used strategy to construct stabilized schemes is to split the free energy F = F1 − F2 with F1[φ ] = 1 2 ∫ dxλ |∇ φ |2, F2[φ ] = 1 2 ∫ dx(λ − a)|∇ φ |2, (2.3) where λ > amax. Then, a first-order semi-implicit stabilized scheme is give n by φ n+1− φ n ∆t = − δ F1 δφ [φ n+1]+ δ F2 δφ [φ n] = λ ∆φ n+1 −∇· ((λ − a(φ n))∇ φ n)− 1 2 |∇ φ n|2a′(φ n). (2.4) The above scheme is proven to be very stable but has large splitting errors. To increase the accuracy , we can consider the following second-order Crank -Nicolson Adam-Bashforth scheme: φ n+1 − φ n ∆t =− δ F1 δφ [ 1 2 (φ n+1+φ n)]+ δ F2 δφ [ ¯φ n+1/2] = λ 2 ∆(φ n+1 +φ n)−∇· ((λ − a( ¯φ n+1/2))∇ ¯φ n+1/2)− 1 2 |∇ ¯φ n+1/2|2a′( ¯φ n+1/2), (2.5) with ¯φ n+1/2 = (3φ n − φ n− 1)/2. (2.6) However, numerical experiments indicate that the above sch eme is not very robust at larger time steps, particularly when anisotropy is strong a nd the initial condition has large derivatives. In order to construct a more robust and ef ficient second-order scheme, we propose to use a predictor-corrector approach. More preci sely , instead of using 638 J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 10 −5 10 −4 10 −9 10 −8 10 −7 10 −6 10 −5 10 −4 ∆t Error Predictor−Corrector Adam−Bashforth Fig. 1: Errors of predictor-corrector scheme and Adam-Bash forth scheme for (2.2) with the initial condition (2.8). The dashed line is the reference of the second-order conver gence. ¯φ n+1/2 = (3φ n − φ n− 1)/2 in (2.5), we compute it by using the first-order scheme (2.4) at tn+1/2, i.e., we determine ¯φ n+1/2 from ¯φ n+1/2 − φ n ∆t/2 =λ ∆ ¯φ n+1/2 −∇· ((λ − a(φ n))∇ φ n)− 1 2 |∇ φ n|2a′(φ n). (2.7) We shall show, with ample numerical results, that the predic tor-corrector scheme (2.5) with (2.7) performs much better than the Crank-Nicolson Ada m-Bashforth scheme (2.5) with (2.6). An intuitive explanation is that the first-order p redictor is able to suppress high-frequency oscillations, while the Adam-Bashforth ex trapolation can not. We first examine the accuracy of the predictor-corrector scheme and the second-order Crank-Nicolson Adam-Bashforth scheme. We set a(φ ) = 1+0.8sin φ , Ω = [0,2π )2 with periodic boundary conditions, and take the initial conditi on to be φ (x,y,0) =2cos(2x+y)+ cos(x− 2y). (2.8) The space is discretized by 2 7 × 27 using Fourier-spectral methods. The numerical errors for both schemes at T = 0.16 are plotted in Fig. 1. We observe that both schemes are second-order accurate but the errors of Adam-Bashforth sch eme are slightly smaller. But as we shall see below, this slight loss of accuracy will be mor e than compensated by its excellent stability . Next, we compare the stability of the predictor-corrector s cheme and the Crank- Nicolson Adam-Bashforth scheme. We choose a strongly dispa rate coefficient a(φ ) = 1+0.99sin φ with the initial condition φ (x,y,0) = 3 π arctan ( (x− π )2 +( y− π )2 − (2π /2.56)2 0.05 ) . J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 639 0 0.01 0.02 0.03 0.04 0 0.5 1 1.5 2 2.5 x 10 206 t Energy 0 0.2 0.4 0.6 0.8 1 0 20 40 60 80 100 120 t Energy Fig. 2: Energy as a function of the time for a = 1+0.99sin φ , where ∆t = 10− 3. Left: Adam-Bashforth. Right: Predictor-corrector. 0 2 4 6 8 10 0 20 40 60 80 100 120 t Energy Fig. 3: Energy as a function of the time for a = 1+0.9999sin φ , where ∆t = 0.1. We choose ∆t = 10− 3 with 29 × 29 spatial resolution to adequately resolve the arctan func- tion. The energy evolutions of both schemes are plotted in Fi g. 2. The Crank-Nicolson Adam-Bashforth scheme quickly blows up, while the predicto r-corrector scheme keeps the energy dissipation. To further demonstrate the robustn ess of the predictor-corrector scheme, we test the predictor-corrector scheme with an even more disparate coefficient a(φ ) =1+0.9999sin φ , and a much larger time step ∆t = 0.1, The energy of the predictor- corrector scheme is plotted in Fig. 3, which indicates that t he method still works very well. From these examples, we can see that the predictor-correcto r scheme achieves the second order accuracy while maintaining good stability . This is particularly useful when there is strong nonlinearity in derivatives and when the coe fficients are nearly degener- ate. To further demonstrate the robustness of the predictor-cor rector approach, we will apply the predictor-corrector approach to two challenging phase-field type equations. 640 J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 3 Cahn-Hilliard equation with anisotropic interfacial ene rgy We consider in this section the anisotropic Cahn-Hilliard e quation, a phase-field model that describes binary mixture with anisotropic interfacia l energy [10–12, 21], with the free energy in the following form F[φ ] = ∫ dx ( 1 ǫ 2 f (φ )+ γ (n) 2 |∇ φ |2 + β 2 ω 2 ) , (3.1) where n = ∇ φ /|∇ φ |is the unit vector along ∇ φ (the unit vector normal to the interface), and f (φ ) = (1− φ 2)2/4. The interfacial free energy density γ (n) is given by γ (n) =1+a ( 4∑ i n4 i − 3 ) , (3.2) In the 2D case, it can also be written as γ (n) = 1+acos(4θ ), where θ is the orientational angle of n. The last term in the free energy is the regularization term f or the case of strong anisotropy (when a is large), ω = κ ǫ 2 f ′(φ )− ∆φ . (3.3) In the above, κ may take two values 0 or 1. When κ = 0, it is the bi-Laplacian regulariza- tion; when κ = 1, it is the Willmore regularization. Then, the H− 1 gradient flow with this free energy is φ t = ∆ δ F δφ , (3.4) where δ F δφ = 1 ǫ 2 f ′(φ )+ β (κ f ′′(φ ) ǫ 2 − ∆) ( κ f ′(φ ) ǫ 2 − ∆φ ) −∇· (γ (n)∇ φ )− 1 2 ∂ i ( |∇ φ |(δ ij − ninj)∂ nj γ (n) ) , with the Einstein summation convention in the last term. The about equation is notoriously difficult to solve since it involves sixth order deriva- tives with strong nonlinear coupling. A first-order nonlinea r scheme was proposed in [11], while a linear stabilized first-order scheme was prop osed in [12]. Due to the strong nonlinear coupling, no second-order scheme is avail able. We propose below a second-order predictor-corrector scheme based on the first o rder stabilized scheme. J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 641 3.1 Numerical scheme We split the free energy F = F1 − F2 with F1[φ ] =β 2 ∥∆φ ∥2 + κβ S2 + Mǫ 2 2ǫ 2 ∥∇ φ ∥2 + κβ S1 +S0ǫ 2 2ǫ 4 ∥φ ∥2, (3.5) F2[φ ] = 1 ǫ 2 [ S0 2 ∥φ ∥2 − ( f (φ ),1) ] + M− γ (n) 2 ∥∇ φ ∥2 + κβ S1 2ǫ 4 ∥φ ∥2 + κβ S2 2ǫ 2 ∥∇ φ ∥2 + β 2 ∥∆φ ∥2 − β 2   κ f ′(φ ) ǫ 2 − ∆φ    2 . (3.6) In the above, we introduced four stabilizing constants S0,S1,S2, M. Intuitively , they shall be chosen such that F1 and F2 are at least positive definite. Then, a first-order stabilized scheme can be constructed by dealing with F1 implicitly and F2 explicitly , namely: φ n+1− φ n ∆t =∆µ n+1, (3.7) µ n+1 =β ∆2φ n+1+ 1 ǫ 2 ( S0(φ n+1− φ n)+ f ′(φ n) ) − M∆(φ n+1− φ n)−∇· (γ (nn)∇ φ n)− 1 2 ∂ i ( |∇ φ n|(δ ij − nn i nn j )∂ nj γ (nn) ) +κ β ǫ 4 ( S1(φ n+1− φ n)+ f ′(φ n) f ′′(φ n) ) − κ β ǫ 2 ( S2∆(φ n+1 − φ n)+ ∆ f ′(φ n)+ f ′′(φ n)∆φ n ) . (3.8) The second-order predictor-corrector scheme is written as φ n+1− φ n ∆t =∆µ n+1/2, (3.9) µ n+1/2 =β ∆2 1 2 (φ n+1+φ n)+ 1 ǫ 2 ( S0 ( 1 2 (φ n+1+φ n)− ¯φ n+1/2) + f ′( ¯φ n+1/2) ) − M∆ ( 1 2 (φ n+1+φ n)− ¯φ n+1/2 ) −∇· ( γ (nn+1/2)∇ ¯φ n+1/2) − 1 2 ∂ i ( |∇ ¯φ n+1/2|(δ ij − nn+1/2 i nn+1/2 j )∂ nj γ (nn+1/2) ) +κ β ǫ 4 ( S1 ( 1 2 (φ n+1+φ n) − ¯φ n+1/2)+ f ′( ¯φ n+1/2) f ′′( ¯φ n+1/2) ) − κ β ǫ 2 ( S2∆ ( 1 2 (φ n+1+φ n)− ¯φ n+1/2) +∆ f ′( ¯φ n+1/2)+ f ′′( ¯φ n+1/2)∆ ¯φ n+1/2 ) , (3.10) with ¯φ n+1/2 being obtained from φ n using the first-order stabilized scheme (3.8) with the time step ∆t/2. 642 J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 3.2 Numerical examples We consider (3.4) with the periodic boundary conditions in t he domain [0,L)× [0,L) with L = 2. The space is discretized by the Fourier spectral method wi th 2 8 × 28 modes. The stabilization parameters are chosen as M = S0 = S1 = S2 = 8. When showing the result, we draw the contour φ = 0 to represent the interface. 3.2.1 Accuracy and stability test We choose ǫ = 0.2, a = 0.2, β = 5× 10− 4, and a smooth initial condition φ (0,x,y) =0.5sin(π x)sin(π y). (3.11) We plot the numerical error at t = 10− 5 with different time steps in Fig. 4. The reference solution is the numerical solution with ∆t=5× 10− 10. For both bi-Laplacian and Willmore regularization, we observe the second-order convergence. 10 −9 10 −8 10 −7 10 −11 10 −10 10 −9 10 −8 10 −7 ∆t Error 10 −9 10 −8 10 −7 10 −11 10 −10 10 −9 10 −8 10 −7 ∆t Error Fig. 4: Numerical errors by the scheme (3.10): The dashed lines are reference lines of second-order conve rgence. Left: bi-Laplacian regularization. Right: Willmore regul arization. Next we examine the stability of (3.10) with large time step. We choose a smallǫ =0.02, a large anisotropic parameter a = 0.99, and β = 5× 10− 4. The initial condition is chosen as φ (0,x,y) =tanh ( √ (x− 0.4L)2 +( y− 0.51L)2 − L/4 ǫ ) +tanh ( √ (x− 5L/6)2 +( y− 0.49L)2 − L/10 ǫ ) − 1. (3.12) We use ∆t = 10− 2. The free energy and interfacial profiles at steady states are shown in Fig. 5. The energy dissipation is maintained and the steady s tates are correct. We plot in Fig. 6 the vertical cross section along y = 1, which shows no high-frequency oscillation. We have also tried with even larger time steps, the numerical solution is still energy stable without high-frequency oscillation, indicating th at the predictor-corrector scheme has very good stability . J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 643 0 0.5 1 1.5 2 0 0.5 1 1.5 2 0 5 10 15 20 25 30 35 40 45 50 55 60 t Energy 0 0.5 1 1.5 2 0 0.5 1 1.5 2 0 5 10 15 20 25 20 25 30 35 40 45 50 55 60 65 t Energy Fig. 5: Steady state and evolution of free energy when a=0.99 and ∆t=10− 2. Top: bi-Laplacian regularization. Bottom: Willmore regularization. 0 0.5 1 1.5 2 −1 −0.5 0 0.5 1 x φ Fig. 6: The profile of φ on y = 1 in Fig. 5 bottom. 3.2.2 Roughing process of a smooth curve Here, we examine evolution of a smooth interface to facets. W e adopt the Willmore reg- ularization and choose ǫ = 0.02, a = 0.8, β = 4× 10− 4, and the initial condition φ (x,y,0) =tanh(− (y− 0.7L− 0.2r1)/ǫ )+ tanh((y− 0.3L− 0.2r1)/ǫ )− 1, (3.13) 644 J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 Fig. 7: Evolution of smooth interface to facets. From left to right: t = k× 10− 4 with k = 0,0.5,1 (top) and k = 2,3,4 (bottom). where r1(x) =1.8cos(4π x/L)+ 1.5cos(12π x/L)+ 0.4cos(20π x/L)+ 0.1cos(28π x/L). (3.14) we take the time step to be ∆t = 10− 6. The configuration is shown in Fig. 7. We observe that an initially smooth interface quickly forms many small facets along the low-energy orientations, followed by combinations of small facets int o large ones. These simulations are consistent with the results in [11, 12]. 3.2.3 Wulff shape of a droplet We choose, as the initial data, a circular droplet φ (0,x,y) =tanh ( √ (x− 0.5L)2 +( y− 0.5L)2 − L/4 ǫ ) , (3.15) and examine the Wulff shape equilibrium state. We focus on th e Willmore regularization and choose ǫ = 0.02. First we fix β = 4× 10− 4 and examine the effect of the anisotropic parameter a (Fig. 8). As a increases, the facets become more flat and the corners become sharper. Then we fix a = 0.8 and let β vary (Fig. 9). There is no visible difference with respect to the facets, but the corner is wider and smoother as β increases. J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 645 0 0.5 1 1.5 2 0 0.5 1 1.5 2 a=0.8 a=0.6 a=0.4 a=0.2 0.9 0.95 1 1.05 1.1 1.5 1.55 1.6 1.65 a=0.8 a=0.6 a=0.4 a=0.2 Fig. 8: The Wulff shape with different a. The right plot is the top corner of the left plot. 0 0.5 1 1.5 2 0 0.5 1 1.5 2 2e−4 4e−4 8e−4 1.6e−3 0.9 0.95 1 1.05 1.1 1.5 1.55 1.6 1.65 2e−4 4e−4 8e−4 1.6e−3 Fig. 9: The Wulff shape with different β . The right plot is the top corner of the left plot. 3.2.4 Coarsening dynamics We fix ǫ = 0.02, β = 5× 10− 4 and let the anisotropic parameter a vary . The initial condition is chosen as (3.12), and the time step is ∆t = 10− 7. The interfacial profile and evolution of free energy are plotted in Fig. 10 for a = 0.2 and Fig. 11 for a = 0.6 for both bi-Laplacian and Willmore regularization. By looking at both the energy a nd the interfacial profile, we find that the coarsening process is faster when a = 0.2. Besides, with bi-Laplacian reg- ularization the coarsening process is also faster than the W illmore regularization. This is possibly because the bi-Laplacian introduce addition di ssipation throughout the do- main, but Willmore only within the interfacial layer. For th e Willmore regularization with a = 0.6, the two droplets first merge into one, then the shape evolv es to the Wulff shape. For the other three cases, the two droplets first evolve into a Wulff shape, then the coarsening process takes place. To see this more clearly , we also plot φ at y = 0.9375 in Fig. 12 for Willmore regularization. 646 J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 0 0.5 1 1.5 2 0 0.5 1 1.5 2 t=0 t=2e−4 t=4e−4 t=6e−4 t=8e−4 0 0.2 0.4 0.6 0.8 1 x 10 −3 40 45 50 55 60 65 70 t Energy 0 0.5 1 1.5 2 0 0.5 1 1.5 2 t=0 t=2e−4 t=4e−4 t=6e−4 t=8e−4 0 0.2 0.4 0.6 0.8 1 x 10 −3 35 40 45 50 55 60 65 t Energy Fig. 10: Evolution of free energy and interface when a=0.2. Top: bi-Laplacian regularization. Bottom: Willmore regularization. 4 Cahn-Hilliard equation with degenerate diffusion mobili ty We consider the isotropic free energy F[φ ] = ∫ dx ( 1 ǫ 2 f (φ )+ 1 2 |∇ φ |2 ) , (4.1) where f (φ ) = (1− φ 2)2/4, with a variable diffusive mobility M(φ ) = |1− φ 2|. The H− 1 gradient flow, with the variable mobility , is given by φ t = ∇· ( M(φ )∇ ( − ∆φ + 1 ǫ 2 f ′(φ ) ) ) . (4.2) It is observed that the constant mobility leads to dissipati on in the whole domain, while this variable mobility restrains the dissipation inside th e interface layer [7, 8]. J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 647 0 0.5 1 1.5 2 0 0.5 1 1.5 2 t=0 t=2e−4 t=4e−4 t=6e−4 t=8e−4 0 0.2 0.4 0.6 0.8 1 x 10 −3 30 40 50 60 70 80 90 100 t Energy 0 0.5 1 1.5 2 0 0.5 1 1.5 2 t=0 t=2e−4 t=4e−4 t=6e−4 t=8e−4 0 0.2 0.4 0.6 0.8 1 x 10 −3 30 35 40 45 50 55 60 65 t Energy Fig. 11: Evolution of free energy and interface when a=0.6. Top: bi-Laplacian regularization. Bottom: Willmore regularization. 0 0.5 1 1.5 2 −1 −0.5 0 0.5 1 x φ 0 0.5 1 1.5 2 −1 −0.5 0 0.5 1 x φ Fig. 12: Profiles of φ at y=0.9375 for the Willmore regularization. Left: a=0.2 (Fig. 10); Left: a=0.6 (Fig. 11). 4.1 Numerical schemes We start from the first-order stabilized scheme used in [8]: ¯φ n+1− φ n ∆t = − λ ∆2 ¯φ n+1+∇· ( (λ − M(φ n))∇ ∆φ n ) +∇· ( M(φ n)∇ 1 ǫ 2 f ′(φ n) ) , (4.3) 648 J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 where λ is a suitable stabilizing parameter. The second-order predictor-corrector scheme is then given by φ n+1− φ n ∆t =− λ 2 ∆2(φ n+1+φ n) +∇· ( (λ − M( ¯φ n+1/2))∇ ∆ ¯φ n+1/2 ) +∇· ( M( ¯φ n+1/2)∇ 1 ǫ 2 f ′( ¯φ n+1/2) ) , (4.4) where ¯φ n+1/2 is computed by (4.3) with the time step ∆t/2. Note that one should use a weak formulation in the implementa tion of both schemes (4.3) and (4.4) to avoid taking derivatives of M( ¯φ n+1/2). We point out that the semi- implicit scheme is energy stable only when the time step is no t large. Thus we cannot expect the energy stability of the predictor-corrector sch eme for large time step. 4.2 Numerical examples We choose ǫ = 0.02 and consider the domain [0,2)× [0,2) with periodic boundary condi- tions. The space is discretized by 2 7 × 27 Fourier modes. The stabilization parameter is chosen as λ = 2. 4.2.1 Accuracy and stability test To check the accuracy , we choose a smooth initial condition φ (0,x,y) =0.5sin(π x)sin(π y). (4.5) We plot the numerical error at t = 4× 10− 5 in Fig. 13. The reference solution is given by ∆t = 10− 9. 10 −8 10 −710 −10 10 −9 10 −8 10 −7 10 −6 ∆t Error Fig. 13: Numerical error of the equation (4.2) at t = 4× 10− 5. The dashed line is a reference of second-orderconvergence. J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 649 0 1 2 3 4 5 x 10 −3 0 100 200 300 400 500 600 t Energy Fig. 14: Evolution of free energy with ∆t = 4× 10− 6. Red: semi-implicit; blue: predictor-corrector. As for the stability , we find that with ∆t = 10− 5, both schemes blow up. With ∆t = 4× 10− 6, the stabilized scheme exhibits oscillations in energy , wh ile the predictor- corrector scheme keeps energy dissipation (see Fig. 14), in dicating that the predictor- corrector scheme, not only is more accurate at second-order , but is also more stable. 4.2.2 Coarsening dynamics We take the initial condition φ (0,x,y) =tanh ( √ (x− 0.4L)2 +( y− 0.55L)2 − L/4 ǫ ) +tanh ( √ (x− 5L/6)2 +( y− 0.45L)2 − L/10 ǫ ) − 1, with L = 2 being the length of the domain. We choose ∆t = 4× 10− 7. The contour φ = 0 are plotted in Fig. 15 left. We also compare the energy evolution s with M=|1− φ 2|and M=1, plotted in Fig. 15 right. It is found that the coarsening is mu ch slower with M = |1− φ 2|, which is consistent with the results in [7, 8]. 5 Error estimate of the isotropic Cahn-Hilliard equation While it is clear that the predictor-corrector scheme used i n this paper is second-order if applied to ordinary differential equations, it is not so cle ar under what conditions it will provide second-order accuracy for partial differential eq uations. We shall consider the isotropic Cahn-Hilliard equation φ t = ∆(− ∆φ + f (φ )), (5.1) 650 J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 0 0.5 1 1.5 2 0 0.5 1 1.5 2 t=0 t=4e−3 t=8e−3 t=12e−3 t=16e−3 0 0.005 0.01 0.015 0.02 38 40 42 44 46 48 50 52 54 56 t Energy Fig. 15: Left: evolution of interface with the mobility M(φ ) =|1− φ 2|. Right: Free energy evolution with M = 1 (red) and M = |1− φ 2| (blue). and perform an error analysis for the predictor-corrector s cheme ¯φ n+1/2 − φ n ∆t/2 = ∆ ( − ∆ ¯φ n+1/2 + f (φ n)+ S( ¯φ n+1/2 − φ n) ) , (5.2) φ n+1− φ n ∆t = ∆ [ − 1 2 ∆(φ n+1 +φ n)+ f ( ¯φ n+1/2)+ S ( 1 2 (φ n+1+φ n)− ¯φ n+1/2 ) ] , (5.3) where S is a stabilizing constant. Denote en = φ n − φ (tn) and ¯en+1/2 = ¯φ n+1/2 − φ (tn+1/2). Theorem 5.1. Assuming that f satisfies the Lipchitz condition |f (x)− f (y)|< L|x− y|. For any ∆t < ( 1+4(L2 +S2) ) − 1 , there exists a constant C depending on L and S such that ∥en∥2 ≤ Cexp ( ( 1− (1+4(L2 +S2))∆t ) − 1 tn ) ∆t4 ∫ tn 0 dt(∥φ t∥2 H4 +∥φ tt∥2 H2 +∥φ ttt ∥2). (5.4) Proof. We first give an estimate of ¯en+1/2. By comparing (5.2) with the equation at tn, we deduce that ¯en+1/2 − en ∆t/2 =∆ [ − ∆ ¯en+1/2 + f (φ n)− f ( φ (tn) ) +S( ¯en+1/2 − en) ] + ¯Tn, (5.5) where the truncation error ¯Tn = ¯Tn 1 + ¯Tn 2 with ¯Tn 1 = φ (tn+1/2)− φ (tn) ∆t/2 − φ t(tn) =− 1 ∆t/2 ∫ tn+1/2 tn dt(t− tn)φ tt, ¯Tn 2 =− ∆2 ( φ (tn+1/2)− φ (tn) ) +S∆ ( φ (tn+1/2)− φ (tn) ) = (− ∆2 +S∆) ∫ tn+1/2 tn dtφ t. J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 651 It is easy to see that we have ∥ ¯Tn 1 ∥2 ≤ C∆t ∫ tn+1/2 tn dt∥φ tt∥2, ∥ ¯Tn 2 ∥2 ≤ C∆t ∫ tn+1/2 tn dt∥φ t∥2 H4 . Taking the inner product of (5.5) with ¯en+1/2, we obtain 1 ∆t (∥ ¯en+1/2∥2 −∥ en∥2 +∥ ¯en+1/2 − en∥2)+ ∥∆ ¯en+1/2∥2 +S∥∇ ¯en+1/2∥2 = ( ∆ ¯en+1/2, f (φ n)− f ( φ (tn) ) − Sen ) +( ¯en+1/2, ¯Tn) ≤ ∥ ∆ ¯en+1/2∥2 + 1 4   f (φ n)− f ( φ (tn) ) − Sen 2 + 1 4∆t ∥ ¯en+1/2∥2 +∆t∥ ¯Tn 1 + ¯Tn 2 ∥2 ≤ ∥ ∆ ¯en+1/2∥2 + 1 2   f (φ n)− f ( φ (tn) )  2 + S 2  en 2 + 1 4∆t ∥ ¯en+1/2∥2 +2∆t(∥ ¯Tn 1 ∥2 +∥ ¯Tn 2 ∥2) ≤ ∥ ∆ ¯en+1/2∥2 + L2 +S2 2 ∥en∥2 + 1 4∆t ∥ ¯en+1/2∥2 +2∆t(∥ ¯Tn 1 ∥2 +∥ ¯Tn 2 ∥2). Together with ∆t ≤ 1/(L2 +S2), we arrive at ∥ ¯en+1/2∥2 ≤ ( 4 3 + 2(L2 +S2) 3 ∆t ) ∥en∥2 +C∆t3 ∫ tn+1/2 tn dt(∥φ tt∥2 +∥φ t∥2 H4) ≤ 2∥en∥2 +C∆t3 ∫ tn+1/2 tn dt(∥φ tt∥2 +∥φ t∥2 H4). (5.6) Now we can estimate en+1. Comparing (5.3) with the equation at tn+1/2, we deduce en+1 − en ∆t =∆ [ − 1 2 ∆(en+1 +en)+ ( f ( ¯φ n+1/2)− f (φ (tn+1/2)) ) + S 2 (en+1 +en − 2 ¯en+1/2) ] +Tn 1 +∆Tn 2 . (5.7) The local truncation errors become Tn 1 = φ (tn+1)− φ (tn) ∆t − φ t(tn+1/2) = 1 ∆t ∫ tn+1 tn dt 1 2 (t− tn+1/2)2φ ttt, Tn 2 =− 1 2 ∆ ( φ (tn+1)+ φ (tn)− 2φ (tn+1/2) ) + S 2 ( φ (tn+1)+ φ (tn)− 2φ (tn+1/2) ) =(− ∆+S) ∫ tn+1 tn dt(t− tn+1/2)φ tt. Now the estimates for them are given by ∥Tn 1 ∥2 ≤ C∆t3 ∫ tn+1/2 tn dt∥φ ttt ∥2, ∥Tn 2 ∥2 ≤ C∆t3 ∫ tn+1/2 tn dt∥φ tt∥2 H2. 652 J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 Taking the inner product of (5.7) with en+1 +en, we deduce that 1 ∆t (∥en+1∥2 −∥ en∥2)+ 1 2 ∥∆(en+1 +en)∥2 + S 2 ∥∇ (en+1 +en)∥2 = ( ∆(en+1 +en), f ( ¯φ n+1/2)− f ( φ (tn+1/2) ) − S ¯en+1/2 +Tn 2 ) + ( (en+1 +en),Tn 1 ) ≤ 1 2 ∥∆(en+1 +en)∥2 + 1 2 ∥ f ( ¯φ n+1/2)− f ( φ (tn+1/2) ) − S ¯en+1/2 +Tn 2 ∥2 + 1 2 ∥en +en+1∥2 + 1 2 ∥Tn 1 ∥2 ≤ 1 2 ∥∆(en+1 +en)∥2 +∥ f ( ¯φ n+1/2)− f ( φ (tn+1/2) ) − S ¯en+1/2∥2 +∥Tn 2 ∥2 +( ∥en∥2 +∥en+1∥2)+ 1 2 ∥Tn 1 ∥2 ≤ 1 2 ∥∆(en+1 +en)∥2 +2(L2 +S2)∥ ¯en+1/2∥2 +( ∥en∥2 +∥en+1∥2)+ 1 2 ∥Tn 1 ∥2 +∥Tn 2 ∥2 ≤ 1 2 ∥∆(en+1 +en)∥2 + ( 1+4(L2 +S2) ) (∥en+1∥2 +∥en∥2) +C∆t3 ∫ tn+1/2 tn dt(∥φ ttt ∥2 +∥φ tt∥2 H2 +∥φ t∥2 H4 ). In the last inequality , we used (5.6). Then we use the discret e Gronwall’s inequality (see [22], pp. 15) to obtain (5.4). Remark 5.1. It is a common practice to assume the Lipchitz condition on f (φ ) in Theorem 5.1 [16, 23, 24]. Although it is not directly satisfied by the co mmonly used form f (φ ) = (φ 2− 1)φ , it has been shown in [25] one can safely truncate f (φ ) for large φ ) to satisfy the Lipchitz condition without affecting the solution. Remark 5.2. The results in Theorem 5.1 indicate that, for smooth solutio ns, the L2 norm of the numerical solution φ n will remain to be bounded, under the assumptions of Theo- rem 5.1. However, we are unable to prove the stability direct ly without the smoothness assumption. 6 Conclusion We proposed in this paper the stabilized predictor-correct or approach for gradient flows with strong anisotropic systems. The approach leads to sche mes which enjoy the follow- ing advantages: (i) they are easy to implement as one only nee ds to solve linear systems with constant coefficients; (ii) they maintain the energy sta bility of the first-order stabi- lized scheme; and (iii) they are second order accurate. We nu merically validated this approach with three different types of gradient flows with st rong anisotropic free energy . And we carried out a rigorous error analysis for the isotropi c Cahn-Hilliard equation to show that the stabilized predictor-corrector approach is s econd-order accurate. J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 653 Acknowledgments This work is supported in part by NSF DMS-1620262, DMS-1720442 and AFOSR FA9550- 16-1-0102. References [1] J. W . Cahn and J. E. Hilliard. Free energy of a nonuniform s ystem. I. interfacial free energy . The Journal of Chemical Physics , 28(2):258–267, 1958. [2] S. M. Allen and J. W . Cahn. A microscopic theory for antiph ase boundary motion and its application to antiphase domain coarsening. Acta Metallurgica, 27(6):1085–1095, 1979. [3] F . M. Leslie. Theory of flow phenomena in liquid crystals. Advances in Liquid Crystals, 4:1–81, 1979. [4] M. Doi and S. F . Edwards. The theory of polymer dynamics , volume 73. Oxford University Press, 1988. [5] K. R. Elder, M. Katakowski, M. Haataja, and M. Grant. Mode ling elasticity in crystal growth. Physical Review Letters, 88(24):245701, 2002. [6] P . Yue, J. J. Feng, C. Liu, and J. Shen. A diffuse-interfac e method for simulating two-phase flows of complex fluids. Journal of Fluid Mechanics , 515:293–317, 2004. [7] T. Zhang and Q. W ang. Cahn-Hilliard vs singular Cahn-Hil liard equations in phase field modeling. Communications in Computational Physics , 7(2):362, 2010. [8] S. Dai and Q. Du. Computational studies of coarsening rat es for the CahnHilliard equation with phase-dependent diffusion mobility . Journal of Computational Physics , 310:85–108, 2016. [9] X. Y ang. Linear, first and second-order, unconditionall y energy stable numerical schemes for the phase field model of homopolymer blends. J. Comput. Phys. , 327:294–316, 2016. [10] S. T orabi, J. Lowengrub, A. V oigt, and S. Wise. A new phas e-field model for strongly anisotropic systems. Proceedings of the Royal Society A Mathematical Physical & E ngineering Sciences, 465(2105):1337–1359, 2009. [11] S. Wise, J. Kim, and J. Lowengrub. Solving the regulariz ed, strongly anisotropic Cahn- Hilliard equation by an adaptive nonlinear multigrid metho d. Journal of Computational Physics, 226(1):414–446, 2007. [12] F . Chen and J. Shen. Efficient energy stable schemes with spectral discretization in space for anisotropic Cahn-Hilliard systems. Communications in Computational Physics , 13(05):1189– 1208, 2013. [13] C. M. Elliott and A. M. Stuart. The global dynamics of dis crete semilinear parabolic equa- tions. SIAM J. Numer. Anal., 30(6):1622–1663, 1993. [14] D. J. Eyre. Unconditionally gradient stable time march ing the Cahn-Hilliard equation. In Computational and mathematical models of microstructural evolution (San Francisco, CA, 1998) , volume 529 of Mater. Res. Soc. Sympos. Proc. , pages 39–46. MRS, W arrendale, P A, 1998. [15] J. Zhu, L.-Q. Chen, J. Shen, and V . Tikare. Coarsening ki netics from a variable-mobility Cahn-Hilliard equation: Application of a semi-implicit Fo urier spectral method. Physical Review E, 60(4):3564, 1999. [16] J. Shen and X. Y ang. Numerical approximations of Allen- Cahn and Cahn-Hilliard equations. Discrete Contin. Dyn. Syst. , 28(4):1669–1691, 2010. [17] J. Zhao, X. Y ang, Y . Gong, and Q. W ang. A novel linear second order unconditionally energy stable scheme for a hydrodynamic Q-tensor model of liquid crystals. Comput. Methods Appl. 654 J. Shen and J. Xu / Commun. Comput. Phys., 24 (2018), pp. 635-654 Mech. Engrg., 318:803–825, 2017. [18] X. Y ang and L. Ju. Linear and unconditionally energy sta ble schemes for the binary fluid- surfactant phase field model. Comput. Methods Appl. Mech. Engrg. , 318:1005–1029, 2017. [19] X. Y ang, J. Zhao, Q. W ang, and J. Shen. Numerical approxi mations for a three-component Cahn-Hilliard phase-field model based on the invariant ener gy quadratization method. Math. Models Methods Appl. Sci. , 27(11):1993–2030, 2017. [20] J. Shen, J. Xu, and J. Y ang. The scalar auxiliary variabl e (SA V) approach for gradient flows. Journal of Computational Physics , 353:407–416, 2018. [21] R. Kobayashi. Modeling and numerical simulations of de ndritic crystal growth. Physica D: Nonlinear Phenomena, 63(3):410–423, 1993. [22] A. Quarteroni and A. V alli. Numerical Approximation of Partial Differential Equations. Springer- V erlag, Berlin, 2008. [23] D. Kessler, R. H. Nochetto, and A. Schmidt. A posteriori error control for the Allen-Cahn problem: circumventing Gronwall’s inequality . M2AN Math. Model. Numer. Anal., 38(1):129– 142, 2004. [24] N. Condette, C. Melcher, and E. S ¨ uli. Spectral approxi mation of pattern-forming nonlin- ear evolution equations with double-well potentials of qua dratic growth. Math. Comp. , 80(273):205–223, 2011. [25] L. A. Caffarelli and N. E. Muler. An L∞ bound for solutions of the Cahn-Hilliard equation. Arch. Rational Mech. Anal. , 133(2):129–144, 1995.

采集于

查看校方原文 ↗