校园网页 · 学校官网
Efficient and accurate structure preserving schemes for complex nonlinear systems
Chapter 17 Efficient and accurate structure preserving schemes for complex nonlinear systems Jie Shen * Department of Mathematics, Purdue University, West Lafayette, IN, United States *Corresponding author: e-mail: shen7 @purdue.edu Chapter Outline 1 Introduction 647 2 The SAV approach 649 2.1 Suitable energy splitting 653 2.2 Adaptive time stepping 654 3 Several extensions of the SAV approach 655 3.1 Problems with global constraints 655 3.2 L1 minimization via hyper regularization 658 3.3 Free energies with highly nonlinear terms 659 3.4 Coupling with other physical conservation laws 661 3.5 Dissipative/conservative systems which are not driven by free energy 664 4 Conclusion 666 Acknowledgements 666 References 666 Abstract The scalar auxiliary variable (SAV) approach was recently proposed in Shen et al. (2018) to construct efficient and accurate unconditionally energy stable schemes for gradient flows. We present the SAV approach in a more general setting, and consider a few interesting extensions that enable us to use the SAV approach to deal with a large class of complex dissipative/conservative systems. Keywords: Scalar auxiliary variable, Gradient flows, Conservative system, Structure preserving, Energy stability, Phase-field model AMS Classification Codes: 65M12, 35K20, 35K35, 35K55, 65Z05 1 Introduction The ability of accurate simulation of complex phenomena governed by highly complex dissipative/conservative systems is central to our understanding of Handbook of Numerical Analysis, Vol. 20. https://doi.org/10.1016/bs.hna.2019.06.004 © 2019 Elsevier B.V. All rights reserved. 647 many important issues, such as advanced materials, quantum mechanics, semiconductors, imaging, optimal transport, nonconvex optimization, etc. Examples of these dissipative systems include Allen –Cahn and Cahn –Hilliard equations, phase-field models ( Anderson et al., 1998 ; Gurtin et al., 1996 ; Liu and Shen, 2003 ; Lowengrub and Truskinovsky, 1998 ; Yue et al., 2004a ), thin film models ( Giacomelli and Otto, 2001 ; Otto, 1998 ), liquid crystal models (Doi and Edwards, 1988 ; Forest et al., 2004a, b ; Larson, 1990 ; Leslie, 1979 ; Yu et al., 2010 ), and examples of conservative systems include nonlinear Schr€odinger equations, Sine-Gordon equations, etc. However, it is a tremendous challenge to numerically solving highly com- plex nonlinear systems which preserve energy dissipation/conservation, and/ or physical constraints such as positivity, mass conservation, etc. Simple explicit or semi-implicit approaches may induce severe stability conditions on the time step so they are not efficient in practice. On the other hand, unconditionally energy stable schemes may be constructed with a fully implicit approach ( Du and Nicolaides, 1991 ) but it leads to nonlinear systems which may not be easy to solve and whose unique solvability may still dictate a time step constraint. It is in general very challenging to develop efficient and accurate uncon- ditionally structure preserving schemes which preserve essential physical quantities for these stiff systems with highly complex nonlinearities. Many efforts have been made in the last three decades, we refer to Shen et al. (2019) for a brief review on the existing approaches for gradient flows which is a particular class of such problems, and to Du and Feng (2019) for an extensive review. In particular, the recently proposed scalar auxiliary vari- able (SAV) approach ( Shen et al., 2018 ) enjoys several remarkable advan- tages (cf. Shen et al., 2019 ). Thanks to its simplicity, efficiency and generality, the SAV approach can be applied to a large class of problems with energy dissipation/conservation. In addition to the various applications presented in Shen et al. (2019) , it has been applied to, among others, the epi- taxial thin film growth models in Cheng et al. (2019) , the multicomponent two-phase compressible flow in Kou et al. (2018) , a phase-field surfactant model in Zhu et al. (2018) , a phase-field vesicle membrane model in Cheng and Shen (2018) , a phase-field model for solid-state dewetting pro- blems ( He et al., 2018 ), the incompressible Navier –Stokes equations in Y a n ga n dD o n g( 2 0 1 8 ), to strongly anisotropic Cahn –Hilliard equations in Yang (2018a) , Sine-Gordon equations in Cai et al. (2018) , and to compute the stationary solutions of one- and multicomponent Bose –Einstein conden- sates in Zhuang and Shen (2019) . The aim of this paper is to introduce the recently proposed scalar auxiliary variable (SAV) approach ( Shen et al., 2018 ) in a more general context, discuss how it can be made more effective for a large class of problems, and present a few interesting extensions. 648 Handbook of Numerical Analysis The rest of the paper is organized as follows. In Section 2, we describe the SAV approach in a general context, present its properties. In Section 3 ,w e present several interesting extensions of the SAV approach. 2 The SAV approach We describe below the scalar auxiliary variable (SAV) approach introduced in Shen et al. (2018) . Given a free energy in the form Eðϕ Þ¼ Z Ω 1 2ϕ Lϕ + Fðϕ Þ /C20/C21 dx, (1) where L is a linear positive definite operator and F(ϕ ) is a nonlinear free energy, we consider a general gradient flow given by: ϕ t ¼/C0 G μ, μ :¼ δE δϕ ¼L ϕ + F0ðϕ Þ, (2) where G is a positive definite operator describing the relaxation process of the gradient flow, e.g., G¼ I is the usual L2-gradient flow while G¼/C0 Δ is the so-called H/C0 1-gradient flow, μ is the so-called chemical potential. The above system satisfies the energy law: ∂ ∂t Eðϕ Þ¼ ∂ ∂t Z Ω 1 2 ϕ Lϕ + Fðϕ Þ /C20/C21 dx ¼ /C0ðG μ, μÞ/C20 0: (3) Assume that E1ðϕ Þ :¼ Z Ω Fðϕ Þdx is bounded from below; i:e:; E1ðϕ Þ > /C0 C0 for some C0 > 0: (4) We introduce one scalar auxiliary variable (SAV), rðtÞ¼ ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1ðϕ Þ + C0 p , and rewrite the original gradient flow ( 2) as: ∂ϕ ∂t ¼/C0G μ μ ¼Lϕ + rðtÞffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1ðϕ Þ + C0 p F0ðϕ Þ rt ¼ 1 2 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1ðϕ Þ + C0 p Z Ω F0ðϕ Þϕ tdx: (5) Efficient and accurate structure preserving schemes Chapter 17 649 The above system is equivalent to ( 2) under the initial condition rð0Þ¼ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1ðϕ jt¼0Þ + C0 p . However, it allows more flexibility in time discretization. For example, with the principle of treating linear terms implicitly and all nonlinear terms explicitly, a second-order scheme for the above reformulated system can be constructed as follows: ϕ n +1 /C0 ϕ n Δt ¼/C0 G μn +1 =2, μn +1 =2 ¼L ϕ n +1 =2 + rn +1 =2 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1 ϕ /C24 n +1 =2 /C16/C17 + C0 r F0 ϕ /C24 n +1 =2 /C16/C17 , rn +1 /C0 rn Δt ¼ Z Ω F0 ϕ /C24 n +1 =2 /C16/C17 2 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1 ϕ /C24 n +1 =2 /C16/C17 + C0 r ϕ n +1 /C0 ϕ n Δt dx, (6) where hn +1 =2 :¼ 1 2 ðhn +1 + hnÞ for any sequence {hk}, and ϕ /C24 n +1 =2 :¼ 3 2 ϕ n /C0 1 2 ϕ n/C0 1. It is clear that the above scheme is second-order accurate. Furthermore, by taking the inner products of three equations in ( 6) with μn+1/2, ϕ n+1 /C0 ϕ n, and 2rn+1/2, respectively, notice that the two terms with F0(ϕ ) cancel each other regardless the form of F(ϕ ), so we obtain immediately the following result: Theorem 1. The scheme (6) is unconditionally energy stable in the sense that /C22E n +1 ðϕ , rÞ/C0 /C22E nðϕ , rÞ¼/C0 ΔtðGμn +1 =2, μn +1 =2Þ, where /C22E kðϕ , rÞ :¼ R Ω 1 2 ϕ k Lϕ kdx + rk is the modified free energy at t k. Note that the modified energy /C22E nðϕ , rÞ is an approximation of the original energy Eðϕ nÞ provided that ( rn)2 is an approximation of E1(ϕ n)+ C0.W e observe from the above theorem that not only the scheme ( 6) is uncondition- ally energy stable, it also preserve the energy dissipation rate. In particular, it is energy conservative if G is skew-symmetric. Another important fact is that the SAV scheme ( 6) is easy to implement. To this end, we write ( 6) in the following matrix form: 1 Δt I 1 2 G 0 L/C0 I * * 0 1 Δt 0 BBBB @ 1 CCCC A ϕ n +1 μn +1 rn +1 0 B@ 1 CA ¼ bn, (7) where bn is the vector with known quantities, and * represents known vectors with variable coefficients. Hence, we can solve rn+1 with a block Gaussian elim- ination, which requires solving a system with constant coefficients of the form 650 Handbook of Numerical Analysis 1 Δt I 1 2G L/C0 I 0 @ 1 A ϕ μ ! ¼ b: (8) Once rn+1 is known, we can obtain ( ϕ n+1, μn+1) by solving one more equa- tion in the above form. Remark 1. Several remarks are in order: l It should be noted that the SAV approach is inspired by the IEQ/EQ meth- ods (Yang, 2016; Zhao et al., 2017 ). However, with the IEQ/EQ approach, one has to solve a coupled linear system with time dependent variable coefficients, so in this sense the SAV approach is computationally more efficient. l While, for the sake of simplicity, we described the scheme and its stability in semidiscrete form, the above stability result carries over to any consistent Galerkin type approximations, e.g. finite-elements or finite-differences, which respect proper integration by parts. l The linear system ( 8) can be reduced to 1 Δt I + 1 2 GL /C18/C19 ϕ ¼ ψ , (9) with some known ψ . With any consistent Galerkin approximations of G and L, the corresponding linear system for ( 9) is positive definite so can be efficiently solved by one’s favourite method, e.g., preconditioned con- jugate gradient method. In many common situations such as L¼/C0 Δ and G¼ I or /C0 Δ with suitable boundary conditions, the corresponding linear system for ( 9) can even be solved by fast direct methods such as fast Poisson solvers. Hence, the scheme ( 6) is very efficient. l Note that in a linearly implicit scheme with or without stabilization, one also has to solve ( 8) at each time step. Therefore, the cost of the SAV scheme is essentially twice of linearly implicit schemes which are usually conditionally stable, and the benefit is that the scheme becomes uncondi- tionally stable so an adaptive time stepping can be employed to further reduce the computational cost. For dissipative systems, it is usually better to use BDF type schemes rather than the Crank –Nicolson scheme. For example, a semi-implicit second-order scheme based on BDF2 formula is 3ϕ n +1 /C0 4ϕ n + ϕ n/C0 1 2Δt ¼G μn +1 , (10a) Efficient and accurate structure preserving schemes Chapter 17 651 μn +1 ¼L ϕ n +1 + rn +1 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1 ϕ n +1/C0/C1q F0 ϕ n +1/C0/C1 , (10b) 3rn +1 /C0 4rn + rn/C0 1 2Δt ¼ Z Ω F0 ϕ n +1/C0/C1 2 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1ðϕ n +1 Þ q 3ϕ n +1 /C0 4ϕ n + ϕ n/C0 1 2Δt dx, (10c) where ϕ n +1 :¼ 2ϕ n /C0 ϕ n/C0 1. Taking the inner products of the three equations with μn+1,( 3ϕ n+1 /C0 4ϕ n + ϕ n/C0 1)/(2Δt), 2 rn+1, respectively, and using the identity: 2ðak +1 ,3 ak +1 /C0 4ak + ak/C0 1Þ¼j ak +1 j2 + j2ak +1 /C0 akj2 + jak +1 /C0 2ak + ak/C0 1j2 /C0j akj2 /C0j 2ak /C0 ak/C0 1j2, (11) we can obtain the following result: Theorem 2. The scheme (10) is second-order accurate, and unconditionally energy stable in the sense that E /C24 n +1 ðϕ , rÞ/C0E /C24 nðϕ , rÞ¼/C0 ΔtðGμn +1 , μn +1 Þ /C0 1 4 ϕ n +1 /C0 2ϕ n + ϕ n/C0 1, Lðϕ n +1 /C0 2ϕ n + ϕ n/C0 1Þ /C0/C1/C26 + 1 2ðrn +1 /C0 2rn + rn/C0 1Þ2 /C27 , where the modified discrete energy at t n+1 is defined as E /C24 n +1 ðϕ ,rÞ¼ 1 4 ðϕ n +1 ,Lϕ n +1 Þ +2 ϕ n +1 /C0 ϕ n,Lð2ϕ n +1 /C0 ϕ nÞ /C0/C1/C0/C1 +1 2 ðrn +1 Þ2 + ð2rn +1 /C0 rnÞ2 /C16/C17 : Note that the modified discrete energy En +1 ðϕ , rÞ Comparing with ( 6), the scheme ( 10) introduces extra dissipation terms so the dissipation rate is not exactly preserved as in ( 6). On the other hand, we can easily construct higher-order SAV schemes by replacing BDF2 approximation with BDF- k (k /C20 6) approximation. Numerical results ( Shen et al., 2019 ) indicate that these BDF- k (k /C20 6) schemes are also unconditionally energy stable although a rigorous proof is still elusive. We note that while the SAV schemes such as ( 6) and ( 10) are uncondition- ally energy stable for any type of free energies as long as we can split the free energy in the form of ( 1) satisfying ( 4). However, for the SAV schemes to be most effective, the following two considerations are very important. 652 Handbook of Numerical Analysis 2.1 Suitable energy splitting The unconditional energy stability does not necessarily mean that the corresponding SAV schemes such as ( 6) and ( 10) will be effective. For exam- ple, if we take L¼ 0, the SAV schemes ( 6) and ( 10) are still unconditionally energy stable, but they are fully explicit so exceedingly small time steps are required to obtain reasonable accurate approximations. Therefore, the perfor- mance of the SAV schemes depend intrinsically on how to split the free energy. In principle, the splitting should be such that the linear term 1 2 ϕ Lϕ should “dominate” the other term F(ϕ ). Otherwise, accurate approximate solutions can only be obtained with very small time steps. Hence, it is impor- tant to find suitable splittings such that good approximations can be obtained with reasonably large time steps. Consider, for instance, a typical example with free energy E½ϕ /C138¼ Z 1 2jrϕ j2 + 1 4E2 ð1 /C0 ϕ 2Þ2dx, (12) where E is a small parameter. This type of free energy is often used in Allen – Cahn ( Allen and Cahn, 1979 ) and Cahn –Hilliard equations (Cahn and Hilliard, 1958, 1959) , and in the study of interfacial dynamics ( Ainsworth and Mao, 2017 ; Allen and Cahn, 1979 ; Anderson et al., 1998 ; Gurtin et al., 1996; Kim, 2012 ; Liu and Shen, 2003 ; Lowengrub and Truskinovsky, 1998 ; Rogers and Desai, 1989 ; Yue et al., 2004a ). In typical situation, E, represent- ing the interfacial width, is usually small so that the nonlinear term is not “small” compared with the linear term. The consequence is that very small time steps are needed for the approximate solution to be accurate. However, this situation can be easily dealt with by using a suitable splitting of the free energy as follows: Eðϕ Þ¼ Z 1 2 jrϕ j2 + β E2 ϕ 2 /C20/C21 + 1 4E2 ð1 /C0 ϕ 2Þ2 /C0 β E2 ϕ 2 /C20/C21 dx, (13) where β is a parameter of our choice. It can be easily shown that E1ðϕ Þ¼R ½ 1 4E2 ð1 /C0 ϕ 2Þ2 /C0 β E2 ϕ 2/C138dx has a lower bound for any β so SAV approach can be applied. As an illustrative example, we implemented the SAV scheme ( 10) for the Cahn–Hilliard equation, which is the gradient flow with the above free energy and L¼G¼/C0 Δ. We assume the periodic boundary conditions in the domain [0, 2 π), and use the Fourier-spectral method in space with initial condition ϕ ðx,0 Þ¼ 0:2 sinx. In the right of Fig. 1 , we plot the numerical solutions of the scheme with β ¼ 0 (no stabilization) and β ¼ 1 (with stabilization) using a small Δt ¼ 10/C0 4. We observe that both solutions have the correct profile. However, with a relatively large Δt ¼ 4 /C2 10/C0 3, see the left of Fig. 1 , the solution with no stabilization exhibits oscillations while that with stabilization is still accurate. Efficient and accurate structure preserving schemes Chapter 17 653 2.2 Adaptive time stepping A main advantage of unconditional energy stable schemes is that they can be easily implemented with an adaptive time stepping strategy so that the time step is only dictated by accuracy rather than by stability as with conditionally stable schemes. This is particularly important for those situations where the solution may vary drastically in certain time intervals, but changes very little elsewhere. It should be noted that variation of energy alone does not provide enough information to determine appropriate time steps. A suitable time adaptive strategy similar to that employed in Gomez and Hughes (2011) is proposed in Shen et al. (2016) (see also Shen et al. (2019) ). In particular, the formula for updating the time step size is given by A dpðe, τÞ¼ ρ tol e /C18/C191=2 τ, (14) along with prescribed minimum and maximum time steps. In the above, ρ is a default safety coefficient, tol is a reference tolerance, and e is the relative error at each time level. As an illustrative example, we consider the 2D Cahn–Hilliard equation withL¼G¼/C0 Δ on [0, 2π) /C2 [0, 2π) with periodic boundary conditions and random initial data. We take E ¼ 0.1, and use the Fourier-spectral method with Nx ¼ Ny ¼ 256. We choose ρ ¼ 0.9 and tol ¼ 10/C0 3. The minimum and maximum time steps are taken as τmin ¼ 10/C0 5 and τmax ¼ 10/C0 2, respectively. The initial time step is taken as τmin. Numerical results are shown in Fig. 2 . We observe that the adaptive time stepping leads to correct energy evolution with the largest time step being several hundred times larger than the smallest time step. This indicates that savings up to several orders of magnitude times 0123456 –1 –0.5 0 0.5 1 Small time step SAVnoSTA SAVwithSTA 0 123456 –1 –0.5 0 0.5 1 Large time step SAVnoSTA SAVwithSTA FIG. 1 The solution at T ¼ 0.1 with E ¼ 0.1. Left: Δt ¼ 4 /C2 10/C0 3; Right: Δt ¼ 10/C0 4. The red dashed lines represent solutions with stabilization, while the black solid lines represent solutions without stabilization. 654 Handbook of Numerical Analysis can be achieved by combining SAV schemes with an adaptive time stepping compared with semi-implicit schemes whose time steps are dictated by sta- bility constraint. In summary, the SAV schemes possess some amazing advantages such as: (i) it only requires solving elliptic systems with constant coefficients at each time step; (ii) it is second-order accurate, unconditionally energy stable and can be extended to higher-order. Ample numerical results in Shen et al. (2019, 2018) have shown its advantages compared with other schemes. Fur- thermore, it has been shown in Shen and Xu (2018) that the SAV schemes converge under essentially the same conditions as are required for the well posedness of the system ( 2), thanks to the unconditionally energy stability. On the other hand, convergence of linearly implicit schemes ( Condette et al., 2011 ; Kessler et al., 2004 ; Shen and Yang, 2010b ) usually requires that the derivative of nonlinear free energy, F0(ϕ ) is uniformed bounded, a condi- tion which is not even satisfied by the double well potential. The convergence results and error estimates in Shen and Xu (2018) for the semidiscrete case have also been extended to fully discrete cases with finite-differences in Li et al. (2019) and with finite-elements in Chen and Shen (2019) . 3 Several extensions of the SAV approach In the following, we present a few interesting extensions which enable us to use the SAV approach for a larger class of complex nonlinear systems. 3.1 Problems with global constraints Many complex systems not only obey energy dissipation/conservation but also are constrained with other conservations such as mass, volume, surface area, etc. A popular and effective approach is to introduce penalty terms in the free energy so as to enforce, approximately, these constraints. Then, we can apply the SAV approach. 0.2 0.4 0.6 0.8 1 0 500 1000 1500 Modified energy Δ t =1 0–5 Adaptive Δ t =1 0–3 0.2 0.4 0.6 0.8 110–6 10–4 10–2 Time steps FIG. 2 Adaptive time stepping. Left: Energy evolution with small time steps, adaptive time steps, and large time steps; Right: step sizes of adaptive time stepping. Efficient and accurate structure preserving schemes Chapter 17 655 Consider, for example, the phase-field vesicle membrane model in Du et al. (2004) with the elastic bending energy Ebðϕ Þ¼ E 2 Z Ω /C0 Δϕ + 1 E2 Gðϕ Þ /C18/C19 2 dx ¼ E 2 Z Ω jΔϕ j2 /C0 2 E2 jrϕ j2 + 6 E2 ϕ 2jrϕ j2 + 1 E4 ðGðϕ ÞÞ2 /C18/C19 dx, (15) where G(ϕ ) ¼ F0(ϕ ) with Fðϕ Þ¼ 1 4 ðϕ 2 /C0 1Þ2, and subject to volume and surface area conservation: Aðϕ Þ¼ 1 2 Z Ω ðϕ +1 Þdx /C17 α, and Bðϕ Þ¼ Z Ω E 2jrϕ j2 + 1 E Fðϕ Þ /C18/C19 dx /C17 β, (16) where α, β represent the initial volume and surface area. There is no mechanism in the SAV approach to enforce these constraints directly. However, we can penalize the free energy to approximately enforce them. More precisely, we consider the following free energy with additional penalization terms: Etotðϕ Þ¼ Ebðϕ Þ + 1 2γ Aðϕ Þ/C0 αðÞ 2 + 1 2η Bðϕ Þ/C0 βðÞ 2, (17) where γ and η are two small parameters. In order to apply the SAV approach, we split Etot(ϕ ) as follows Etotðϕ Þ¼ E 2 Z Ω E 2 jΔϕ j2 /C0 2 E2 jrϕ j2 /C18/C19 + 1 2γðAðϕ Þ/C0 αÞ2 /C26/C27 + Z Ω E 2 6 E2 ϕ 2jrϕ j2 + 1 E4 ðGðϕ ÞÞ2 /C18/C19 + 1 2η Bðϕ Þ/C0 βðÞ 2 /C26/C27 : (18) Note that the volume constraint is linear, so it is included in the first part. Then, we can apply the SAV approach to the above energy to construct uncon- ditional energy stable SAV schemes. Usually such schemes would be effective, but due to the three small parameters in the free energy, it is observed in Cheng and Shen (2018) that such SAV schemes, while unconditionally energy stable, require exceedingly small time steps to obtain reasonable approximate solutions. To remedy this situation, a multiple SAV approach is introduced in Cheng and Shen (2018) . The basic strategy is to introduce one SAV for each small parameter in the nonlinear part of the free energy. So we are led to introduce two SAVs: U ¼ Bðϕ Þ/C0 β, V ¼ ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiZ Ω 6 E2 ϕ 2jrϕ j2 + 1 E4 ðGðϕ ÞÞ2 /C18/C19 dx + C s , (19) 656 Handbook of Numerical Analysis where C is a positive constant, so the total energy becomes Etotðϕ , U,VÞ¼ E 2 Z Ω jΔϕ j2 /C0 2 E2 jrϕ j2 /C18/C19 dx + 1 2γðAðϕ Þ/C0 αÞ2 + U2 2η + E 2ðV2 /C0 CÞ: Then, the L2 gradient flow with a mobility M can be written as: ϕ t ¼/C0 Mμ, (20) μ ¼ δEtot δϕ ¼ EΔ2ϕ + 2 E Δϕ + 1 γðAðϕ Þ/C0 αÞ + 1 ηU δU δϕ + EV δV δϕ , (21) Ut ¼ Z Ω δU δϕ ϕ tdx, Vt ¼ Z Ω δV δϕ ϕ tdx: (22) We can then apply the SAV approach to construct efficient energy stable schemes. For example, a second-order SAV scheme based on Crank–Nicolson is ϕ n +1 /C0 ϕ n Δt ¼/C0 M μn +1 + μn 2 , (23) μn +1 + μn 2 ¼ EΔ2 ϕ n +1 + ϕ n 2 + 2 E Δϕ n +1 + ϕ n 2 + 1 γ A ϕ n +1 + ϕ n 2 /C18/C19 /C0 α /C18/C19 (24) +1 η Un +1 + Un 2 δU δϕ ϕ ?,n + 1 2 /C18/C19 + E Vn +1 + Vn 2 δV δϕ ϕ ?,n + 1 2 /C18/C19 , Un +1 /C0 Un Δt ¼ Z Ω δU δϕ ϕ ?,n + 1 2 /C18/C19 ϕ n +1 /C0 ϕ n Δt dx, (25) Vn +1 /C0 Vn Δt ¼ Z Ω δV δϕ ϕ ?,n + 1 2 /C18/C19 ϕ n +1 /C0 ϕ nΔtdx, (26) where ϕ ?,n + 1 2 ¼ 3 2 ϕ n /C0 1 2 ϕ n/C0 1. Taking the inner products of ( 23) with μn +1 + μn 2 , (24) with ϕ n +1 /C0 ϕ n Δt ,( 25)w i t h Un +1 + Un 2 and ( 26) with Vn +1 + Vn 2 , respectively, and summing up the results, we obtain the following results: Theorem 3. The scheme (23)–(26) is unconditionally energy stable in the sense that En +1 ðϕ , U,VÞ/C0 Enðϕ , U,VÞ¼/C0 ΔtM k μn + 1 2k2, where En +1 ðϕ ,U,VÞ¼ E 2 k Δϕ n +1 k2 /C0 1 E kr ϕ n +1 k2 + 1 2ηðUn +1 Þ2 + E 2 ðVn +1 Þ2 + 1 2γðAðϕ n +1 Þ/C0 αÞ2: The above scheme can also be implemented as in the case with one SAV. Indeed, we can write it as a matrix system Efficient and accurate structure preserving schemes Chapter 17 657 1 Δt I M 2 0 /C0 E 2 Δ2 /C0 EΔ /C0 1 4γI 1 2 I * * 0 I2 0 BBB B @ 1 CCC C A ϕ n +1 μn +1 rn +1 0 B@ 1 CA ¼ bn, where rn +1 ¼ð Un +1 , Vn +1 Þt, I is the identity operator, I2 is the identity matrix of order 2, * and bn include only the terms from previous time steps. There- fore, we can first solve rn +1 using a block Gaussian elimination, which requires solving two systems with constant coefficients of the form 1 Δt I M 2 /C0 E 2 Δ2 /C0 EΔ /C0 1 4γI 1 2 I 0 BB@ 1 CCA ϕ μ ! ¼ b, which is a fourth-order equation with constant coefficients. With rn +1 known, we can obtain ( ϕ n+1, μn+1) by solving one more system in the above form. We refer to Cheng and Shen (2018) for more details with numerical validations. 3.2 L1 minimization via hyper regularization In imaging processing and many other applications, one often considers minimization of the free energy ( Rudin et al., 1992 ) Eðϕ Þ¼ Z Ω jrϕ j + λ 2 ðϕ /C0 gÞ2 /C20/C21 dx, (27) where g is a given function. Oftentimes, one attempts to find the minimizer by finding the steady state solution of its gradient flow: ∂ϕ ∂t ¼r/C1 1 jrϕ j rϕ /C0 λðϕ /C0 gÞ: (28) However, there is no suitable energy splitting which would make the SAV approach effective. Therefore, we consider a hyper regularized free energy EEðϕ Þ¼ Z Ω E 2 jð/C0 ΔÞβϕ j2 + λ 2ðϕ /C0 gÞ2 + FEðϕ Þ/C0 E2 /C26/C27 dx, (29) where E ≪ 1 and β /C21 1 are two parameters of our choice, and FEðϕ Þ¼ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi jrϕ j2 + E2 q . Its gradient flow takes the form ∂ϕ ∂t ¼/C0 Eð/C0 ΔÞ2βϕ /C0 λðϕ /C0 gÞ/C0 F0 Eðϕ Þ: (30) 658 Handbook of Numerical Analysis We can then introduce a SAV rðtÞ¼ ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1, Eðϕ Þ p with E1, Eðϕ Þ¼R ΩFEðϕ Þ, and rewrite the hyper regularized gradient flow ( 30)a s ∂ϕ ∂t ¼/C0 Eð/C0 ΔÞ2βϕ /C0 λðϕ /C0 gÞ/C0 rðtÞffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1, Eðϕ Þ p F0 Eðϕ Þ, rt ¼ 1 2 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1,Eðϕ Þ p Z Ω F0 Eðϕ Þϕ tdx: (31) Then, a first-order scheme based on the above regularized SAV formulation is: ϕ n +1 /C0 ϕ n Δt ¼/C0 Eð/C0 ΔÞ2βϕ n +1 /C0 λðϕ n +1 /C0 gÞ/C0 rn +1 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1, Eðϕ nÞ p F0 Eðϕ nÞ, rn +1 /C0 rn Δt ¼ 1ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1, Eðϕ nÞ p Z Ω F0 Eðϕ nÞϕ n +1 /C0 ϕ n Δt dx: (32) Second- and higher-order SAV schemes can be constructed as usual. Taking the inner products of two equations above with ϕ n +1 /C0 ϕ n Δt and 2 rn+1, respectively, one obtains: Theorem 4. The scheme (32) is unconditionally energy diminishing in the sense that En +1 ðϕ ,rÞ/C0 Enðϕ , rÞ¼/C0 Δt k ϕ n +1 /C0 ϕ n Δt k2 /C0 E 2 kð /C0 ΔÞβðϕ n +1 /C0 ϕ nÞk2 /C0j rn +1 /C0 rnj2, where E n +1 ðϕ ,rÞ¼ E 2 kð /C0 ΔÞβϕ n +1 k2 + λ 2 k ϕ n +1 /C0 gk2 + jrn +1 j2. Note that at each time step, one only need to solve, twice, a system of the form αϕ + Eð/C0 ΔÞ2βϕ ¼ h, with suitable boundary conditions. For imaging processing, periodic boundary condition can be used so the above equation can be solved fast a Fourier spec- tral method. One can then tune E and β to achieve desired results. 3.3 Free energies with highly nonlinear terms For problems with nonlinear terms in the highest derivative terms, such as in anisotropic Cahn –Hilliard equations ( Torabi et al., 2009 ), it may not be easy or even possible to find a suitable splitting. In these cases, one may combine the SAV approach with a suitable regularization ( Yang, 2018b ). Consider for example an free energy with a nonlinear operator L: Eðϕ Þ¼ Z Ω ½γðϕ Þjrϕ j2 + Fðϕ Þ/C138dx, (33) Efficient and accurate structure preserving schemes Chapter 17 659 where γ(ϕ ) /C21 0 is certain nonlinear function of ϕ . The corresponding aniso- tropic Cahn –Hilliard equation is ϕ t ¼ Δμ; μ ¼ δE δϕ : (34) We shall approximate the above equation with the following regularized equation: ϕ t ¼ Δμ; μ ¼/C0 X2 k¼0 Ekð/C0 1ÞkΔkϕ tt + δE δϕ , (35) where Ek ≪ 1 are free parameters and their choices depend on γ(ϕ ) and F(ϕ ). Introducing a SAV rðtÞ¼ ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi Eðϕ Þ + C0 p where C0 is a suitable constant such that E(ϕ )+ C0 > 0, we can rewrite ( 35)a s ϕ t ¼Δμ, μ ¼/C0 X2 k¼0 Ekð/C0 1ÞkΔkϕ tt + rðtÞffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi Eðϕ Þ + C0 p δE δϕ , rt ¼ 1 2 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi Eðϕ Þ + C0 p Z Ω δE δϕ ϕ tdx: (36) Then, a second-order SAV Crank –Nicolson scheme is ϕ n +1 /C0 ϕ n Δt ¼ Δμn +1 =2, μn +1 =2 ¼/C0 X2 k¼0 Ek Δt2 ð/C0 1ÞkΔk ϕ n +1 /C0 2ϕ n + ϕ n/C0 1/C0/C1 + rn +1 =2 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E ϕ /C24 n +1 =2 /C16/C17 + C0 r δE δϕ ϕ /C24 n +1 =2 /C16/C17 , rn +1 /C0 rn Δt ¼ 1 2 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi Eðϕ /C24 n +1 =2Þ + C0 q Z Ω δE δϕ ϕ /C24 n +1 =2 /C16/C17 ϕ n +1 /C0 ϕ n Δt dx, (37) where hn +1 =2 :¼ 1 2 ðhn +1 + hnÞ for any sequence {hk}, and ϕ /C24 n +1 =2 ¼ 3 2 ϕ n /C0 1 2 ϕ n/C0 1. Taking the inner products of the first equation with μn+1/2, the second equation with ϕ n +1 /C0 ϕ n Δt and the third equation with 2 rn+1/2, summing up the results, we obtain immediately the following results: Theorem 5. The scheme (37) is unconditionally energy stable in the sense that /C22E n +1 ðϕ ,rÞ/C0 /C22E nðϕ ,rÞ¼/C0 Δt kr μn +1 =2k2 /C0 X2 k¼0 Ek 2Δt k Δk=2ðϕ n +1 /C0 2ϕ n + ϕ n/C0 1Þk2, where /C22E j +1 ðϕ ,rÞ :¼P2 k¼0 Ek 2Δt2 k Δk=2ðϕ j +1 /C0 ϕ jÞk2 + ðrj +1 Þ2 is the modified free energy at t j+1. 660 Handbook of Numerical Analysis The above approach was successfully used in Yang (2018b) to approxi- mate the strongly anisotropic Cahn –Hilliard equation proposed in Torabi et al. (2009) . We refer to Yang (2018b) for details on the choice of Ek and their effects on the accuracy. 3.4 Coupling with other physical conservation laws In complex thermodynamic systems, e.g., phase-field models of multiphase complex fluids ( Liu and Shen, 2003 ; Yue et al., 2004b ), only the order para- meters such as the phase variable ( Liu and Shen, 2003 ) and/or director field (Yue et al., 2004b ), are governed by gradient flows which are coupled to other physical conservation laws such as momentum, mass, and energy conservations. The SAV approach can be used to deal with the nonlinear terms in gradient flow part to construct efficient numerical schemes for the coupled thermodynamic systems (see also Zhu et al. (2018) and Kou et al. (2018) ). Consider for example a phase-field model for the mixture of two incom- pressible, immiscible fluids. Let ϕ be a labelling function to identify the two fluids, i.e., ϕ ðx,tÞ¼ 1 x 2 in fluid 1, /C0 1 x 2 in fluid 2, /C26 (38) with a smooth interfaci al layer of thickness η. Consider a mixing free energy Emixðϕ Þ¼ λ Z Ω 1 2 jrϕ j2 + Fðϕ Þ /C18/C19 dx, where Fðϕ Þ¼ 1 4η2 ðϕ 2 /C0 1Þ2 and λ is a mixing coefficient. For the sake of simplicity, we consider the two fluids having the same density ρ0 ¼ 1. Then, the Navier –Stokes Cahn –Hilliard phase-field model for the two-phase incom- pressible flow is as follows (cf., for instance, Anderson et al., 1998 ; Liu and Shen, 2003 ): ∂ϕ ∂t + r/C1ð uϕ Þ¼r/C1ð γrμÞ, (39) μ ¼ δEmix δϕ ¼/C0 λΔϕ + λF0ðϕ Þ; (40) ∂u ∂t + ðu /C1r Þ u ¼ νΔu /C0r p /C0 ϕ rμ; (41) r/C1 u ¼ 0; (42) subject to suitable boundary conditions for ϕ , μ, u. In the above, γ is a relax- ation coefficients and ν is the viscosity coefficient; the unknown are ϕ , μ, u, Efficient and accurate structure preserving schemes Chapter 17 661 p with u being the velocity and p the pressure. Taking the inner products of (39), ( 40) and ( 53) with μ, ∂ϕ ∂t and u, respectively, we obtain the following energy dissipation law: d dt Z Ω 1 2 juj2 + λ 2jrϕ j2 + λFðϕ Þ /C26/C27 dx ¼/C0 Z Ω fνjruj2 + γjrμj2g dx: To apply the SAV approach, we set E1ðϕ Þ¼ R ΩFðϕ Þ, introduce rðtÞ¼ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1ðϕ Þ + δ p with δ > 0, and replace ( 40)b y μ ¼/C0 λΔϕ + λ rðtÞffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1ðϕ Þ + δ p F0ðϕ Þ, dr dt ¼ 1 2 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1ðϕ Þ + δ p Z Ω F0ðϕ Þ ∂ϕ ∂t dx: (43) Then, we can combine the scheme (3.9) in Shen and Yang (2010a) and the SAV approach to construct the following scheme for (39)–(42): 3ϕ n +1 /C0 4ϕ n + ϕ n/C0 1 2Δt + ^un +1 /C1r ϕ n +1 ¼ γΔμn +1 , μn +1 ¼/C0 λΔϕ n +1 + λrn +1 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1ðϕ n +1 Þ + δ q F0ðϕ n +1 Þ, 3rn +1 /C0 4rn /C0 rn/C0 1 2Δt ¼ Z Ω F0ðϕ n +1 Þ 2 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi E1ðϕ n +1 Þ + δ q 3ϕ n +1 /C0 4ϕ n + ϕ n/C0 1 2Δt dx; (44) 3~un +1 /C0 4un + un/C0 1 2Δt + /C22un +1 /C1r ~un +1 /C0 νΔ~un +1 + rpn /C0 μn +1 rϕ n +1 ¼ 0; (45) 3 2Δt ðun +1 /C0 ~un +1 Þ + rðpn +1 /C0 pnÞ¼ 0, r/C1 un +1 ¼ 0; un +1 /C1 nj∂Ω ¼ 0: (46) In the above, ψ n +1 :¼ 2ψ n /C0 ψ n/C0 1 for any sequence { ψ k}. As for ^un +1 , we can choose ^un +1 ¼ ~un +1 or ^un +1 ¼ 2un /C0 un/C0 1. If ^un +1 ¼ ~un +1 , we can show that the scheme is unconditionally energy stable. More precisely, we have the following result: Theorem 6. The scheme (44)–(46) with ^un +1 ¼ ~un +1 is unconditionally energy stable in the sense that En +1 ðϕ ,u, pÞ/C0E nðϕ , u,pÞ/C20/C0 Δt½γ kr μn +1 k2 + ν kr ~un +1 k2/C138, where En +1 ðϕ , u, pÞ is the modified total energy at t n+1 given by 662 Handbook of Numerical Analysis En +1 ðϕ ,μ,u, pÞ¼ λ 4ðk rϕ n +1 k2 + kr ð2ϕ n +1 /C0 ϕ nÞk2Þ + λ 2 ðjrn +1 j2 + j2rn +1 /C0 rnj2Þ + 1 4ðk un +1 k2 + k 2un +1 /C0 unk2Þ + Δt2 3 kr pn +1 k2: Proof. Taking the inner products of three equations in ( 44) with Δtμn+1, 1 2 ð3ϕ n +1 /C0 4ϕ n + ϕ n/C0 1Þ and 2 Δtλrn+1, respectively, using the identity ( 11), we obtain λ 4 /C20 ðk rϕ n +1 k2 + kr ð2ϕ n +1 /C0 ϕ nÞk2Þ + λ 2 ðjrn +1 j2 + j2rn +1 /C0 rnj2Þ /C21 /C0 λ 4 /C20 ðk rϕ nk2 + kr ð2ϕ n /C0 ϕ n/C0 1Þk2Þ + λ 2 ðjrnj2 + j2rn /C0 rn/C0 1j2Þ /C21 + Δtð~un +1 rϕ n +1 , μn +1 Þ ¼/C0 Δtγ k μn +1 k2 /C0 λ 4 kr ðϕ n +1 /C0 2ϕ n + ϕ n/C0 1Þk2 /C0 λ 2jrn +1 /C0 2rn + rn/C0 1j2: (47) Next, taking the inner product of ( 45) with Δtun+1, and using the property ðu /C1r v, vÞ¼ 0, 8u 2 H, v 2ð H1 0 ðΩÞÞd , (48) where H ¼ {u 2 (L2(Ω))d: r/C1 u ¼ 0, u /C1 nj∂Ω ¼ 0}, we obtain 1 2 ð3~un +1 /C0 4un + un/C0 1, ~un +1 Þ + Δtðrpn, ~un +1 Þ/C0 Δtðμn +1 rϕ n +1 , ~un +1 Þ¼/C0 μΔt kr ~un +1 k2: (49) Then, we rearrange ( 46)a s ffiffiffi 3 p 2 un +1 + Δtffiffiffi 3 p rpn +1 ¼ ffiffiffi 3 p 2 ~un +1 + Δtffiffiffi 3 p rpn, (50) and take the inner products of both side with itself to get 3 4 k un +1 k2 + Δt2 3 k pn +1 k2 ¼ 3 4 k ~un +1 k2 + Δt2 3 k pnk2 + Δtðrpn, ~un +1 Þ: (51) Since the term Δtðrpn, ~un +1 Þ in ( 51) and ( 49) cancel each other, and the term Δtðμn +1 rϕ n +1 , ~un +1 Þ in ( 49) and ( 47) cancel each other, it remains to deal with the first term in ( 49), which we write as 1 2ð3~un +1 /C0 4un + un/C0 1, ~un +1 Þ¼ 3 2 ð~un +1 /C0 un +1 , ~un +1 Þ +1 2 ð3un +1 /C0 4un + un/C0 1, ~un +1 /C0 un +1 Þ +1 2 ð3un +1 /C0 4un + un/C0 1,un +1 Þ :¼ I1 + I2 + I3: (52) Efficient and accurate structure preserving schemes Chapter 17 663 We have I1 ¼ 3 4 ðk ~un +1 k2/C0k un +1 k2 + k ~un +1 /C0 un +1 k2Þ, and for I3 we use (11). On the other hand, by using ( 46), we derive that I2 ¼ 0. Finally, collect all the results in the above identities, we obtain the desired result. □ Several remarks are in order: l The pressure-correction step ( 46) is decoupled from the rest. More pre- cisely, if ~un +1 is known, one can determine (pn+1, un+1) from (46) by solving a Poisson equation for pn+1 /C0 pn with a homogeneous Neumann boundary condition. l If we take ^un +1 ¼ 2un /C0 un/C0 1, one can eliminate rn+1 from ( 44) as before, so the scheme is linear, decoupled, second-order, and only requires solving a sequence of elliptic type equations at each time step, but not uncondi- tionally energy stable. l On the other hand, if we take ^un +1 ¼ ~un +1 , the scheme is unconditionally energy stable, linear and second-order. However, it is weakly coupled between ðϕ n +1 , wn +1 , ~un +1 Þ by the term ~un +1 /C1r ϕ n +1 . The weakly coupled linear system is positive definite, and one can use the decoupled scheme with ^u n +1 ¼ 2un /C0 un/C0 1 as a preconditioner for the coupled scheme with ^un +1 ¼ ~un +1 . 3.5 Dissipative/conservative systems which are not driven by free energy In a recent work ( Lin and Dong (2018) ), the authors presented an interesting extension of the SAV approach to the following incompressible Navier – Stokes equations (NSE): ut + ðu /C1r Þ u ¼ νΔu /C0r p, r/C1 u ¼ 0, uj∂Ω ¼ 0, (53) which is not a gradient flow but consists of only physical conservation laws and satisfies an energy dissipation law: 1 2 d dt Z juj2dx ¼/C0 ν Z Ω jruj2: (54) A usual semi-implicit scheme for ( 53)i s un +1 /C0 un Δt + ðun /C1r Þ un ¼ νΔun +1 /C0r pn +1 , r/C1 un +1 ¼ 0, un +1 j∂Ω ¼ 0: (55) However, it is not unconditionally energy stable. Let EðtÞ¼ R Ω 1 2 juj2dx + δ with any δ > 0, and introduce a SAV variable RðtÞ¼ ffiffiffiffiffiffiffiffiffi EðtÞ p . We can rewrite the NSE ( 53)a s 664 Handbook of Numerical Analysis ut + RðtÞffiffiffiffiffiffiffiffiffi EðtÞ p ðu /C1r Þ u ¼ νΔu /C0r p, uj∂Ω ¼ 0; r/C1 u ¼ 0; 2RðtÞR0ðtÞ¼ð ut, uÞ¼ ut + RðtÞffiffiffiffiffiffiffiffiffi EðtÞ p ðu /C1r Þ u, u ! : (56) In the last equation, we have used the property (( u /C1r )u, u) ¼ 0 for all u such that r/C1 u ¼ 0 and uj∂Ω ¼ 0. With Rð0Þ¼ ffiffiffiffiffiffiffiffiffiffi Eð0Þ p , the above system is equiva- lent to the original NSE ( 53). The following semi-implicit SAV scheme based on the above reformula- tion is proposed in Lin and Dong (2018) : un +1 /C0 un Δt + Rn +1 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi Eðtn +1 Þ p ðun /C1r Þ un ¼νΔun +1 /C0r pn +1 , r/C1 un +1 ¼0, un +1 j∂Ω ¼ 0; 2Rn +1 Rn +1 /C0 Rn Δt ¼ un +1 /C0 un Δt + Rn +1 ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi Eðtn +1 Þ p ðun /C1r Þ un,un +1 ! : (57) Taking the inner product of the first equation with un+1 and sum up with the third equation, we obtain: Theorem 7. The scheme ( 57) is unconditionally energy stable in the sense that all its solutions satisfy 1 Δt ðjRn +1 j2 /C0j Rnj2 + jRn +1 /C0 Rnj2Þ + ν kr un +1 k2 ¼ 0: The above result is very surprising since the nonlinear term is treated explicitly. The above scheme can also be implemented very efficiently. Indeed, denote Sn +1 ¼ Rn +1 ffiffiffiffiffiffiffiffiffiffiffi Eðtn +1 Þ p and set un +1 ¼ un +1 1 + Sn +1 un +1 2 , pn +1 ¼ pn +1 1 + Sn +1 pn +1 2 : Plugging the above in ( 57), we find that ðun +1 i ,pn +1 i Þð i ¼ 1, 2Þ can be deter- mined separately from: un +1 1 /C0 un Δt ¼ νΔun +1 1 /C0r pn +1 1 , un +1 1 j∂Ω ¼ 0; r/C1 un +1 1 ¼ 0; (58) Efficient and accurate structure preserving schemes Chapter 17 665 and un +1 2 Δt + ðun /C1r Þ un ¼ νΔun +1 2 /C0r pn +1 2 , un +1 2 j∂Ω ¼ 0; r/C1 un +1 2 ¼ 0: (59) Once ðun +1 i , pn +1 i Þð i ¼ 1, 2Þ are known, the last equation in ( 57) becomes a nonlinear algebraic equation for Sn+1 which can be solved by a Newton iteration. Several remarks are in order: l The cost of solving the nonlinear algebraic equation for Sn+1 is negligible. The main cost at each time step is to solve ( 58) and ( 59). So the computa- tional cost is about twice of that for the usual semi-implicit scheme ( 55) but it has the advantage of being unconditionally energy stable. l Existence of a positive solution for Sn+1 is still elusive. But in practice, this is always true as long as Δt is not “too” large. Since Sn+1 is designed to be an approximation to 1, the difference jSn+1 /C0 1j provides a “free” estima- tor for adaptive time stepping: if jSn+1 /C0 1j is not “sufficiently small”, then, one needs to reduce Δt. l Ample numerical results in Lin and Dong (2018) show that the SAV approach is more efficient and robust than the usual semi-implicit schemes. l This approach is not restricted to the Navier –Stokes equations and can be applied to other nonlinear systems. For example, we can couple this approach with the scheme (44)–(46) to construct new efficient schemes for two-phase phase-field models, we refer to Yang and Dong (2018) for an attempt in this direction. 4 Conclusion We provided an updated account for the recently proposed SAV approach for complex dissipative/conservative systems. The SAV approach was originally developed for dealing with gradient flows. But as shown in the last section, the idea can be extended to deal with a large class of complex dissipative/con- servative systems which are not gradient flows, and still lead to efficient and accurate numerical schemes. Acknowledgements This work is partially supported by NSF DMS-1620262 & DMS-1720442 and AFOSR FA9550-16-1-0102. References Ainsworth, M., Mao, Z., 2017. Analysis and approximation of a fractional Cahn-Hilliard equation. SIAM J. Numer. Anal. 55 (4), 1689 –1718. ISSN 0036-1429. 666 Handbook of Numerical Analysis Allen, S.M., Cahn, J.W., 1979. A microscopic theory for antiphase boundary motion and its appli- cation to antiphase domain coarsening. Acta Metall. 27 (6), 1085 –1095. Anderson, D.M., McFadden, G.B., Wheeler, A.A., 1998. Diffuse-interface methods in fluid mechanics. Annu. Rev. Fluid Mech. 30 (1), 139 –165. Cahn, J.W., Hilliard, J.E., 1958. Free energy of a nonuniform system. I. Interfacial free energy. J. Chem. Phys. 28 (2), 258 –267. Cahn, J.W., Hilliard, J.E., 1959. Free energy of a nonuniform system. III. Nucleation in a two-component incompressible fluid. J. Chem. Phys. 31 (3), 688 –699. Cai, W., Jiang, C., Wang, Y., 2018. Structure-preserving algorithms for the two-dimensional sine- Gordon equation with Neumann boundary conditions. arXiv preprint arXiv:1809.02704. Chen, H., Shen, J., 2019. Optimal error estimates for SAV finite-element schemes for gradient flows. Numer. Math. (submitted for publication). Cheng, Q., Shen, J., 2018. Multiple scalar auxiliary variable (MSAV) approach and its application to the phase-field vesicle membrane model. SIAM J. Sci. Comput. 40 (6), A3982–A4006. Cheng, Q., Shen, J., Yang, X., 2019. Highly efficient and accurate numerical schemes for the epi- taxial thin film growth models by using the SAV approach. J. Sci. Comput. 78 (3), 1467 –1487. Condette, N., Melcher, C., S €uli, E., 2011. Spectral approximation of pattern-forming nonlinear evolution equations with double-well potentials of quadratic growth. Math. Comp. 80 (273), 205–223. ISSN 0025-5718. https://doi.org/10.1090/S0025-5718-10-02365-3. Doi, M., Edwards, S.F., 1988. The Theory of Polymer Dynamics. vol. 73. Oxford University Press. Du, Q., Feng, X., 2019. The phase field method for geometric moving interfaces and their numer- ical approximations. arXiv preprint arXiv:1902.04924. Du, Q., Nicolaides, R.A., 1991. Numerical analysis of a continuum model of phase transition. SIAM J. Numer. Anal. 28 (5), 1310 –1322. ISSN 0036-1429. https://doi.org/10.1137/0728069. Du, Q., Liu, C., Wang, X., 2004. A phase field approach in the numerical study of the elastic bending energy for vesicle membranes. J. Comput. Phys. 198 (2), 450 –468. Forest, M.G., Wang, Q., Zhou, R., 2004. The flow-phase diagram of Doi-Hess theory for sheared nematic polymers II: finite shear rates. Rheol. Acta 44 (1), 80 –93. Forest, M.G., Wang, Q., Zhou, R., 2004. The weak shear kinetic phase diagram for nematic poly- mers. Rheol. Acta 43 (1), 17 –37. Giacomelli, L., Otto, F., 2001. Variatonal formulation for the lubrication approximation of the Hele-Shaw flow. Calc. Var. 13 (3), 377 –403. Gomez, H., Hughes, T.J.R., 2011. Provably unconditionally stable, second-order time-accurate, mixed variational methods for phase-field models. J. Comput. Phys. 230 (13), 5310 –5327. ISSN 0021-9991. https://doi.org/10.1016/j.jcp.2011.03.033. Gurtin, M.E., Polignone, D., Vinals, J., 1996. Two-phase binary fluids and immiscible fluids described by an order parameter. Math. Models Methods Appl. Sci. 6 (06), 815 –831. He, Z., Chen, J., Chen, Z., 2018. Efficient linearly and unconditionally energy stable schemes for the phase field model of solid-state dewetting problems. In: International Conference on Computational Science, pp. 102 –112. Kessler, D., Nochetto, R.H., Schmidt, A., 2004. A posteriori error control for the Allen-Cahn problem: circumventing Gronwall’s inequality. M2AN Math. Model. Numer. Anal. 38 (1), 129–142. ISSN 0764-583X. https://doi.org/10.1051/m2an:2004006. Kim, J., 2012. Phase-field models for multi-component fluid flows. Commun. Comput. Phys. 12 (03), 613 –661. Kou, J., Sun, S., Wang, X., 2018. Linearly decoupled energy-stable numerical methods for multi- component two-phase compressible flow. SIAM J. Numer. Anal. 56 (6), 3219 –3248. Efficient and accurate structure preserving schemes Chapter 17 667 Larson, R.G., 1990. Arrested tumbling in shearing flows of liquid crystal polymers. Macromolecules 23 (17), 3983 –3992. Leslie, F.M., 1979. Theory of flow phenomena in liquid crystals. Adv. Liq. Cryst. 4, 1 –81. Li, X., Shen, J., Rui, H., 2019. Energy stability and convergence of SAV block-centered finite dif- ference method for gradient flows. Math. Comp. 88 (319), 2047 –2068. Lin, L., Dong, S., 2018. Numerical approximation of incompressible Navier-Stokes equations based on an auxiliary energy variable. arXiv:1804.10859. Liu, C., Shen, J., 2003. A phase field model for the mixture of two incompressible fluids and its approximation by a Fourier-spectral method. Physica D 179 (3), 211 –228. Lowengrub, J., Truskinovsky, L., 1998. Quasi-incompressible Cahn-Hilliard fluids and topologi- cal transitions. In: Proceedings of the Royal Society of London A: Mathematical, Physical and Engineering Sciences, vol. 454. The Royal Society, pp. 2617 –2654. Otto, F., 1998. Lubrication approximation with prescribed nonzero contact angle. Commun. Par- tial Differ. Equ. 23 (11 –12), 2077 –2164. Rogers, T.M., Desai, R.C., 1989. Numerical study of late-stage coarsening for off-critical quenches in the Cahn-Hilliard equation of phase separation. Phys. Rev. B 39 (16), 11956. Rudin, L.I., Osher, S., Fatemi, E., 1992. Nonlinear total variation based noise removal algorithms. Physica D 60 (1 –4), 259 –268. Shen, J., Xu, J., 2018. Convergence and error analysis for the scalar auxiliary variable (SAV) schemes to gradient flows. SIAM J. Numer. Anal. 56 (5), 2895 –2912. ISSN 0036-1429. https://doi.org/10.1137/17M1159968. Shen, J., Yang, X., 2010. Energy stable schemes for Cahn-Hilliard phase-field model of two phase incompressible flows equations. Chin. Ann. Math. B 31, 743 –758. Shen, J., Yang, X., 2010. Numerical approximations of Allen-Cahn and Cahn-Hilliard equations. Discrete Contin. Dynam. Systems. A 28, 1669 –1691. Shen, J., Tang, T., Yang, J., 2016. On the maximum principle preserving schemes for the generalized Allen-Cahn equation. Comm. Math. Sci. (14), 1517 –1534. Shen, J., Xu, J., Yang, J., 2019. A new class of efficient and robust energy stable schemes for gra- dient flows. SIAM Rev. (submitted for publication). Shen, J., Xu, J., Yang, J., 2018. The scalar auxiliary variable (SAV) approach for gradient flows. J. Comput. Phys. 353, 407 –416. ISSN 0021-9991. https://doi.org/10.1016/ j.jcp.2017.10.021 . Torabi, S., Lowengrub, J., Voigt, A., Wise, S., 2009. A new phase-field model for strongly aniso- tropic systems. In: Proceedings of the Royal Society of London A: Mathematical, Physical and Engineering Sciences. The Royal Society. pp. rspa –2008. Yang, X., 2016. Linear, first and second-order, unconditionally energy stable numerical schemes for the phase field model of homopolymer blends. J. Comput. Phys. 327, 294 –316. Yang, X., 2018. Efficient schemes with unconditionally energy stability for the anisotropic Cahn- Hilliard equation using the stabilized-scalar augmented variable (S-SAV) approach. arXiv preprint arXiv:1804.02619. Yang, X., 2018. Efficient schemes with unconditionally energy stability for the anisotropic Cahn- Hilliard equation using the stabilized-scalar augmented variable (S-SAV) approach. arXiv preprint arXiv:1804.02619. Yang, Z., Dong, S., 2018. An unconditionally energy-stable scheme based on an implicit auxiliary energy variable for incompressible two-phase flows with different densities involving only precomputable coefficient matrices. arXiv preprint arXiv:1811.07888. Yu, H., Ji, G., Zhang, P., 2010. A nonhomogeneous kinetic model of liquid crystal polymers and its thermodynamic closure approximation. Commun. Comput. Phys. 7 (2), 383. 668 Handbook of Numerical Analysis Yue, P., Feng, J.J., Liu, C., Shen, J., 2004. A diffuse-interface method for simulating two-phase flows of complex fluids. J. Fluid Mech. 515, 293 –317. Yue, P., Feng, J.J., Liu, C., Shen, J., 2004. A diffuse-interface method for simulating two-phase flows of complex fluids. J. Fluid Mech. 515, 293 –317. Zhao, J., Wang, Q., Yang, X., 2017. Numerical approximations for a phase field dendritic crystal growth model based on the invariant energy quadratization approach. Int. J. Numer. Methods Eng. 110 (3), 279 –300. Zhu, G., Kou, J., Sun, S., Yao, J., Li, A., 2018. Decoupled, energy stable schemes for a phase-field surfactant model. Comput. Phys. Commun. 233, 67 –77. Zhuang, Q., Shen, J., 2019. Efficient SAV approach for imaginary time gradient flows with appli- cations to one- and multi-component Bose-Einstein Condensates. J. Comput. Phys. (submitted for publication). Efficient and accurate structure preserving schemes Chapter 17 669
采集于
查看校方原文 ↗