EIT Agent
登录
← 校园网页目录

校园网页 · 学校官网

Efficient Structure Preserving Schemes for the Klein–Gordon–Schrödinger Equations

Journal of Scientific Computing (2021) 89:47 https://doi.org/10.1007/s10915-021-01649-y Efficient Structure Preserving Schemes for the Klein–Gordon–Schrödinger Equations Yanrong Zhang 1 · Jie Shen 2 Received: 12 March 2021 / Revised: 28 July 2021 / Accepted: 17 September 2021 © The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2021 Abstract We construct three efficient and accurate numerical methods for solving the Klein–Gordon– Schrödinger (KGS) equations with/without damping terms. The first one is based on the original SA V approach, it preserves a modified Hamiltonian but does not preserve the wave energy. The second one is based on the Lagrange multiplier SA V approach, it preserves both the original Hamiltonian and wave energy, but requires solving a nonlinear algebraic system which may require smaller time steps to have real solutions. The third one is also based on the Lagrange multiplier approach and preserves the Hamiltonian and wave energy in a slightly different form, but it leads to a nonlinear quadratic system for the Lagrange multiplier which can always be explicitly solved. We present ample numerical tests to validate the three schemes, and provide a comparison on the efficiency and accuracy of the three schemes for the KGS equations. Keywords Klein–Gordon–Schrödinger equations · Structure preserving · Stability · Lagrange multiplier approach Mathematics Subject Classification 35Q40 · 65M12 · 35Q55 · 65M70 1 Introduction We consider in this paper numerical approximation of the following Klein–Gordon– Schrödinger (KGS) equations, B Jie Shen shen7@purdue.edu Y anrong Zhang yanrongzhang@stu.xmu.edu.cn 1 School of Mathematical Sciences and Fujian Provincial Key Laboratory on Mathematical Modeling and High Performance Scientific Computing, Xiamen University, Xiamen 361005, Fujian, China 2 Department of Mathematics, Purdue University, West Lafayette, IN 47907, USA 0123456789().: V,-vol 123 47 Page 2 of 26 Journal of Scientific Computing (2021) 89:47 ⎧ ⎪⎨ ⎪⎩ i∂tψ + /Delta1ψ+ φψ + iνψ = 0, x ∈ /Omega1,t > 0, ε2∂tt φ + γε∂tφ − /Delta1φ+ φ −| ψ|2 = 0, x ∈ /Omega1,t > 0, ψ( x, 0) = ψ(0)(x), φ( x, 0) = φ(0)(x), ∂ tφ(x, 0) = φ(1)(x), x ∈ /Omega1, (1.1) where /Omega1is a bounded domain in Rd (d = 1, 2, 3),a n dψ and φ are prescribed with either homogeneous Dirichlet or periodic boundary conditions. In the absence of the interaction terms, the first equation of ( 1.1) is a Schrödinger equation, and the second one is a Klein– Gordon equation. The KGS equations ( 1.1) describe the dynamic of the interaction of scalar nucleons interacting with neutral scalar mesons through Y ukawa interaction. In the above, the complex- valued unknown function ψ = ψ( x, t) represents a scalar nucleon field, the real-valued unknown functionφ = φ(x, t) represents a scalar meson field,ε> 0 is a parameter inversely proportional to the speed of light, and γ and νare two nonnegative parameters. In fact, when ε = 1,γ = 0a n d ν = 0, it reduces to the standard KGS equations. The system ( 1.1)i s dispersive with ν= γ = 0, and dissipative when ν> 0 and/or γ> 0. The KGS equations have been extensively studied in the literature. We refer to [13–19,28] (resp. [5,6,27]) and the references therein for the mathematical analysis of the conservative (i.e. ν= γ = 0) KGS equations (resp. the dissipative KGS equations). The standard KGS equations have also been extensively studied numerically. For exam- ples, Xiang [ 36] constructed a conservative spectral scheme for the periodic initial-value problem and provided its error analysis; Zhang [ 38] developed a conservative difference scheme in one dimension; Kong et al. [ 23,24] and Hong et al. [ 21] considered multi- symplectic schemes; Hong et al. [ 20] compared the classical conservative properties of five difference schemes and investigated their numerical behaviors; Liang [ 26] constructed three linearly implicit Fourier pseudospectral algorithms; Chen et al. [ 8] developed a conserva- tive and linearly implicit finite difference scheme with second order temporal accuracy and eighth order spatial accuracy by means of the Richardson extrapolation method; Li et al. [25] proposed a conservative linearized Galerkin finite element method; Wang [ 34]p r o - posed a conservative high-order compact finite difference scheme for the KGS equation with Dirichlet boundary condition; Y ang [37] developed methods involving a Crank–Nicholson time discretization for the Schrödinger equation part, a Crank–Nicholson leap frog method in time for the Klein–Gordon equation part, and local discontinuous Galerkin methods in space. For the KGS equations in the “nonrelativistic” regime, we refer to [ 2,4]. For some recent work on the fractional KGS equations, we refer to [ 7,12,30,35]. Numerical methods and sumilations for the KGS equations with damping mechanism (1.1) has received less attention. Bao and Y ang [3] constructed efficient and accurate schemes with the time-splitting Fourier spectral technique for the Schrödinger-type operator, the Fourier pseudo-spectral method for the Klein–Gordon part, and the adoption of solving the ordinary differential equations (ODEs) in phase space analytically. Their numerical methods possess some nice discrete properties, e.g., time reversible, time transverse invariant, and it is shown through a formal V on Neumann analysis that the numerical solutions remain bounded but without proof for discrete energy dissipation. Ji and Zhang [ 22] developed a decoupled time-stepping method, based on the finite difference approximation in time and Fourier pseudo-spectral discretization in space, and the scheme is proved to preserve/dissipate the discrete wave energy for ν≥ 0 and dissipate the energy when ν= 0a n dγ ≥ 0. However, a nonlinear system needs to be solved in each time step. Thus, it is of great interests to develop an efficient, accurate numerical scheme that can preserve the conservation/dissipation properties of wave energy and Hamiltonian at the discrete level. The main difficulty is to avoid solving 123 Journal of Scientific Computing (2021) 89:47 Page 3 of 26 47 complicated nonlinear systems at each time step while preserving the conservation/dissipation properties. The aim of this paper is to construct a class of efficient and accurate schemes for the KGS equations ( 1.1) based on the original SA V approach [ 31] and the SA V approach with Lagrange multipliers [9,10]. These approaches were proposed for dissipative gradient flows, and recently they have been successfully applied to dispersive equations such as nonlinear Schrödinger and Zakharov equations [ 1,11,29,32]. However, there are new challenges in application of these approaches to KGS equations ( 1.1). First, the Hamiltonian of KGS equations involves a non-quadratic term which is not necessarily bounded from below so the original SA V approach can not be directly applied. Second, the original SA V approach is designed to dissipate a modified total energy or Hamiltonian, but does not have a mechanism to preserve the wave energy. We employ a SA V approach with Lagrange multipliers to preserve the wave energy as well as to preserve/dissipate the original Hamiltonian. Combined with a Crank–Nicolson/Leap-Frog scheme in time, the proposed schemes enjoy the following distinct advantages: • The schemes are second-order accurate in time and can be combined with any Galerkin- type spatial discretization; • At each time step, they require solving only a sequence of linear decoupled systems with constant coefficients, and in the case of the schemes with Lagrange multipliers, an addi- tional nonlinear algebraic system which can be solved with a negligible computational cost. We carry out a series of numerical simulation to validate these schemes and to compare them under conservative and dissipative regimes. The rest of paper is organized as follows. In Sect. 2, we reformulate the KGS equations with SA V , develop a SA V scheme based on Crank–Nicolson-leap-frog, and prove that it preserves/dissipates a modified Hamiltonian. In Sect. 3, we construct two schemes using the Lagrange multiplier approach and show that Scheme LM1 preserve the wave energy, as well as preserve/dissipate the original Hamiltonian, while Scheme LM2 preserves the Hamiltonian and wave energy in a slightly different form. In Sect. 4, we present various numerical simulations to compare and validate the proposed schemes for KGS equations, and apply our new approach to simulate soliton-soliton collisions in 1D with/without damping terms, as well as dynamics of a 2D problems in KGS equations. Some concluding remarks are presented in Sect. 5. 2 KGS System and Its SAV Reformulation Throughout the paper, we shall use (·,·) and ∥·∥ to denote the inner product and norm in L2(/Omega1), respectively, and we denote norms in H s(/Omega1)by ∥·∥ s . For the sake of clarity, we first rewrite the KGS equations ( 1.1) as follows. Let ψ( x, t) = p(x, t) + iq(x, t), where both p(x, t) and q(x, t) are real-valued functions, and introduce an e wv a r i a b l eu(x, t) = ε∂tφ(x, t) to reformulate ( 1.1) as a first-order-in-time differential system. Then the problem ( 1.1) becomes ⎧ ⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎩ ∂t q + νq = /Delta1p + φp, x ∈ /Omega1,t > 0, ∂t p + νp =− (/Delta1q + φq), x ∈ /Omega1,t > 0, ε∂t u = /Delta1φ− φ + ( p2 + q2) − γu, x ∈ /Omega1,t > 0, ε∂tφ = u, x ∈ /Omega1,t > 0. (2.1) 123 47 Page 4 of 26 Journal of Scientific Computing (2021) 89:47 Similarly, p, q, u and φ are prescribed with either homogeneous Dirichlet or periodic bound- ary conditions. We denote the unknowns of the above system by v = ( p, q, u,φ) T . Theorem 2.1 The system (2.1) with homogeneous Dirichlet or periodic boundary conditions satisfies the following conservation laws: d dt (∥ p∥2 +∥ q∥2) =− 2ν(∥ p∥2 +∥ q∥2), (2.2) where ∥ p∥2 +∥ q∥2 is the wave energy, and dH dt =− γ ε∥u∥2 − 2ν(∥∇ p∥2 +∥ ∇q∥2) + 2ν(φ,| p|2 +| q|2), (2.3) where H (t; v) is the Hamiltonian defined by H(t; v) ={ ∥ ∇p∥2 +∥ ∇q∥2 + 1 2(∥∇φ∥2 +∥ u∥2 +∥ φ∥2)}− (φ,| p|2 +| q|2). (2.4) Proof Taking the inner products of the first two equations in (2.1) with 2q and 2p respectively, and summing up the results, we obtain immediately ( 2.2). Taking the inner products of the first two equations in ( 2.1) with − 2(∂t p + νp) and 2(∂t q + νq) respectively, and summing up the results, we obtain d dt {∥∇ p∥2 +∥ ∇q∥2}− (φ, ∂t(| p|2 +| q|2)) =− 2ν(∥∇ p∥2 +∥ ∇q∥2) + 2ν(φ,| p|2 +| q|2). (2.5) On the other hand, taking the inner products of the first two equations in ( 2.1) with u/εand − ( /Delta1φ− φ + ( p2 + q2)) /εrespectively, and summing up the results, we obtain 1 2 d dt {∥∇φ∥2 +∥ u∥2 +∥ φ∥2}− (∂tφ,| p|2 +| q|2) =− γ ε∥u∥2. (2.6) Summing up the above two relations, we obtain ( 2.3). ⊓⊔ Remark 2.1 We observe from the above that • When ν= 0, we have d dt D(t; p, q) = 0, t ≥ 0, (2.7) where D(t; p, q) := ∥p(x, t)∥2 +∥ q(x, t)∥2,a n d d dt H(t; v) =− γ ε∥u∥2, t ≥ 0. (2.8) • When ν> 0, we derive from ( 2.2) that the wave energy decays exponentially, more precisely D(t; p, q) := e− 2νt D(0; p, q), t ≥ 0, (2.9) but the Hamiltonian H(t; v) is not necessarily decreasing. However, it can be shown (cf. [14,33]) that the Hamiltonian is bounded. Since the Hamiltonian in the continuous case is not monotonically decreasing whenν> 0, one can not expect to construct schemes which dissipate the Hamiltonian when ν> 0. Therefore, we shall restrict ourselves to the case with ν= 0, and concentrate on constructing numerical schemes which can preserve the conservation or dissipation properties ( 2.7)a n d (2.8). Note that all the schemes constructed below can be directly extended to deal with the case ν> 0 by treating the linear term νp and νq in (2.1) implicitly. 123 Journal of Scientific Computing (2021) 89:47 Page 5 of 26 47 2.1 The SAV Reformulation When ν= 0, one can see that ( 2.1) can be cast as a gradient system so one can in principle apply the original SA V approach introduced in [31], which also requires a suitable splitting of the Hamiltonian H(t; v) = H0(t; v) + H1(t; v) such that (i) δH0 δv is linear and positive definite; and (ii) H1(t; v) is bounded from below. While the non quadratic term (φ,| p|2 +| q|2) in the Hamiltonian is not bounded from below for arbitrary functions (φ, p, q), it can be shown (cf. [ 14,33]) that there exists C0 > 0 such that |(φ,| p|2 +| q|2)| < C0 if (φ, p, q) is a solution of ( 2.1). Hence, we split H(t; v) as follows: H(t; v) ={ ∥ ∇p∥2 +∥ ∇q∥2 + 1 2(∥∇φ∥2 +∥ u∥2 +∥ φ∥2) − C0}+{ C0 − (φ,| p|2 +| q|2)} := H0(t; v) + H1(t; v). (2.10) Since H1(t, v)> 0, we can define a SA V R(t) = √ H1(t) := √ H1(t, v), and expand ( 2.1) as ⎧ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩ ∂t q = /Delta1p + R(t)√ H1(t)φp, x ∈ /Omega1,t > 0, ∂t p =− ( /Delta1q + R(t)√ H1(t)φq ) , x ∈ /Omega1,t > 0, ε∂t u = /Delta1φ− φ + R(t)√ H1(t) ( p2 + q2) − γu, x ∈ /Omega1,t > 0, ε∂tφ = u, x ∈ /Omega1,t > 0, Rt =− 1 2√ H1(t) [ (2 ppt + 2qqt,φ) + ( p2 + q2,φt )] . (2.11) With R(0) = √ H1(0), it is clear that the above system is equivalent to ( 2.1) with R(t) =√ H1(t). 2.2 Time Discretizations Using the SAV Approach We construct a semi-discrete scheme based on Crank–Nicolson-leap-frog scheme using the SA V approach for the system (2.11). Scheme SA V: Initialization: Given q0, p0, u0,φ 0, determine q1, p1, u1,φ 1 by q1 − q0 2δt = /Delta1p1 + /Delta1p0 2 + R1 + R0 2 √ H 0 1 φ0 p0, (2.1) p1 − p0 2δt =− ⎛ ⎝ /Delta1q1 + /Delta1q0 2 + R1 + R0 2 √ H 0 1 φ0q0 ⎞ ⎠ , (2.2) εu1 − u0 2δt = /Delta1φ1 + /Delta1φ0 2 − φ1 + φ0 2 + R1 + R0 2 √ H 0 1 ( ( p0)2 + ( q0)2) − γ u1 + u0 2 , (2.3) 123 47 Page 6 of 26 Journal of Scientific Computing (2021) 89:47 εφ1 − φ0 2δt = u1 + u0 2 , (2.4) R1 − R0 2δt =− 1 2 √ H 0 1 [( 2 p0 p1 − p0 2δt + 2q0 q1 − q0 2δt ,φ 0 ) + ( ( p0)2 + ( q0)2 , φ1 − φ0 2δt )] . (2.5) Then, for n = 1, 2,... ,w es o l v eqn+1, pn+1, un+1,φ n+1 from the following second-order Crank–Nicolson-leap-frog scheme: qn+1 − qn− 1 2δt = /Delta1pn+1 + /Delta1pn− 1 2 + Rn+1 + Rn− 1 2 √ H n 1 φn pn, (2.6) pn+1 − pn− 1 2δt =− ( /Delta1qn+1 + /Delta1qn− 1 2 + Rn+1 + Rn− 1 2 √ H n 1 φn qn ) , (2.7) εun+1 − un− 1 2δt = /Delta1φn+1 + /Delta1φn− 1 2 − φn+1 + φn− 1 2 + Rn+1 + Rn− 1 2 √ H n 1 ( ( pn )2 + ( qn )2) −γ un+1 + un− 1 2 , (2.8) εφn+1 − φn− 1 2δt = un+1 + un− 1 2 , (2.9) Rn+1 − Rn− 1 2δt =− 1 2 √ H n 1 [( 2 pn pn+1 − pn− 1 2δt + 2qn qn+1 − qn− 1 2δt ,φ n ) + ( ( pn )2 + ( qn )2 , φn+1 − φn− 1 2δt )] . (2.10) Note that the initialization step is of first-order but the local truncation error is of second- order. So the combined scheme is still of second-order. Theorem 2.2 Let H n 1 = C0 − (φn,| pn|2 +| qn|2). There exists C0 > 0 such that if H n 1 > 0, we have H n+1 1 > 0 for all n ≥ 0. The scheme (2.6)–(2.10) satisfies discrete energy laws: H 1 SA V − H 0 SA V =− δt γ 2ε u1 + u02 , (2.11) and H n+1 SA V − H n− 1 SA V =− δt γ 2ε un+1 + un− 12 , ∀n ≥ 1, (2.12) where H n+1 SA V = 1 2 ( φn+12 + un+12 + ∇φn+12) + ( ∇ pn+12 + ∇ qn+12) + ⏐⏐Rn+1⏐⏐2 , ∀n ≥ 0. (2.13) 123 Journal of Scientific Computing (2021) 89:47 Page 7 of 26 47 Proof Taking the inner products of the equations in ( 2.1)–(2.4) with − 2 p1− p0 2δt ,2 q1− q0 2δt , u1+u0 2ε and − ( /Delta1φ1+/Delta1φ0 2 − φ1+φ0 2 + R1+R0 2 √ H 0 1 ( ( p0)2 + ( q0)2) ) /ε, respectively, and multi- plying (2.5)b y R1 + R0, summing up the results, we obtain ( 2.11). Assuming H n 1 > 0, then (2.6)–(2.10) is well defined. Taking inner product of ( 2.6)–(2.9) with − 2 pn+1− pn− 1 2δt ,2 qn+1− qn− 1 2δt , un+1+un− 1 2ε and − ( /Delta1φn+1+/Delta1φn− 1 2 − φn+1+φn− 1 2 + Rn+1+Rn− 1 2 √ H n 1 ( ( pn)2 + (qn)2 )) /ε, respectively, and multiplying ( 2.10)b y Rn+1 + Rn− 1, summing up the results, we obtain ( 2.12). It remains to show H n+1 1 > 0. From (2.12), we derive in particular that  pn+12 + qn+12 ≤ C1 H n+1 SA V ≤ C1 H(0, v) := C2. (2.14) On the other hand, we derive from the Sobolev inequality ∥ f ∥L4 ≤ C∥ f ∥1/4∥∇ f ∥3/4 ∀ f ∈ H 1 0 (/Omega1)or H 1 p(/Omega1), (2.15) and the Hölder inequality that |(φ,| p|2)|≤ C∥φ∥L4 ∥ p∥L4 ∥ p∥ ≤ C∥φ∥1/4∥∇φ∥3/4∥ p∥5/4∥∇ p∥3/4 ≤ 1 8(∥φ∥2 +∥ ∇φ∥2 +∥ ∇ p∥2) + C3∥ p∥10. (2.16) Similarly we have |(φ,|q|2)|≤ 1 8(∥φ∥2 +∥ ∇φ∥2 +∥ ∇q∥2) + C3∥q∥10. (2.17) Therefore, we derive from the above and ( 2.14)t h a t |(φn+1,| pn+1|2 +| qn+1|2)|≤ H n+1 SA V + C3(∥ pn+1∥10 +∥ qn+1∥10) ≤ H(0, v) + 2C3C5 2. (2.18) Hence, setting C0 = H(0, v) + 2C3C5 2 + 1, we have H n+1 1 ≥ 1. ⊓⊔ The scheme ( 2.6)–(2.10) can be efficiently implemented as follows. Setting ⎧ ⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎩ qn+1 = qn+1 1 + Rn+1qn+1 2 , pn+1 = pn+1 1 + Rn+1 pn+1 2 , un+1 = un+1 1 + Rn+1un+1 2 , φn+1 = φn+1 1 + Rn+1φn+1 2 , (2.19) in (2.6)–(2.9), and collecting all terms without or with Rn+1, we obtain the following decou- pled systems: Avn+1 1 = gn 1, (2.20) Avn+1 2 = gn 2, (2.21) 123 47 Page 8 of 26 Journal of Scientific Computing (2021) 89:47 where A = ⎡ ⎢⎢ ⎢ ⎢⎣ 1 2δt − 1 2 /Delta100 1 2 /Delta11 2δt 00 00 ε 2δt + γ 2 1 2 − 1 2 /Delta1 00 − 1 2 I ε 2δt ⎤ ⎥⎥ ⎥ ⎥⎦ , (2.22) v n+1 1 = ⎡ ⎢⎢⎣ qn+1 1 pn+1 1 un+1 1 φn+1 1 ⎤ ⎥⎥⎦ , vn+1 2 = ⎡ ⎢⎢⎣ qn+1 2 pn+1 2 un+1 2 φn+1 2 ⎤ ⎥⎥⎦ , gn 1 = ⎡ ⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣ 1 2δt qn− 1 + 1 2 /Delta1pn− 1 + Rn− 1 2 √ H n 1 φn pn 1 2δt pn− 1 − 1 2 /Delta1qn− 1 − Rn− 1 2 √ H n 1 φn qn ( ε 2δt − γ 2 ) un− 1 + ( 1 2 /Delta1− 1 2 ) φn− 1 + Rn− 1 2 √ H n 1 (( pn)2 + (qn)2) ε 2δt φn− 1 + 1 2 un− 1 ⎤ ⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦ , gn 2 = ⎡ ⎢⎢⎢⎢ ⎢⎢⎢⎢⎣ φn pn 2 √ H n 1 − φn qn 2 √ H n 1 ( pn)2+(qn)2 2 √ H n 1 0 ⎤ ⎥⎥⎥⎥ ⎥⎥⎥⎥⎦ . (2.23) After solving vn+1 1 and vn+1 2 from (2.20)a n d( 2.21), we plug ( 2.19) into equation ( 2.10)t o obtain the following linear algebraic equation for Rn+1: ( 1 + 1 2 √ H n 1 (2 pn pn+1 2 + 2qn qn+1 2 ,φ n) + (( pn)2 + (qn)2,φ n+1 2 ) ) Rn+1 = Rn− 1 − 1 2 √ H n 1 [ 2( pnφn, pn+1 1 − pn− 1) + 2(qnφn, qn+1 1 − qn− 1) + (( pn)2 + (qn)2,φ n+1 1 − φn− 1) ] , (2.24) from which Rn+1 can be obtained explicitly. To summarize, Scheme SA V(2.6)–(2.10) can be implemented as follows: 1. Compute right-hand term gn 1 and gn 2 by (2.23); 2. Solve for qn+1 i , pn+1 i , un+1 i ,φ n+1 i , i = 1, 2 from ( 2.20)–(2.21); 3. Find Rn+1 by solving ( 2.24); 4. Update qn+1, pn+1, un+1,φ n+1 by (2.19). The first step ( 2.1)–(2.5) can be implemented similarly. Scheme SA Venjoys the following advantages: • It is second-order accurate, conserves the modified Hamiltonian when γ = 0, and is unconditionally energy stable when γ> 0; • It only requires solving decoupled, linear systems with constant coefficients at each time step. 123 Journal of Scientific Computing (2021) 89:47 Page 9 of 26 47 3 SAV Approach with Lagrange Multipliers The Scheme SA Vconserves/dissipates a modified Hamiltonian, not the original Hamiltonian, and it does not preserve the wave energy. Below, we adopt the Lagrange multiplier approach [9,10] to construct efficient schemes which can conserve/dissipate the original Hamiltonian as well as conserve the wave energy. 3.1 The First Lagrange Multiplier Approach We introduce two Lagrange multipliers η(t), λ(t) to reformulate the KGS equations ( 2.1) as ⎧ ⎪⎪⎪⎪ ⎪ ⎪⎪⎪ ⎪ ⎪⎪⎪ ⎪⎪⎪ ⎪ ⎪⎪⎪ ⎪ ⎪⎨ ⎪⎪⎪ ⎪ ⎪⎪⎪ ⎪⎪⎪ ⎪ ⎪⎪⎪ ⎪ ⎪⎪⎪ ⎪⎪⎪ ⎩ ∂ t q = /Delta1p + η(t)φp + λ(t) p, x ∈ /Omega1,t > 0, ∂t p =− (/Delta1q + η(t)φq + λ(t) q) , x ∈ /Omega1,t > 0, ε∂t u = /Delta1φ− φ + η(t) ( p2 + q2 ) − γu, x ∈ /Omega1,t > 0, ε∂t φ = u, x ∈ /Omega1,t > 0, − d dt ( p2 + q2,φ ) =− η(t) [ (2 ppt + 2qqt ,φ) + ( p2 + q2,φt )] − λ(t) [(2 p, pt ) + (2q, qt )] , d dt ( p2 + q2, 1 ) = 0, (3.1) with η(0) = 1a n d λ(0) = 0. Comparing with the original KGS equations ( 2.1), we find that the exact solutions for η(t) and λ(t) are η(t) ≡ 1a n d λ(t) ≡ 0. In the above λ(t) is introduced to enforce the conservation of the wave energy, whileη(t) is introduced to enforce the rate of change of (φ,| p|2 +| q)2), which is nonlinear part of the Hamiltonian. Note that we added an extra zero term −λ ∫ /Omega12 ppt + 2qqt dx at the end of the second last equation. This term is essential in the design of unconditionally energy stable schemes below. Scheme LM1: Initialization: Given q0, p0, u0,φ 0, determine q1, p1, u1,φ 1 by q1 − q0 2δt = /Delta1p1 + /Delta1p0 2 + η1 + η0 2 φ0 p0 + λ1 + λ0 2 p0, (3.2) p1 − p0 2δt =− ( /Delta1q1 + /Delta1q0 2 + η1 + η0 2 φ0q0 + λ1 + λ0 2 q0 ) , (3.3) εu1 − u0 2δt = /Delta1φ1 + /Delta1φ0 2 − φ1 + φ0 2 + η1 + η0 2 ( ( p0)2 + ( q0)2) − γ u1 + u0 2 , (3.4) εφ1 − φ0 2δt = u1 + u0 2 , (3.5) − ( ( p1)2 + ( q1)2 ,φ 1 ) − ( ( p0)2 + ( q0)2 ,φ 0 ) 2δt =− η1 + η0 2 [( 2 p0 p1 − p0 2δt + 2q0 q1 − q0 2δt ,φ 0 ) + ( ( p0)2 + ( q0)2 , φ1 − φ0 2δt )] 123 47 Page 10 of 26 Journal of Scientific Computing (2021) 89:47 − λ1 + λ0 2 [( 2 p0, p1 − p0 2δt ) + ( 2q0, q1 − q0 2δt )] , (3.6) ( ( p1)2 + ( q1)2 , 1 ) = ( ( p0)2 + ( q0)2 , 1 ) , (3.7) Then, for n = 1, 2,... ,w es o l v eqn+1, pn+1, un+1,φ n+1 as follows: qn+1 − qn− 1 2δt = /Delta1pn+1 + /Delta1pn− 1 2 + ηn+1 + ηn− 1 2 φn pn + λn+1 + λn− 1 2 pn, (3.8) pn+1 − pn− 1 2δt =− ( /Delta1qn+1 + /Delta1qn− 1 2 + ηn+1 + ηn− 1 2 φn qn + λn+1 + λn− 1 2 qn ) , (3.9) εun+1 − un− 1 2δt = /Delta1φn+1 + /Delta1φn− 1 2 − φn+1 + φn− 1 2 + ηn+1 + ηn− 1 2 ( ( pn )2 + ( qn )2) −γ un+1 + un− 1 2 , (3.10) εφn+1 − φn− 1 2δt = un+1 + un− 1 2 , (3.11) − ( ( pn+1)2 + ( qn+1)2 ,φ n+1 ) − ( ( pn− 1)2 + ( qn− 1)2 ,φ n− 1 ) 2δt =− ηn+1 + ηn− 1 2[( 2 pn pn+1 − pn− 1 2δt + 2qn qn+1 − qn− 1 2δt ,φ n ) + ( ( pn )2 + ( qn )2 , φn+1 − φn− 1 2δt )] − λn+1 + λn− 1 2 [( 2 pn, pn+1 − pn− 1 2δt ) + ( 2qn, qn+1 − qn− 1 2δt )] , (3.12) ( ( pn+1)2 + ( qn+1)2 , 1 ) = ( ( p0)2 + ( q0)2 , 1 ) , (3.13) Theorem 3.1 The scheme (3.8)–(3.13) preserves the wave energy, and conserves/dissipates the original Hamiltonian in the sense that H 1 − H 0 =− δt γ 2ε u1 + u02 , (3.14) and H n+1 − H n− 1 =− δt γ 2ε un+1 + un 2 , ∀n ≥ 1, (3.15) where H n+1 = 1 2 ( φn+12 + un+12 + ∇φn+12) + ( ∇ pn+12 + ∇ qn+12) − ( ( pn+1)2 + ( qn+1)2 ,φ n+1 ) , ∀n ≥ 0. (3.16) Proof Taking the inner products of the equations in ( 3.2)–(3.5) with − 2 p1− p0 2δt ,2 q1− q0 2δt , u1+u0 2ε and − ( /Delta1φ1+/Delta1φ0 2 − φ1+φ0 2 + η1+η0 2 ( ( p0)2 + ( q0)2)) /ε, respectively, summing up the results, we obtain ( 3.14). Taking inner product of ( 3.8)–(3.11) with − 2 pn+1− pn− 1 2δt ,2 qn+1− qn− 1 2δt , un+1+un− 1 2ε and − ( /Delta1φn+1+φn− 1 2 − φn+1+φn− 1 2 + ηn+1+ηn− 1 2 ( ( pn)2 + (qn)2 )) /ε, respectively, we obtain (3.15). ⊓⊔ 123 Journal of Scientific Computing (2021) 89:47 Page 11 of 26 47 Scheme LM1 can be efficiently implemented similarly as Scheme SA V. More precisely, setting ⎧ ⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎩ pn+1 = pn+1 1 + ηn+1 pn+1 2 + λn+1 pn+1 3 , qn+1 = qn+1 1 + ηn+1qn+1 2 + λn+1qn+1 3 , φn+1 = φn+1 1 + ηn+1φn+1 2 + λn+1φn+1 3 , un+1 = un+1 1 + ηn+1un+1 2 + λn+1un+1 3 , (3.17) in (3.8)–(3.11), we find that Avn+1 1 = gn 1, (3.18) Avn+1 2 = gn 2, (3.19) Avn+1 3 = gn 3, (3.20) where A are defined by ( 2.22)a n d vn+1 1 = ⎡ ⎢⎢⎣ qn+1 1 pn+1 1 un+1 1 φn+1 1 ⎤ ⎥⎥⎦ , vn+1 2 = ⎡ ⎢⎢⎣ qn+1 2 pn+1 2 un+1 2 φn+1 2 ⎤ ⎥⎥⎦ , vn+1 3 = ⎡ ⎢⎢⎣ qn+1 3 pn+1 3 un+1 3 φn+1 3 ⎤ ⎥⎥⎦ , (3.21) and gn 1 = ⎡ ⎢⎢ ⎢⎣ 1 2δt qn− 1 + 1 2 /Delta1pn− 1 + ηn− 1 2 φn pn + λn− 1 2 pn 1 2δt pn− 1 − 1 2 /Delta1qn− 1 − ηn− 1 2 φn qn − λn− 1 2 qn ( ε 2δt − γ 2 ) un− 1 + ( 1 2 /Delta1− 1 2 ) φn− 1 + ηn− 1 2 (( pn)2 + (qn)2) ε 2δt φn− 1 + 1 2 un− 1 ⎤ ⎥⎥ ⎥⎦ , g n 2 = ⎡ ⎢⎢ ⎢⎣ φn pn 2 − φn qn 2 ( pn)2+(qn)2 2 0 ⎤ ⎥⎥ ⎥⎦ , g n 3 = ⎡ ⎢⎢⎣ pn 2 − qn 2 0 0 ⎤ ⎥⎥⎦ . (3.22) After finding vn+1 1 , vn+1 2 and vn+1 3 from (3.18)–(3.20), we plug ( 3.17)i n t o(3.12)a n d(3.13) to obtain a system of two nonlinear algebraic equations for (ηn+1,λn+1), { F1(ηn+1,λn+1) = 0, F2(ηn+1,λn+1) = 0. (3.23) For the readers’ convenience, the exact form of F1, F2 is provided in the Appendix. We can then find ηn+1 and λn+1 by solving this nonlinear system with a iterative method. Finally, we can obtain qn+1, pn+1, un+1,φ n+1 by (3.17). To summarize, Scheme LM1 can be implemented as follows: 1. Compute right-hand term gn 1 , gn 2 and gn 3 by (3.22); 2. Find qn+1 i , pn+1 i , un+1 i ,φ n+1 i , i = 1, 2, 3 by solving ( 3.18)–(3.20); 3. Determine ηn+1 andλn+1 by solving (3.23) using an iterative method, such as the Newton iteration method or the steepest descent method; 4. Update qn+1, pn+1, un+1,φ n+1 by (3.17). 123 47 Page 12 of 26 Journal of Scientific Computing (2021) 89:47 The first step ( 3.2)–(3.7) can be implemented similarly. Scheme LM1 enjoys the following advantages: • It is second-order accurate, conserves the wave energy when ν= 0, and conserves (resp. dissipates) the original Hamiltonian when γ = 0 (resp. γ> 0a n dν= 0); • It only requires solving decoupled, linear systems with constant coefficients at each time step plus a nonlinear algebraic system. 3.2 An Alternative Lagrange Multiplier Scheme In practice, when the time step is not sufficiently small, the nonlinear algebraic system (3.23) may not have real solutions or the iteration may not converge. Hence, we present an alternative scheme which possesses essentially the same properties ofScheme LM1, but only require solving two decoupled nonlinear quadratic algebraic equations for η n+1 and λn+1, respectively. Scheme LM2: Initialization: Given q0, p0, u0,φ 0, determine q1, p1, u1,φ 1 by q1 − q0 2δt = /Delta1p1 + /Delta1p0 2 + η1 + η0 2 φ0 p0 + λ1 + λ0 2 p0, (3.24) p1 − p0 2δt =− ( /Delta1q1 + /Delta1q0 2 + η1 + η0 2 φ0q0 + λ1 + λ0 2 q0 ) , (3.25) εu1 − u0 2δt = /Delta1φ1 + /Delta1φ0 2 − φ1 + φ0 2 + η1 + η0 2 ( ( p0)2 + ( q0)2) − γ u1 + u0 2 , (3.26) εφ1 − φ0 2δt = u1 + u0 2 , (3.27) − ( ( ¯p1)2 + ( ¯q1)2 , ¯φ1 ) − ( ( ¯p0)2 + ( ¯q0)2 , ¯φ0 ) 2δt =− η1 + η0 2[( 2 p0 p1 − p0 2δt + 2q0 q1 − q0 2δt ,φ 0 ) + ( ( p0)2 + ( q0)2 , φ1 − φ0 2δt )] , − λ1 + λ0 2 [( 2 p0, p1 − p0 2δt ) + ( 2q0, q1 − q0 2δt )] , (3.28) ( ( ¯p1)2 + ( ¯q1)2 , 1 ) = ( ( p0)2 + ( q0)2 , 1 ) (3.29) Then, for n = 1, 2,... ,w es o l v eqn+1, pn+1, un+1,φ n+1 as follows: qn+1, pn+1, un+1, φn+1 as follows: qn+1 − qn− 1 2δt = /Delta1pn+1 + /Delta1pn− 1 2 + ηn+1 + ηn− 1 2 φn pn + λn+1 + λn− 1 2 pn, (3.30) pn+1 − pn− 1 2δt =− ( /Delta1qn+1 + /Delta1qn− 1 2 + ηn+1 + ηn− 1 2 φn qn + λn+1 + λn− 1 2 qn ) ,(3.31) εun+1 − un− 1 2δt = /Delta1φn+1 + /Delta1φn− 1 2 − φn+1 + φn− 1 2 + ηn+1 + ηn− 1 2 ( ( pn )2 + ( qn )2) −γ un+1 + un− 1 2 , (3.32) 123 Journal of Scientific Computing (2021) 89:47 Page 13 of 26 47 εφn+1 − φn− 1 2δt = un+1 + un− 1 2 , (3.33) − ( ( ¯pn+1)2 + ( ¯qn+1)2 , ¯φn+1 ) − ( ( ¯pn− 1)2 + ( ¯qn− 1)2 , ¯φn− 1 ) 2δt =− ηn+1 + ηn− 1 2[( 2 pn pn+1 − pn− 1 2δt + 2qn qn+1 − qn− 1 2δt ,φ n ) + ( ( pn )2 + ( qn )2 , φn+1 − φn− 1 2δt )] , − λn+1 + λn− 1 2 [( 2 pn, pn+1 − pn− 1 2δt ) + ( 2qn, qn+1 − qn− 1 2δt )] , (3.34) ( ( ¯pn+1)2 + ( ¯qn+1)2 , 1 ) = ( ( p0)2 + ( q0)2 , 1 ) (3.35) where ¯pn+1 = pn+1 1 + pn+1 2 + λn+1 pn+1 3 and ¯qn+1 = qn+1 1 + qn+1 2 + λn+1qn+1 3 . By following the same procedure as in the proof of Theorem 3.1,w ec a np r o v et h e following result: Theorem 3.2 Scheme (3.30)–(3.35) preserves the wave energy Dn LM 2 := ( ( ¯pn )2 + ( ¯qn )2 , 1 ) = ( ( p0)2 + ( q0)2 , 1 ) , (3.36) and satisfies discrete energy law: H 1 LM 2 − H 0 LM 2 =− δt γ 2ε u1 + u0, (3.37) and H n+1 LM 2 − H n− 1 LM 2 =− δt γ 2ε un+1 + un− 1 , ∀n ≥ 1, (3.38) where H n+1 LM 2 = 1 2 ( φn+12 + un+12 + ∇φn+12) + ( ∇ pn+12 + ∇ qn+12) − ( ( ¯pn+1)2 + ( ¯qn+1)2 , ¯φn+1 ) , ∀n ≥ 0. (3.39) Scheme LM2 can be efficiently implemented as follows: Set ⎧ ⎪⎪⎪ ⎪⎨ ⎪⎪⎪⎪⎩ p n+1 = pn+1 1 + ηn+1 pn+1 2 + λn+1 pn+1 3 , qn+1 = qn+1 1 + ηn+1qn+1 2 + λn+1qn+1 3 , φn+1 = φn+1 1 + ηn+1φn+1 2 + λn+1φn+1 3 , un+1 = un+1 1 + ηn+1un+1 2 + λn+1un+1 3 , (3.40) in (3.30)–(3.33), which is similar to the Scheme LM1. After finding vn+1 1 , vn+1 2 and vn+1 3 defined in (3.21), we plug { ¯pn+1 = pn+1 1 + pn+1 2 + λn+1 pn+1 3 ¯qn+1 = qn+1 1 + qn+1 2 + λn+1qn+1 3 (3.41) into (3.35)t ofi n dλn+1 by solving the quadratic equation F1(λn+1) = 0 (3.42) 123 47 Page 14 of 26 Journal of Scientific Computing (2021) 89:47 with F1 ( λn+1 ) = ( λn+1 ) 2 ( ( pn+1 3 ) 2 + ( qn+1 3 ) 2 , 1 ) + 2λn+1 [( pn+1 3 , pn+1 1 + pn+1 2 ) + ( qn+1 3 , qn+1 1 + qn+1 2 )] + ( ( pn+1 1 ) 2 + ( pn+1 2 ) 2 , 1 ) + ( ( qn+1 1 ) 2 + ( qn+1 2 , 1 ) 2) − ( ( p0 ) 2 + ( q0 ) 2 , 1 ) . Once we obtain λn+1,w ep l u g(3.40)i n t o(3.34)t ofi n d ηn+1 by soling another quadratic equation F2(ηn+1) = 0 (3.43) with F2 ( ηn+1) = ( ηn+1)2 { ( pn pn+1 2 + qn qn+1 2 ,φ n ) + 1 2 ( ( pn )2 + ( qn )2 ,φ n+1 2 ) } + ηn+1 {( pnφn, pn+1 1 + λn+1 pn+1 3 − pn− 1 ) + ( qnφn, qn+1 1 + λn+1qn+1 3 − qn− 1 ) + 1 2 ( ( pn )2 + ( qn )2 ,φ n+1 1 + λn+1φn+1 3 − φn− 1 ) + ( λn+1 + λn− 1) [( pn, pn+1 2 ) + ( qn, qn+1 2 )] +ηn− 1 ( pn pn+1 2 + qn qn+1 2 ,φ n ) + 1 2 ( ( pn )2 + ( qn )2 ,φ n+1 2 ) } +ηn− 1 ( pnφn, pn+1 1 +λn+1 pn+1 3 − pn− 1 ) + ( qnφn, qn+1 1 +λn+1qn+1 3 − qn− 1 ) + 1 2 ( ( pn )2 + ( qn )2 ,φ n+1 1 + λn+1φn+1 3 − φn− 1 ) + ( λn+1 + λn− 1) [( pn, pn+1 1 + λn+1 pn+1 3 − pn− 1 ) + ( qn, qn+1 1 + λn+1qn+1 3 − qn− 1 )] − ( ( ¯pn+1)2 + ( ¯qn+1)2 , ¯φn+1 ) + ( ( ¯pn− 1)2 + ( ¯qn− 1)2 , ¯φn− 1 ) . Unlike Scheme LM1, here we can find ηn+1 and λn+1 by standard quadratic-root formula instead of iterative method. Finally, we can obtain qn+1, pn+1, un+1,φ n+1 by (3.40). To summarize, Scheme LM2 can be implemented as follows: 1. Compute right-hand term gn 1 , gn 2 and gn 3 by (3.22); 2. Find qn+1 i , pn+1 i , un+1 i ,φ n+1 i , i = 1, 2, 3 by solving ( 3.18)–(3.20); 3. Solve ( 3.42) by quadratic-root formula to determine λn+1; 4. Solve ( 3.43) by quadratic-root formula to determine ηn+1; 5. Update qn+1, pn+1, un+1,φ n+1 by (3.40). The first step ( 3.24)–(3.29) can be implemented similarly. Scheme LM2 enjoys the following advantages: • It is second-order accurate, conserves the wave energy whenν= 0 in the sense of (3.36), and conserves (resp. dissipates) the Hamiltonian when γ = 0 (resp. γ> 0a n dν = 0) in the sense of ( 3.38); 123 Journal of Scientific Computing (2021) 89:47 Page 15 of 26 47 • It only requires solving decoupled, linear systems with constant coefficients at each time step and solving two nonlinear quadratic algebraic equations for λn+1 and ηn+1, respectively. 4 Numerical Results We now present various numerical simulations to demonstrate the efficiency, energy sta- bility and accuracy of the proposed numerical schemes. In all computations, we use the Fourier-spectral method for spatial discretization so that all the linear systems in our time discretization schemes can be solved very efficiently by using the fast Fourier transform. All numerical tests are performed using Matlab on a MacBook Pro with 2.4 GHz Intel Core i5. Scheme LM1 requires solving a nonlinear algebraic system, which can be solved by, for examples, the Newton iteration method or the steepest descent method. The Newton iteration method has a faster convergence rate, but requires a “good” initial value. The steepest descent method is only linearly convergent, but it can converge with any initial value. For the sake of robustness, we use the steepest descent method. We define the following numerical errors on the solution, Hamiltonian and wave energy e q (tn) = ∥q (·, tn) − qn∥ℓ2 , ep (tn) = ∥ p (·, tn) − pn∥ℓ2 , eφ (tn) = φn − φ0 ℓ2 , eH (tn) = ⏐⏐ ⏐H(q n, pn,φ n) − H(q0, p0,φ 0) ⏐⏐ ⏐ , e D (tn) = ⏐⏐D(qn, pn) − D(q0, p0) ⏐⏐ . 4.1 Accuracy Test in 1D We first examine the temporal convergence rates with an exact solution of KGS equations. Solitary-wave solution. When d = 1,γ = 0a n dν= 0i n( 1.1), the KGS equations admit the solitary-wave solution ψ±(x, t) = 3B sech2 (Bx + c±t) exp [ i ( d± x + ( 4B2 − d2 ± ) t )] , (4.1) φ±(x, t) = 6B2 sech2 (Bx + c±t) , x ∈ R, t ≥ 0, (4.2) where B ≥ 0a n d c± =± √ 4B2 − 1 2ε = O ( 1 ε ) , d± =∓ √ 4B2 − 1 4Bε =− c± 2B = O ( 1 ε ) . The initial data is chosen as ψ(0)(x) = ψ+(x, 0), φ (0)(x) = φ+(x, 0), φ (1)(x) = ∂tφ+(x, 0). (4.3) In our computation, we take B = 1,ε = 10 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 error. The errors based on discrete L2-norm of Scheme SA V, Scheme LM1 and Scheme LM2 are shown in Fig. 1, which indicate that all three schemes are indeed second-order in time. 123 47 Page 16 of 26 Journal of Scientific Computing (2021) 89:47 -3.8 -3.6 -3.4 -3.2 -3 -2.8 -2.6 -2.4 -2.2 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 SAV q p O( t2) - 3 . 8- 3 . 6- 3 . 4- 3 . 2 - 3 - 2 . 8- 2 . 6- 2 . 4- 2 . 2 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 LM1 q p O( t2) -3.8 -3.6 -3.4 -3.2 -3 -2.8 -2.6 -2.4 -2.2 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 LM2 q p O( t2) Fig. 1 Errors of Scheme SA V(first), Scheme LM1 (second) and Scheme LM2 (third) at T = 0.1 with initial condition (4.3) 4.2 Comparison of the Three Schemes In this subsection, we make a detailed comparison for the three proposed schemes. In Table 1, we list the errors of q, p,φ , Hamiltonian and wave energy as well as CPU time at different time with initial condition (4.3)a n dδt = 1e− 4, h = 1/16, where ˜H represents the modified Hamiltonian HSA V for Scheme SA Vand the modified Hamiltonian HLM 2 for Scheme LM2; ˜D represents the modified wave energy DLM 2 for Scheme LM2. We also plot in Fig. 2 the time evolution of Lagrange multipliers (η, λ). We observe from Table 1 that the errors of the three schemes are close for T ≤ 1; and the errors of Scheme SA Vis smaller than that of Scheme LM1 as later times T = 10, 50. Scheme LM2 failed to produce correct answer for T ≥ 10 due to the appearance of complex roots for the nonlinear algebraic system. Therefore, Scheme SA Vis the most robust while Scheme LM2 is the least robust, but Scheme SA V can only conserve a modified wave energy, while Scheme LM1 preserves the original Hamiltonian and wave energy exactly. On the other hand, we observe that the CPU time for Scheme SA Vand Scheme LM2 are essentially the same while Scheme LM1 consumes is a little more expense as an iterative process is needed to solve the nonlinear algebraic system, cf. Fig. 3 for the number of iterations needed by Scheme LM1. Since Scheme SA Vand Scheme LM2 do not conserve the Hamiltonian and wave energy exactly, we plot the errors of the original Hamiltonian H and original wave energy D by Scheme SA Vand Scheme LM2 in Fig. 4. We observe that they converge with a third-order rate in time. We plot in Fig. 2 evolutions of | Rn+1+Rn− 1 2 √ H n 1 − 1| for Scheme SA V, |η− 1| and |λ| for Scheme LM1 and Scheme LM2, and observe that they are all very small as expected. 4.3 “Nonrelativistic” Limit (0 < " << 1) We use again the initial condition ( 4.3) and choose h = 1/16,δt = 1e − 4. We show the errors with different ε at time T = 1 based on Scheme SA Vand Scheme LM1 in table 2. We observe that the errors are lager when ε is smaller, and that the errors of Scheme SA V and Scheme LM1 are almost the same. Figure 5 shows the orbit of (Re (ψ) , Im (ψ)) with different ε. As we can see, there are more knots with smaller ε. 123 Journal of Scientific Computing (2021) 89:47 Page 17 of 26 47 Table 1 Comparison of three scheme with initial condition ( 4.3) eq ep eφ eH e ˜H eD e ˜D CPU time (s) T = 0.01 SA V 6.89E − 09 4.17E − 10 5.36E − 13 – 1.78E − 15 – – 0.04 LM1 1.97E − 09 4.47E − 10 5.61E − 13 4.26E − 14 – 1.24E − 14 – 0.06 LM2 4.22E − 09 5.05E − 10 5.36E − 13 – 2.13E − 14 – 3.55E − 15 0.05 T = 0.1 SA V 6.43E − 08 2.39E − 08 5.09E − 12 – 3.38E − 14 – – 0.42 LM1 1.93E − 08 6.25E − 09 1.74E − 11 7.89E − 13 – 3.55E − 15 – 0.59 LM2 6.58E − 08 1.64E − 08 2.03E − 11 – 3.06E − 13 – 5.33E − 15 0.48 T = 1 SA V 3.89E − 07 4.56E − 07 9.23E − 10 – 1.14E − 12 – – 4.46 LM1 2.52E − 07 2.95E − 07 1.85E − 09 1.48E − 12 – 1.78E − 15 – 6.84 LM2 1.12E − 06 1.28E − 06 2.89E − 09 – 1.73E − 12 – 7.11E − 15 5.72 T = 10 SA V 4.21E − 06 4.53E − 06 5.32E − 08 – 1.32E − 11 – – 56.54 LM1 1.69E − 05 1.82E − 05 4.85E − 07 1.46E − 11 – 7.11E − 15 – 79.93 L M 2 –––––––– T = 50 SA V 1.72E − 05 2.50E − 05 2.63E − 07 – 6.18E − 11 – – 311.67 LM1 3.49E − 04 5.07E − 04 8.28E − 06 7.95E − 11 – 3.55E − 15 – 414.23 L M 2 –––––––– 123 47 Page 18 of 26 Journal of Scientific Computing (2021) 89:47 0 5 10 15 20 25 30 35 40 45 50 -16 -15 -14 -13 -12 -11 -10 0 5 10 15 20 25 30 35 40 45 50 -12 -11 -10 -9 -8 -7 -6 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -11 -10 -9 -8 -7 -6 -5 Fig. 2 Comparison of three scheme with initial condition ( 4.3): evolutions of | Rn+1+Rn− 1 2 √ H n 1 − 1| for Scheme SA V, |ηn − 1|, |λn| for Scheme LM1 and Scheme LM2, respectively 0 5 10 15 20 25 30 35 40 45 50 0 2 4 6 8 10 12 14number of iteration Fig. 3 Number of iterations needed for Scheme LM1 with initial condition ( 4.3) 123 Journal of Scientific Computing (2021) 89:47 Page 19 of 26 47 -3.8 -3.6 -3.4 -3.2 -3 -2.8 -2.6 -2.4 -2.2 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 SAV-H SAV-D LM2-H LM2-D O( t3) Fig. 4 Errors of the original Hamiltonian H and original wave energy D of Scheme SA Vand Scheme LM2 at T = 0.1 with initial condition ( 4.3) Table 2 Error of different εwith δt = 1e − 4a n d h = 1/16 at time T = 1 ε 1/22 1/23 1/24 1/25 SA V eq 2.64E− 06 3.29E − 05 1.14E − 03 6.12E − 02 ep 2.56E− 06 3.29E − 05 1.14E − 03 6.12E − 02 eφ 5.35E− 06 7.42E − 05 1.94E − 03 6.40E − 02 CPU time(s) 4.10 4.20 4.07 4.03 LM1 e q 2.18E− 06 3.29E − 05 1.14E − 03 6.12E − 02 ep 2.40E− 06 3.29E − 05 1.14E − 03 6.12E − 02 eφ 5.23E− 06 7.42E − 05 1.94E − 03 6.40E − 02 CPU time (s) 5.76 5.42 5.40 5.37 4.4 Head-on Collisions of Solitary-Wave Solutions in 1D In this and the following subsections, we simulate the interaction between solitary-wave in 1D and dynamic process in 2D [ 3], which are also the focus of research and have great significance for KGS equations. We first simulate the interaction of solitary-wave solutions in 1D using the standard KGS with ε= 1, ν= 0a n dγ = 0i n( 1.1). The initial condition is chosen as ψ( x, 0) = ψ +(B, x − p, 0) + ψ− (B, x + p, 0), (4.4) φ(x, 0) = φ+(B, x − p, 0) + φ− (B, x + p, 0), (4.5) ∂tφ(x, 0) = ∂tφ+(B, x − p, 0) + ∂tφ− (B, x + p, 0), (4.6) 123 47 Page 20 of 26 Journal of Scientific Computing (2021) 89:47 -1 -0.5 0 0.5 1 1.5 2 2.5 3 Re( ) -1.5 -1 -0.5 0 0.5 1 1.5 2 2.5 3 Im( ) =1/22 SAV exact -3 -2.5 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2 Re( ) -3 -2 -1 0 1 2 3 Im( ) =1/23 SAV exact -3 -2 -1 0 1 2 3 Re( ) -3 -2 -1 0 1 2 3 Im( ) =1/24 SAV exact -3 -2 -1 0 1 2 3 Re( ) -3 -2 -1 0 1 2 3 Im( ) =1/25 SAV exact Fig. 5 The orbit of (Re(ψ), Im (ψ)) with different ε where ψ± and φ± are defined as in ( 4.1)–(4.2), and x =± p are initial locations of the two solitons. We set p = 8, B = 1, and solve the problem in the interval [− 40, 40] with mesh size h = 5/128, time step δt = 1e − 3. We plot in Fig. 6 evolution of |ψ( x, t)| at different times using Scheme SA V. We observe that the two solitons are in the same position at time t = 9.2, then separate, and waves are emitted during the collision. Next, we simulate soliton-soliton collision using KGS with a damping term. We plot in Fig. 7 the time evolution of |ψ( x, t)| for different values of γ, and plot in Fig. 8 the time evolution of the HamiltonianH(t) and wave energyD(t) for different values ofγ.W eo b s e r v e that, with γ = 0, the collision between the two solitons appears to be elastic, although some waves are emitted (cf. Fig. 7, first). With γ> 0 but very small, the damping effect can be observed in the collision, and the emission of waves is not obvious (Fig. 7, second). When γ> 0 but not too large, the two solitons no longer separate, and emit some waves after the collision (Fig. 7, third). Withγ> 0 relatively large, the amplitude of the wave is significantly reduced before the collision. In addition, two solitons no longer separates and no wave is emitted after the collision (Fig. 7). We plot in Fig. 8 evolution of the Hamiltonian and wave energy with different parameters ν,γ. We observe that the KGS equations preserve the energy conservation law when ν = 0,γ = 0 and dissipate the energy when ν= 0,γ > 0( c f .F i g .8, left). We also observe that, when γ = 0, the wave energy decays to 0 exponentially (cf. Fig. 8, right) which is consistent with (2.9). 123 Journal of Scientific Computing (2021) 89:47 Page 21 of 26 47 -10 -5 0 5 10 x 0 0.5 1 1.5 2 2.5 3 | (x)| t = 0 -10 -5 0 5 10 x 0 0.5 1 1.5 2 2.5 3 | (x)| t = 7.8 -10 -5 0 5 10 x 0 1 2 3 4 5 6| (x)| t = 9.2 -10 -5 0 5 10 x 0 0.5 1 1.5 2 2.5 3 | (x)| t = 11.2 -10 -5 0 5 10 x 0 0.5 1 1.5 2 2.5 3 | (x)| t = 12.5 -10 -5 0 5 10 x 0 0.5 1 1.5 2 2.5 3 3.5| (x)| t = 18.5 Fig. 6 Head-on collisions of two symmetric solitary waves without damping: Nucleon density |ψ( x, t)| Fig. 7 Head-on collisions of two symmetric solitary waves with damping: Nucleon density |ψ( x, t)| 123 47 Page 22 of 26 Journal of Scientific Computing (2021) 89:47 0 5 10 15 20 25 30 -30 -20 -10 0 10 20 30 0 5 10 15 20 25 30 10-25 10-20 10-15 10-10 10-5 100 105 Fig. 8 The temporal evolution of Hamiltonian H with parameter value ν = 0,γ = 0, 0.8, 1, 4 (left); and wave energy D in semi-logarithmic with parameter values γ = 0,ν = 0, 0.1, 0.5, 1 (right), the green dotted line is e− 2νt D(0) (Color figure online) 4.5 Dynamics of KGS in 2D As a final example, we simulate a dynamic process of KGS in 2D with ν = 0,γ = 0a n d ε= 1. The initial condition is taken as ψ( x, y, 0) = 2 ex2+2y2 + e−(x2+2y2) ei5/ cosh( √ 4x2+y2), (4.7) φ(x, y, 0) = e− ( x2+y2) ,φ t(x, y, 0) = e− ( x2+y2) 2 . (4.8) We solve this problem on the rectangle domain [− 64, 64]2 with mesh size h = 1 8 and time step δt = 5e− 4b y Scheme SA V. Figure 9 shows the surface plots of |ψ|2 and φ at different times. We observe that the nucleon density |ψ|2 gradually split into two waves from one wave in two directions along the x-axis (cf. Fig. 9, left); the meson field φ becomes squat, and the wave crest is concave downward (cf. Fig. 9, right). 5 Conclusion We developed in this paper three efficient and accurate schemes for the KGS equations with/without damping terms based on the SA V approach and the Lagrange multiplier approach. All three schemes are second-order accurate in time and can be combined with any consistent Galerkin type spatial discretization. Scheme SA Vis the most efficient as it only requires solving two sets of linear systems with constant coefficients, but it only preserves a modified Hamiltonian and approximates the original Hamiltonian and wave energy to third order. On the other hand, both Scheme LM1 and Scheme LM2 require solving three sets of linear systems with constant coefficients plus a nonlinear algebraic system. Scheme LM1 is theoretically most attractive as it preserves the original Hamiltonian and wave energy exactly, but it requires solving a nonlinear algebraic system for the Lagrange multipliers which may require smaller time steps to have a sensible solution. Scheme LM2 is an alternative as the nonlinear algebraic system is quadratic so it can be solved explicitly for any time step while still preserves the Hamiltonian and wave energy, but it may lead to nonphysical solutions when complex roots appear for the quadratic equation if the time step is not sufficiently small. 123 Journal of Scientific Computing (2021) 89:47 Page 23 of 26 47 Fig. 9 Surface plots of nucleon density |ψ|2 (left column) and the meson field φ(x, y, t) (right column) with ν= 0,γ = 0 at different times 123 47 Page 24 of 26 Journal of Scientific Computing (2021) 89:47 We presented ample numerical tests using a Fourier-spectral method in space to validate and compare the three schemes. Acknowledgements This work is supported in part by NSFC 11971407, NSF DMS-2012585 and AFOSR FA9550-20-1-0309. Data Availibility Statement Data sharing not applicable to this article as no datasets were generated or analyzed during the current study. Declarations Conflict of interest The authors declare that they have no conflict of interest. Appendix A: F1 and F2 in (3.23) The exact forms of nonlinear functions F1 and F2 in (3.23)a r e F1 ( ηn+1,λn+1) = ( ηn+1)3 ( ( pn+1 2 ) 2 + ( qn+1 2 ) 2 ,φ n+1 2 ) + ( λn+1)3 ( ( pn+1 3 ) 2 + ( qn+1 3 ) 2 ,φ n+1 3 ) +λn+1 ( ηn+1)2 { 2 ( pn+1 2 pn+1 3 + qn+1 2 qn+1 3 ,φ n+1 2 ) + ( ( pn+1 2 ) 2 + ( qn+1 2 ) 2 ,φ n+1 3 )} + ( λn+1)2 ηn+1 { 2 ( pn+1 2 pn+1 3 + qn+1 2 qn+1 3 ,φ n+1 3 ) + ( ( pn+1 3 ) 2 + ( qn+1 3 ) 2 ,φ n+1 2 )} + ( ηn+1)2 { 2 ( pn+1 1 pn+1 2 + qn+1 1 qn+1 2 ,φ n+1 2 ) + ( ( pn+1 2 ) 2 + ( qn+1 2 ) 2 ,φ n+1 1 ) − 1 2 [ 2 ( pn pn+1 2 + qn qn+1 2 ,φ n ) + ( ( pn )2 + ( qn )2 ,φ n+1 2 )] } + ( λn+1)2 { 2 ( pn+1 1 pn+1 3 + qn+1 1 qn+1 3 ,φ n+1 3 ) + ( ( pn+1 3 ) 2 + ( qn+1 3 ) 2 ,φ n+1 1 ) − [( pn, pn+1 3 ) + ( qn, qn+1 3 )]} +λn+1ηn+1 { 2 ( pn+1 2 pn+1 3 + qn+1 2 qn+1 3 ,φ n+1 1 ) + 2 ( pn+1 1 pn+1 3 + qn+1 1 qn+1 3 ,φ n+1 2 ) +2 ( pn+1 1 pn+1 2 + qn+1 1 qn+1 2 ,φ n+1 3 ) − 1 2 [ 2 ( pn pn+1 3 + qn qn+1 3 ,φ n ) + ( ( pn )2 + ( qn )2 ,φ n+1 3 ) +2 ( pn, pn+1 2 ) + 2 ( qn, qn+1 2 )]} +ηn+1 { 2 ( pn+1 1 pn+1 2 + qn+1 1 qn+1 2 ,φ n+1 1 ) + ( ( pn+1 1 ) 2 + ( qn+1 1 ) 2 ,φ n+1 2 ) − 1 2 [ 2 ( pnφn, pn+1 1 − pn− 1 ) +2 ( qnφn, qn+1 1 − qn− 1 ) + ( ( pn )2 + ( qn )2 ,φ n+1 1 − φn− 1 ) +2ηn− 1 ( pn pn+1 2 + qn qn+1 2 ,φ n ) + ηn− 1 ( ( pn )2 + ( qn )2 ,φ n+1 2 ) +2λn− 1 (( pn, pn+1 2 ) + ( qn, qn+1 2 ))]} +λn+1 { 2 ( pn+1 1 pn+1 3 + qn+1 1 qn+1 3 ,φ n+1 1 ) + ( ( pn+1 1 ) 2 + ( qn+1 1 ) 2 ,φ n+1 3 ) − 1 2 [ 2 ( pn, pn+1 1 − pn− 1 ) + 2 ( qn, qn+1 1 − qn− 1 ) + 2ηn− 1 ( pn pn+1 3 + qn qn+1 3 ,φ n ) +ηn− 1 ( ( pn )2 + ( qn )2 ,φ n+1 3 ) + 2λn− 1 (( pn, pn+1 3 ) + ( qn, qn+1 3 ))]} + ( ( pn+1 1 ) 2 + ( qn+1 1 ) 2 ,φ n+1 1 ) − ( ( pn− 1)2 + ( qn− 1)2 ,φ n− 1 ) − [ ηn− 1 ( pnφn, pn+1 1 − pn− 1 ) 123 Journal of Scientific Computing (2021) 89:47 Page 25 of 26 47 + ( qnφn, qn+1 1 − qn− 1 ) + ηn− 1 2 ( ( pn )2 + ( qn )2 ,φ n+1 1 − φn− 1 ) +λn− 1 (( pn, pn+1 1 − pn− 1 ) + ( qn, qn+1 1 − qn− 1 ))] , and F2 ( ηn+1,λn+1 ) = ( ηn+1 ) 2 ( ( pn+1 2 ) 2 + ( qn+1 2 ) 2 , 1 ) + ( λn+1 ) 2 ( ( pn+1 3 ) 2 + ( qn+1 3 ) 2 , 1 ) +2ηn+1 [ ( pn+1 1 , pn+1 2 )+(qn+1 1 , qn+1 2 ) ] +2λn+1 [ ( pn+1 1 , pn+1 3 )+(qn+1 1 , qn+1 3 ) ] +2λn+1ηn+1 [( pn+1 2 , pn+1 3 ) + ( qn+1 2 , qn+1 3 )] + ( ( pn+1 1 ) 2 + ( qn+1 1 ) 2 , 1 ) − ( ( p0 ) 2 + ( q0 ) 2 , 1 ) . References 1. Antoine, X., Shen, J., Tang, Q.: Scalar Auxiliary V ariable/Lagrange multiplier based pseudospectral schemes for the dynamics of nonlinear Schrödinger/Gross–Pitaevskii equations. J. Comput. Phys. 437, 110328 (2021) 2. Bao, W., Chunmei, S.: Uniform error estimates of a finite difference method for the Klein–Gordon– Schrödinger system in the nonrelativistic and massless limit regimes. Kinetic Related Models 11(4), 1037–1062 (2018) 3. Bao, W., Y ang, L.: Efficient and accurate numerical methods for the Klein–Gordon–Schrödinger equa- tions. J. Comput. Phys. 225(2), 1863–1893 (2007) 4. Bao, W., Zhao, X.: A uniformly accurate (UA) multiscale time integrator Fourier pseudospectral method for the Klein–Gordon–Schrödinger equations in the nonrelativistic limit regime. Numer. Math. 135(3), 833–873 (2017) 5. Biler, P .: Attractors for the system of Schrödinger and Klein–Gordon equations with Y ukawa coupling. SIAM J. Math. Anal. 21(5), 1190–1212 (1990) 6. Boling, G., Y ongsheng, L.: Attractor for dissipative Klein–Gordon–Schrödinger equations in R3. J. Differ. Equ. 136(2), 356–377 (1997) 7. Castillo, P ., Gómez, S.: Conservative local discontinuous Galerkin method for the fractional Klein– Gordon–Schrödinger system with generalized Y ukawa interaction. Numer. Algorithms 84(1), 407–425 (2020) 8. Chen, J., Chen, F.: Convergence of a high-order compact finite difference scheme for the Klein–Gordon– Schrödinger equations. Appl. Numer. Math. 143, 133–145 (2019) 9. Cheng, Q., Liu, C., Shen, J.: A new Lagrange multiplier approach for gradient flows. Comput. Methods Appl. Mech. Eng. 367, 113070 (2020) 10. Cheng, Q., Shen, J.: Global constraints preserving scalar auxiliary variable schemes for gradient flows. SIAM J. Sci. Comput. 42(4), A2489–A2513 (2020) 11. Feng, X., Li, B., Ma, S.: High-order mass-and energy-conserving SA V -Gauss collocation finite element methods for the nonlinear Schrödinger equation. SIAM J. Numer. Anal. 59(3), 1566–1591 (2021) 12. Fu, Y ., Hu, D., Wang, Y .: High-order structure-preserving algorithms for the multi-dimensional fractional nonlinear Schrödinger equation based on the SA V approach. Math. Comput. Simul.185, 238–255 (2021) 13. Fukuda, I., Tsutsumi, M.: On coupled Klein–Gordon–Schrödinger equations. I. Bulletin of Science and Engineering Research Laboratory. Waseda University, 69:51–62 (1975) 14. Fukuda, I., Tsutsumi, M.: On the Y ukawa-coupled Klein–Gordon–Schrödinger equations in three space dimensions. Proc. Jpn. Acad. 51(6), 402–405 (1975) 15. Fukuda, I., Tsutsumi, M.: On coupled Klein–Gordon–Schrödinger equations II. J. Math. Anal. Appl. 66(2), 358–378 (1978) 16. Fukuda, I., Tsutsumi, M.: On coupled Klein–Gordon–Schrödinger equations. III. Higher order interaction, decay and blow-up. Math. Japonica, 24(3), 307–321 (1979/80) 17. Guo, B.: Global solution for some problem of a class of equations in interaction of complex Schrödinger field and real Klein–Gordon field. Sci. China Ser. A Math. 25, 97–107 (1982) 18. Guo, B., Miao, C.: Asymptotic behavior of coupled Klein–Gordon–Schrödinger equations. Sci. China Ser. A Math. 25(7), 705–714 (1995) 19. Hayashi, N., von Wahl, W.: On the global strong solutions of coupled Klein–Gordon–Schrödinger equa- tions. J. Math. Soc. Jpn. 39(3), 489–497 (1987) 123 47 Page 26 of 26 Journal of Scientific Computing (2021) 89:47 20. Hong, J., Jiang, S., Kong, L., Li, C.: Numerical comparison of five difference schemes for coupled Klein–Gordon–Schrödinger equations in quantum physics. J. Phys. A: Math. Theor. 40(30), 9125–9135 (2007) 21. Hong, J., Jiang, S., Li, C.: Explicit multi-symplectic methods for Klein–Gordon–Schrödinger equations. J. Comput. Phys. 228(9), 3517–3532 (2009) 22. Ji, B., Zhang, L.: A dissipative finite difference Fourier pseudo-spectral method for the Klein–Gordon– Schrödinger equations with damping mechanism. Appl. Math. Comput. 376(125148), 125148 (2020) 23. Kong, L., Chen, M., Yin, X.: A novel kind of efficient symplectic scheme for Klein–Gordon–Schrödinger equation. Appl. Numer. Math. 135, 481–496 (2019) 24. Kong, L., Zhang, J., Cao, Y ., Duan, Y ., Huang, H.: Semi-explicit symplectic partitioned Runge–Kutta Fourier pseudo-spectral scheme for Klein–Gordon–Schrödinger equations. Comput. Phys. Commun. 181(8), 1369–1377 (2010) 25. Li, M., Shi, D., Wang, J., Ming, W.: Unconditional superconvergence analysis of the conservative lin- earized Galerkin FEMs for nonlinear Klein–Gordon–Schrödinger equation. Appl. Numer. Math. 142, 47–63 (2019) 26. Liang, H.: Linearly implicit conservative schemes for long-term numerical simulation of Klein–Gordon– Schrödinger equations. Appl. Math. Comput. 238, 475–484 (2014) 27. Lu, K., Wang, B.: Global attractors for the Klein–Gordon–Schrödinger equation in unbounded domains. J. Differ. Equ. 170(2), 281–316 (2001) 28. Makhankov, V .G.: Dynamics of classical solitons (in non-integrable systems). Phys. Rep. 35(1), 1–128 (1978) 29. Poulain, A., Schratz, K.: Convergence, error analysis and longtime behavior of the Scalar Auxiliary V ariable method for the nonlinear Schrödinger equation. arXiv preprint arXiv:2012.13943 (2020) 30. Ray, S.S.: An application of the modified decomposition method for the solution of the coupled Klein– Gordon–Schrödinger equation. Commun. Nonlinear Sci. Numer. Simul. 13(7), 1311–1317 (2008) 31. Shen, J., Jie, X., Y ang, J.: The scalar auxiliary variable (SA V) approach for gradient flows. J. Comput. Phys. 353, 407–416 (2018) 32. Shen, J., Zheng, N.: Efficient and accurate sav schemes for the generalized Zakharov systems. Discrete Contin Dyn Syst-B 26(1), 645 (2021) 33. Wang, B., Lange, H.: Attractors for the Klein–Gordon–Schrödinger equation. J. Math. Phys. 40(5), 2445– 2457 (1999) 34. Wang, J., Liang, D., Wang, Y .: Analysis of a conservative high-order compact finite difference scheme for the Klein–Gordon–Schrödinger equation. J. Comput. Appl. Math. 358, 84–96 (2019) 35. Wang, J., Xiao, A.: An efficient conservative difference scheme for fractional Klein–Gordon–Schrödinger equations. Appl. Math. Comput. 320, 691–709 (2018) 36. Xiang, X.: Spectral method for solving the system of equations of Schrödinger–Klein–Gordon field. J. Comput. Appl. Math. 21, 161–171 (1988) 37. Y ang, H.: Error estimates for a class of energy- and Hamiltonian-preserving local discontinuous Galerkin methods for the Klein–Gordon–Schrödinger equations. J. Appl. Math. Comput. 62(1–2), 377–424 (2020) 38. Zhang, L.: Convergence of a conservative difference scheme for a class of Klein–Gordon–Schrödinger equations in one space dimension. Appl. Math. Comput. 163(1), 343–355 (2005) Publisher’s Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. 123

采集于

查看校方原文 ↗