Next Article in Journal
A Traffic Splitting Algorithm for Load Balancing in Tor
Next Article in Special Issue
Physics-Informed Neural Networks for Solving Coupled Stokes–Darcy Equation
Previous Article in Journal
A Fisher Information-Based Incompatibility Criterion for Quantum Channels
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Time Two-Mesh Compact Difference Method for the One-Dimensional Nonlinear Schrödinger Equation

1
School of Mathematics and Big Data, Hohhot Minzu College, Hohhot 010051, China
2
School of Mathematical Sciences, Inner Mongolia University, Hohhot 010021, China
*
Author to whom correspondence should be addressed.
Entropy 2022, 24(6), 806; https://doi.org/10.3390/e24060806
Submission received: 23 April 2022 / Revised: 3 June 2022 / Accepted: 6 June 2022 / Published: 9 June 2022

Abstract

:
The nonlinear Schrödinger equation is an important model equation in the study of quantum states of physical systems. To improve the computing efficiency, a fast algorithm based on the time two-mesh high-order compact difference scheme for solving the nonlinear Schrödinger equation is studied. The fourth-order compact difference scheme is used to approximate the spatial derivatives and the time two-mesh method is designed for efficiently solving the resulting nonlinear system. Comparing to the existing time two-mesh algorithm, the novelty of the new algorithm is that the fine mesh solution, which becomes available, is also used as the initial guess of the linear system, which can improve the calculation accuracy of fine mesh solutions. Compared to the two-grid finite element methods (or finite difference methods) for nonlinear Schrödinger equations, the numerical calculation of this method is relatively simple, and its two-mesh algorithm is implemented in the temporal direction. Taking advantage of the discrete energy, the result with O ( τ C 4 + τ F 2 + h 4 ) in the discrete L 2 -norm is obtained. Here, τ C and τ F are the temporal parameters on the coarse and fine mesh, respectively, and h is the space step size. Finally, some numerical experiments are conducted to demonstrate its efficiency and accuracy. The numerical results show that the new algorithm gives highly accurate results and preserves conservation laws of charge and energy. Furthermore, by comparing with the standard nonlinear implicit compact difference scheme, it can reduce the CPU time without loss of accuracy.

1. Introduction

In this paper, we consider the one-dimensional cubic nonlinear Schrödinger (NLS) equation
i u t + η 2 u x 2 + q | u | 2 u = 0 , x R , t 0 ,
where i = 1 is the complex unit, the subscripts x and t denote the spatial and temporal variable, respectively; η and q are positive real constants; u = u ( x , t ) is an unknown complex-valued wave function. The initial condition
u ( x , 0 ) = φ ( x ) , x R ,
is a prescribed smooth complex function, which decreases exponentially as | x | 0 . We assume that the solution to NLS Equation (1) has compact support on a bounded interval [ a , b ] during the time period [ 0 , T ] . So, artificial boundary conditions
u ( a , t ) = u ( b , t ) = 0 , t ( 0 , T ] ,
are taken here.
The NLS equation is one of the most important equations of mathematical physics and it has been widely used to model various nonlinear physical phenomena, such as underwater acoustics, plasma physics, bimolecular dynamics, and nonlinear optics. NLS Equation (1) is a generic model for the slowly varying envelop of a wave train in conservative, dispersive, mildly nonlinear wave phenomena. It is also obtained as the subsonic limit of the Zakharov model for Langmuir waves in plasma physics, and known as the Gross–Pitaevskii equation (GPE) in modeling the hydrodynamics of the Bose–Einstein condensate [1]. The real constant parameter q in Equation (1) (focusing for q > 0 , and defocusing for q < 0 ) describes the strength of the local interactions between particles. The complex function u ( x , t ) describes the envelope of a physical solution, and, in optics, its squared modulus represents a measurable quantity, viz. intensity. Localizing along the t axis, NLS Equation (1) has soliton solutions, which can exist on a zero background (completely localized) or on a plane wave background [2]. Localizing along the x axis, it has the “Akhmediev breathers” [2,3]. The interrelation between these solutions is schematically represented in [2]. The extended family of NLS equation contains the Hirota equation (HE) and other higher-order members of the NLS hierarchy of equations [4,5]. In [4,5], the numerical simulations with high accuracy along the transversal axis were used to calculate solitons and breathers of the Hirota equation, which is an extension of the NLS equation.
Due to the presence of nonlinearity and the complex nature of the NLS equation, it is still a challenge for researchers to determine the most suitable method. Many analytical and numerical studies have been carried out to overcome this difficulty. Along the analytical front, one can refer to [3,6] and the references therein. Along the numerical front, different efficient and accurate numerical methods including finite difference (FD) methods [7,8,9,10,11,12,13,14,15,16,17], finite element (FE) methods [18,19,20,21,22], spectral method [23], discontinuous Galerkin method [24], virtual element method [25], and so on. Furthermore, there have also been some other efficient algorithms, such as the multigrid methods [26,27,28] and two-grid methods [29,30,31,32,33,34,35,36,37], where the idea is presented firstly by Xu in [38]. In [29,30,31,32,33], some two-grid (mixed) finite element schemes were proposed for solving the NLS equation, respectively, and the error estimates are discussed. In [34,35], Zhang et al. and Chen et al. constructed two-grid finite volume (element) methods and performed the corresponding convergence analysis, respectively. In [36], Wang et al. discussed the global H 1 -norm super-convergence result of the two-grid FE method for the NLS equation. Ignat et al. [37] constructed a space two-grid FD scheme for NLS equations, where the equations on the fine grid are linearized, but not decoupled.
It is worth mentioning that compared with the two-grid FEMs [29,30,31,32,33,34,35,36], the two-grid FDMs [37,39,40,41] are relatively simple from the point of view of numerical calculation. This means that the time two-mesh (TT-M) method combined with FD can also solve the NLS equation with better computational efficiency. The TT-M algorithm is proposed firstly by Liu et al. [42], and combined with the FE method to solve some other fractional models [43,44,45]. Recently, based on the idea proposed in [42], Qiu and Xu et al. [46,47] developed and analyzed a TT-M algorithm based on FD methods for nonlinear fractional partial differential equations (FPDEs). Niu et al. [48] and Chai et al. [49] used the TT-M technique to propose a fast high-order compact difference scheme for the nonlinear distributed-order fractional Sobolev model appearing in porous media and nonlinear space fractional Gray–Scott model, respectively; however, from the current literature, we find that there is no report about the TT-M based on the compact difference (CD) method for solving the NLS equation.
The aim of this paper is the development of a time two-mesh high-order compact difference (TT-MCD) method to obtain the solution of the NLS Equation (1). We show that the TT-MCD method is suitable for the treatment of the NLS equation. In addition, for the study of the two-grid FD method, our article is different from Refs. [37,39,40,41], where a two-grid algorithm for the spatial direction is combined with the finite difference method; however, our article uses a two-mesh algorithm for the temporal direction. Furthermore, compared to the TT-M algorithms [42,43,44,46,47], our method made a modification, analogous to the Gauss–Seidel method for linear systems, of the initial guess in the linearization process, where the available fine grid solution is used as well. Such modification can improve the calculation accuracy of fine grid solutions. In addition, through numerical schemes and experiments, it can find that our method has the advantages of the simple numerical calculation. In addition, compared to the standard nonlinear implicit (SNI) CD scheme, it can reduce the CPU time without loss of accuracy.
The new TT-MCD algorithm includes three steps: firstly, a nonlinear implicit CD scheme, which will be solved by an iterative method on the time coarse mesh, is established; secondly, utilizing the numerical data obtained from the first step, the Lagrange’s linear interpolation formula is employed to obtain rough solutions on the time fine mesh; finally, one Newton iteration is applied on the time fine mesh to linearize the nonlinear CD scheme using the mean value of the rough solution and available fine mesh solution as the initial guess. We then solve the linear system to obtain the finial numerical solutions. The main contributions or contents of this article are as follows:
  • A fast numerical algorithm, which is formulated by combining the fourth-order CD method with the TT-M method, is proposed and developed to solve the NLS equation.
  • A modification, analogous to the Gauss–Seidel method for linear systems, of the initial guess in the linearization process is taken to improve the calculation accuracy of fine grid solutions.
  • By using the discrete energy, the detailed proof of the convergence result with O ( τ C 4 + τ F 2 + h 4 ) in the discrete L 2 -norm is given.
  • Numerical experiments on some model problems, including single soliton, interaction of two solitons and birth of standing soliton, are conducted to demonstrate efficiency and accuracy of the TT-MCD algorithm.
  • It is easy to see from the numerical results that the proposed TT-MCD algorithm not only gives highly accurate results and preserves conservation laws of charge and energy, but also can save the CPU time.
