EIT Agent
登录
← 校园网页目录

校园网页 · 学校官网

Structure-preserving SAV-RK$s$ spectral methods for a class of nonlinear Hamiltonian system.pdf

Commun. Comput. Phys. doi: 10.4208/cicp.OA-2025-0108 Vol. 39, No. 3, pp. 661-695 March 2026 Structure-Preserving SA V-RKs Spectral Methods for Nonlinear Hamiltonian System Jie Shen1, Lianpeng Xue2,3 and Qifeng Zhang2,* 1 School of Mathematical Science, Eastern Institute of T echnology, Ningbo, 315200, P .R. China. 2 Department of Mathematics, Zhejiang Sci-T ech University, Hangzhou, 310018, P .R. China. 3 Department of Mathematics, Shanghai Normal University, Shanghai, 200234, P .R. China. Received 24 April 2025; Accepted (in revised version) 29 August 2025 Abstract. It is well-established that high-order symplectic Runge–Kutta methods can- not preserve polynomial energy of Hamiltonian systems beyond degree two. How- ever, the scalar auxiliary variable (SAV) approach, which was originally proposed for gradient flow systems, offers an effective strategy to overcome this limitation, albeit with a modified energy. In this paper, we study high-order Runge–Kutta methods for solving general Hamiltonian systems without imposing a lower bound on the high-order part of the energy functional. By integrating a symplectic Runge–Kutta method with a new SAV strategy, we develop a class of high-order nonlinear structure- preserving s-stage Runge–Kutta SAV (SAV-RKs) spectral methods, and prove that the nonlinear semi-discrete scheme can preserve the Hamiltonian energy and other con- servative quantities such as mass/momentum (if they exist). In addition, we design a tailored fast Newton iteration algorithm to efficiently solve the resulting nonlinear algebraic system. Finally, we carry out extensive numerical simulations on several benchmark problems, including cases where the energy functional is either bounded or unbounded, to validate the accuracy and robustness of the proposed algorithms. AMS subject classifications: 65M06, 65M12 Key words : Hamiltonian system, symplectic Runge–Kutta method, SAV approach, spectral method. 1 Introduction Hamiltonian systems play a pivotal role in the study of classical mechanics and have found extensive applications in various fields, including quantum mechanics and statis- ∗Corresponding author. Email addresses: jshen@eitech.edu.cn (J. Shen), lpxue@mails.zstu.edu.cn (L. Xue), zhangqifeng0504@gmail.com (Q. Zhang) http://www.global-sci.com/cicp 661 ©2026 Global-Science Press 662 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 tical mechanics. A Hamiltonian system is characterized by a scalar function known as the Hamiltonian, which typically represents the total energy of the system and remains unchanging over time. In this paper we are concerned with a class of Hamiltonian systems in the form of ∂tu = D δH δu , t ∈ (0,T], (1.1) where D is a skew-adjoint operator, u is a function defined on V (V = C or R), and δH δu represents the variational derivative of H with respect to u. The Hamiltonian energy H := H[u] satisfies H := HL + HN, where δHL δu = Lu, δHN δu = N u with L and N representing linear and nonlinear operators, respectively. The system (1.1) encompasses many important equations in classical mechanics, quantum physics and nonlinear optics. Notable examples include the Camassa–Holm (CH) equation [3], the Korteweg–de Vries (KdV) equation [32], the nonlinear Schr¨odinger (NLS) equation [10], the derivative nonlinear Schr¨odinger (DNLS) equation [4,24], which play significant roles in the field of the nonlinear optics [30, 33, 34, 41], among others. Due to the antisymmetry of the operator D, it is straightforward to deduce that the system (1.1) conserves the Hamiltonian energy, i.e., d dt H =  δH δu ,∂tu  =  δH δu ,D δH δu  =0. (1.2) The invariant d dt (u,1) =0 (1.3) is also conserved provided that D is a linear differential operator. In addition, Hamil- tonian systems may conserve other quantities such as mass/momentum, etc. We shall assume that the solution of the system (1.1) also satisfies d dt (u,Bu) =0, (1.4) where B is a linear symmetric (algebraic or differential) operator. Some specific examples will be provided in the next section. Preserving these invariant properties in a numerical scheme is highly desirable, as it ensures that the discrete solution preserves the essential features of the original differential equation. Over the past few decades, significant efforts have been devoted to developing effi- cient and accurate numerical methods capable of preserving as many conservation laws J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 663 of Hamiltonian systems as possible. On the side of spatial discretization, notable con- tributions include: the finite difference method [7], finite element method [23], spectral method [19, 36], discontinuous Galerkin method [5] (cf. also the references therein). On the other hand, prominent approaches for the temporal discretization include: symplec- tic geometric algorithms [8,9], Runge–Kutta methods [29,31,51], integrating factor meth- ods [18, 27], exponential time differencing methods [12], and so on. Other techniques include parametric symplectic partitioned methods [43], operator splitting method [17], invariant energy quadratization (IEQ) method [50], deep learning method [20, 35, 44] (cf. also the references therein). In recent years, the SAV approach [37, 38] and its related variants have gained pop- ularity in developing structure-preserving schemes for gradient type flows and Hamil- tonian systems. These include applications to Allen-Cahn equation and Cahn-Hillard equation [1, 39], the fractional nonlinear Schr ¨odinger equation [11], the nonlinear Klein- Gordon equation [21], the Gross–Pitaevskii equation [6] and many others. A key techni- cal assumption of the SAV approach is that the high-order nonlinear part of the energy functional has a lower bound [38]. Unfortunately, many problems do not automatically meet this assumption, such as the Korteweg–de Vries equation [47] and the second-type derivative nonlinear Schr ¨odinger (DNLSII) equation [4]. On the other hand, Lubich et al. [15] (see Theorem 3.3) pointed out an unfortunate fact that no Runge–Kutta method can preserve all polynomial invariants of degree n (n ⩾ 3). This negative result prompts the study of new numerical methods capable of preserving high-order invariants. Recently, Yang combined the high-order implicit Runge–Kutta methods with the SAV approach to the generalized KdV equation [48] and generalized Benjamin-Ono equa- tion [47], both of which are special cases of Hamiltonian systems. This work success- fully constructed numerical schemes capable of preserving higher-order (reformulated) Hamiltonian energy under the assumption that the high-order part of the energy func- tional is lower bounded. However, many Hamiltonian systems, such as the KdV equa- tion, do not satisfy thispriori assumption. A natural question is whether a proper combination of the high-order implicit Runge–Kutta method and the SAV approach can preserve higher-order (reformulated) Hamiltonian energy for more general Hamiltonian systems without assuming a lower bound for the high-order part of the energy functional ? The main purpose of this paper is to give a positive answer to the above question. Our main contributions are summarized below: • We propose a class of nonlinear high-order SAV-RK s methods which can preserve reformulated Hamiltonian energy, (1.3) and (1.4), for general Hamilton systems without assuming a lower bound for the high-order nonlinear part of the energy. • We develop a fast linearized Newton iteration algorithm for solving the nonlinear system resulting from the SAV-RKs methods. • We carry out ample numerical simulations on a series of benchmark problems with Hamiltonian structures to confirm the effectiveness and robustness of the proposed schemes. 664 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 We note that the usual SAV approach leads to linear schemes but fails to preserve the original second-order conservation laws (Corollary 3.1 after Theorem 3.1), while the SAV- RKs schemes proposed in this paper are nonlinear but capable of preserving the original higher-order energy, and the cost of solving nonlinear systems can be significantly re- duced by a fast linearized Newton iteration algorithm. The remainder of this paper is organized as follows. In Section 2, we first list some typical Hamilton systems and derive an equivalent system with a reformulated Hamil- tonian energy. In Section 3, we construct the temporal semi-discretization by using the symplectic Runge–Kutta method for the equivalent system, followed by the construction of spatial discretization with Fourier pseudo-spectral method and full discretization in Section 4. In Section 5, we develop a fast solver for the nonlinear system at each time step of the discretization. In Section 6, several numerical examples of classical Hamiltonian systems are provided to verify the effectiveness of our selection strategy. Concluding remarks are provided in Section 7. 2 Some typical examples and the SA V approach We first present in this section some specific Hamiltonian systems that we shall consider in this paper, followed by a reformulation of (1.1) based on the SAV approach. 2.1 Some specific Hamiltonian systems For the sake of simplicity, we consider Ω ⊂ R with periodic boundary conditions. Simi- larly, one can consider extensions to Hamiltonian systems in multi-dimension with other suitable boundary conditions by using spectral methods with Chebyshev polynomi- als [40] or penalty techniques [16]. • The Korteweg–de Vries (KdV) equation (see, e.g., [26]): ∂tu = −∂x  ∂2 xu+ 1 2 u2  . (2.1) The corresponding Hamiltonian energy is H[u] := 1 2 (∂xu,∂xu)− 1 6 (u3,1). Hence, HN = − 1 6 (u3,1) may not have a lower bound. The problem (2.1) has two additional conservation laws, expressed as M1[u] := (u,1); M2[u] := (u,Bu) with B = I, where I denotes the identity operator. It is clear that D = ∂x for this problem. J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 665 • The nonlinear Schr ¨odinger (NLS) equation: i∂tu+∂2 xu+2|u|2u =0. (2.2) The first three conservative quantities read M2[u] := (u,Bu) ≡ M2[u0], with B = I or −i∂x, H[u] := (∂xu,∂xu)−(u2,u2) ≡ H[u0]. With the help of H[u] above, the problem (2.2) can be converted into a Hamiltonian system u ¯u  = D  δH δuδH δ ¯u  , D = 0 −i i 0  . • The first-type derivative nonlinear Schr ¨odinger (DNLSI) equation (see, e.g., [2,24]): i∂tu+∂2 xu+i∂x(|u|2u) =0. (2.3) The problem (2.3) has the following conserved quantities M1[u] := (u,1) ≡ M1[u0], M2[u] := (u,Bu) ≡ M2[u0], with B = I, H[u] :=i(u,∂xu)+ 1 2 (u2,u2) ≡ H[u0]. In a similar manner, the problem (2.3) can be transformed into a Hamiltonian sys- tem u ¯u  = D  δH δuδH δ ¯u  , D =  0 −∂x −∂x 0  . • The second-type derivative nonlinear Schr ¨odinger (DNLSII) equation (see, e.g., [4]): i∂tu+∂2 xu+i|u|2∂xu =0. (2.4) It is straightforward to show that the DNLSII equation (2.4) conserves the Hamilto- nian H[u] := (∂xu,∂xu)+ i 4 (∂xu2,u2) ≡ H[u0]. It also has two additional conservation laws M2[u] := (u,Bu) ≡ M2[u0], with B = I or −i∂x. Clearly, the boundedness of the high-order energy functional i 4 (∂xu2,u2) cannot be guaranteed. Using variational derivatives and matrix calculation, we can also convert it into the following Hamiltonian form: u ¯u  = D  δH δuδH δ ¯u  , D = 0 −i i 0  . 666 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 • The Camassa–Holm (CH) equation (see, e.g., [3, 22]): ∂tu−∂t∂2 xu+3u∂xu−2∂xu∂2 xu−u∂3 xu =0. (2.5) The problem (2.5) has the following conserved quantities M1[u] := (u,1) ≡ M1[u0], M2[u] := (u,Bu) ≡ M2[u0], with B = I −∂2 x, H[u] := −1 2 (u,u2 +( ∂xu)2) ≡ H[u0]. Using the variational derivative of H[u], the problem (2.5) can be reformulated as a Hamiltonian system ∂tu = D δH δu = D  − 3 2 u2 − 1 2 (∂x)2 +∂x(u∂xu)  , with D = (I −∂2 x)−1∂x. 2.2 Reformulation based on the SA V approach In this section, we introduce a scalar auxiliary variable v to reformulate the system (1.1) into an equivalent one. The original SAV approach assumes that the high-order nonlinear part of the energy, HN, has a lower bound. However, this assumption does not hold for some certain important Hamiltonian systems. To address this limitation, we propose a modified SAV approach to remove this assumption. Without loss of generality, we define a quadratic functional M[u] with a lower bound, for example, M[u] := (u,u)+ δ where δ >0 is arbitrary. Then we have H[u] = H[u]− M[u]+ M[u] = H[u0]. Therefore, we can define a scalar auxiliary variable as v(t) := q H[u0]− H[u]+ M[u] = q M[u] >0. (2.6) And differentiating v, we have d dt v = d dt (H[u0]− H[u]+ M[u]) 2 p H[u0]− H[u]+ M[u] = −1 2  δ δu (H[u]− M[u])p M[u] ,∂tu  . Then, we expand the system (1.1) to    ∂tu = D h δ δu (H[u]− M[u])p M[u] ·v+ δM δu i , d dt v = −1 2  δ δu (H[u]− M[u])p M[u] ,∂tu  . (2.7) J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 667 The initial value conditions corresponding to the system (2.7) become u(x,0) =u0(x), v(0) = q M[u0]. The original energy corresponding to the system (2.7) can be expressed as E[u,v] := −v2 + M[u]+ H[u0], t ∈ [0,T]. (2.8) We obtain immediately from the first equation in (2.7) that (1.3) still holds. On the other hand, assuming (1.4) holds in the original Hamiltonian flow, it still holds for the reformu- lated system (2.7) since the first equation in (2.7) deduces to (1.1) because ofv(t)= p M[u]. Remark 2.1. The choice of the quadratic functional M[u] is not unique. Alternatives such as (∂xu,∂xu) and (∂2 xu,∂2 xu) can also be utilized, which, overall, do not affect the long time simulations numerically. We choose M[u] = (u,u)+ δ with δ > 0 since it does not require extra regularization of the solution. Remark 2.2. The equivalent reformulation (2.7) is also available for the gradient flow system, see, e.g., [37, 38]. In this case, it is only necessary to replace the entire p M[u] in (2.7) with p H[u0]− H[u]+ M[u]. 3 Semi-discrete (in time) schemes In this section, we describe the temporal discretization of the equivalent system (2.7) based on the symplectic Runge–Kutta method. Denote coefficients A = (aij )s×s, b = (b1,b2,··· ,bs)T and c = (c1,c2,··· ,cs)T. The Runge– Kutta method is given by the Butcher tableau c A bT . We list the Butcher Tableau of thes-stage Gaussian-Legendre Runge–Kutta (RKs) method for s =1,2,3,4 in Appendix A. Denote the numerical solutions in the temporal semi-discrete setting by uk ≈ u(x,tk) and vk ≈v(tk), and let the intermediate valuesUi =u(x,tk+ciτ) and Vi =v(tk+ciτ) present the exact solutions satisfying (2.7) at the time t = tk +ciτ. For simplicity, we rewrite (2.7) as    ∂tu = f (u,v), d dt v = g(u,v). (3.1) 668 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 Then, the application of RKs to (3.1) leads to    uk+1 = uk +τ s ∑ i=1 bi fi, Ui = uk +τ s ∑ j=1 aij fj, vk+1 = vk +τ s ∑ i=1 bigi, Vi = vk +τ s ∑ j=1 aij gj, (3.2) where fi = f (Ui,Vi) and gi = g(Ui,Vi). We first show that the symplectic Runge–Kutta method preserves the reformulated energy and other conserved quantities (if they exist) no higher than degree two. Theorem 3.1. Denote E k = E[uk,vk], M k i = Mi[uk] (i = 1,2) and H 0 = H[u0]. Then, the s-stage symplectic Runge–Kutta method (3.2) satisfying biaij +bjaij −bibj =0 for i , j =1,2, ··· ,s, (3.3) preserves mass (1.3), (1.4) and the Hamiltonian energy (2.8), i.e., Mk+1 1 = Mk 1, Mk+1 2 = Mk 2, Ek+1 = Ek. Proof. According to the first equation in (3.1) and exact conservation of M1 in (1.3), we have ( fi,1) = (∂tUi,1) = d dt (Ui,1) = d dt M1[Ui] =0. Therefore, Mk+1 1 = (uk+1,1) = (uk +τ s ∑ i=1 bi fi,1) = (uk,1)+ τ s ∑ i=1 bi( fi,1) = Mk 1. Next, utilizing first equation in (3.1) again and conservation of M2 in (1.4), we have (Ui,B fi)+( fi,BUi) = (Ui,B∂tUi)+( ∂tUi,BUi) = d dt (Ui,BUi) = d dt M2[Ui] =0. Therefore, Mk+1 2 = (uk+1,Buk+1) = (uk +τ s ∑ i=1 bi fi,Buk +τ s ∑ i=1 biB fi) = (uk,Buk)+ τ s ∑ i bi[(uk,B fi)+( fi,Buk)]+ τ2 s ∑ i,j=1 bibj( fi,B fj) = (uk,Buk)+ τ s ∑ i bi[(Ui,B fi)+( fi,BUi)] +τ2 s ∑ i,j=1 (bibj −biaij −bjaij )( fi,B fj) = Mk 2. J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 669 Finally, we prove Ek+1 = Ek. Without loss of generality, we assume M[u] = (u,u). First, differentiating the conservation law (2.8) with respect to t, we have 0 = d dt (Ui,Ui)− d dt (Vi)2 = (Ui, fi)+( fi,Ui)−2giVi, i =1,2, ··· ,s. (3.4) Then, by the definition of the semi-discrete energy, we have Ek+1 = (uk+1,uk+1)−(vk+1)2 + H0 = ((uk +τ s ∑ i=1 bi fi),(uk +τ s ∑ i=1 bi fi)) −(vk +τ s ∑ i=1 bigi)2 + H0 = (uk,uk)−(vk)2 + H0 +τ2 s ∑ i,j=1 bibj  ( fi, fj)− gigj  +τ  (uk, s ∑ i=1 fi)+( s ∑ i=1 fi,uk)−2 s ∑ i=1 bigi ·vk = (uk,uk)−(vk)2 + H0 +τ2 s ∑ i,j=1 bibj  ( fi, fj)− gigj  +τ  ((Ui −τ s ∑ j=1 aij fj), s ∑ i=1 fi)+( s ∑ i=1 fi,Ui −τ s ∑ j=1 aij fj) −2 s ∑ i=1 bigi ·(Vi −τ s ∑ j=1 aij gj)  = (uk,uk)−(vk)2 + H0 +τ s ∑ i=1 bi  (Ui, fi)+( fi,Ui)−2giVi  +τ2 s ∑ i,j=1 (bibj −biaij −bjaij )  ( fi, fj)− gigj  = Ek, where (3.3) and (3.4) have been utilized in the last equation. This completes the proof. Similar to derivation of the semi-discrete scheme in [1], we can construct the following implicit-explicit scheme of the form    uk+1 = uk +τ s ∑ i=1 bi ˆfi, Ui = uk +τ s ∑ j=1 aij ˆfj, vk+1 = vk +τ s ∑ i=1 bi ˆgi, Vi = vk +τ s ∑ j=1 aij ˆgj, (3.5) 670 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 where    ˆfi := D h δ δu (H[u]−M[u])√ M[u] u= ˆUi ·Vi + δM δu u=Ui i , ˆgi := − 1 2  δ δu (H[u]−M[u])√ M[u] u= ˆUi , ˆfi  with ˆUi some approximation to Ui. Corollary 3.1. The implicit-explicit numerical scheme (3.5) preserves the semi-discrete energy Ek, but it does not preserve the quadratic conservation M k 2. Proof. Following a similar approach to the proof in Theorem 3.1, it can be shown that the numerical scheme (3.5) also preserves the semi-discrete energyEk. However, it is obvious that scheme (3.5) does not preserve quadratic conservation law Mk 2 due to (Ui,B ˆfi)+ ( ˆfi,BUi) ̸=0. Remark 3.1. If the approximation order of ˆUi is lower than 2 s, the convergence rate of scheme (3.5) may fail to achieve the order 2 s (see, e.g., [1]). Therefore, how to give a suitable approximation for the stage value ˆUi in the implicit-explicit scheme (3.5) poses a significant challenge. 4 Fully-discrete schemes In this section, we first describe our spatial discretization based on the Fourier pseudo- spectral method. Then, we combine it with the semi-discrete (in time) schemes to derive fully-discrete schemes for the system (2.7) under an L-periodic boundary condition. 4.1 Spatial discretization For simplicity, we assume that the problem is L-periodic and use the Fourier pseudo- spectral method. Let the periodic function u(x,t) be approximated by Imu(x,t), which interpolates u(x,t) at the following set of collocation points xj = jh, h= L m, j=0,1, ··· ,m−1, where m is an even number. The approximation Imu(x,t) takes the form Imu(x,t) = m−1 ∑ j=0 ujgj(x), (4.1) where uj = u(xj,t) and gj(x) is a trigonometric polynomial of degree m/2 given by gj(x) = 1 m m/2 ∑ l=−m/2 1 cl eiµ (x−xj)l, J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 671 with cl = ( 1, |l| < m 2 , 2, |l| = m 2 , µ = 2π L . One easily observes that {gj}m−1 j=0 satisfies the interpolation property gj(xk) = δk j . Differ- entiating (4.1) and evaluating the resulting expressions at the points xj, j = 0,1, ··· ,m−1, one has ∂k ∂kx Imu(xj,t) = m−1 ∑ l=0 ul dk dxk gl(xj) = (Dku)j, where Dk is an m×m matrix with elements (Dk)jl = dk dxk gl(xj), j,l = 0,1, ··· ,m−1, and u = (u0,u1,··· ,um−1)T. According to [36], the following one-order and two-order spectral differential matrices are written explicitly as (D1)jl = ( 1 2 µ (−1)j+l cot µ xj−xl 2  , j ̸= l, 0, j = l, (D2)jl =    1 2 µ 2(−1)j+l+1 1 sin2(µ (xj−xl )/2), j ̸= l, −µ 2 2(l/2)2+1 6 , j = l. In particular, D1 and D2 have the following properties D1 = FHΛ1F, Λ1 =iµ diag  0,1, ··· , m 2 −1,0, − m 2 +1,··· ,−1  , D2 = FHΛ2F, Λ2 = h iµ diag  0,1, ··· , m 2 −1, m 2 ,− m 2 +1,··· ,−1 i2 , where F is the discrete Fourier transform matrix with elements (F)jl = 1√me−i 2π m jl, FH is the conjugate transpose of F, which corresponds to the discrete inverse Fourier transform matrix. From this, it follows that D1 is a real skew-symmetric matrix, while D2 is a real symmetric matrix. For simplicity, when u and v are vectors, and p ∈ Z we denote uv = (u0v0,··· ,um−1vm−1)T, u/v =  u0/v0,··· ,um−1/vm−1  , up = (up 0,up 1,··· ,up m−1)T. Given two vectors u and v, we define the discrete norms by (u,v)h = hvHu = h n−1 ∑ j=0 uj ¯vj, ∥u∥h = q (u,u)h. 672 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 Denote vh(t) the approximated solution of v(t), i.e., vh ≈ v(t). Then, the spatial semi- discrete scheme for the system (2.7) reads    ∂tu = D h δ δu (Hh[u]− Mh[u])p Mh[u] ·vh + δMh[u] δu i =: f (u,vh), d dt vh = −1 2  δ δu (Hh[u]− Mh[u])p Mh[u] ,∂tu  h =: g(u,vh), (4.2) where Hh[u], Mh[u] and Hh[u0] are expressions obtained through spatial discretization, with specific forms provided in the latter examples in Section 6.D is a real antisymmetric matrix, which is determined by a skew adjoint operator D. It is worth noting that u and f (u,vh) are both m×1 vectors, and vh and g(u,vh) are both scalars. Denote the spatial semi-discrete mass and energy, respectively, by M1,h[u] := (u,1)h, Eh[u,vh] := −v2 h + Mh[u]+ Hh[u0] with 1 = (1,1, ··· ,1)T. Then we have the following result: Theorem 4.1. The semi-discrete scheme (4.2) derived from the discretization of the Fourier pseudo-spectral method has the following conservation properties d dt M1,h[u] =0, d dt Eh[u,vh] =0. Proof. The proof follows a similar approach to (1.3) or (1.2). Taking an inner product of the first equation in (4.2) with 1, and noticing D1 = 0, it follows the mass conservation directly. Using the second equation in (4.2), we have d dt Eh[u,vh] =−2vh d dt vh +  δMh[u] δu ,∂tu  h = vh  δ δu (Hh[u]− Mh[u])p Mh[u] ,∂tu  h +  δMh[u] δu ,∂tu  h =  δHh[u] δu ,∂tu  h =  δHh[u] δu ,D δHh[u] δu  h =0, where vh = p Mh[u] has been used in the third line above and the skew-symmetry of D is utilized in the second line. 4.2 Full discretization We now combine the temporal and spatial discretization to construct the following fully discrete SAV-RKs scheme for the system (2.7):    uk+1 = uk +τ s ∑ i=1 bi fi, Ui = uk +τ s ∑ j=1 aij fj, vk+1 h = vk h +τ s ∑ i=1 bigi, Vi = vk h +τ s ∑ j=1 aij gj, (4.3) J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 673 where    fi = f (Ui,Vi) =D h Qi ·Vi + δMh[Ui] δUi i , gi = g(Ui,Vi) =−1 2 Qi, fi  , Qi = Q[Ui,Vi] = δ δUi (Hh[Ui]− Mh[Ui]) p Mh[Ui] with the initial values given by u0 = u0(x), v0 h = q Mh[u0]. We define the discrete mass and energy for the numerical scheme (4.3) as M1,h[uk] := (uk,1)h, Ek h = Eh[uk,vk h] := −(vk h)2 + Mh[uk]+ Hh[u0]. Then, by combining the proofs of Theorem 3.1 and Theorem 4.1, we can easily establish the following result. Theorem 4.2. The fully discrete SAV-RKs scheme (4.3) conserves the discrete mass and energy, i.e., M1,h[uk] = M1,h[u0], Ek+1 h = Ek h = Hh[u0], k =1,2, ··· ,n−1. Remark 4.1. The scheme (4.3) is specifically designed for real-valued systems. For complex-valued systems such as NLS, it suffices to replace gi = g(Ui,Vi) = − 1 2 (Qi, fi) in (4.3) with gi = g(Ui,Vi) =−Re(Qi, fi). Remark 4.2. Due to the pseudo-spatial discretization, Mk 2,h is only preserved up to the spatial discretization error. It is possible to preserve Mk 2,h exactly if one uses a pure spectral-Galerkin discretization without numerical quadrature, albeit at a much higher cost. 5 A fast solver The numerical scheme (4.3) is a coupled nonlinear system. We develop in this section a customized fast solver for (4.3) based on FFT and the Newton’s iteration method. Define U = (UT 1 ,··· ,UT s )T ∈ Vms×1, Q = (QT 1 ,··· ,QT s )T ∈ Vms×1, V = (V1,··· ,Vs)T ∈ Vs×1, g = (g1,··· ,gs)T ∈ Vs×1, f = (f T 1 ,··· , f T s )T ∈ Vms×1, ed×1 = (1,1, ··· ,1)T ∈ Vd×1, reshape(f) = (f1,··· , fs) ∈ Vm×s, and Id represents the d×d identity matrix. 674 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 Then the system (4.3) can be solved consecutively as follows: Calculate    U = es×1 ⊗uk +(A⊗Is)f, P = q Mh[U], Q = δ(Hh[U]− Mh[U]) δU / P⊗em×1  . Solve the nonlinear system f = (Is ⊗D) h Q(V⊗em×1)+ δMh[U] δU i , (5.1) where    g = −1 2  (Q1,f1)h,··· ,(Qs,fs)h T , V = vk h +τAg. Update the solution: ( vk+1 h = vk h +τbTg, uk+1 = uk +τ ·reshape(f)b. The key step is to solve the nonlinear system (5.1). Below, we propose a customized Newton iteration with a linearized strategy to efficiently solve it. First, we observe f = (Is ⊗D) " δMh[U] δU +Q(V⊗em×1) # = (Is ⊗D) " δMh[U] δU +  δ(Hh[U]− Mh[U]) δU / P⊗em×1  V⊗em×1  # = (Is ⊗D) " δMh[U] δU +  δ(HL,h[U]+ HN,h[U]− Mh[U]) δU / P⊗em×1  V⊗em×1  # = (Is ⊗D) " δMh[U] δU +  δ(HL,h[U]− Mh[U]) δU / P⊗em×1  V⊗em×1  +  δHN,h[U] δU / P⊗em×1  V⊗em×1  # . (5.2) J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 675 Let L be the matrix determined by the Fourier pseudo-spectral approximation of the op- erator L. Thanks to (2.6), we have P ≈ V, so we can approximate the above by f ≈ (Is ⊗D) " δHL,h[U] δU +  δHN,h[U] δU / P⊗em×1  V⊗em×1  # = (Is ⊗D) " (Is ⊗L)U+  δHN,h[U] δU / P⊗em×1  V⊗em×1  # = (Is ⊗D) " (Is ⊗L)(es×1 ⊗uk +τ(A⊗Im)f)+  δHN,h[U] δU / P⊗em×1  V⊗em×1  # = (Is ⊗D) " es×1 ⊗(Luk)+ τ(A⊗L)f+  δHN,h[U] δU / P⊗em×1  V⊗em×1  # . Hence, we can approximate (5.1) by φ(f) := f−(Is ⊗D) h es×1 ⊗(Luk)+ τ(A⊗L)f+  δHN,h[U] δU / P⊗em×1  V⊗em×1 i = 0. (5.3) To this end, we calculate the Jacobian matrix of (5.3) as Jφ(f) := ∂φ(f) ∂f = Ism −(Is ⊗D)(τA⊗L) =Ism −τA⊗(DL). Then, the Newton’s iteration method for (5.3) is fl+1 = fl −[Jφ(fl)]−1 φ(fl) =fl −[Ism −τA⊗(DL)]−1 φ(fl), (5.4) where [Ism −τA⊗(DL)]−1 is a dense matrix of size sm ×sm in (5.4), and the initial guess is f0 = es×1 ⊗ f (uk,vk h). Remark 5.1. We emphasize that the Jacobian matrix Jφ(f) is invariant at each iteration step due to the linearized technique in (5.2). Hence, the iteration can be carried out effi- ciently using FFT. 6 Numerical results In this section we carry out numerical simulations on different Hamiltonian systems to evaluate the scheme’s performance in terms of accuracy, conservation and computational efficiency. For comparison, we choose the following schemes (with spatial derivatives discretized by the Fourier pseudo-spectral method in all cases): • SAV-CN [25]: SAV approach combined with the Crank-Nicolson method for time discretization, which is solved by the nonlinear solver presented in this paper. 676 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 • SAV-IE [1]: SAV approach combined with a second-order implicit-explicit scheme for time discretization. • IEQ-RK s [50]: IEQ approach combined with the Runge–Kutta method for time dis- cretization. In all examples below, we set M[u] = (u,u). All numerical experiments are carried out on a 64 bit i5-12500H computer. For simplicity, we denote the numerical errors and the corresponding numerical con- vergence orders between the exact solutions and approximate solutions as follows E∞(h,τ) =max k ∥uk −u(·,tk)∥∞, Ord τ ∞ = log2[E∞(h,τ1)/E∞(h,τ2)] log2(τ1/τ2) . To carry out the solution procedure, it is necessary to compute the following quantities: D, Mh[u], Hh[u], δMh[u] δu , δHh[u] δu , (6.1) which are provided in each of the example below. 6.1 Korteweg–de Vries (KdV) equation For the KdV equation (2.1), the quantities in (6.1) are given by D = D1, Mh[u] = (u,u)h, Hh[u] := −1 2 (u,D2u)h − 1 6 (u3,1)h, δMh[u] δu =2u, δHh[u] δu = −D2u− 1 2u2. We also have Mk 1,h = M1,h[uk] := (uk,1)h, (6.2) Mk 2,h = M2,h[uk] := (uk,uk)h, (6.3) Hk h = Hh[uk] := −1 2 (uk,D2uk)h − 1 6 ((uk)3,1)h, (6.4) Ek h = Eh[uk,vk h] := −(vk h)2 + Mh[uk]+ Hh[u0]. (6.5) Example 6.1. We consider the interaction of two-soliton solutions satisfying the problem (2.1) [47]. The exact solution is u(x,t+T/2) =12 γ2 1eθ1 +γ2 2eθ2 +2(γ2 −γ1)2eθ1+θ2 +a2(γ2 2eθ1 +γ2 1eθ2)eθ1+θ2 (1+eθ1 +eθ2 +a2eθ1+θ2)2 , J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 677 Table 1: The numerical errors, convergence rates and CPU time of SA V-IE and SA V-RK s with h = 0.02 and τ = T/n in Example 6.1. Schemes SAV-IE SAV-RK1 SAV-RK2 SAV-RK3 SAV-RK4 n E∞(h,τ) 2.8787e−03 1.6007e −04 1.2484e −07 1.0149e −09 1.0365e −11 16 1.8266e−03 1.0246e −04 4.9882e −08 2.4659e −10 1.9824e −12 20 1.2623e−03 7.1158e −05 2.3755e −08 7.5090e −11 4.8683e −13 24 9.2462e−04 5.2281e −05 1.2731e −08 2.8839e −11 1.4355e −13 28 7.0647e−04 4.0028e −05 7.4298e −09 1.2585e −11 4.9183e −14 32 5.5738e−04 3.1627e −05 4.6247e −09 6.0448e −12 2.0206e −14 36 Ordτ ∞ − − − − − 16 2.0385 1.9992 4.1111 6.3403 7.4130 20 2.0265 1.9999 4.0690 6.5216 7.7015 24 2.0197 1.9998 4.0463 6.2079 7.9223 28 2.0152 1.9999 4.0332 6.2098 8.0217 32 2.0124 1.9999 4.0250 6.2261 7.5526 36 CPU time 0.1523 0.2289 0.3623 0.5163 0.6519 16 0.1649 0.2636 0.4170 0.5959 0.7715 20 0.1841 0.3016 0.4816 0.6448 0.9006 24 0.2177 0.3263 0.5291 0.7304 0.9710 28 0.2348 0.3694 0.5981 0.7787 1.0711 32 0.2496 0.3934 0.6286 0.8468 1.2114 36 where the parameters are selected as γ1 =0.4, γ2 =0.6, a2 =  γ1 −γ2 γ1 +γ2 2 = 1 25, θ1 = γ1x−γ3 1t+x1, θ2 = γ2x−γ3 2t+x2, x1 =10, x2 =25. For this first example, we provide detailed numerical results and comparisons in Ta- ble 1 and Figs. 2-5. • We select the computational domain Ω = [−100,100] and a terminal time T =8. Fix- ing the spatial partition number m = 104, we observe from Table 1 that the conver- gence rates of the s-stage Gaussian Runge–Kutta method indeed achieves order 2s, and that the CPU time of our nonlinear scheme using the fast solver is slightly more than the implicit-explicit linear scheme (SAV-IE) but offers much higher accuracy. • Fig. 1 demonstrates that the iteration numbers remain nearly constant when the temporal step sizes are fixed. Moreover, it also reveals that the iteration numbers are largely independent of the stages of the Runge–Kutta methods but strongly 678 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 0 0.5 1 7 8 9Iterations 0 0.5 1 4 5 6Iterations 0 0.5 1 2 3 4Iterations 0 0.5 1 2 3 4Iterations 0 0.5 1 6 7 8Iterations 0 0.5 1 3 4 5Iterations 0 0.5 1 2 3 4Iterations 0 0.5 1 2 3 4Iterations 0 0.5 1 6 7 8Iterations 0 0.5 1 4 5 6Iterations 0 0.5 1 3 3.5 4 Iterations 0 0.5 1 2 3 4Iterations 0 0.5 1 6 7 8Iterations 0 0.5 1 4 5 6Iterations 0 0.5 1 3 3.5 4 Iterations 0 0.5 1 2 3 4Iterations Figure 1: The iteration numbers versus the time step sizes and Runge–Kutta stages in Example 6.1. depends on the temporal step size. Specifically, smaller time step sizes result in fewer iterations. • Conservation properties of Mk 1,h, Mk 2,h, Ek h and Hk h are shown in Fig. 2. We ob- serve that M1,hk, Mk 2,h and Ek h are conserved in the discrete sense with the SAV-RKs scheme. However, the SAV-IE scheme only conserves the Hamiltonian energyEk h. • In Fig. 3, we use the SAV-RK3 scheme to compare conservation with IEQ-RKs and SAV-CN schemes for the discrete quantities Mk 1,h, Mk 2,h, Ek h and Hk h. We choose Ω = [−100,100], T = 200 and h = τ = 0.02. It is obvious that schemes IEQ-RK1 and SAV-CN manifest the worst conservation effect. Our scheme SAV-RK3 has the best conservation effect. In addition, we observe that the high-order IEQ-RK4 scheme also has better performance since the numerical error|Ek h−H0 h| remains at the 10−15 level. However, after t > 60 approximately, the numerical error |Ek h − H0 h| of IEQ- RK4 scheme starts to accumulate and decrease to 10 −12 level, which is worse than SAV-RK3 scheme. • Fig. 4 shows the numerical solution by using SAV-RK3 over time intervalt∈[0,200]. The numerical solutions at tk =0, 25, 100 and 175 are plotted in Fig. 5. Note that the initial condition u(x,0) consists of two solitons: one with a higher amplitude and the other with a lower amplitude. As time evolves, the higher one catches up with the lower one, gradually causing a collision. Subsequently, two solitons separate from each other and continue to propagate independently over time. J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 679 0 50 100 150 20010-16 10-14 10-12 10-10 10-8 10-6 0 50 100 150 200 10-15 10-14 10-13 10-12 0 50 100 150 20010-15 10-14 10-13 0 50 100 150 200 10-15 10-14 10-13 Figure 2: Numerical errors of discrete conservative quantities (6.2)-(6.5) with SA V-RKs in Example 6.1, where h = τ =0.02. 6.2 Nonlinear Schr¨ odinger (NLS) equation For the NLS equation (2.2), the quantities in (6.1) read D = −iIm, Mh[u] = (u,u)h, Hh[u] := −(u,D2u)h −(u2,u2)h, δMh[u] δ ¯u = u, δHh[u] δ ¯u = −D2u−2|u|2u. In addition, Mk 2,h = M2,h[uk] := (uk,Buk)h, B = Im or−iD1, (6.6) Hk h = Hh[uk] := −(uk,D2uk)−((uk)2,(uk)2), (6.7) Ek h = Eh[uk,vk h] := −(vk h)2 + Mh[uk]+ Hh[u0]. (6.8) 680 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 0 50 100 150 20010-16 10-14 10-12 10-10 10-8 10-6 0 50 100 150 20010-16 10-14 10-12 10-10 10-8 10-6 0 50 100 150 20010-15 10-14 10-13 10-12 10-11 0 50 100 150 200 10-15 10-10 10-5 Figure 3: Numerical errors of discrete quantities calculated by IEQ-RK s, SA V-RK3 and SA V-CN with h = τ = 1/100 over the time interval t ∈ [0,200] in Example 6.1. -100 -50 0 50 100 0 50 100 150 200 0 0.2 0.4 0.6 0.8 1 Figure 4: Evolution of the numerical solution by SA V-RK3 with h = τ = 1 50 in Example 6.1. J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 681 -100 -50 0 50 100 0 0.5 1 1.5 -100 -50 0 50 100 0 0.5 1 1.5 -100 -50 0 50 100 0 0.5 1 1.5 Figure 5: Snapshots of the numerical solution by SA V-RK3 with h=τ =0.02 in Example 6.1; Green line denotes snapshot at t =0. Example 6.2. Consider problem (2.2) with a single-soliton solution from [42] u(x,t+T/2) =√ αe i 2 cx−i( 1 4 c2−α)tsech(√ α(x−ct)), where α =1, c =0.25 and the domain Ω = [−50,50]. We set T = 100 and m = n = 104. We observe from Fig. 6 that the SAV-RK s schemes (s=2,3,4) preserve Ek h exceptionally well, maintaining errors at the 10−15 level. Addition- ally, they conserve Mk 2,h, and Hh[u0] with B = Im or −iD1. In contrast, the second-order implicit-explicit scheme fails to preserve Mk 2,h, and Hh[u0], except for Ek h. In Figs. 7 and 8, we present the numerical solution over the time interval [0,100]. We observe that the initial value |u0(x)| consists of a single soliton, which propagates smoothly up to tk = 100, and the peak of the soliton remains unchanged throughout the entire process. According to one of the referees’ helpful advice, we supplement numerical test for a two-dimensional (2D) NLS equation in the form of i∂tu+( ∂2 x +∂2 y)u+|u|2u =0 with the following initial data. • Case I: u(x,y,0) = 2√π e−(x2+y2), see, e.g., [11]; • Case II: u(x,y,0) = (1+sinx)(2+siny), see, e.g., [13, 28, 46]. Case I: The computational domain is chosen as (x,y,t) ∈ [−10,10]×[−10,10]×[0,10]. Numerical surfaces of the 2D NLS equation are conducted using the SAV-RK3 scheme, and the numerical results using the SAV-RK s schemes are shown in Fig. 9, which are consistent with those in [11]. The discrete conservation laws are also preserved very well. Case II: The computational domain is chosen as (x,y,t) ∈ [0,2π]×[0,2π]×[0,0.2]. Nu- merical surfaces of the 2D NLS equation are conducted using the SAV-RK2 scheme, and 682 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 0 20 40 60 80 10010-16 10-14 10-12 10-10 0 20 40 60 80 10010-16 10-14 10-12 10-10 0 20 40 60 80 10010-17 10-16 10-15 10-14 0 20 40 60 80 10010-16 10-15 10-14 10-13 Figure 6: Numerical errors of discrete conservative quantities (6.6)-(6.8) with SA V-RKs in Example 6.2, where h = τ =0.01. -50 0 50 0 20 40 60 80 100 0.2 0.4 0.6 0.8 1 Figure 7: Evolution of the numerical solution in Example 6.2 from SA V-RK3 with h = τ =0.01. J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 683 -50 0 50 0 0.5 1 1.5 -50 0 50 0 0.5 1 1.5 -50 0 50 0 0.5 1 1.5 Figure 8: Snapshots of the numerical solution by SA V-RK3 with h=τ =0.01 in Example 6.2; Green line denotes snapshot at t =0. (a) t =0 (b) t =1 (c) t =10 0 2 4 6 8 1010-15 10-10 10-5 (d) 0 2 4 6 8 1010-16 10-15 10-14 10-13 10-12 (e) 0 2 4 6 8 1010-16 10-15 10-14 10-13 (f) Figure 9: Initial data in Case I for 2D NLS equation with the step sizes h = 20/256 and τ = 1/100: (a)-(c) denote snapshots of numerical solutions calculated by SA V-RK 3; (d)-(f) denote the numerical errors of the discrete conserved quantities by using SA V-RK s. numerical conservation laws are displayed in Fig. 10, which are in nice agreement with those in [13,28,46]. The numerical errors of the discrete conservation laws are very small, even though the problem has a singular solution. It is worth noting that due to the non- smoothness of the problem, the performance of higher-order RKs schemes is worse than that of lower-order ones. Therefore, we select RK2 for the simulation in Fig. 10(a)-(c). 684 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 (a) t =0 (b) t =0.108 (c) t =0.12 0 0.05 0.1 0.15 0.2 10-15 10-10 10-5 100 105 (d) 0 0.05 0.1 0.15 0.210-18 10-16 10-14 10-12 10-10 10-8 (e) 0 0.05 0.1 0.15 0.2 10-13 10-12 (f) Figure 10: Initial data in Case II for 2D NLS equation with the step sizes h=2π/128 and τ =1/10000: (a)-(c) denote snapshots of numerical solutions calculated by SA V-RK 2; (d)-(f) denote the numerical errors of the discrete conserved quantities by using SA V-RK s. 6.3 First-type derivative nonlinear Schr¨ odinger (DNLSI) equation For the DNLSI equation (2.3), (6.1) reads D = −D1, Mh[u] = (u,u)h, Hh[u] :=i(u,D1u)h + 1 2 (u2,u2)h, δMh[u] δ ¯u = u, δHh[u] δ ¯u = −iD1u+|u|2u. In addition, Mk 1,h = M1,h[uk] := (uk,1)h, (6.9) Mk 2,h = M2,h[uk] := (uk,uk)h, (6.10) Hk h = Hh[uk] :=i(uk,D1uk)h + 1 2 ((uk)2,(uk)2)h, (6.11) Ek h = Eh[uk,vk h] := −(vk h)2 + Mh[uk]+ Hh[u0]. (6.12) J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 685 Example 6.3. Consider a periodic intersecting two-soliton solution arising from the DNLSI equation (2.3) on the domain Ω = [−100,100] (see, e.g., [14]) of the form u(x,t+T/2) =W1 · ¯W2 W2 2 , where W1 =e1+(− 1 20 + 99 400 i)t+( 1 2 + i 20 )x +e1+(− 1 10 + 399 400 i)t+(1+ i 20 )x − i 8 h 2 9 − i 45  e3+(− 1 5 + 399 400 i)t+(2+ i 20 )x + 1 9 − i 180  e3+(− 1 4 + 99 400 i)t+( 5 2 + i 20 )x i , W2 =1+  − 1 40 + i 4  ex− t 10 +2 +  − 1 160 + i 8  e2x− t 5 +2 +  − 1 90 + i 9  e 3 2 x+2+t(− 3 20 − 3 4 i) +  − 1 90 + 2 9i  e 3 2 x+2+(− 3 20 t+ 3 4 i) +  − 3540607707048805 9223372036854775808 − i 17280  e3x− 3t 10 +4. Numerical results for the DNLSI equation using the SAV-RKs schemes are presented in Figs. 11-13. We observe that the conservation behaviors in Figs. 11 are similar to those for the DNLSII equation. Numerical solutions exhibiting interactions of solitary waves are presented in Figs. 12-13. 6.4 Second-type derivative nonlinear Schr¨ odinger (DNLSII) equation For the DNLSII equation (2.4), (6.1) reads D = −iIm, Mh[u] = (u,u)h, Hh[u] := −(u,D2u)h + i 4 (D1u2,u2)h, δMh[u] δ ¯u = u, δHh[u] δ ¯u = −D2u+ i 2 ¯u(D1u2). We also have Mk 2,h = M2,h[uk] := (uk,Buk)h, B = Im or−iD1, (6.13) Hk h = Hh[uk] := −(uk,D2uk)h + i 4 (D1(uk)2,(uk)2)h, (6.14) Ek h = Eh[uk,vk h] := −(vk h)2 + Mh[uk]+ Hh[u0]. (6.15) Example 6.4. Consider the problem (2.4) with a smooth two-soliton solution derived from [52] u(x,t+T/2) =W1/W2, 686 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 0 10 20 30 40 5010-15 10-10 10-5 100 0 10 20 30 40 5010-15 10-14 10-13 10-12 0 10 20 30 40 5010-18 10-17 10-16 10-15 10-14 0 10 20 30 40 5010-15 10-14 10-13 10-12 Figure 11: Numerical errors of discrete conservative quantities (6.9)-(6.12) with SA V-RKs in Example 6.3, where h =0.02 and τ =0.0025. -100 -50 0 50 100 0 10 20 30 40 50 0 0.5 1 1.5 2 2.5 3 Figure 12: Evolution of the numerical solutions by SA V-RK3 in Example 6.3. J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 687 -20 -10 0 10 20 0 0.5 1 1.5 2 2.5 3 3.5 4 -20 -10 0 10 20 0 0.5 1 1.5 2 2.5 3 3.5 4 -20 -10 0 10 20 0 0.5 1 1.5 2 2.5 3 3.5 4 -20 -10 0 10 20 0 0.5 1 1.5 2 2.5 3 3.5 4 -20 -10 0 10 20 0 0.5 1 1.5 2 2.5 3 3.5 4 -20 -10 0 10 20 0 0.5 1 1.5 2 2.5 3 3.5 4 Figure 13: Snapshots of two-soliton solution by SA V-RK3 with h = 0.02 and τ = 0.0025 at tk in Example 6.3; Green line denotes snapshot at t =0. where W1 =84i h (279+28i)e 9 25 x+ 81i 625 t +( −279+28i)e 33 25 x+( 168 625 + 81 625 i)t +(316+28i)e( 84 625 + 527 2500 i)+( 6 5 − 7 50 i)x +( −316+28i)e( 84 625 + 527 2500 i)+( 12 25 − 7 50 i)x i , W2 =5 h (12691+1813i)e 18 25 x +(12691−1813i)e 168 625 t+ 24 25 x +(85+595i)e 168 625 t+ 42 25 x −10368e( 84 625 − 203 2500 i)t+( 21 25 + 7 50 i)x −14400e( 84 625 + 203 2500 i)t+( 21 25 − 7 50 i)x +85−595i i . We choose Ω = [−100,100], T = 200, and m = n = 104. We plot in Fig. 14 errors of SAV- RKs schemes for the conserved quantities. We observe that all the SAV-RK s schemes preserve very well the modified energy Ek h, Mk 1,h and Mk 2,h. However, preservation of the original energy Hk h depends on the spatial and time discretization errors. Fig. 15 further illustrates the numerical solution |u| over the time interval [0,200]. Fig. 16 displays the snapshots of the solitary wave at specific time points tk. Notably, at tk =100, the intersection of two solitary waves generates a sharp peak. 688 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 0 50 100 150 20010-20 10-15 10-10 10-5 100 0 50 100 150 20010-16 10-15 10-14 10-13 10-12 0 50 100 150 20010-16 10-15 10-14 10-13 10-12 0 50 100 150 20010-15 10-14 10-13 Figure 14: Numerical errors of discrete conservative quantities (6.13)-(6.15) with SA V-RKs in Example 6.4, where h = τ =0.02. -100 -50 0 50 100 0 50 100 150 200 0.5 1 1.5 2 Figure 15: The numerical surfaces by SA V-RK3 in Example 6.4. J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 689 -100 -50 0 50 100 0 0.5 1 1.5 2 2.5 -100 -50 0 50 100 0 0.5 1 1.5 2 2.5 -100 -50 0 50 100 0 0.5 1 1.5 2 2.5 Figure 16: Snapshots of two-soliton solution by SA V-RK3 with h = τ =0.02 in Example 6.4; Green line denotes snapshot at t =0. 6.5 Camassa–Holm (CH) equation For the CH equation, (6.1) reads D = (Im −D2)−1D1, Mh[u] = (u,u)h, Hh[u] := −1 2 (u,u2 +(D1u)2)h, δMh[u] δu =2u, δHh[u] δu = −3 2u2 + 1 2 (D1u)2 +u(D2u). We also have Mk 1,h = M1,h[uk] := (uk,1)h, (6.16) Mk 2,h = M2,h[uk] := (uk,(Im −D2)uk)h, (6.17) Hk h = Hh[uk,vk h] := −1 2 (uk,(uk)2 +(D1uk)2)h, (6.18) Ek h = Eh[uk,vk h] := −(vk h)2 + Mh[uk]+ Hh[u0]. (6.19) Example 6.5 (Non-smooth solution) . Consider the problem (2.5) with a non-smooth three-peakon initial condition (see, e.g., [45]) u0(x) =ϕ1(x)+ ϕ2(x)+ ϕ3(x), where ϕi(x) =    ci cosh(L/2) cosh(x−xi), |x−xi| ≤L/2, ci cosh(L/2) cosh(L−(x−xi)), |x−xi| > L/2, i =1,2,3, and the parameters are selected as Ω = [0,30], c1 = 2, c2 = 1, c3 = 0.8, x1 = −5, x2 = −3 and x3 = −1. 690 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 0 2 4 6 8 10 10-4 10-3 0 2 4 6 8 1010-15 10-14 10-13 10-12 10-11 0 2 4 6 8 10 2 4 6 8 10 12 14 16 10-15 0 2 4 6 8 10 10-6 10-5 10-4 10-3 Figure 17: Numerical errors of discrete conservative quantities (6.16)-(6.19) with SA V-RKs in Example 6.5, where h =30/2048 and τ =1/1000. We set T = 10, m = 211, n = 104, and present our numerical results using the SAV-RKs in Figs. 17-19. We observe from Fig. 17 that all SAV-RK s schemes conserve very well the quantities Ek h and Mk 1,h. However, Hk h and Mk 2,h are not as well conserved due to the non-smoothness of the exact solution. In Fig. 18, we plot the numerical solution over the time interval [0,10]. We observe that the non-smooth peakons are well resolved without any oscillation, demonstrating superior performance compared to the results in [49]. In Fig. 19, snapshots at various times of the numerical solution obtained using the SAV-RK3 scheme are displayed. 7 Concluding remarks We construct in this paper a class of nonlinear high-order SAV-RKs methods for general Hamilton systems without assuming a lower bound for the high-order nonlinear part of J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 691 0 5 10 15 20 25 30 0 2 4 6 8 10 0 0.5 1 1.5 2 Figure 18: Evolution of numerical solution in Example 6.5 using SA V-RK3 with h =30/2048 and τ =1/1000. 0 5 10 15 20 25 30 0 0.5 1 1.5 2 2.5 3 0 5 10 15 20 25 30 0 0.5 1 1.5 2 2.5 3 0 5 10 15 20 25 30 0 0.5 1 1.5 2 2.5 3 0 5 10 15 20 25 30 0 0.5 1 1.5 2 2.5 3 0 5 10 15 20 25 30 0 0.5 1 1.5 2 2.5 3 0 5 10 15 20 25 30 0 0.5 1 1.5 2 2.5 3 0 5 10 15 20 25 30 0 0.5 1 1.5 2 2.5 3 0 5 10 15 20 25 30 0 0.5 1 1.5 2 2.5 3 0 5 10 15 20 25 30 0 0.5 1 1.5 2 2.5 3 Figure 19: Snapshots of the non-smooth numerical solutions of the CH equation computed by SA V-RK3 with h =30/2048 and τ =1/1000 in Example 6.5; Green line denotes snapshot at t =0. 692 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 the energy. These schemes extend the applicability of the original SAV approach to prob- lems whose high-order part of the energy may not have a lower bound, such as the KdV equation and the DNLSII equation, while still preserve mass and reformulated Hamilto- nian energy. In addition, if (1.4) holds, it can also preserve a discrete (1.4) in the absence of spatial discretization error which can be negligible with a spectral discretization. We developed a fast linearized Newton iteration algorithm for solving the nonlinear system resulting from the SAV-RKs methods, and carried out simulations on a series of typical Hamiltonian systems, including the KdV equation, the DNLS equations and the Camassa–Holm equation, to confirm the effectiveness and robustness of the proposed schemes. Acknowledgments The author sincerely thank anonymous referees for their helpful comments and valuable suggestion for the significant improvement of the paper. This work was supported by the Zhejiang Provincial Natural Science Foundation of China under Grant No. LZ23A010007 and the National Natural Science Foundation of China under Grant No. W2431008 and No. 12371409. Data and codes availability The data and codes can be found at https://github.com/zhangqifeng0504/SAV_RKs_ Hamilton_system Appendix A: The Butcher Tableau We list below the Butcher Tableau of the s-stage Gaussian-Legendre Runge–Kutta (RKs) method with s=1,2,3,4. For s=1,2,3, the Butcher Tableau is explicitly provided in [15], see (A.1), and for s=4, it can be calculated by symbolic computation based on the collocation method, as presented in [15], see (A.2). 1 2 1 2 1 1 2 − √ 3 6 1 4 1 4 − √ 3 6 1 2 + √ 3 6 1 4 + √ 3 6 1 4 1 2 1 2 1 2 − √ 15 10 5 36 2 9 − √ 15 15 5 36 − √ 15 30 1 2 5 36 + √ 15 24 2 9 5 36 − √ 15 24 1 2 + √ 15 10 5 36 + √ 15 30 2 9 + √ 15 15 5 36 5 18 4 9 5 18 (A.1) J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 693 1 2 − q 3 7 + 2 √ 30 35 2 σ2 1 8 + √ 30 144 −σ7 1 8 + √ 30 144 −σ6 1 8 − √ 30 144 −σ8 1 2 − q 3 7 − 2 √ 30 35 2 σ5 + 1 8 − √ 30 144 σ3 1 8 + √ 30 144 −σ1 1 8 − √ 30 144 −σ4 1 2 + q 3 7 − 2 √ 30 35 2 σ4 + 1 8 − √ 30 144 σ1 + 1 8 + √ 30 144 σ3 1 8 − √ 30 144 −σ5 1 2 + q 3 7 + 2 √ 30 35 2 σ8 + 1 8 − √ 30 144 σ6 + 1 8 + √ 30 144 σ7 + 1 8 + √ 30 144 σ2 1 4 − √ 30 72 1 4 + √ 30 72 1 4 + √ 30 72 1 4 − √ 30 72 (A.2) with σ1 = p 15−2 √ 30  8 √ 35+5 √ 42  840 , σ2 = 1 8 − √ 30 144 , σ3 = 1 8 + √ 30 144 , σ4 = σ9  280 √ 3−161 √ 10+8 √ 35+25 √ 42  11760 , σ5 = σ9  161 √ 10−280 √ 3+8 √ 35+25 √ 42  11760 , σ6 = σ9  20 √ 3−13 √ 10+4 √ 35+5 √ 42  1680 , σ7 = σ9  13 √ 10−20 √ 3+4 √ 35+5 √ 42  1680 , σ8 = σ9  8 √ 35−5 √ 42  840 , σ9 = q 2 √ 30+15. References [1] G. Akrivis, B. Li and D. Li, Energy-decaying extrapolated RK–SAV methods for the Allen– Cahn and Cahn–Hilliard equations, SIAM J. Sci. Comput., 41 (6) (2019), A3703–A3727. [2] H. Bahouri and G. Perelman, Global well-posedness for the derivative nonlinear Schr¨odinger equation, Invent. Math., 229 (2022), 639–688. [3] R. Camassa and D. Holm, An integrable shallow water equation with peaked solitons, Phys. Rev. Lett., 71 (11) (1993), 1661. [4] H. Chen, Y. Lee and C. Liu, Integrability of nonlinear Hamiltonian systems by inverse scat- tering method, Phys. Scr., 20 (3-4) (1979), 490. [5] Y. Cheng and C. Shu, A discontinuous Galerkin finite element method for time dependent partial differential equations with higher order derivatives, Math. Comput., 77 (262) (2008), 699–730. [6] J. Cui, Y. Wang and C. Jiang, Arbitrarily high-order structure-preserving schemes for the Gross–Pitaevskii equation with angular momentum rotation, Comput. Phys. Commun., 261 (2021), 107767. [7] Y. Cui and D. Mao, Numerical method satisfying the first two conservation laws for the Korteweg–de Vries equation, J. Comput. Phys., 227 (1) (2007), 376–399. [8] K. Feng and M. Qin, Hamiltonian algorithms for Hamiltonian systems and a comparative numerical study, Comput. Phys. Commun., 65 (1-3) (1991), 173–187. [9] K. Feng and M. Qin Symplectic Geometric Algorithms for Hamiltonian Systems, Zhejiang Science and Technology Publishing House, Hangzhou; Springer, Heidelberg. 2010. [10] R. Feynman, A. Hibbs and D. Styer, Quantum Mechanics and Path Integrals, Courier Cor- poration, 2010. 694 J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 [11] Y. Fu, D. Hu and Y. Wang, High-order structure-preserving algorithms for the multi- dimensional fractional nonlinear Schr ¨odinger equation based on the SAV approach, Math. Comput. Simul., 185 (2021), 238–255. [12] Z. Fu, J. Shen and J. Yang, Higher-order energy-decreasing exponential time differencing Runge–Kutta methods for gradient flows, Sci. China Math., 68 (2025), 1727–1746. [13] Y. Gong, Q. Wang, Y. Wang and J. Cai, A conservative Fourier pseudo-spectral method for the nonlinear Schr¨odinger equation, J. Comput Phys. 328 (2017), 354–370. [14] B. Guo, L. Ling and Q. Liu, High-order solutions and generalized Darboux transformations of derivative nonlinear Schr¨odinger equations, Stud. Appl. Math., 4 (130) (2013), 317–344. [15] E. Hairer, C. Lubich and G. Wanner, Structure-Preserving Algorithms for Ordinary Differen- tial Equations, Springer-Verlag Berlin, 2006. [16] J. Hesthaven, S. Gottlieb and D. Gottlieb. Spectral Methods for Time-Dependent Problems, vol. 21. Cambridge University Press, 2007. [17] H. Holden, K. Karlsen, N. Risebro and T. Tao, Operator splitting for the KdV equation, Math. Comput., 80 (274) (2011), 821–846. [18] D. Hou, L. Ju and Z. Qiao, Energy-dissipative spectral renormalization exponential integra- tor method for gradient flow problems, SIAM J. Sci. Comput., 46 (6) (2024), A3477–A3502. [19] W. Huang and D. Sloan, The pseudospectral method for third-order differential equations, SIAM J. Numer. Anal., 29 (6) (1992), 1626–1647. [20] A. Jagtap, E. Kharazmi and G. Karniadakis, Conservative physics-informed neural networks on discrete domains for conservation laws: Applications to forward and inverse problems. Comput. Method Appl. M., 365 (15) (2020), 113028. [21] C. Jiang, Y. Wang and W. Cai, A linearly implicit energy-preserving exponential integrator for the nonlinear Klein-Gordon equation, J. Comput. Phys., 419 (2020), 109690. [22] C. Jiang, Y. Wang and Y. Gong, Arbitrarily high-order energy-preserving schemes for the Camassa–Holm equation, Appl. Numer. Math., 151 (2020), 85–97. [23] O. Karakashian and W. McKinney, On optimal high-order in time approximations for the Korteweg–de Vries equation, Math. Comput., 55 (192) (1990), 473–496. [24] D. Kaup and A. Newell, An exact solution for a derivative nonlinear Schr ¨odinger equation, J. Math. Phys., 19 (4) (1978), 798–801. [25] T. Kemmochi and S. Sato, Scalar auxiliary variable approach for conservative/dissipative partial differential equations with unbounded energy functionals, BIT Numer. Math., 62 (3) (2022), 903–930. [26] D. Korteweg and G. de Vries, On the change of form of long waves advancing in a rectan- gular canal, and on a new type of long stationary waves. Philos. Mag. Serl., 39 (5) (1895), 422–443. [27] S. Krogstad, Generalized integrating factor methods for stiff PDEs, J. Comput. Phys., 203 (1) (2005), 72–88. [28] D. Li, X. Li, J. Zhang and Z. Zhang, Stabilized multiple-relaxation implicit-explicit Runge– Kutta methods for nonlinear Gross-Pitaevskii equations, J. Comput. Phys., 538 (2025), 114183. [29] D. Li, X. Li and Z. Zhang, Implicit–explicit relaxation Runge–Kutta methods: construction, analysis and applications to PDEs, Math. Comput., 92 (339) (2023), 117–146. [30] M. Li, J. Xiao, W. Liu, Y. Jiang, K. Sun and B. Tian, Breather and double-pole solutions of the derivative nonlinear Schr ¨odinger equation from optical fibers, Phys. Lett. A, 375 (2011), 549–557. [31] L. Mei and X. Wu, Symplectic exponential Runge–Kutta methods for solving nonlinear J. Shen, L. Xue and Q. Zhang / Commun. Comput. Phys., 39 (2026), pp. 661-695 695 Hamiltonian systems, J. Comput. Phys., 338 (1) (2017), 567–584. [32] R. Miura, C. Gardner and M. Kruskal, Korteweg-de Vries equation and generalizations. II. Existence of conservation laws and constants of motion, J. Math. Phys., 9 (8) (1968), 1204– 1209. [33] E. Mjølhus, On the modulational instability of hydromagnetic waves parallel to the magnetic field, J. Plasma Phys., 16 (3) (1976), 321–334. [34] J. Moses, B. Malomed and F. Wise, Self-steepening of ultrashort optical pulses without self- phase-modulation, Phys. Rev. A, 76 (2) (2007), 021802. [35] J. Pu and Y. Chen, Lax pairs informed neural networks solving integrable systems. J. Com- put. Phys., 510 (2024), 113090. [36] J. Shen and T. Tang, Spectral and High-Order Methods with Applications, Science Press Beijing, 2006. [37] J. Shen and J. Xu, Convergence and error analysis for the scalar auxiliary variable (SAV) schemes to gradient flows, SIAM J. Numer. Anal., 56 (5) (2018), 2895–2912. [38] J. Shen, J. Xu and J. Yang, The scalar auxiliary variable (SAV) approach for gradient flows, J. Comput. Phys., 353 (2018), 407–416. [39] T. Tang, X. Wu and J. Yang, Arbitrarily high order and fully discrete extrapolated RK- SAV/DG schemes for phase-field gradient flows, J. Sci. Comput., 93 (2022), Article 38. [40] L. Trefethen, Spectral Methods in MATLAB, vol. 10. SIAM, 2000. [41] N. Tzoar and M. Jain, Self-phase modulation in long-geometry optical waveguides, Phys. Rev. A, 23 (3) (1981), 1266. [42] J. Verwer, Conservative and nonconservative schemes for the solution of the nonlinear Schr¨odinger equation, IMA J. Numer. Anal., 6 (1986), 25–42. [43] D. Wang, A. Xiao and X. Li, Parametric symplectic partitioned Runge–Kutta methods with energy-preserving properties for Hamiltonian systems, Comput. Phys. Commun., 184 (2) (2013), 303–310. [44] K. Wu, T. Qin and D. Xiu, Structure-preserving method for reconstructing unknown Hamil- tonian systems from trajectory data. SIAM J. Sci. Comput., 42(6) (2020), A3704–A3729. [45] Y. Xu and C. Shu, A local discontinuous Galerkin method for the Camassa–Holm equation, SIAM J. Numer. Anal., 46 (4) (2008), 1998–2021. [46] Y. Xu and C. Shu, Local discontinuous Galerkin methods for nonlinear Schr ¨odinger equa- tions, J. Comput. Phys., 205 (1) (2005), 72–97. [47] K. Yang, Arbitrarily high-order conservative schemes for the generalized Korteweg-de Vries equation, SIAM J. Sci. Comput., 44 (4) (2022), A2709–A2733. [48] K. Yang, High order conservative schemes for the generalized Benjamin-Ono equation on the unbounded domain. J. Sci. Comput., 96 (2023), Article 35. [49] T. Yan, J. Zhang and Q. Zhang, Fully conservative difference schemes for the rotation-two- component Camassa–Holm system with smooth/nonsmooth initial data, Wave Motion, 129 (2024), 103333. [50] X. Yang and D. Han, Linearly first-and second-order, unconditionally energy stable schemes for the phase field crystal model, J. Comput. Phys., 330 (2017), 1116–1134. [51] H. Zhang, X. Qian, J. Yan and S. Song, Highly efficient invariant-conserving explicit Runge– Kutta schemes for nonlinear Hamiltonian differential equations, J. Comput. Phys., 481 (1) (2020), 109598. [52] Y. Zhang, L. Guo, J. He and Z. Zhou, Darboux transformation of the second-type derivative nonlinear Schr¨odinger equation, Lett. Math. Phys., 105 (2015), 853–891.

采集于

查看校方原文 ↗