校园网页 · 学校官网
2022-307.dvi
East Asian Journal on Applied Mathematics V ol.13, No. 3, pp. 550-575 doi: 10.4208/eajam.2022-307.090123 August 2023 A New Class of Efficient SAV Schemes with Lagrange Multipliers for Dissipative Systems with Global Constraints Yanrong Zhang1,2 and Jie Shen 1,3, * 1School of Mathematical Sciences and Fujian Provincial Key L aboratory on Mathematical Modeling and High Performance Scientific Co mputing, Xiamen University, Xiamen, Fujian, 361005, China. 2Department of Applied Mathematics, The Hong Kong Polytechn ic University, Hung Hom, Hong Kong SAR, China. 3Department of Mathematics, Purdue University, West Lafaye tte, IN 47907, USA. Received 5 November 2022; Accepted (in revised version) 9 Ja nuary 2023. Dedicated to Professor T ao T ang on occasion of his 60th birth day . Abstract. In this paper , we develop a class of efficient and accurate num erical schemes for general dissipative systems with global constraints. T he schemes are based on the re- laxed generalized SAV approach and the Lagrange multiplier approach, and enjoy many advantages such as solving only one linear system with const ant coefficients and one nonlinear algebraic system for the Lagrange multipliers. B esides, the schemes preserve global constraints and are unconditionally energy stable w ith a modified energy , which is equal to the original energy in most cases. We present appl ications of the R-GSAV/LM approach to a variety of problems to demonstrate its effecti veness and advantages com- pared with existing approaches. AMS subject classifications : 35Q40, 65M12, 35Q55, 65M70 Key words: SAV , dissipative system with global constraints, Lagrang e multiplier , stability . 1. Introduction Solutions for a large class of partial differential equatio ns (PDEs) arising in physical, chemical, and biological sciences are not only energy dissi pative, but also satisfy certain global constraints, such as preservation of norm, volume, s urface area, etc. It is important to develop numerical schemes, which are energy dissipative and preserve these constraints at the discrete level. While there are many different ways to design numerical sche mes that are energy dis- sipative — cf. [11,13,19–23,26,27 ], there are relatively few approaches to preserve global constraints, among which the two popular ones are: ∗Corresponding author . Email addresses: yanrongzhang_math@163.com (Y . Zhang),shen7@purdue.edu (J. Shen) http://www .global-sci.org/eajam 550 ©2023 Global-Science Press Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 551 • The penalty approach . This approach is frequently used to deal with gradient flows with global constraints (cf. [7, 16, 18, 24, 27, 30]). The key is to add suitable penalty terms related to global constraints in the free energy of the underlying gradient flow . Then, one can apply usual methods for the new gradient flow wit h the augmented free energy . The drawback of this approach is that the problem may become very stiff as we increase the penalty strength to better preserve the co nstraints. • The Lagrange multiplier approach . The main idea is to introduce Lagrange multi- pliers to enforce the global constraints (cf. [6,12]). Although the Lagrange multiplier approach can in principle preserve the global constraints e xactly , how to develop effi- cient, robust and energy stable numerical schemes for the sy stem with Lagrange mul- tipliers is still challenging. In [8], the authors proposed three numerical schemes for the Lagrange multiplier approach with different advantages and shortcomings. A par- ticular issue is that the Lagrange multipliers are determin ed by solving a nonlinear algebraic system which may require exceedingly small time s teps to have a suitable solution. This approach is also applied to nonlinear Schröd inger/Gross-Pitaevskii equations in [1] and Klein-Gordon Schrödinger (KGS) equations in [28]. It is found in [1] that, in some situations, the nonlinear algebraic system fo r the Lagrange mul- tipliers may not admit a solution even at very small time step s. In this paper , we propose a class of new schemes, referred her eafter to as the relaxed generalized SAV/Lagrange multiplier (R-GSAV/LM) approach, for general dissipative com- plex nonlinear systems with global constraints. This class of schemes combines the ideas and advantages of the relaxed generalized SAV (R-GSAV) appr oach [15, 17, 29] and the Lagrange multiplier approach [8]. More precisely , (i) the generalized SAV approach [15] is used to ensure unconditional stability with a modified ene rgy; (ii) the Lagrange multi- plier approach [8] is used to enforce the global constraints; and (iii) the rela xation idea in [17, 29] is used to improve the accuracy by relating the modified energ y to the true en- ergy . This class of schemes enjoys the following advantages : (i) it only requires solving one linear system with constant coefficients so it is very effi cient; (ii) it can be higher-order accurate; (iii) it can preserve global constraints exactly by solving a nonlinear algebraic system for the Lagrange multipliers only , so it is much more r obust as the Lagrange multi- pliers are decoupled from the SAV ; (iv) it is unconditionall y energy stable with a modified energy which, in most cases, equals to the original energy . We apply our new schemes to several interesting models, incl uding single-component and multi-component Bose Einstein Condensates (BECs), an optimal partition problem with multiple constraints, and Klein-Gordon-Schrödinger (KGS ) equations. The rest of this paper is organized as follows. In Section 2, w e briefly review the La- grange multiplier approaches in [8], and for the purpose of comparison, extend the second approaches in [8] to higher-order . In Section 3, we introduce our R-GSAV /LM approach for general dissipative systems, and derive a stability res ult. In Section 4, we apply our new schemes to imaginary time gradient flow of one- and multi- component BECs, optimal partition problem with multiple constraints, and KGS equat ions. Some concluding remarks are presented in Section 5. 552 Y . Zhang and J. Shen 2. A Brief Review of the Lagrange Multiplier Approach We briefly review below the Lagrange multiplier approaches i n [8] for gradient flows. Without loss of generality , we consider a gradient flow with t otal free energy in the form Et ot(φ) = ∫ Ω 1 2 /Lcalφ·φ+ F(φ)dx , under a global constraint d dt H(φ) = 0 with H(φ) = ∫ Ω h(φ)dx , where /Lcalis a symmetric non-negative linear operator , and H(φ) is a function of φ. Then the gradient flow with the above constraint can be written as φt = −/Gcalµ, (2.1) µ= /Lcalφ+ F ′(φ) −λ(t)δH δφ, (2.2) d dt H(φ) = 0, (2.3) whereλ(t) is a Lagrange multiplier introduced to enforce the constrai nt, and /Gcalis a sym- metric positive definite operator describing the relaxatio n process. For example, /Gcal= I for the L2 gradient flow and /Gcal= −∆ for the H −1 gradient flow . Taking the inner products of (2.1) withµand of (2.2) withφt , summing up the results, we obtain the following energy dissipation law: dEt ot (φ) dt = −(/Gcalµ,µ) ≤0. Three different numerical schemes for the above system were proposed in [8]. The first ap- proach is the combination of the original SAV approach and La grange multiplier approach, which can preserve the global constraints exactly , but it is not necessarily unconditionally energy stable. The third approach is energy stable with the o riginal energy but does not preserve global constraints exactly . The second approach i s theoretically most attractive, which is unconditionally energy stable with the original en ergy and preserves the global constraints exactly , but it needs to solve a coupled nonline ar algebraic system for the La- grange multipliers and the SAV at each time step. Hence, we sh all only compare our new schemes with the second approach whose higher-order BDF k version takes the following form: αkφn+1 −Ak (φn) δt = −/Gcalµn+1, (2.4) µn+1 = /Lcalφn+1 +ηn+1F ′/parenleftbig1 Bk(φn) /parenrightbig1 −λn+1Bk /parenleftbig4/parenleftbig4δH δφ /parenrightbig4n/parenrightbig4 , (2.5) H /parenleftbig1 φn+1/parenrightbig1 = H /parenleftbig1 φ0/parenrightbig1 , (2.6) Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 553 ∫ Ω αk F /parenleftbig1 φn+1/parenrightbig1 −Ak /parenleftbig1 F(φn) /parenrightbig1 dx =ηn+1 /parenleftbig1 F ′(Bk (φn)) ,αkφn+1 −Ak (φn) /parenrightbig1 −λn+1 /parenleftbig4 Bk /parenleftbig4/parenleftbig4δH δφ /parenrightbig4n/parenrightbig4 ,αkφn+1 −Ak (φn) /parenrightbig4 , (2.7) whereαk, the operators Ak and Bk are given by first-order: α1 = 1, A1(φn) =φn, B1(φn) =φn, second-order: α2 = 3 2 , A2(φn) = 2φn −1 2φn−1, B2(φn) = 2φn −φn−1, third-order: α3 = 11 6 , A3 (φn) = 3φn −3 2φn−1 + 1 3 un−2, B3 (φn) = 3φn −3φn−1 +φn−2, and the formulae for k = 4, 5, 6 can also be derived easily by Taylor expansion. It can be easily shown [8] that the scheme (2.4)-(2.7) with k = 1, 2 is unconditionally energy stable in the sense that: (i) For k = 1, E n+1 −E n ≤ −δt(/Gcalµn+1,µn+1), where E n+1 = 1 2 /parenleftbig1 /Lcalφn+1,φn+1/parenrightbig1 + ∫ Ω F /parenleftbig1 φn+1/parenrightbig1 dx . (ii) For k = 2, ˜E n+1 −˜E n ≤ −δt(/Gcalµn+1,µn+1), where ˜E n+1 = 1 4 /parenleftbig1 (/Lcalφn+1,φn+1) + /parenleftbig1 /Lcal(2φn+1 −φn), 2φn+1 −φn/parenrightbig1/parenrightbig1 + 1 2 ∫ Ω 3F /parenleftbig1 φn+1/parenrightbig1 −F (φn) dx . 3. The New R-GSAV /LM Approach In this section, we describe a general framework to construc t efficient numerical sche- mes for dissipative systems with global constraints. To fix t he idea, we shall only consider a real-valued system with a single component and a single glo bal constraint. Extensions to systems with multi-components and multi global constrai nts or with complex-valued solutions will be presented in the next section. We consider the following general dissipative system ∂φ ∂t + /Acalφ+ g(φ) =λ(t)δH δφ (3.1) 554 Y . Zhang and J. Shen with a global constraint d dt H(φ) = 0 with H(φ) = ∫ Ω h(φ)dx , (3.2) where /Acal is a positive definite operator , g(φ) is a semi-linear or quasi-linear operator ,λ(t) is a Lagrange multiplier introduced to enforce the constrai nt and h(φ) is a function of φ. We assume it satisfies an energy dissipation law as follows: dEt ot (φ) dt = −/Kcal(φ), (3.3) where Et ot(φ) is a free energy with lower bound −C0 and /Kcal(φ) ≥0 for all φ. The above system can come from constrained minimization problems, such as the gradi- ent flow with constraint (2.1)-(2.3) where λ(t) ̸= 0 is introduced to enforce the constraint (2.3), or from a dissipative system whose solution implicit ly satisfies the constraint (3.2), e.g. the Klein-Gordon-Schrödinger equation considered in Subsection 4.3 below , where λ(t) ≡0 is introduced artificially to satisfy the constraint (3.2) at the discrete level. Similar to [15], we set E(φ) = Et ot(φ)+ C0 and introduce a SAV R(t) = E(φ) to expand the Eqs. (3.1)-(3.3) into the following system: ∂φ ∂t + /Acalφ+ g(φ) =λ(t)δH δφ, dR(t) dt = −R(t) E(φ) /Kcal(φ), d dt H(φ) = 0. Then, we combine the ideas in [8, 15, 29] to construct the following relaxed generalized SAV/Lagrange multiplier (R-GSAV/LM) scheme: Given (φn−k, Rn−k), . . . ,(φn, Rn), we com- pute (φn+1, Rn+1) via the following three steps: Step 1. Determine an intermediate solution /tildewide1φn+1, /tildewide1Rn+1 by using the GSAV method αk ¯φn+1 −Ak (φn) δt + /Acal ¯φn+1 + g [Bk (φn)] = Bk /parenleftbig4 λn /parenleftbig4δH δφ /parenrightbig4n/parenrightbig4 , (3.4) 1 δt /parenleftbig1/tildewide1Rn+1 −Rn/parenrightbig1 = − /tildewide1Rn+1 E /parenleftbig1¯φn+1 /parenrightbig1/Kcal /parenleftbig1¯φn+1/parenrightbig1 , (3.5) ξn+1 k = /tildewide1Rn+1 E( ¯φn+1) , ηn+1 k = 1 − /parenleftbig1 1 −ξn+1 k /parenrightbig1k+1 , (3.6) /tildewide1φn+1 =ηn+1 k ¯φn+1. (3.7) Step 2. Findφn+1 andλn+1 from αk(φn+1 −/tildewide1φn+1) δt =λn+1 /parenleftbig4δH δφ /parenrightbig4n+1 −Bk /parenleftbig4 λn /parenleftbig4δH δφ /parenrightbig4n/parenrightbig4 , (3.8) H /parenleftbig1 φn+1/parenrightbig1 = H /parenleftbig1 φ0/parenrightbig1 . (3.9) Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 555 Step 3. Update the SAV Rn+1 via the following relaxation: Rn+1 =ζn+1 0 /tildewide1Rn+1 + /parenleftbig1 1 −ζn+1 0 /parenrightbig1 E /parenleftbig1 φn+1/parenrightbig1 , ζn+1 0 ∈ /Vcal, (3.10) where /Vcal= /braceleftbig5 ζ∈[0, 1] s.t. Rn+1 −/tildewide1Rn+1 δt = −γn+1/Kcal /parenleftbig1 φn+1/parenrightbig1 + /tildewide1Rn+1 E( ¯φn+1) /Kcal /parenleftbig1¯φn+1/parenrightbig1/bracerightbig5 (3.11) withγn+1 ≥0 to be determined so that /Vcalis not empty . The scheme (3.4)-(3.11) can be implemented as follows. Algorithm 3.1 1: Solve ¯φn+1 from (3.4). 2: Compute /tildewide1Rn+1 from (3.5). 3: Computeξn+1 k andηn+1 k from (3.6). 4: Update /tildewide1φn+1 from (3.7). 5: Find (φn+1,λn+1) by solving the nonlinear algebraic system (3.8)-(3.9). 6: Update Rn+1 by (3.10)-(3.11), and refer to [29] about how to choose ζn+1 0 andγn+1. For the readers’ convenience, we provide the choice of ζn+1 0 andγn+1 as below . 7: if ˜Rn+1 = E(φn+1) then 8: Setζn+1 0 = 0 and γn+1 = ˜Rn+1/Kcal( ¯φn+1) E( ¯φn+1)/Kcal(φn+1) . 9: end if 10: if ˜Rn+1> E(φn+1) then 11: Setζn+1 0 = 0 and γn+1 = ˜Rn+1 −E(φn+1) δt/Kcal(φn+1) + ˜Rn+1/Kcal( ¯φn+1) E( ¯φn+1)/Kcal(φn+1) . (3.12) 12: end if 13: if ˜Rn+1< E(φn+1) and ˜Rn+1 −E(φn+1) +δt ˜Rn+1 E( ¯φn+1) /Kcal( ¯φn+1) ≥0 then 14: Setζn+1 0 = 0 andγn+1 the same as (3.12). 15: end if 16: if ˜Rn+1< E(φn+1) and ˜Rn+1 −E(φn+1) +δt ˜Rn+1 E( ¯φn+1) /Kcal( ¯φn+1)< 0 then 17: Set ζn+1 0 = 1 − δt ˜Rn+1/Kcal( ¯φn+1) E( ¯φn+1)(E(φn+1) −˜Rn+1) andγn+1 = 0. 18: end if 556 Y . Zhang and J. Shen Remark 3.1. If h(φ) =φ2, which is the case for the applications we consider in this pa per , the nonlinear algebraic equation (3.8)-(3.9) is quadratic aboutλn+1 with two real roots given byλn+1 = (αk ± /∇adicallow sn+1)/δ t with sn+1 = ∫ Ω /barex /barex /barexαk /tildewide1φn+1 −δtB k(λnφn) /barex /barex /barex 2 dx /slashbig4 ∫ Ω |φ0|2dx ≥0. We should choose the root with smaller absolute value, namel y , λn+1 = 1 δt /parenleftbig2 αk − /radicalbig1 sn+1 /parenrightbig2 . Remark 3.2. Similar to the ideas [9, 10, 14], we can use the (k −1)-th order extrapolation of the Lagrange multiplier term in (3.4) and (3.8). In such a w ay , scheme (3.4)-(3.11) is still k-th order accuracy . Theorem 3.1. Given R n ≥0, we have R n+1 ≥0,ξn+1 k ≥0, and the scheme (3.4)-(3.11) for any k is unconditionally energy stable in the sense that Rn+1 −Rn = −δtγn+1/Kcal(φn+1) ≤0. (3.13) Furthermore, if E (φ) = ( /Lcalφ,φ)/ 2 + E1(φ) with /Lcalbeing a linear positive definite operator and E 1(φ) bounded from below, then there exists C 0> 0 such that /parenleftbig1 /Lcal˜φn, ˜φn/parenrightbig1 ≤C0 (3.14) for all n. Proof. The proof is essentially the same as the proof of [15, Theorem 1 ]. Since E( ¯φn+1) > 0, the relation (3.5) yields that for a given Rn ≥0 we have /tildewide1Rn+1 = Rn 1 +δt/Kcal( ¯φn+1)/ E( ¯φn+1) ≥0. (3.15) Then we derive from (3.6) that ξn+1 k ≥0, and we derive from (3.10) that Rn+1 ≥0. Com- bining (3.5) and (3.11), we obtain (3.13). Denoting M := R0 = E[φ(·, 0)], we derive from (3.13) and (3.15) that /tildewide1Rn+1 ≤M for all n. Without loss of generality , we can assume E1(φ)> 1 for all φ. It then follows from (3.6) that /barex /barexξn+1 k /barex /barex= /tildewide1Rn+1 E( ¯φn+1) ≤ 2M (/Lcal¯φn+1, ¯φn+1) + 2 . (3.16) Then ηn+1 k = 1 − /parenleftbig1 1 −ξn+1 k /parenrightbig1k+1 =ξn+1 k Pk /parenleftbig1 ξn+1 k /parenrightbig1 with Pk being a polynomial of degree k. We derive from (3.16) that there exists Mk> 0 such that /barex /barexηn+1 k /barex /barex= /barex /barexξn+1 k Pk /parenleftbig1 ξn+1 k /parenrightbig1/barex /barex≤ Mk (/Lcal¯φn+1, ¯φn+1) + 2 , Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 557 which, along with /tildewide1φn+1 =ηn+1 k ¯φn+1, implies /parenleftbig1 /Lcal/tildewide1φn+1, /tildewide1φn+1/parenrightbig1 = /parenleftbig1 ηn+1 k /parenrightbig12 /parenleftbig1 /Lcal¯φn+1, ¯φn+1/parenrightbig1 ≤ /parenleftbig5 Mk (/Lcal¯φn+1, ¯φn+1) + 2 /parenrightbig52 /parenleftbig1 /Lcal¯φn+1, ¯φn+1/parenrightbig1 ≤M 2 k . Remark 3.3. The scheme (3.4)-(3.11) is very efficient as it only requires solving one linear system with constant coefficients in (3.4). Besides, it also preserve the global constraint exactly . We are unable to prove (/Lcalφn+1,φn+1) ≤C0 due to the nonlinear nature of (3.9). But since ˜φn+1 is also a k-th order approximation ofφ(·, tn+1), the bound (/Lcal˜φn+1, ˜φn+1) ≤C0 will still be useful in the error analysis that is under inves tigation. 4. Applications We present in this section ample applications to validate th e efficiency and accuracy of the R-GSAV /LM scheme (3.4)-(3.11), with comparisons to the Lagrange mu ltiplier (LM) approach (2.4)-(2.7), and the modified SAV (MSAV) schemes wi th penalization proposed in [30]. Unless specified otherwise, we consider examples with perio dic boundary condition and use the Fourier-spectral method for spatial discretiza tion so that all the linear systems in our time discretization schemes can be solved very efficie ntly by using the fast Fourier transform. 4.1. Computing ground state solutions via imaginary time gr adient flows In this subsection, we use our R-GSAV /LM scheme to compute ground state solutions of one- and multi-component BECs through solving the imagin ary time gradient flows. 4.1.1. One-component BECs We first consider the one-component BEC system with the free e nergy Et ot(φ) = 1 2 (φ, /Lcalφ) + 1 2 ∫ Ω F /parenleftbig1 |φ|2/parenrightbig1 dx , (4.1) subject to the constraint H(φ) := ∫ Ω |φ(x , t)|2dx = 1, (4.2) where F(φ) is a nonlinear potential function — e.g. F(φ) = (β/ 2)φ2, and /Lcalis a positive definite operator: /Lcalφ= (−(1/ 2)∆ + V (x))φ with V (x) ≥0. 558 Y . Zhang and J. Shen Since the ground states of one-component BECs are the minimi zers of free energy (4.1), a popular approach to find the ground state solutions is to see k the steady state solution of an imaginary time gradient flow [3]. Previously , the constraint (4.2) in the imaginary time gradient flow was handled either with a projection approach [3] or a penalty approach [30]. We shall adopt the Lagrange multiplier approach. More preci sely , we introduce a Lagrange multiplierλ(t) to enforce (4.2), and consider the following imaginary time gradient flow with a Lagrange multiplier: φt = −δEt ot(φ) δφ +δH(φ) δφ = −/Lcalφ−F ′/parenleftbig1 |φ|2/parenrightbig1 φ−λ(t)φ, x ∈Ω, t> 0, lim |x |→∞ φ(x , t) = 0, t ≥0, H(φ) = 1, t ≥0. It is easy to see that the system satisfies the following energ y dissipative law: dEt ot (φ) dt = − /bardblex /bardblex/Lcalφ+ F ′/parenleftbig1 |φ|2/parenrightbig1 φ+λ(t)φ /bardblex /bardblex2 ≤0. Therefore, we can directly apply the scheme (3.4)-(3.11) to the above system. We impose BECs with the periodic boundary condition, and alw ays compute on a do- main, which is large enough such that the periodic boundary c ondition do not introduce a significant truncation error . Example 4.1. We first test the accuracy in time for the first- and second-ord er R-GSAV/LM schemes by considering the following initial condition: V (x) = x 2 2 , β= 60, φ0(x) = e−x 2/ 2 (π)1/ 4 (4.3) in Ω = (−8, 8). We use 128 modes for space discretization so that the spatia l discretization error is negligible when compared with the time discretizat ion error . The error is computed at T = 0.1, with the reference solution computed using the time ste pδt = 10−6. We plot the L2 error in Fig. 1, where we can observe the first-order and secon d-order accuracy . 10-5 10-4 10-310-8 10-6 10-4 10-2 100 Figure 1: Example 4.1. Accuracy of the first-order and second-order schemes for one-component BECs. Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 559 Example 4.2. In this example, we examine the efficiency of the schemes for c omputing ground state of BECs. Still considering the initial conditi on (4.3), we compare the iteration number K and energy Eβ(φ) = 2Et ot(φ) between the modified SAV (MSAV) schemes with penalization proposed in [30], the LM schemes and the R-GSAV/LM schemes. The stopping criterion for the steady state solution is |Eβ(φn+1) −Eβ(φn)|< 10−6. We are concerned about how to use a larger time step and less iterative numbers to obtain accurate results, therefore the time step we use here is δt = 10−2. The computational results of the MSAV , LM and R-GSAV /LM approaches are summarized in Table 1. It can be observed th at the R-GSAV/LM approach requires fewer iterations than MSAV approach an d LM approach, es- pecially for BDF1 scheme. In addition, the computational co st of the R-GSAV/LM approach at each time step is lower than the MSAV and LM approaches, thu s, the R-GSAV /LM ap- proach are more competitive compared with MSAV and LM scheme s for this example. Table 1: Example 4.2. Iteration numbers and energies based on three different approaches with δt = 10−2 for one-component BECs in 1D. K(BDF1) Eβ(BDF1) K(BDF2) Eβ(BDF2) MSAV 195 6.075956 180 6.075955 LM 191 6.075956 180 6.075956 R-GSAV/LM 175 6.075955 178 6.075956 Example 4.3. In this example, we compute the ground state solution in two- dimensions. The initial condition is chosen as φ0(x, y) = (γxγy )1/ 4 π1/ 2 e−(γx x 2+γy y2)/ 2 with two different potential functions. Case 1. A harmonic oscillator potential V (x, y) = 1 2 /parenleftbig2 γ2 x x 2 +γ2 y y 2 /parenrightbig2 . Case 2. A harmonic oscillator potential plus a potential of a stirre r corresponding to a far- blue detuned Gaussian laser beam which is used to generate vo rtices in BECs V (x, y) = 1 2 /parenleftbig2 γ2 x x 2 +γ2 y y 2 /parenrightbig2 +ω0e−δ((x−r0)2+ y2). The parameters are chosen as γx = 1,γy = 4 andβ= 200 in Case 1 and γx = 1,γy = 1,ω0 = 4,δ= r0 = 1, and β= 200 in Case 2. We then solve Case 1 on Ω1 = [ −8, 8] × [−4, 4] and Case 2 on Ω2 = [−8, 8] ×[−8, 8]. In both cases, we chose 128 2 Fourier modes, and used the first-order R-GSAV /LM scheme with δt = 10−3. 560 Y . Zhang and J. Shen The chemical potential and the energy of the ground state are listed in Table 2, where xrms = ∥xφ∥L2(Ω), yrms = ∥ yφ∥L2(Ω), andµg =µβ(φg ) with µβ(φ) = ∫ Ω /parenleftbig41 2 |∇φ(x)|2 + V (x)|φ(x)|2 +β|φ(x)|4 /parenrightbig4 dx = Eβ(φ) + ∫ Ω β 2 |φ(x)|4dx . We observe from the Table 2 that the results by our R-GSAV /LM approach are consistent with the results obtained by the TSSP method [3], the modified SAV method [30] and the generalized multiple SAV approach [16]. Table 2: Example 4.3. The chemical potential and the energy of ground state in 2D. x rms yrms Eβ(φg ) µg Case 1 2.2767 0.6100 11.1562 16.3068 Case 2 1.6945 1.7137 5.8507 8.3280 Figure 2: Example 4.3. Ground state solutions for BECs in the 2D. 4.1.2. Two-component BECs Here we consider two-component BECs with the free energy [2, 25] given by Et ot(φ1,φ2) = ∫ Ω /parenleftbig41 2 |∇φ1|2 + 1 2 |∇φ2|2 /parenrightbig4 + V1(x)|φ1|2 + V2(x)|φ2|2dx + E0(φ1,φ2), Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 561 where E0(φ1,φ2) = ∫ Ω /bracketleftbig41 2β11|φ1|4 + 1 2β22|φ2|4 +β12|φ1|2|φ2|2 +ρφ1φ2 +δ 2 /parenleftbig1 |φ1|2 − |φ2|2/parenrightbig1/bracketrightbig4 dx , subject to the constraint ∫ Ω |φ1(x, t)|2dx + ∫ Ω |φ2(x, t)|2dx = 1, t ≥0. (4.4) The unknown functions φ1,φ2 are the macroscopic wave function corresponding to the spin-up and spin-down components, Vi(x) ( i = 1, 2) are two external trapping potentials, ρ is the effective Rabi frequency , δis the Raman transition constant, βi j (i, j = 1, 2) are related to the s-wave scattering lengths between i-th and j-th components (positive for repulsive interaction and negative for attractive interac tion). Introducing a Lagrange multiplierλ(t) to enforce (4.4), the solution of the constrained minimization problem can be cast as the steady state solutio n of the following imaginary time gradient flow: ∂φ1 ∂t = /parenleftbig41 2 ∆ −V1(x) −δ 2 − /parenleftbig1 β11|φ1|2 +β12|φ2|2/parenrightbig1/parenrightbig4 φ1 −ρ 2φ2 +λ(t)φ1, x ∈Ω, t> 0, (4.5) ∂φ2 ∂t = /parenleftbig41 2 ∆ −V2(x) +δ 2 − /parenleftbig1 β12|φ1|2 +β22|φ2|2/parenrightbig1/parenrightbig4 φ2 −ρ 2φ1 +λ(t)φ2, x ∈Ω, t> 0, (4.6) ∫ Ω |φ1(x, t)|2dx + ∫ Ω |φ2(x, t)|2dx = 1, t ≥0. (4.7) Then, we can construct a R-GSAV /LM scheme similar to (3.4)-(3.11) for the above system. The main difference is that we need to replace the single equa tion (3.4) to two equations corresponding to (4.5)-(4.6). Example 4.4. We first compute the ground state solution. Set V1(x) = V2(x) = x 2/ 2,σ= 0 andβ11 :β12 :β22 = (1 : 0.94 : 0.97 )βwithβto be given. The initial condition are chosen as φ0 1 (x) =φ0 2 (x) = 1 π1/ 4/∇adicallow 2 e−x 2/ 2. First, we summarized in Table 3 the required iteration numbe rs to reach the steady state, and the energy at the steady state with δt = 10−2,β= 100 and ρ= −2 computed by the MSAV , LM and R-GSAV/LM approaches. The stopping criterion for the steady state solution is /barex /barexEt ot(φn+1) −Et ot (φn) /barex /barex< 10−6. 562 Y . Zhang and J. Shen Table 3: Example 4.4. Iteration numbers and energies with δt = 10−2 based on three different approaches for the case β= 100 and ρ= −2 for two-component BECs in 1D. K(BDF1) E(BDF1) K(BDF2) E(BDF2) MSAV 196 7.293210 176 7.293208 LM 190 7.293211 - - R-GSAV/LM 170 7.293210 174 7.293211 We observe from this table that the R-GSAV /LM approach is also very efficient for com- puting the ground state solution of the two-component BECs. Note that for the Newton iteration in the second-order LM approach does not converge withδt = 10−2, a smaller time step is needed. Next, we show that the relaxation step — i.e. the Step 3 of R-GS AV/LM approach, can indeed improve the accuracy and robustness. For the sake of comparison, we refer the R-GSAV/LM scheme without the relaxation step as the GSAV /LM scheme. We plot in Figs. 3 and 4 solutions and the energy evolution computed by fi rst-order GSAV /LM and R-GSAV/LM schemes with δt = 10−2 along with the reference solution obtained by the first-order LM scheme with δt = 10−4 for the case β = 100 and ρ = −2. We observe that the solution computed by the GSAV /LM scheme is totally wrong while the solution by the R-GSAV/LM scheme is indistinguishable with the reference solution . We also plot the -10 -5 0 5 10 -0.2 0 0.2 0.4 0.6 0.8 1 1.2 1.4 -10 -5 0 5 10 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 -10 -5 0 5 10 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 Figure 3: Example 4.4. Steady state solution of two-component BECs determined by different meth- ods. Left: First-order GSA V/LM scheme. Middle: First-order R-GSA V/LM scheme. Right: Reference solution. 0 0.5 1 1.5 2 -200 -100 0 100 200 300 0 0.5 1 1.5 2 10 15 20 25 30 35 40 0 0.2 0.4 0.6 0.8 1 1.2 10 15 20 25 30 35 40 Figure 4: Example 4.4. Evolution of energy of two-component BECs determined by different methods. Left: First-order GSA V/LM scheme. Middle: First-order R-GSA V/LM scheme. Right: Reference solu- tion. Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 563 0 0.5 1 1.5 2 20 30 40 50 60 70 80 90 100 0 0.5 1 1.5 2 10 15 20 25 30 35 40 0 0.2 0.4 0.6 0.8 1 1.2 10 15 20 25 30 35 40 Figure 5: Example 4.4. Evolution of Lagrange multiplier of two-component BECs determined by dif- ferent methods. Left: First-order GSA V/LM scheme. Middle: First-order R-GSA V/LM scheme. Right: Reference solution. corresponding evolution of the Lagrange multipliers in Fig . 5. These figures indicate that the R-GSAV/LM scheme is much more accurate and robust at larger time step s. 4.2. Application to an optimal partition model We consider an optimal partition problem which is a multicom ponent system with mul- tiple constraints. Given a positive integer m and a small parameter ε, the total free energy is given by Et ot (φ) = ∫ Ω /parenleftbig41 2 |∇φ|2 + F (φ) /parenrightbig4 dx , where φ ∈/Xbbbm (/Xbbb⊂H 1(Ω) with suitable boundary conditions) is a vector valued funct ion satisfying the norm constraints H j(φj) := ∫ Ω |φj|2dx = 1, j = 1, 2, . . . ,m, (4.8) F represents interaction potential of each partition F (φ) = 1 ε2 m∑ i=2 ∑ j<i φ2 iφ2 j . We introduce m Lagrange multipliers {λj(t)}m j=1 to enforce the norm constraints (4.8). Then, the solution of the above constrained minimization pr oblem can be cast as the steady state solutions of the following imaginary time gradient sy stem: ∂tφj = −Mµj, j = 1, 2, . . . ,m, (4.9) µj = −∆φj + δF δφj −λj(t)φj , j = 1, 2, . . . ,m, (4.10) d dt H j(φj) = 0, j = 1, 2, . . . ,m (4.11) with periodic or homogeneous Neumann boundary conditions, where M> 0 is a mobility constant. 564 Y . Zhang and J. Shen Taking the inner products of (4.9) withµj and of (4.10) with∂tφj, j = 1, 2, . . . ,m, notic- ing the equality (4.11) and integrating by parts, we obtain t he following energy dissipative law: d dt Et ot(φ) = −M ∫ Ω m∑ j=1 µ2 j dx . (4.12) Similar to (3.4)-(3.11), we can construct a R-GSAV /LM scheme for the above system. More exactly , for a given (φ n−k,µn−k, Rn−k), . . . ,(φ n,µn, Rn), we compute (φ n+1,µn+1, Rn+1) as follows: Step 1. Determine an intermediate solution /tildewide1φ n+1 , /tildewide1µn+1, /tildewide1Rn+1 by using the GSAV method αk ¯φn+1 j −Ak /parenleftbig2 φn j /parenrightbig2 δt = −M /tildewide1µn+1 j , j = 1, . . . ,m, (4.13) /tildewide1µn+1 j = −∆ ¯φn+1 j + Bk /bracketleftbig5/parenleftbig5 δF δφj /parenrightbig5n −λn jφn j /bracketrightbig5 , j = 1, . . . ,m, (4.14) ¯µn+1 j = −∆ ¯φn+1 j + δF δφj /parenleftbig1¯φ n+1/parenrightbig1 −λn j ¯φn+1 j , j = 1, . . . ,m, (4.15) 1 δt /parenleftbig1/tildewide1Rn+1 −Rn/parenrightbig1 = − /tildewide1Rn+1 E( ¯φ n+1 ) M ∫ Ω m∑ j=1 /parenleftbig2 ¯µn+1 j /parenrightbig22 dx , (4.16) ξn+1 k = /tildewide1Rn+1 E( ¯φ n+1 ) , ηn+1 k = 1 − /parenleftbig1 1 −ξn+1 k /parenrightbig1k+1 , (4.17) /tildewide1φn+1 j =ηn+1 k ¯φn+1 j , j = 1, . . . ,m. (4.18) Step 2. Find φ n+1 andλn+1 from αk(φn+1 j −/tildewide1φn+1 j ) δt = Mλn+1 j φn+1 j −M Bk /parenleftbig2 λn jφn j /parenrightbig2 , j = 1, . . . ,m, (4.19) H j /parenleftbig2 φn+1 j /parenrightbig2 = H j /parenleftbig2 φ0 j /parenrightbig2 , j = 1, . . . ,m. (4.20) Step 3. Update Rn+1 via the following relaxation: Rn+1 =ζn+1 0 /tildewide1Rn+1 + /parenleftbig1 1 −ζn+1 0 /parenrightbig1 Et ot /parenleftbig1 φ n+1/parenrightbig1 , ζn+1 0 ∈ /Vcal, (4.21) where /Vcal= /braceleftbig7 ζ∈[0, 1] s.t. Rn+1 −/tildewide1Rn+1 δt = −γn+1M ∫ Ω m∑ j=1 /parenleftbig2 µn+1 j /parenrightbig22 dx + /tildewide1Rn+1 E( ¯φ n+1 ) M ∫ Ω m∑ j=1 /parenleftbig2 ¯µn+1 j /parenrightbig22 dx /bracerightbig7 (4.22) Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 565 with µn+1 j = −∆φn+1 j + δF δφj /parenleftbig1 φ n+1/parenrightbig1 −λn+1 j φn+1 j , j = 1, 2, . . . ,m, andγn+1 ≥0 to be determined so that /Vcalis not empty . We can establish a stability result similar to Theorem 3.1 fo r the above scheme, which can also be efficiently implemented similarly as the scheme ( 3.4)-(3.11). We present below some numerical experiments for the optimal partition problem. We set Ω = [−π,π]2, and use 128 2 Fourier modes withǫ= 0.01 in all following computations. To better visualize the subdomain evolution, we set the initial conditionφi to be the marker functionχi, which equals to 1 in the region i, andχi = 0 in other region. The second-order R-GSAV/LM scheme with time step δt = 10−5 is used. Example 4.5. First, we take m = 4 with four connected trapezoids as the initial condition. Fig. 6 depict the evolutions of the phase configuration at T = 0, 0.05, 0.5, 1, 5, 10. It shows that patterns in the partition eventually evolve into hexag onal patterns. We also plot the evolutions of Lagrange multipliers λ1,λ2,λ3 andλ4 in Fig. 7, which are positive and decay with time. These results are in agreem ent with [5, 8]. Fig. 8 presents the evolutions of modified energy R(t),ζn+1 0 and errors of global con- straints. We observe in particular that ζn+1 0 remain to be 0, which means that the modified energy equals to the original energy . We remark that if we use the LM scheme to simulate this example , a much smaller time step needs to be used. This is due to the fact that in the LM approach, the Lagrange multipliers for the constraints and for the energy dissipat ion are coupled together , making the nonlinear algebraic system more difficult to solve. In fa ct, for this example, we need δt = 10−7 to get the correct solution with the LM scheme, while we can us eδt = 10−5 with the R-GSAV /LM scheme. Figure 6: Example 4.5. A 4-subdomain partition: initial partition and subdomains at times T = 0, 0.05, 0.5, 1, 5, 10 computed by the second-order R-GSA V/LM scheme. 566 Y . Zhang and J. Shen 0 2 4 6 8 10 0 10 20 30 40 50 0 2 4 6 8 10 0 10 20 30 40 50 Figure 7: Example 4.5. Evolution of Lagrange multipliers λ1,λ2,λ3 and λ4 for four-subdomain partition in Fig. 6. 0 2 4 6 8 10 0 100 200 300 400 500 600 700 800 0 2 4 6 8 10 -1 -0.5 0 0.5 1 10-15 0 2 4 6 8 10 10-15 10-14 Figure 8: Example 4.5. Four-subdomain partition. Left: Evolution of energy. Middle: ζn+1 0 . Right: Errors of global constraints. Example 4.6. To further demonstrate the robustness of our R-GSAV/LM approach, we also simulate the case with m = 10 and plot the results in Fig. 9 which are consistent with tho se reported in [8, 12]. Figure 9: Example 4.6. A 10-subdomain partition: Initial partition and subdomains at time T = 0, 0.05, 0.5, 2, 5, 10 computed by the second-order R-GSA V/LM scheme. Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 567 4.3. Application to Klein-Gordon-Schrödinger equations We consider the following Klein-Gordon-Schrödinger (KGS) equations: i∂tψ+ ∆ψ+φψ= 0, x ∈Ω, t> 0, (4.23) ǫ2∂t tφ+ρǫ∂tφ−∆φ+φ− |ψ|2 = 0, x ∈Ω, t> 0, (4.24) ψ(x , 0) =ψ(0)(x ), φ(x , 0) =φ(0)(x ), ∂tφ(x , 0) =φ(1)(x ), x ∈Ω, (4.25) where Ω is a bounded domain in /Rbbbd, d = 1, 2, 3, and unknown function ψ andφ are pre- scribed with either homogeneous Dirichlet or periodic boun dary conditions. In the above, the complex-valued functionψ =ψ(x , t) represents a scalar nucleon field, the real-valued functionφ =φ(x , t) represents a scalar meson field, ǫ> 0 is a parameter inversely pro- portional to the speed of light, and ρis a nonnegative parameter . The above KGS equations enjoy the following two properties: (i) Energy dissipative law: If ρ> 0, then dEt ot (t) dt = −ρǫ ∫ Ω |∂tφ|2 dx ⩽ 0, t ⩾ 0, where Et ot(t) = ∫ Ω /bracketleftbig41 2 /parenleftbig1 φ2 +ǫ2 (∂tφ)2 + |∇φ|2/parenrightbig1 + |∇ψ|2 − |ψ|2φ /bracketrightbig4 dx . (ii) Conservation of wave energy: dH(ψ) dt = 0, where H (ψ) := ∫ Ω |ψ|2dx . We need to introduce a Lagrange multiplier λ(t) to enforce the conservation of wave energy at the discrete level. Since λ(t) ≡0 at the continuous level and the solution is a complex-valued function, it is not clear whether we should introduce a real or imag- inaryλ(t). We can determine which choice is suitable by considering th e simple linear Schrödinger equation i∂tψ = −∆ψ, (4.26) which also conserves the wave energy — i.e. d H(ψ)/ dt = 0. Settingψ = u + iv with u and v being real functions, we can rewrite (4.26) as ∂t u = −∆v, ∂t v = ∆u. Then, we can introduce a real Lagrange multiplierλ(t) to enforce dH(ψ)/ dt = 0 as follows: ∂t u = −∆v +λδH δu = −∆v +λu, 568 Y . Zhang and J. Shen ∂t v = ∆u +λδH δv = ∆u +λv, dH(ψ) dt = 0, which can be rewritten as i∂tψ = −∆ψ+ iλψ, dH(ψ) dt = 0. The above argument indicates that we should introduce an ima ginary Lagrange multiplier . Based on this argument, we introduce a Lagrange multiplier t erm iλψwithλreal. In order to deal with the second derivative in time, we also intr oduce a new variable u(x , t) = ǫ∂tφ(x , t) to reformulate (4.23)-(4.25) as follows: i∂tψ = −∆ψ−φψ−iλψ, x ∈Ω, t> 0, (4.27) ǫ∂t u = ∆φ−φ+ |ψ|2 −ρu, x ∈Ω, t> 0, (4.28) ǫ∂tφ= u, x ∈Ω, t> 0, (4.29) dE(t) dt = −ρ ǫ∥u∥2, (4.30) d dt H(ψ) = 0. (4.31) Then we can construct the R-GSAV /LM scheme for (4.27)-(4.31) similar to the scheme (3.4)-(3.11) as follows: Given (ψn−k, un−k,φn−k, Rn−k), . . . ,(ψn, un,φn, Rn), we compute (ψn+1, un+1,φn+1, Rn+1) via the following steps: Step 1. Find a solution /tildewide1ψn+1, un+1,φn+1, /tildewide1Rn+1 by using the GSAV approach iαk ¯ψn+1 −Ak(ψn) δt = −∆ ¯ψn+1 −Bk (φnψn) −Bk (iλnψn) , (4.32) ǫαk ¯un+1 −Ak(un) δt = ∆ ¯φn+1 −¯φn+1 + Bk /parenleftbig1 |ψ|2/parenrightbig1 −ρ¯un+1, (4.33) ǫαk ¯φn+1 −Ak(φn) δt = ¯un+1, (4.34) 1 δt /parenleftbig1/tildewide1Rn+1 −Rn/parenrightbig1 = −ρ ǫ /tildewide1Rn+1 E( ¯ψn+1, ¯un+1, ¯φn+1) ∥¯un+1∥2, (4.35) ξn+1 k = /tildewide1Rn+1 E( ¯ψn+1, ¯un+1, ¯φn+1) , ηn+1 k = 1 − /parenleftbig1 1 −ξn+1 k /parenrightbig1k+1 , (4.36) /tildewide1ψn+1 =ηn+1 k ¯ψn+1, un+1 =ηn+1 k ¯un+1, φn+1 =ηn+1 k ¯φn+1. (4.37) Step 2. Compute φ n+1 andλn+1 from αk(ψn+1 −/tildewide1ψn+1) δt = −λn+1ψn+1 + Bk (λnψn) , (4.38) Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 569 H(ψn+1) = H(ψ0). (4.39) Step 3. Update the SAV Rn+1 via the following relaxation: Rn+1 =ζn+1 0 /tildewide1Rn+1 + /parenleftbig1 1 −ζn+1 0 /parenrightbig1 E /parenleftbig1 ψn+1, un+1,φn+1/parenrightbig1 , ζn+1 0 ∈ /Vcal, (4.40) where /Vcal= /braceleftbig5 ζ∈[0, 1] s.t. Rn+1 −/tildewide1Rn+1 δt = −γn+1ρ ǫ∥un+1∥2 +ρ ǫ /tildewide1Rn+1 E( ¯ψn+1, ¯un+1, ¯φn+1) ∥¯un+1∥2 /bracerightbig5 (4.41) withγn+1 ≥0 to be determined so that /Vcalis not empty . The above scheme can be implemented similarly as the scheme ( 3.4)-(3.11), and we can also establish stability results similar to those prese nted in Theorem 3.1. We leave the detail to the interested readers. We now present some numerical results by using the above sche me. We first examine the temporal convergence rates. Example 4.7. We include an external force in KGS equation (4.23)-(4.25) t o make the exact solution be ψ±(x, t) = 3B sech2 (B x + c±t) exp /bracketleftbig1 i /parenleftbig1 d±x + (4B2 −d 2 ±)t /parenrightbig1/bracketrightbig1 , (4.42) φ±(x, t) = 6B2 sech2 (B x + c±t) , x ∈/Rbbb, t ≥0, (4.43) where B ≥0 and c±= ± /∇adicallow 4B2 −1 2ǫ = /Ocal /parenleftbig41 ǫ /parenrightbig4 , d±= ∓ /∇adicallow 4B2 −1 4Bǫ = −c± 2B = /Ocal /parenleftbig41 ǫ /parenrightbig4 . The exact solution is chosen as ψ(x, t) =ψ+(x, t), φ(x) =φ+(x, t), u(x, t) =ε∂tφ+(x, t). (4.44) In our computation, we take B = 1,ǫ= 1,ρ= 0.01 and solve the problem on the interval [−32, 32]. We choose 1024 Fourier modes — i.e. spatial step h = 1/ 16, so that the spatial error is negligible compared with time discretization erro r . The errors based on discrete L2-norm are shown in Fig. 10 which shows the expected accuracy . Example 4.8. The initial data is chosen as ψ(0)(x) =ψ+(x, 0), φ(0)(x) =φ+(x, 0), u(0)(x) =ε∂tφ+(x, 0). We simulate the propagation of a single solitary wave with B = 1,ε= 0.1,ρ= 0.1 in the computational domain [−40, 40]. We set 1024 Fourier modes — i.e. spatial step h = 5/ 64, andδt = 10−4. The results computed by R-GSAV /LM BDF k (k = 1, 2, 3, 4) schemes are shown in Fig. 11. 570 Y . Zhang and J. Shen 10-3 10-2 10-10 10-5 100 10-3 10-210-10 10-8 10-6 10-4 10-2 10-3 10-210-12 10-10 10-8 10-6 10-4 10-2 Figure 10: Example 4.7. Accuracy of solving KGS equations. Left: First- and second-order schemes. Middle: Third-order scheme. Right: Fourth-order scheme. Figure 11: Example 4.8. Propagation of a single solitary wave computed by the R-GSA V/LM BDF k ( k = 1, 2, 3, 4) schemes. Example 4.9. We simulate the head-on collisions of solitary-wave soluti ons of KGS in 1D withǫ= 1 andρ= 0.01, 0.1, 0.5. The initial condition is chosen as ψ(x, 0) =ψ+(B, x −p, 0) +ψ−(B, x + p, 0), φ(x, 0) =φ+(B, x −p, 0) +φ−(B, x + p, 0), ∂tφ(x, 0) =∂tφ+(B, x −p, 0) +∂tφ−(B, x + p, 0), whereψ±andφ±are defined as in (4.42)-(4.43), and x = ±p are initial locations of the Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 571 Figure 12: Example 4.9. Head-on collisions of two symmetric solitary waves. Left: Nucleon density ψ. Right: Meson field. From top to bottom: ρ= 0.01, ρ= 0.1, ρ= 0.5. two solitons. We set p = 8, B = 1, and use the second-order R-GSAV /LM scheme to solve the problem in the interval [−40, 40] with 2048 Fourier modes — i.e. mesh size h = 5/ 128, time stepδt = 10−3. We plot in Fig. 12 the time evolution of |ψ(x, t)|and |φ(x, t)|for different values of ρ, and plot in Fig. 13 the time evolution of the absolute value o f Lagrange multiplier and energy for different values of ρ. These results are consistent with [28]. 572 Y . Zhang and J. Shen 0 20 40 60 80 10010-14 10-12 10-10 10-8 10-6 10-4 0 5 10 15 20 25 30 -30 -20 -10 0 10 20 30 Figure 13: Example 4.9. Left: Evolutions of the absolute value of Lagrange multiplier. Right: Evolution of the energy. Example 4.10. We simulate a dynamic process of KGS in 2D with ρ= 1 and ǫ= 1. The initial condition is taken as ψ(x, y, 0) = 2 e x 2+2 y2 + e−(x 2+2 y2) ei5/ cosh( /∇adicallow 4x 2+ y2), φ(x, y, 0) = e−(x 2+ y2), φt (x, y, 0) = e−(x 2+ y2) 2 . We use the second-order R-GSAV/LM scheme to solve this problem on the rectangle domain [−64, 64]2 with mesh size h = 1/ 16 and time step δt = 10−3. Fig. 14 shows the surface plots of |ψ|2 andφat various times. We observe that these are similar to the con served case withρ= 0 reported in [4, 28]. We also plot the error of wave energy and ζn+1 0 in Fig. 15. We observe that the wave energy is conserved exactly , and ζn+1 0 ≡0 which indicates that the scheme is energy dissipative with the original energy . 5. Conclusion In this paper , we developed a new class of efficient schemes, t ermed as R-GSAV /LM schemes, for dissipative systems with global constraints. The schemes combine the main ideas of the relaxed generalized SAV approach [15, 17, 29] and the Lagrange multiplier approach [8], enjoy many distinct advantages compared with existing app roaches, such as (i) more efficient as they only require solving one linear sys tem with constant coefficients and one nonlinear algebraic system for the Lagrange multipl iers only; (ii) can preserve global constraints exactly , and are unconditionally energ y stable with a modified energy , which in most cases, equals to the original energy; and (iii) can be applied to a large class of dissipative systems with global constraints. We ap plied the R-GSAV /LM approach to a variety of problems to demonstrate its effectiveness an d advantages compared with existing approaches. While the new R-GSAV /LM approach enjoy many advantages, there are still some is- sues which need to be addressed, such as (i) how to construct s imilar numerical schemes Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 573 Figure 14: Example 4.10. Left: Surface of nucleon density |ψ|2. Right: Meson field φ. From top to bottom: T = 0, T = 0.5, T = 1, T = 3.5. 574 Y . Zhang and J. Shen 0 0.5 1 1.5 2 2.5 3 3.5 10-15 10-14 0 0.5 1 1.5 2 2.5 3 3.5 -1 -0.5 0 0.5 1 10-15 Figure 15: Example 4.10. KGS equations. Left: Error of the wave energy. Right: ζn+1 0 . for conservative systems with global constraints; (ii) how to deal with more complicated constraints; (iii) how to establish the well posedness for t he nonlinear algebraic system involved in the scheme, and derive a rigorous error estimate . These subjects are worth studying in a future work. Acknowledgments This work is supported in part by NSFC 11971407. References [1] X. Antoine, J. Shen and Q. T ang, Scalar Auxiliary Variable /Lagrange multiplier based pseu- dospectral schemes for the dynamics of nonlinear Schröding er/Gross-Pitaevskii equations , J. Comput. Phys. 437, 110328 (2021). [2] S. Ashhab and C. Lobo, External Josephson effect in Bose-Einstein condensates wi th a spin degree of freedom, Phys. Rev . A 66, 013609 (2002). [3] W . Bao and Q. Du, Computing the ground state solution of Bose-Einstein conde nsates by a nor- malized gradient flow , SIAM J. Sci. Comput. 25, 1674–1697 (2004). [4] W . Bao and L. Y ang,Efficient and accurate numerical methods for the Klein-Gord on-Schrödinger equations, J. Comput. Phys. 225, 1863–1893 (2007). [5] L. Cafferelli and F . Lin, An optimal partition problem for eigenvalues , J. Sci. Comput. 31, 5–18 (2007). [6] L. Caffarelli and F . Lin,Nonlocal heat flows preserving the L 2 energy, Discrete Contin. Dyn. Syst. 23, 49 (2009). [7] Q. Cheng and J. Shen, Multiple scalar auxiliary variable (MSAV) approach and its application to the phase-field vesicle membrane model , SIAM J. Sci. Comput. 40, A3982–A4006 (2018). [8] Q. Cheng and J. Shen, Global constraints preserving scalar auxiliary variable s chemes for gra- dient flows, SIAM J. Sci. Comput. 42, A2489–A2513 (2020). [9] Q. Cheng and J. Shen, A new Lagrange multiplier approach for constructing struct ure preserving schemes, I. Positivity preserving , Comput. Methods Appl. Mech. Engrg. 391, 114585 (2022). [10] Q. Cheng and J. Shen, A new Lagrange multiplier approach for constructing struct ure preserving schemes, II. Bound preserving , SIAM J. Numer . Anal. 60, 970–998 (2022). Efficient Numerical Schemes for Dissipative Systems with Gl obal Constraints 575 [11] Q. Du and X. Feng, The phase field method for geometric moving interfaces and th eir nu- merical approximations , in: Geometric partial differential equations. Part I , pp. 425–508, Elsevier/North-Holland (2020). [12] Q. Du and F . Lin,Numerical approximations of a norm-preserving gradient flo w and applications to an optimal partition problem , Nonlinearity 22, 67 (2008). [13] C.M. Elliott and A.M. Stuart, The global dynamics of discrete semilinear parabolic equat ions, SIAM J. Numer . Anal. 30, 1622–1663 (1993). [14] J.L. Guermond, P . Minev and J. Shen, An overview of projection methods for incompressible flows, Comput. Methods Appl. Mech. Engrg. 195, 6011–6045 (2006). [15] F . Huang and J. Shen, A new class of implicit-explicit BDFk SAV schemes for genera l dissipative systems and their error analysis , Comput. Methods Appl. Mech. Engrg. 392, 114718 (2022). [16] F . Huang, J. Shen and Z. Y ang, A highly efficient and accurate new scalar auxiliary variabl e approach for gradient flows , SIAM J. Sci. Comput. 42, A2514–A2536 (2020). [17] M. Jiang, Z. Zhang and J. Zhao, Improving the accuracy and consistency of the scalar auxili ary variable (SAV) method with relaxation , J. Comput. Phys. 456, 110954 (2022). [18] X. Jing and Q. Wang, Linear second order energy stable schemes for phase field cry stal growth models with nonlocal constraints , Comput. Math. Appl. 79, 764–788 (2020). [19] J. Shen, T . T ang and J. Y ang,On the maximum principle preserving schemes for the general ized Allen-Cahn equation, Commun. Math. Sci. 14, 1517–1534 (2016). [20] J. Shen, C. Wang, X. Wang and S.M. Wise, Second-order convex splitting schemes for gradient flows with Ehrlich-Schwoebel type energy: Application to th in film epitaxy, SIAM J. Numer . Anal. 50, 105–125 (2012). [21] J. Shen, J. Xu and J. Y ang, The scalar auxiliary variable (SAV) approach for gradient fl ows, J. Comput. Phys. 353, 407–416 (2018). [22] J. Shen, J. Xu and J. Y ang, A new class of efficient and robust energy stable schemes for g radient flows, SIAM Rev .61, 474–506 (2019). [23] J. Shen and X. Y ang, Numerical approximations of Allen-Cahn and Cahn-Hilliard equations, Discrete Contin. Dyn. Syst. 28, 1669 (2010). [24] X. Wang, L. Ju and Q. Du, Efficient and stable exponential time differencing Runge-Kutta methods for phase field elastic bending energy models , J. Comput. Phys. 316, 21–38 (2016). [25] J. Williams, R. Walser , J. Cooper , E. Cornell and M. Holland, Nonlinear Josephson-type oscilla- tions of a driven, two-component Bose-Einstein condensate , Phys. Rev . A 59, R31 (1999). [26] C. Xu and T . T ang,Stability analysis of large time-stepping methods for epit axial growth models, SIAM J. Numer . Anal. 44, 1759–1779 (2006). [27] X. Y ang and L. Ju, Efficient linear schemes with unconditional energy stabili ty for the phase field elastic bending energy model , Comput. Methods Appl. Mech. Engrg. 315, 691–712 (2017). [28] Y . Zhang and J. Shen, Efficient structure preserving schemes for the Klein-Gordo n-Schrödinger equations, J. Sci. Comput. 89, 1–26 (2021). [29] Y . Zhang and J. Shen, A generalized SAV approach with relaxation for dissipative systems, J. Comput. Phys. 464, 111311 (2022). [30] Q. Zhuang and J. Shen, Efficient SAV approach for imaginary time gradient flows with appli- cations to one-and multi-component Bose-Einstein Condens ates, J. Comput. Phys. 396, 72–88 (2019).
采集于
查看校方原文 ↗