The remainder of this paper is organized as follows. In Section 2, notations and some lemmas are given. Section 3 devotes to the establishment of the time two-mesh compact difference scheme. The convergence of the TT-MCD scheme is analyzed in Section 4. In Section 5, two numerical examples are given to verify the feasibility and effectiveness. The article ends with a brief conclusions section. Throughout this paper, the symbol M is used to denote a generic positive constant.

2. Notations and Some Lemmas

First, for the temporal approximation on the fine mesh T F , we define τ F = T N , t n = n τ F ( n = 0 , 1 , , N ) . Similarly, for the coarse mesh T C , denote τ C = T N where N = N s , ( 2 s Z + ) , t k s = k τ C ( k = 0 , 1 , , N ) . For the spatial approximation, let h = b a J for positive integer J, x j = a + j h , j = 0 , 1 , , J . Let u j n = u ( x j , t n ) and I h = { x 0 , x 1 , , x J } denote the set of nodes of the interval [ a , b ] . We use the following notations for simplicity:
( u j ) x n = u j + 1 n u j n h , ( u j ) x ¯ n = u j n u j 1 n h , ( u j ) t n = u j n + 1 u j n τ , ( u j ) x x ¯ n = u j + 1 n 2 u j n + u j 1 n h 2 , u j n + 1 2 = 1 2 ( u j n + 1 + u j n ) ,
where τ denotes the time step length τ C or τ F . Let H h , 0 denote the set of mesh functions u defined on I h with boundary conditions u 0 = u j = 0 . We define the discrete inner products and norms via
( u , w ) = j = 1 J 1 u j w ¯ j h , ( u x , w x ) l = j = 0 J 1 ( u j ) x ( w ¯ j ) x h u , w H h , 0 , u L 2 = ( u , u ) , u L = max 1 j J 1 | u j | , | u x | L 2 = ( u x , u x ) l .
And for any complex-valued function u = v + i w , let
u L 2 = v L 2 2 + w L 2 2 1 / 2 , | u x | L 2 = | v x | L 2 2 + | w x | L 2 2 1 / 2 .
Next, we give some auxiliary lemmas, which will be used later.
Lemma 1
(See [7]). For any grid functions u , w H h , 0 , we have
( a ) ( u x x ¯ , w ) = ( u x , w x ) l , ( b ) | u x | L 2 2 4 h 2 u L 2 2 , ( c ) u L b a 2 | u x | L 2 .
Lemma 2
(See [7]). Assume that a sequence of nonnegative real numbers { a j } j = 0 satisfying
a n + 1 α + β j = 0 n a j τ , n 0 ,
then there has the inequality a n + 1 ( α + τ β a 0 ) e β ( n + 1 ) τ , where α 0 , β and τ are positive constants.

3. The Time Two-Mesh Compact Difference Scheme

In order to construct the compact difference scheme [7], we first split the NLS Equation (1) into a system
i u t q | u | 2 u = ν , η 2 u x 2 = ν .
Using Taylor expansion, we obtain
i ( u j ) t n q ( | u | 2 ) j n + 1 2 u j n + 1 2 = ν j n + 1 2 + O ( τ 2 ) ,
and
ν j n + 1 2 = η 2 u x 2 j n + 1 2 = η ( u j ) x x ¯ n + 1 2 η h 2 12 4 u x 4 j n + 1 2 + O ( h 4 ) = η ( u j ) x x ¯ n + 1 2 h 2 12 2 ν x 2 j n + 1 2 + O ( h 4 ) = η ( u j ) x x ¯ n + 1 2 h 2 12 ( ν j ) x x ¯ n + 1 2 + O ( h 4 ) .
From Equations (2) and (3), we obtain
i ( u j ) t n + q ( | u | 2 ) j n + 1 2 u j n + 1 2 + η ( u j ) x x ¯ n + 1 2 1 12 ν j + 1 n + 1 2 2 ν j n + 1 2 + ν j 1 n + 1 2 = O ( τ 2 + h 4 ) .
Then substituting Equations (2) into (4), we have
i 12 ( u j 1 ) t n + 10 ( u j ) t n + ( u j + 1 ) t n + η ( u j ) x x ¯ n + 1 2 + q 12 ( | u | 2 ) j 1 n + 1 2 u j 1 n + 1 2 + 10 ( | u | 2 ) j n + 1 2 u j n + 1 2 + ( | u | 2 ) j + 1 n + 1 2 = O ( τ 2 + h 4 ) ,
Next, based on Equation (5), a time two-mesh CD scheme for problem Equation (1) is constructed as follows.
Step 1: Letting U C , j k s = V C , j k s + i W C , j k s , we find V C , j k s + 1 , W C , j k s + 1 H h , 0 × H h , 0 on the coarse mesh, such that
1 12 ( W C , j + 1 ) t k s + 10 ( W C , j ) t k s + ( W C , j 1 ) t k s + η ( V C , j ) x x ¯ k s + 1 2 + q 12 F ^ j 1 + 10 F ^ j + F ^ j + 1 = 0 , 1 j J 1 ,
1 12 ( V C , j 1 ) t k s + 10 ( V C , j ) t k s + ( V C , j + 1 ) t k s + η ( W C , j ) x x ¯ k s + 1 2 + q 12 F ˜ j 1 + 10 F ˜ j + F ˜ j + 1 = 0 , 1 j J 1 ,
U C , j 0 = φ ( x j ) , 1 j J 1 , V C , 0 k s = V C , J k s = 0 , W C , 0 k s = W C , J k s = 0 , 1 k N ,
where
F ^ j = ( | U C , j | 2 ) k s + 1 2 V C , j k s + 1 2 , F ˜ j = ( | U C , j | 2 ) k s + 1 2 W C , j k s + 1 2 .
Step 2: Based on the solutions U C , j k s obtained from Step 1, we use the Lagrange’s linear interpolation formula to compute U C , j n ( n = 1 , 2 , , N ) , that is, at time levels t k s l ( l = 0 , 1 , , k , and k = 1 , 2 , , N , k s l = n ) , we have
U C k s l = t k s l t k s t ( k 1 ) s t k s U C ( k 1 ) s + t k s l t ( k 1 ) s t k s t ( k 1 ) s U C k s = l s U C ( k 1 ) s + ( 1 l s ) U C k s .
Step 3: Taking the mean value of the solution U C n + 1 obtained from Step 2 and the former time level fine mesh solution U F n as the initial value, we construct a linear system on the time fine mesh as follows to solve the solutions V F , j n + 1 , W F , j n + 1 H h , 0 × H h , 0 such that
1 12 ( W F , j + 1 ) t n + 10 ( W F , j ) t n + ( W F , j 1 ) t n η ( V F , j ) x x ¯ n + 1 2 q 12 Θ ^ j 1 + 10 Θ ^ j + Θ ^ j + 1 = 0 ,
1 12 [ ( V F , j 1 ) t n + 10 ( V F , j ) t n + ( V F , j + 1 ) t n ] + η ( W F , j ) x x ¯ n + 1 2 + q 12 Θ ˜ j 1 + 10 Θ ˜ j + Θ ˜ j + 1 = 0 ,
U F , j 0 = φ ( x j ) , V F , 0 n = V F , J n = 0 , W F , 0 n = W F , J n = 0 1 j J 1 , 0 n N ,
where
Θ ^ j = 1 8 ( V C , j n + 1 + V F , j n ) 2 + ( W C , j n + 1 + ( W F , j n ) 2 V C , j n + 1 + V F , j n + 1 8 3 ( V C , j n + 1 + V F , j n ) 2 + ( W C , j n + 1 + W F , j n ) 2 V F , j n + 1 V C , j n + 1 + 1 4 ( V C , j n + 1 + V F , j n ) ( W C , j n + 1 + W F , j n ) W F , j n + 1 W C , j n + 1 ,
Θ ˜ j = 1 8 ( V C , j n + 1 + V F , j n ) 2 + ( W C , j n + 1 + ( W F , j n ) 2 W C , j n + 1 + W F , j n + 1 8 3 ( W C , j n + 1 + W F , j n ) 2 + ( V C , j n + 1 + V F , j n ) 2 W F , j n + 1 W C , j n + 1 + 1 4 ( V C , j n + 1 + V F , j n ) ( W C , j n + 1 + W F , j n ) V F , j n + 1 V C , j n + 1 .
Remark 1.
A modification, analogous to the Gauss–Seidel method for linear systems, of our algorithm is that the fine mesh solution U F n is also used in calculation of the fine mesh solution U F n + 1 , by which one can improve the calculation accuracy of fine mesh solutions.

4. The Convergence Analysis of the TT-MCD Scheme

In this section, we first consider error analysis of the nonlinear system on the time coarse mesh. Denote e C , j k s = v j k s V C , j k s , E C , j k s = w j k s W C , j k s , R C , j k s = R ^ C , j k s + i R ˜ C , j k s , 1 j J 1 , 0 k N . From Equations (5)–(7), we obtain
h 2 12 ( E C , j ) t , x x ¯ k s ( E C , j ) t k s + η ( e C , j ) x x ¯ k s + 1 2 + q h 2 12 [ g ( v j k s + 1 2 , w j k s + 1 2 ) x x ¯ g ( V C , j k s + 1 2 , W C , j k s + 1 2 ) x x ¯ ] + q g ( v j k s + 1 2 , w j k s + 1 2 ) g ( V C , j k s + 1 2 , W C , j k s + 1 2 ) = R ^ C , j k s ,
h 2 12 ( e C , j ) t , x x ¯ k s + ( e C , j ) t k s + η ( E C , j ) x x ¯ k s + 1 2 + q h 2 12 [ g ( w j k s + 1 2 , v j k s + 1 2 ) g ( W C , j k s + 1 2 , V C , j k s + 1 2 ) x x ¯ ] + q g ( w j k s + 1 2 , v j k s + 1 2 ) g ( W C , j k s + 1 2 , V C , j k s + 1 2 ) = R ˜ C , j k s ,
where R ^ C k s = O ( τ C 2 + h 4 ) , R ˜ C k s = O ( τ C 2 + h 4 ) , and the function g ( x , y ) = ( x 2 + y 2 ) x satisfies max ( x , y ) R 2 | g x ( x , y ) | + | g y ( x , y ) | L .
For simplification, we further denote ϕ = g ( v , w ) g ( V , W ) and ψ = g ( w , v ) g ( W , V ) . Then Equations (13) and (14) can be written as
h 2 12 ( E C , j ) t , x x ¯ k s ( E C , j ) t k s + η ( e C , j ) x x ¯ k s + q h 2 12 ( ϕ C , j ) x x ¯ k s + 1 2 + q ϕ C , j k s + 1 2 = R ^ C , j k s ,
h 2 12 ( e C , j ) t , x x ¯ k s + ( e C , j ) t k s + η ( E C , j ) x x ¯ k s + 1 2 + q h 2 12 ( ψ C , j ) x x ¯ k s + 1 2 + q ψ C , j k s + 1 2 = R ˜ C , j k s .
Based on the above set of error equations, we obtain the following error estimation of the coarse mesh solution.
Theorem 1.
Suppose that the exact solution u n = v n + i w n to the initial boundary value problem Equation (1) is sufficiently smooth and let U C n = V C n + i W C n be the numerical solution on the time coarse mesh. Then, there exist a positive constant M independent of h , τ C such that
u n U C n L 2 M ( τ C 2 + h 4 ) .
Proof. 
(I) The proof contains two cases. First, we consider the case of n = k s , ( k = 1 , , N ) . For simplification, we will omit the subindex j and the mark C of coarse mesh in Equations (15) and (16). Taking the inner product ( · , · ) on both sides of Equation (15) with E n + 1 + E n , we obtain
h 2 12 τ | E x n + 1 | L 2 2 | E x n | L 2 2 1 τ E n + 1 L 2 2 E n L 2 2 2 η ( e x n + 1 2 , E x n + 1 2 ) q h 2 6 ( ϕ x n + 1 2 , E x n + 1 2 ) + 2 q ( ϕ n + 1 2 , E n + 1 2 ) = 2 ( R ^ n , E n + 1 2 ) .
Using Lemma 1 and Cauchy–Schwarz inequality, we obtain
E n + 1 L 2 2 h 2 12 | E x n + 1 | L 2 2 + 2 η τ ( e x n + 1 2 , E x n + 1 2 ) E n L 2 2 h 2 12 | E x n | L 2 2 + 4 q τ 3 ϕ n + 1 2 L 2 2 + τ ( 4 q 3 + 1 ) E n + 1 2 L 2 2 + τ | R ^ n | 2 .
Using two order Taylor expansion at a point ( V n + 1 2 , W n + 1 2 ) for g ( v n + 1 2 , w n + 1 2 ) , we have
ϕ n + 1 2 L 2 2 2 g x ( v * , w * ) ( v n + 1 2 V n + 1 2 ) L 2 2 + 2 g y ( v * , w * ) ( w n + 1 2 W n + 1 2 ) L 2 2 2 L 2 v n + 1 2 V n + 1 2 L 2 2 + 2 L 2 w n + 1 2 W n + 1 2 L 2 2 .
Combining Equation (17) with Equation (18), we then have
E n + 1 L 2 2 h 2 12 | E x n + 1 | L 2 2 + 2 τ η ( e x n + 1 2 , E x n + 1 2 ) E n L 2 2 h 2 12 E x n L 2 2 + 8 M q τ 3 e n + 1 2 L 2 2 + τ ( 4 q + 1 ) M E n + 1 2 L 2 2 + τ | R ^ n | 2 .
Similarly, taking the inner product ( · , · ) on both sides of Equation (16) with e n + 1 + e n , and then using Lemma 1, Cauchy–Schwarz inequality and Taylor expansion for function g, we can obtain
e n + 1 L 2 2 h 2 12 | e x n + 1 | L 2 2 2 τ η ( E x n + 1 2 , e x n + 1 2 ) e n L 2 2 h 2 12 | e x n | L 2 2 + 8 M q τ 3 E n + 1 2 L 2 2 + τ ( 4 q + 1 ) M e n + 1 2 L 2 2 + τ | R ˜ n | 2 .
summing from 0 to n 1 in Equations (19) and (20), respectively, and then adding the two inequalities, we have
2 3 M τ C u n U C n L 2 2 M τ C p = 0 n 1 u p U C P L 2 2 + 2 τ C p = 0 n 1 | R p | 2 .
By taking τ C small enough so that τ C < 2 3 M and applying Lemma 2, we obtain u n U C n L 2 M ( τ C 2 + h 4 ) . Further, noticing that n = k s , then we have
u k s U C k s L 2 M ( τ C 2 + h 4 ) .
(II) The second case is n = k s l , ( l = 1 , , k 1 , and k = 1 , 2 , , N ) . Based on the Lagrange’s interpolation formula, we obtain
u k s l = t k s l t k s t ( k 1 ) s t k s u ( k 1 ) s + t k s l t ( k 1 ) s t k s t ( k 1 ) s u k s = l s u ( k 1 ) s + ( 1 l s ) u k s + u ( η ) 2 ( t t ( k 1 ) s ) ( t t k s ) , η ( t ( k 1 ) s , t k s ) .
Subtracting Equations (9) and (22), we can have
u k s l U C k s l = l s ( u ( k 1 ) s U C ( k 1 ) s ) + ( 1 l s ) ( u k s U C k s ) + u ( η ) 2 ( t t ( k 1 ) s ) ( t t k s ) .
Using (21) and triangle inequality, we obtain u k s l U C k s l L 2 M ( τ C 2 + h 4 ) . In addition to synthesizing the above two cases, we then obtain the result of Theorem 1. □
Next, we give the convergence result on the time fine mesh. Letting e F , j n = v j n V F , j n , E F , j n = w j n W F , j n , ( 1 j J 1 , 0 n N ) , then from Equations (5), (10) and (11), we obtain
( E F , j ) t n h 2 12 ( E F , j ) t , x x ¯ n + η ( e F , j ) x x ¯ n + 1 2 + q h 2 12 g ( v j n + 1 2 , w j n + 1 2 ) Θ ^ j x x ¯ + q g ( v j n + 1 2 , w j n + 1 2 ) Θ ^ j = R ^ F , j n ,
( e F , j ) t n + h 2 12 ( e F , j ) t , x x ¯ n + η ( E F , j ) x x ¯ n + 1 2 + q h 2 12 g ( w j n + 1 2 , v j n + 1 2 ) Θ ˜ j x x ¯ + q g ( w j n + 1 2 , v j n + 1 2 ) Θ ˜ j = R ˜ F , j n ,
where
g ( v j n + 1 2 , w j n + 1 2 ) Θ ^ j = g ^ x e F , j n + 1 2 + g ^ y E F , j n + 1 2 + 1 2 g ^ x x * e C , j n + 1 + e F , j n 2 2 + 1 2 g ^ y y * E C , j n + 1 + E F , j n 2 2 + 1 2 g ^ x y * e C , j n + 1 + e F , j n 2 E C , j n + 1 + E F , j n 2 , g ( w j n + 1 2 , v j n + 1 2 ) Θ ˜ j = g ˜ x E F , j n + 1 2 + g ˜ y e F , j n + 1 2 + 1 2 g ˜ x x * E C , j n + 1 + E F , j n 2 2 + 1 2 g ˜ y y * e C , j n + 1 + e F , j n 2 2 + 1 2 g ˜ x y * e C , j n + 1 + e F , j n 2 E C , j n + 1 + E F , j n 2 ,
and
v ¯ j n + 1 2 = V C , j n + 1 + V F , j n 2 , w ¯ j n + 1 2 = W C , j n + 1 + W F , j n 2 , g ^ x = g x ( v ¯ j n + 1 2 , w ¯ j n + 1 2 ) , g ^ y = g y ( v ¯ j n + 1 2 , w ¯ j n + 1 2 ) , g ^ x x * = g x x ( v j * , w j * ) , g ^ y y * = g y y ( v j * , w j * ) , g ^ x y * = g x y ( v j * , w j * ) , g ˜ x = g x ( w ¯ j n + 1 2 , v ¯ j n + 1 2 ) , g ˜ y = g y ( w ¯ j n + 1 2 , v ¯ j n + 1 2 ) , g ˜ x x * = g x x ( w j * , v j * ) , g ˜ y y * = g y y ( w j * , v j * ) , g ˜ x y * = g x y ( w j * , v j * ) .
Based on the above set of error equations, we then obtain the following error estimation of the fine mesh solution.
Theorem 2.
Suppose that the exact solution u n = v n + i w n to the initial boundary value problem Equation (1) is sufficiently smooth and let U F n = V F n + i W F n be the numerical solution on the time fine mesh. Then, there exists a positive constant M independent of h , τ C , τ F such that
u n U F n L 2 M τ F 2 + τ C 4 + h 4 .
Proof. 
Omitting the subindex j and taking the inner product ( · , · ) on both sides of Equation (23) with E F n + 1 + E F n , we have
1 τ F E F n + 1 L 2 2 E F n L 2 2 h 2 12 τ F | E F , x n + 1 | L 2 2 | E F , x n | L 2 2 2 η ( e F , x x ¯ n + 1 2 , E F n + 1 2 ) = q h 2 6 ( g ^ x e F n + 1 2 ) x x ¯ , E F n + 1 2 + 2 q ( g ^ x e F n + 1 2 , E F n + 1 2 ) + q h 2 6 ( g ^ y E F n + 1 2 ) x x ¯ , E F n + 1 2 + 2 q ( g ^ y E F n + 1 2 , E F n + 1 2 ) + q h 2 12 g ^ x x * ( e C n + 1 + e F n 2 ) 2 x x ¯ , E F n + 1 2 + q g ^ x x * ( e C n + 1 + e F n 2 ) 2 , E F n + 1 2 + q h 2 12 g ^ y y * ( E C n + 1 + E F n 2 ) 2 x x ¯ , E F n + 1 2 + q g ^ y y * ( E C n + 1 + E F n 2 ) 2 , E F n + 1 2 + q h 2 6 g ^ x y * ( e C n + 1 + e F n 2 E C n + 1 + E F n 2 ) x x ¯ , E F n + 1 2 + q g ^ x y * ( e C n + 1 + e F n 2 E C n + 1 + E F n 2 ) , E F n + 1 2 2 ( R ˜ F n , E F n + 1 2 ) = i = 1 10 T i 2 ( R ˜ F n , E F n + 1 2 ) ,
For each term on the right side of Equation (25), we estimate them as follows:
| T 1 | = | q h 2 6 ( g ^ x e F n + 1 2 ) x x ¯ , E F n + 1 2 | = | q h 2 6 ( g ^ x e F n + 1 2 ) x , E F , x n + 1 2 | M h 2 | ( g ^ x e F n + 1 2 ) x | L 2 | E F , x n + 1 2 | L 2 M g ^ x e F n + 1 2 L 2 E F n + 1 2 M e F n + 1 2 L 2 E F n + 1 2 L 2 ,
| T 2 | = | 2 q ( g ^ x e F n + 1 2 , E F n + 1 2 ) | M e F n + 1 2 L 2 E F n + 1 2 L 2 ,
where the assumption max ( x , y ) R 2 | g x | + | g y | L , Cauchy–Schwarz inequality and Lemma 1 are used. Similarly, we also have
| T 3 | + | T 4 | M E F n + 1 2 L 2 2 , i = 5 10 | T i | M ( e C n + 1 ) 2 L 2 + ( e F n ) 2 L 2 + ( E C n + 1 ) 2 L 2 + ( E F n ) 2 L 2 E F n + 1 2 L 2 , | 2 ( R ^ F n , E F n + 1 2 ) | M | R ^ F n | E F n + 1 2 L 2 .
Then, from Equations (26)–(28), we obtain
[ E F n + 1 L 2 2 E F n L 2 2 ] h 2 12 | E F , x n + 1 | L 2 2 | E F , x n | L 2 2 2 τ F η ( e F , x x ¯ n + 1 2 , E F n + 1 2 ) M τ F { E F n + 1 2 L 2 2 + e F n + 1 2 L 2 2 + ( e C n + 1 ) 2 L 2 2 + ( e F n ) 2 L 2 2 + ( E C n + 1 ) 2 L 2 2 + ( E F n ) 2 L 2 2 + | R ^ F n | 2 } .
Taking the inner product on both sides of Equation (24) with e F n + 1 + e F n , and then in an entirely analogous manner, a similar estimate may be obtained as follows.
[ e F n + 1 L 2 2 e F n L 2 2 ] h 2 12 | e F , x n + 1 | L 2 2 | e F , x n | L 2 2 + 2 τ F η ( E F , x x ¯ n + 1 2 , e F n + 1 2 ) M τ F { E F n + 1 2 L 2 2 + e F n + 1 2 L 2 2 + ( e C n + 1 ) 2 L 2 2 + ( e F n ) 2 L 2 2 + ( E C n + 1 ) 2 L 2 2 + ( E F n ) 2 L 2 2 + | R ˜ F n | 2 } .
Adding Equations (29) and (30) and summing from n = 0 to m, we obtain
u m U F m L 2 2 M τ F p = 0 m 1 u p U F p L 2 2 + M τ F p = 0 m ( e C p ) 2 L 2 2 + ( E C p ) 2 L 2 2 + M τ F p = 0 m 1 | R F p | 2 + M τ F p = 0 m 1 ( e F p ) 2 L 2 2 + ( E F p ) 2 L 2 2 .
Here we have used Lemma 1 and the assumption that τ F is small enough. Furthermore, we use the technique shown in [48,49] and Lemma 2 to obtain the conclusion. □

5. Numerical Results

In this section, we present two numerical examples to illustrate the efficiency of the algorithm discussed in Section 4.

5.1. Single Soliton Solution to the NLS Equation

In order to test the accuracy of the algorithm presented in Section 4, Equation (1) with the coefficient η = 1 , q = 2 and the exact solution [24]
u ( x , t ) = sech ( x 4 t ) exp ( 2 i x 3 i t )
is solved by time two-mesh (TT-M) CD scheme Equations (6)–(12) and standard nonlinear implicit (SNI) CD scheme Equations (6)–(8) at the domain of ( t , x ) ( 0 , 1 ] × [ 30 , 30 ] , respectively. The NLS Equation (1) has an infinite number of conservation laws including, e.g.,
Q = + | u ( x , t ) | 2 d x = + | φ ( x ) | 2 d x , E = + | u x | q 2 | u | 4 d x = + | φ x | q 2 | φ | 4 d x .
Further, the numerical invariants are evaluated as
Q j = 0 J 1 | U j n | 2 h , E j = 0 J 1 | ( U j ) x n | 2 q 2 | U j n | 4 h .
Let U F and U S be the numerical solutions of the TT-MCD scheme and the SNI-CD scheme, respectively. Here, we also used some notations
E T T M ( τ , h ) = u N U F N L 2 , E S N I ( τ , h ) = u N U S N L 2 , R a t e T T M t = log 2 E T T M ( 2 τ , h ) E T T M ( τ , h ) , R a t e T T M x = log 2 E T T M ( τ , 2 h ) E T T M ( τ , h )
to denote the convergence rates of the TT-MCD scheme in time and space, respectively. Similarly, notations R a t e S N I t and R a t e S N I x are defined in the SNI-CD scheme.
In Table 1, the discrete L 2 -norm errors, convergence rates in time and the time cost of the TT-MCD scheme and the SNI-CD scheme are given, respectively. These data are obtained by taking fixed the space step h = 0.02 and changed the time step τ C = 5 τ F = 1 / 4 , 1 / 8 , 1 / 16 , 1 / 32 . Further, Table 2 presents the discrete L 2 -norm errors, convergence rates in space and the time cost of the two schemes by taking fixed τ C = 1 / 50 , τ F = 1 / 2500 and changed h = 1 / 2 , 1 / 4 , 1 / 8 , 1 / 16 . From Table 1 and Table 2, we observe that the errors of the two schemes are almost identical and the temporal and spatial convergence rates of the both schemes are nearly approach two and four, respectively, which are in agreement with our theoretical results. Furthermore, from Table 1 and Table 2, one can also clearly that our TT-MCD scheme has much lower time cost than the SNI-CD scheme.
The curves of real and imaginary parts of the TT-MCD and exact solutions at t = 1.0 are shown in Figure 1, which indicates that our numerical solution and the exact solution are in good agreement. The numerical invariant values are plotted in Figure 2, which shows that our method preserves the two conservation laws. A comparison of L 2 norm errors of the original TT-M method and its of the proposed TT-M method at t = 1 with τ C = 0.1 , τ F = 0.01 , h = 0.1 is shown in Figure 3, which implies that our method can improve the calculation accuracy of fine grid solutions.

5.2. The Interaction of Two Solitons for the NLS Equation

In this test problem, we investigate the interaction of two solitary wave propagation. The initial and boundary conditions are, respectively, given by [17]
u ( x , 0 ) = sech ( x + 15 ) exp ( 2 i x ) + 1.5 sech ( 1.5 x 7.5 ) exp ( 2 i x ) ,
and
u ( 30 , t ) = u ( 30 , t ) = 0 .
This initial condition yields a two-soliton solution. As a result of solitons, after the collision, double solitons preserve their properties such as shape, velocity, and amplitudes, which will be observed at the simulations of double solitons are given in Figure 4. The numerical experiment is performed from t = 0 to t = 6 with τ C = 0.03 , τ F = 0.01 , h = 0.1 . As time progresses, the two solitons are traveling in opposite directions. The faster soliton eventually catches up with the slower one. Then, the two solitons collide and separate, but recover their shapes afterward despite a strongly nonlinear interaction. These results are in qualitative agreement with the behavior predicted by the soliton theory [6]. The evolution of the two invariants is given in Figure 5, in which the charge Q seems to remain constant all the time. The energy E also keeps constant except for a slight change that occurs during the interaction of two solitons. The results given in Figure 5 show that our method preserves the conservation laws for charge and energy.

5.3. Birth of Standing Soliton with the Maxwellian Initial Condition

Theory predict that if
u ( x , 0 ) d x π ,
a soliton u ( x , t ) will appear over time, otherwise the soliton decay away [24]. Here, we consider the birth of soliton with the Maxwellian initial condition [24]:
u ( x , 0 ) = A exp ( x 2 ) , 45 x 45 .
The values of all parameters are chosen to be h = 0.08 , τ C = 0.025 , τ F = 0.005 and q = 2 to exhibit the behaviors of solutions for A = 1 and A = 1.78 and time running up from t = 0 to t = 6 are given in Figure 6 and Figure 7, respectively. It is seen from Figure 6 and Figure 7 that the approximate solution of | u | decay by time increases for A = 1 unless for A = 1.78 soliton’s amplitude, shape, and speed are protected, and the locations of solitons do not change for both cases. In Figure 8, the numerical invariants Q and E for A = 1.78 are plotted. As it is seen undoubtedly from Figure 8 that TT-MCD method produces charge Q and energy E are almost constant.

6. Conclusions

In this article, a TT-MCD algorithm is presented for the one-dimensional nonlinear Shördinger equation. This new TT-MCD algorithm contains three steps of a nonlinear implicit CD system on the time coarse mesh of size τ C , some useful values on the time fine mesh of size τ F , and a linear system on the time fine mesh. Especially, the fine mesh solution, which becomes available, is also used as the initial guess in the third step to improve the calculation accuracy of fine grid solutions. The discrete L 2 -norm convergence result with O ( τ C 4 + τ F 2 + h 4 ) is proved in detail. Three different test problems have been investigated. The performance and accuracy of the algorithm have been shown by investigating calculating the error discrete L 2 -norm and two conservation laws of charge and energy and their relative changes. The obtained results show that the new TT-MCD algorithm can produce numerical solutions of the NLS equation with high accuracy and preserve the conservation laws of charge and energy. Moreover, the computing cost of the TT-MCD method is less than that of the standard nonlinear implicit (SNI) CD scheme. In the near future, we will focus on the extension of the time two-mesh idea to multidimensional nonlinear Shördinger equations combining with alternating direction implicit (ADI) or locally one-dimensional (LOD) techniques.

Author Contributions

Conceptualization, S.H.; methodology, S.H.; software, S.H.; validation, S.H., Y.L. and H.L.; formal analysis, S.H. and Y.L.; writing—original draft preparation, S.H.; writing—review and editing, S.H., Y.L. and H.L.; funding acquisition, S.H., Y.L. and H.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by National Natural Science Foundation of China (12161034), Natural Science Foundation of Inner Mongolia (2020MS01003, 2021MS01018), Program for Innovative Research Team in Universities of Inner Mongolia Autonomous Region (NMGIRT2207).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All the data were computed using our algorithm.

Acknowledgments

We are grateful to the anonymous reviewers for their valuable suggestions and comments.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Bao, W.; Cai, Y. Mathematical theory and numerical methods for Bose-Einstein condensation, Kinet. Relat. Model. 2013, 6, 1–135. [Google Scholar] [CrossRef]
  2. Akhmediev, N.; Soto-Crespo, J.M.; Ankiewicz, A. How to excite a rogue wave. Phys. Rev. A 2009, 80, 043818. [Google Scholar] [CrossRef] [Green Version]
  3. Akhmediev, N.; Eleonskii, V.M.; Kulagin, N.E. Exact first-order solutions of the nonlinear Schrödinger equation. Theor. Math. Phys. 1987, 72, 809–818. [Google Scholar] [CrossRef]
  4. Nikolić, S.N.; Aleksixcx, N.B.; Ashour, O.A.; Belixcx, M.R.; Chin, S.A. Systematic generation of higher-order solitons and breathers of the Hirota equation on different backgrounds. Nonlinear Dyn. 2017, 89, 1637–1649. [Google Scholar] [CrossRef]
  5. Ankiewicz, A.; Soto-Crespo, J.M.; Akhmediev, N. Rogue waves and rational solutions of the Hirota equation. Phys. Rev. E 2010, 81, 046602. [Google Scholar] [CrossRef] [Green Version]
  6. Ablowitz, M.J.; Prinari, B.; Trubatch, A.D. Discrete and continuous nonlinear Schrödinger systems. Bull. New Ser. Am. Math. Soc. 2005, 43, 127–132. [Google Scholar]
  7. Xie, S.S.; Li, G.X.; Yi, S. Compact finite difference schemes with high accuracy for one-dimensional nonlinear Schrödinger equation. Comput. Methods Appl. Mech Engrg. 2009, 198, 1052–1060. [Google Scholar] [CrossRef]
  8. Akrivis, G.D. Finite difference discretization of the cubic Schrödinger equation. IMA J. Numer. Anal. 1993, 13, 115–124. [Google Scholar] [CrossRef]
  9. Dehghan, M.; Taleei, A. A compact split-step finite difference method for solving the nonlinear Schrödinger equations with constant and variable coefficients. Comput. Phys. Commun. 2010, 181, 43–51. [Google Scholar] [CrossRef]
  10. Bao, W.Z.; Cai, Y.Y. Uniform error estimates of finite difference methods for the nonlinear Schrödinger equation with wave operator. SIAM J. Numer. Anal. 2012, 50, 492–521. [Google Scholar] [CrossRef] [Green Version]
  11. Li, X.; Zhang, L.; Wang, S. A compact finite difference scheme for the nonlinear Schrödinger equation with wave operator. Appl. Math. Comput. 2012, 219, 3187–3197. [Google Scholar] [CrossRef]
  12. Wang, T.; Guo, B.; Xu, Q. Fourth-order compact and energy conservative difference schemes for the nonlinear Schrödinger equation in two dimensions. J. Comput. Phys. 2013, 243, 382–399. [Google Scholar] [CrossRef]
  13. Liao, H.; Sun, Z.; Shi, H. Maximum norm error analysis of explicit schemes for two-dimensional nonlinear Schrödinger equations. Sci. Sin. Math. 2010, 4, 827–842. (In Chinese) [Google Scholar]
  14. Wang, H. Numerical studies on the split-step finite difference method for nonlinear Schrödinger equations. Appl. Math. Comput. 2005, 170, 17–35. [Google Scholar] [CrossRef]
  15. Kong, L.H.; Duan, Y.L.; Wang, L.; Yin, X.L.; Ma, Y.P. Spectral-like resolution compact ADI finite difference method for the multi-dimensional Schrödinger equations. Math. Comput. Model. 2012, 55, 1798–1812. [Google Scholar] [CrossRef]
  16. Eskar, R.; Feng, X.L.; Huang, P.Z. Fourth-order compact split-step finite difference method for solving the two and three-dimensional nonlinear Schrödinger equations. Adv. Appl. Math. Mech. 2018, 10, 879–895. [Google Scholar] [CrossRef]
  17. Delfour, M.; Fortin, M.; Payer, G. Finite difference solutions of a Non-linear Schrödinger equation. J. Comput. Phys. 1981, 44, 277–288. [Google Scholar] [CrossRef]
  18. Karakashian, O.; Makridakis, C. A space-time finite element method for the nonlinear Schrödinger equation: The discontinuous Galerkin method. Math. Comp. 1998, 67, 479–499. [Google Scholar] [CrossRef] [Green Version]
  19. Shi, D.Y.; Wang, J.J. Unconditional Superconvergence Analysis of a Crank-Nicolson Galerkin FEM for Nonlinear Schrödinger Equation. J. Sci. Comput. 2017, 72, 1093–1118. [Google Scholar] [CrossRef]
  20. Shi, D.Y.; Liao, X.; Wang, L.L. A nonconforming quadrilateral finite element approximation to nonlinear Schrödinger equation. Acta Math. Sci. 2017, 37, 584–592. [Google Scholar] [CrossRef]
  21. Wang, J.L. A new error analysis of Crank-Nicolson Galerkin FEMs for a generalized nonlinear Schrödinger equation. J. Sci. Comput. 2014, 60, 390–407. [Google Scholar] [CrossRef]
  22. Gong, X.; Shen, L.; Zhou, A. Finite element approximations for Schrödinger equations with applications to electronic structure computations. J. Comput. Math. 2008, 23, 310–327. [Google Scholar]
  23. Bao, W.; Cai, Y.Y. Uniform and optimal error estimates of an exponential wave integrator sine pseudospectral method for the nonlinear Schrödinger equation with wave operator. SIAM J. Numer. Anal. 2014, 52, 1103–1127. [Google Scholar] [CrossRef] [Green Version]
  24. Xu, Y.; Shu, C.W. Local discontinuous Galerkin methods for nonlinear Schrödinger equations. J. Comput. Phys. 2005, 205, 72–77. [Google Scholar] [CrossRef]
  25. Li, M.; Zhao, J.K.; Wang, N.; Chen, S.C. Conforming and nonconforming conservative virtual element methods for nonlinear Schrödinger equation: A unified framework. Comput. Methods Appl. Mech. Eng. 2021, 380, 113793. [Google Scholar] [CrossRef]
  26. Grinstein, F.F.; Rabitz, H.; Askar, A. The multigrid method for accelerated solution of the discretized Schrödinger equation. J. Comp. Phys. 1983, 51, 423–443. [Google Scholar] [CrossRef]
  27. Chang, Q.; Wang, G. Multigrid and adaptive algorithm for solving the nonlinear Schrödinger equation. J. Comp. Phys. 1990, 88, 362–380. [Google Scholar] [CrossRef]
  28. Ignat, L.; Zuazua, E. Numerical dispersive schemes for the nonlinear Schrödinger equation. SIAM J. Numer. Anal. 2009, 47, 1366–1390. [Google Scholar] [CrossRef]
  29. Jin, J.C.; Wei, N.; Zhang, H.M. A two-grid finite-element method for the nonlinear Schrödinger equation. J. Comput. Math. 2015, 33, 146–157. [Google Scholar] [CrossRef]
  30. Chien, C.S.; Huang, H.T.; Jeng, B.W.; Li, Z.C. Two-grid discretization schemes for nonlinear Schrödinger equations. J. Comput. Appl. Math. 2008, 214, 549–571. [Google Scholar] [CrossRef] [Green Version]
  31. Wu, L. Two-grid mixed finite-element methods for nonlinear Schrödinger equations. Numer. Meth. Part. Differ. Equ. 2012, 28, 63–73. [Google Scholar] [CrossRef]
  32. Hu, H.Z.; Chen, Y.P. Numerical solution of two-dimensional nonlinear Schrödinger equation using a new two-grid finite element method. J. Comput. Appl. Math. 2020, 364, 112333. [Google Scholar] [CrossRef]
  33. Tian, Z.K.; Chen, Y.P.; Huang, Y.Q.; Wang, J.Y. Two-grid method for the two-dimensional time-dependent Schrödinger equation by the finite element method. Comput. Math. Appl. 2019, 77, 3043–3053. [Google Scholar] [CrossRef]
  34. Zhang, H.M.; Yin, J.H.; Jin, J.C. A two-grid finite-volume method for the Schrödinger equation. Adv. Appl. Math. Mech. 2021, 13, 176–190. [Google Scholar]
  35. Chen, C.J.; Lou, Y.Z.; Hu, H.Z. Two-grid finite volume element method for the time-dependent Schrödinger equation. Comput. Math. Appl. 2022, 108, 185–195. [Google Scholar] [CrossRef]
  36. Wang, J.J.; Li, M.; Guo, L.J. Superconvergence analysis for nonlinear Schrödinger equation with two-grid finite element method. Appl. Math. Lett. 2021, 122, 107553. [Google Scholar] [CrossRef]
  37. Ignat, L.; Zuazua, E. A two-grid approximation scheme for nonlinear Schrödinger equations: Dispersive properties and convergence. C. R. Acad. Sci. Paris Ser. I 2005, 341, 381–386. [Google Scholar] [CrossRef]
  38. Xu, J. A novel two-grid method for semilinear elliptic equations. SIAM J. Sci. Comput. 1994, 15, 231–237. [Google Scholar] [CrossRef]
  39. Dawson, C.N.; Wheeler, M.F.; Woodward, C.S. A two-grid finite difference scheme for nonlinear parabolic equations. SIAM J. Numer. Anal. 1998, 35, 435–452. [Google Scholar] [CrossRef]
  40. Rui, H.; Liu, W. A two-grid block-centered finite difference method for Darcy-Forchheimer flow in porous media. SIAM J. Numer. Anal. 2015, 53, 1941–1962. [Google Scholar] [CrossRef]
  41. Li, X.; Rui, H. A two-grid block-centered finite difference method for the nonlinear time-fractional parabolic equation. J. Sci. Comput. 2017, 72, 863–891. [Google Scholar] [CrossRef]
  42. Liu, Y.; Yu, Z.D.; Li, H.; Liu, F.W.; Wang, J.F. Time two-mesh algorithm combined with finite element method for time fractional water wave model. Int. J. Heat Mass Transf. 2018, 120, 1132–1145. [Google Scholar] [CrossRef]
  43. Yin, B.L.; Liu, Y.; Li, H.; He, S. Fast algorithm based on TT-M FE system for space fractional Allen-Cahn equations with smooth and non-smooth solutions. J. Comput. Phys. 2019, 379, 351–372. [Google Scholar] [CrossRef] [Green Version]
  44. Liu, Y.; Fan, E.Y.; Yin, B.L.; Li, H.; Wang, J.F. TT-M finite element algorithm for a two-dimensional space fractional Gray-Scott model. Comput. Math. Appl. 2020, 80, 1793–1809. [Google Scholar] [CrossRef]
  45. Wen, C.; Liu, Y.; Yin, B.L.; Li, H.; Wang, J.F. Fast second-order time two-mesh mixed finite element method for a nonlinear distributed-order sub-diffusion model. Numer. Algorithms 2021, 88, 523–553. [Google Scholar] [CrossRef]
  46. Qiu, W.L.; Xu, D.; Guo, J.; Zhou, J. A time two-grid algorithm based on finite difference method for the two-dimensional nonlinear time-fractional mobile/immobile transport model. Numer. Algorithms 2020, 85, 39–58. [Google Scholar] [CrossRef]
  47. Xu, D.; Guo, J.; Qiu, W.L. Time two-grid algorithm based on finite difference method for two-dimensional nonlinear fractional evolution equations. Appl. Numer. Math. 2020, 152, 169–184. [Google Scholar] [CrossRef]
  48. Niu, Y.X.; Liu, Y.; Li, H.; Liu, F.W. Fast high-order compact difference scheme for the nonlinear distributed-order fractional Sobolev model appearing in porous media. 2021; submitted to journal. [Google Scholar]
  49. Chai, L.; Liu, Y.; Li, H.; Gao, W. Fast TT-M fourth-order compact difference schemes for a two-dimensional space fractional Gray-Scott model. 2022; submitted to journal. [Google Scholar]
Figure 1. Real (left) and imaginary (right) parts of exact and numerical solutions at t = 1 with τ C = 0.1 , τ F = 0.01 , h = 0.1 .
Figure 1. Real (left) and imaginary (right) parts of exact and numerical solutions at t = 1 with τ C = 0.1 , τ F = 0.01 , h = 0.1 .
Entropy 24 00806 g001
Figure 2. Numerical charge (Q) and energy (E) from t = 0 to 1 with τ C = 0.1 , τ F = 0.01 , h = 0.1 .
Figure 2. Numerical charge (Q) and energy (E) from t = 0 to 1 with τ C = 0.1 , τ F = 0.01 , h = 0.1 .
Entropy 24 00806 g002
Figure 3. Comparison of L 2 norm errors of the original TT-M method and its of the proposed TT-M method at t = 1 .
Figure 3. Comparison of L 2 norm errors of the original TT-M method and its of the proposed TT-M method at t = 1 .
Entropy 24 00806 g003
Figure 4. 2D (left) and 3D (right) graphics of collision of double solitons with τ C = 0.03 , τ F = 0.01 , h = 0.1 .
Figure 4. 2D (left) and 3D (right) graphics of collision of double solitons with τ C = 0.03 , τ F = 0.01 , h = 0.1 .
Entropy 24 00806 g004
Figure 5. Numerical charge (Q) and energy (E) from t = 0 to 6 with τ C = 0.03 , τ F = 0.01 , h = 0.1 .
Figure 5. Numerical charge (Q) and energy (E) from t = 0 to 6 with τ C = 0.03 , τ F = 0.01 , h = 0.1 .
Entropy 24 00806 g005
Figure 6. Birth of standing solitons for A = 1 at different time t = 0 , 2 , 4 , and t = 6 .
Figure 6. Birth of standing solitons for A = 1 at different time t = 0 , 2 , 4 , and t = 6 .
Entropy 24 00806 g006
Figure 7. Birth of standing solitons for A = 1.78 at different time t = 0 , 2 , 4 , and t = 6 .
Figure 7. Birth of standing solitons for A = 1.78 at different time t = 0 , 2 , 4 , and t = 6 .
Entropy 24 00806 g007
Figure 8. Numerical charge (Q) and energy (E) from t = 0 to 6 for A = 1.78 .
Figure 8. Numerical charge (Q) and energy (E) from t = 0 to 6 for A = 1.78 .
Entropy 24 00806 g008
Table 1. The errors and convergence rates in time with h = 0.02 , τ C = 5 τ F .
Table 1. The errors and convergence rates in time with h = 0.02 , τ C = 5 τ F .
( τ C , τ F ) E TT M ( τ , h ) Rate TT M t CPU Time (s) E SNI ( τ F , h ) Rate SNI t CPU Time (s)
( 1 4 , 1 20 ) 7.2763 × 10 2 139.9 5.5807 × 10 2 332.6
( 1 8 , 1 40 ) 1.5492 × 10 2 2.2317278.6 1.3867 × 10 2 2.0088678.4
( 1 16 , 1 80 ) 3.1757 × 10 3 2.2864568.6 3.4604 × 10 3 2.00271253.0
( 1 32 , 1 160 ) 8.0260 × 10 4 1.98431138.6 8.6496 × 10 4 2.00022195.9
Table 2. The errors and convergence rates in space with τ C = 1 / 50 and τ F = 1 / 2500 .
Table 2. The errors and convergence rates in space with τ C = 1 / 50 and τ F = 1 / 2500 .
h E TT M ( τ , h ) Rate TT M x CPU Time (s) E SNI ( τ F , h ) Rate SNI x CPU Time (s)
1 2 2.3706 × 10 1 28.8 2.3718 × 10 1 51.6
1 4 1.1128 × 10 2 4.413085.8 1.1136 × 10 2 4.4127199.9
1 8 6.7349 × 10 4 4.0464291.3 6.7723 × 10 4 4.0395924.1
1 16 4.2889 × 10 5 3.97301023.9 4.5251 × 10 5 3.90363751.5
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

He, S.; Liu, Y.; Li, H. A Time Two-Mesh Compact Difference Method for the One-Dimensional Nonlinear Schrödinger Equation. Entropy 2022, 24, 806. https://doi.org/10.3390/e24060806

AMA Style

He S, Liu Y, Li H. A Time Two-Mesh Compact Difference Method for the One-Dimensional Nonlinear Schrödinger Equation. Entropy. 2022; 24(6):806. https://doi.org/10.3390/e24060806

Chicago/Turabian Style

He, Siriguleng, Yang Liu, and Hong Li. 2022. "A Time Two-Mesh Compact Difference Method for the One-Dimensional Nonlinear Schrödinger Equation" Entropy 24, no. 6: 806. https://doi.org/10.3390/e24060806

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop