1.
Introduction
Efficient and reliable numerical methods are always urgently needed for nonlinear multi-dimensional problems due to the mass storage and the high computation cost. The split-step method, also known as the time-splitting method, is one kind of efficient skills for solving nonlinear parabolic or Schrödinger-type problems in multi-dimensions.
The split-step skill could be efficiently combined with the (compact) finite difference method [1,2], the finite element method [3,4], the spectral/pseudospectral method [5,6], et al. So the authors of [7] try to combine the skill with the cubic B-spline collocation (3BC) approach, and they formulate the split-step 3BC (SS3BC) method sucessfully. However, the SS3BC method is just second-order accuracy in space, and there is no numerical analysis in [7]. Genarally speaking, the 3BC method has second-order accuracy, and the quintic B-spline collocation (5BC) method is fourth-order [8]. Thus, split-step 5BC (SS5BC) methods are constructed in this paper to improve the accuracy in space, and some analyses are also given.
In this paper, we consider the nonlinear Schrödinger (NLS) equations as follows
with the initial condition
and the periodic boundary condition
where L=(Lx,Ly,Lz), and Lx,Ly and Lz are the periodic lengths respectively in the x,y and z direction. u(x,t) is an unknown complex function, V(x,t) and u0(x) are given functions, α,β are real constants, T>0 and i2=−1.
Computing the inner product of Eq (1.1) with u, and taking the imaginary part, one obtains the following conservation law
The rest of this paper is organized as follows. In Section 2, some preliminaries are introduced, and SS5BC methods are constructed in Section 3. In Section 4, solvability, conservation and linear stability of the schemes are discussed. Numerical experiments are carried out in Section 5, and the present methods are applied to study BECs in Section 6. Finally, some conclusions are given in Section 7.
2.
Preliminaries
We consider Eq (1.1) within x∈Ωd⊆Rd. Take Ω3=[xL,xR]×[yL,yR]×[zL,zR], and xR−xL=Lx,yR−yL=Ly,zR−zL=Lz. Let {xk}Nxk=0⊗{yl}Nyl=0⊗{zm}Nzm=0 be the partition of Ω3, such that
where hx=(xR−xL)/Nx,hy=(yR−yL)/Ny and hz=(zR−zL)/Nz are the step sizes in space, and Nx,Ny and Nz are positive integers. Obviously, Ω1 and Ω2 are reduced forms of Ω3 which could also be partitioned. We divide the interval [0,T] by the partition {tn}Ntn=0, where tn=nτ, τ=T/Nt is the step size in time, and Nt is a positive integer.
For one dimension, let {Bj(x)}Nx+2j=−2 be the quintic B-spline basis functions [8] on the knots {xj}Nxj=0, such that
Similarly, we can define {Bk(y)}Ny+2k=−2 and {Bl(z)}Nz+2l=−2 as the basis functions on the knots {yk}Nyk=0 and {zl}Nzl=0, respectively.
A global approximation solution UN(x,t) of the exact solution u(x,t) could be expressed in terms of the quintic B-spline as
where δj(t) are unknown time dependent parameters which should be determined. According to the property of the quintic B-spline (2.1), we can get the nodal values as follows:
where j=0,1,2,⋯,Nx.
For two dimensions, an approximation solution UN(x,y,t) could be expressed as
where δjk(t) are unknown time dependent parameters. According to (2.1), we can get the nodal value UN(xj,yk,t) as
where j=0,1,2,⋯,Nx and k=0,1,2,⋯,Ny. Unfortunately, Eq (2.9) is complicated, and it is two-dimensional which goes against the dimensionality reduction by the splitting method.
For simplicity, new notations ˜δj,k(t) and ˆδj,k(t) are introduced as follows
So Eq (2.9) could be rewritten as
or
Obviously, either Eq (2.12) or Eq (2.13) is more concise than Eq (2.9). The advantage of the new writing will also be shown in the following sections.
For three dimensions, an approximation solution UN(x,y,z,t) could be expressed as
where δjkl(t) are unknown time dependent parameters.
Denote
where the first subscript j related to x direction is fixed. Similarly, ˆδj,k,l(t) related to y direction and ˇδj,k,l(t) related to z direction could be defined, where the second subscript k and the third subscript l are respectively fixed. Therefore, the nodal value UN(xj,yk,zl,t) could be written as
3.
Numerical methods
Firstly, the second-order Strang splitting [9,10] is applied, and Eq (1.1) could be separated as
So Eq (1.1) could be approximately solved within t∈[tn,tn+1] by solving Eqs (3.1)–(3.3) in sequence.
Multipling Eq (3.1) by ˉu and taking the imaginary part, it follows that
Thus |u|2 in Eq (3.1) is independent of t. So one can take |u(x,t)|2=|u(x,tn)|2. Consequently, it follows from Eq (3.1) that
where t∈[tn,tn+1]. Equation (3.3) could be solved similarly.
3.1. One-dimensional (1D) scheme
For d=1, Eq (3.2) could be written as
Applying the Crank-Nicolson scheme within t∈[tn,tn+1], one obtains
where UnN(x) is the approximation of u(x,tn). Taking x=xj, it follows from Eqs (2.3) and (2.5) that
where rx=τ/h2x.
Consequently, Eqs (3.1)–(3.3) for d=1 could be solved in sequence as follows
where j=0,1,2,⋯,Nx, and n=0,1,2,⋯,Nt−1. Un+1,1N(x) and Un+1,2N(x)=∑Nx+2j=−2δn+1,2jBj(x) are intermediate results.
3.2. Two-dimensional (2D) scheme
For d=2, Eq (3.2) could be written as
The first-order Lie splitting [10] is applied, and one has
As the operators ∂2∂x2 and ∂2u∂y2 are commutable, there is no splitting error here.
Similar to Eq (3.5), one can obtain from Eq (3.10) that
where UnN(x,y) is the approximation of u(x,y,tn). Taking (x,y)=(xj,yk), it follows from Eqs (2.13) and (2.5) that
The above equation is concide benefiting from the new notation ˜δn+1j,k. Moreover, it forms a (Nx+1) system for each value of k which avoids solving a (Nx+1)×(Ny+1) system directly. That is the reason why the author applies the splitting method in this paper.
Similarly, it follows from Eq (3.11) that
where ry=τ/h2y.
Consequently, Eqs (3.1)–(3.3) for d=2 could be solved approximately as follows
where j=0,1,2,⋯,Nx, k=0,1,2,⋯,Ny, and n=0,1,2,⋯,Nt−1. Un+1,1N(x,y) and
are intermediate results.
3.3. Three-dimensional (3D) scheme
For d=3, Eq (3.2) could be written as
It follows from the Lie splitting [10] that
Similar to the 2D case, Eqs (3.1)–(3.3) for d=3 could be solved approximately as follows
where j=0,1,2,⋯,Nx, k=0,1,2,⋯,Ny, l=0,1,2,⋯,Nz, and n=0,1,2,⋯,Nt−1. Un+1,1N(x,y,z) and
are intermediate results.
4.
Solvability, conservation and linear stability
In this section, solvability, conservation and linear stability are considered for the numerical methods. The 1D scheme is discussed in details, and the results could be extended to the 2D and 3D ones similarly.
From Eq (3.7), there are Nx+1 equations with Nx+5 unknows. So four additional equations are required. It follows from the periodic boundary condition (1.3) with d=1 that
Taking x=xL, one reaches
by using Eqs (2.3)–(2.7). It follows from Eqs (4.1)–(4.5) that
Therefore, Eqs (3.7) combined with (4.6) could be rewritten as
where
and
Lemma 4.1. The circulant matrices A and B respectively have eigenvalues as follows
where j=0,1,2,⋯,Nx−1.
Proof. The eigenvalues could be calculated directly (see [11] and the reference therein). □
Theorem 4.1. The solution of 1D SS5BC schemes (3.6)–(3.8) exists and is unique.
Proof. The coefficient matrix of scheme (3.7) is M=iA+10αrxB. Using Lemma 4.1, the eigenvalues of M are
where j=0,1,2,⋯,Nx−1. All the eigenvalues are nonzero, so M is invertible and the solution of scheme (3.7) exists and is unique. Moreover, Eqs (3.6) and (3.8) are respectively obtained from Eqs (3.1) and (3.3) exactly. Therefore, the theorem is proved. □
Similarly, one can prove that the solution of 2D SS5BC scheme (3.12)–(3.15) or 3D scheme (3.20)–(3.24) also exists and is unique.
Lemma 4.2. For any N×N real symmetric matrix C and any complex vector δ=(δ1,δ2,⋯,δN)⊤, δHCδ is real, where δH is the conjugate transpose of δ and N is a positive integer.
Proof. By matrix operation, one has
where cjk is the element of the matrix lying on the intersection of the jth row and the kth column of C. Since C is a real symmetric matrix, δHCδ is real. □
Theorem 4.2. The 1D SS5BC schemes (3.6)–(3.8) conserves the discrete quantity
Proof. It follows from Eqs (3.6) and (3.8) that |Un+1,1N(x)|=|UnN(x)| and |Un+1N(x)|=|Un+1,2N(x)|. So
where n=0,1,2,⋯,Nt−1.
Equation (4.7) is rewritten as
Multiplying Eq (4.12) by [A(δn+1,2+δn+1,1)]H and taking the imaginary part, one has
where AH is the conjugate transpose of A, and AH=A since A is real symmetric. It is obvious that
As A2 is real symmetric and (δn+1,2)HA2δn+1,1 and (δn+1,1)HA2δn+1,2 are conjugate to each other, one gets
By applying Lemma 4.2, one obtains from Eq (4.14) that
Moreover, as AB is a real symmetric matrix, one can obtain from Lemma 4.2 that
It follows from Eqs (4.13), (4.15) and (4.16) that
i.e.,
where
is used. Therefore, it follows from Eqs (4.11) and (4.17) that
Thus, Eq (4.10) is reached. □
Similarly, the 2D SS5BC schemes (3.12)–(3.15) and the 3D schemes (3.20)–(3.24) also respectively preserve the discrete quantity as follows
Next, the linear stability of the SS5BC scheme is considered.
Theorem 4.3. The 1D SS5BC schemes (3.6)–(3.8) is unconditionally stable.
Proof. Substituting UnN=ξneiβ1x and Un+1,1N=ξn+1,1eiβ1x into Eq (3.6), one gets ξn+1,1=G1ξn, where
Similarly, it follows from Eq (3.8) that ξn+1=G3ξn+1,2, where
Equation (3.7) chould be rewritten as
Plugging Un+1,2N=ξn+1,2eiβ1x into the above equation, one has ξn+1,2=G2ξn+1,1, where
So ξn+1=Gξn, where G=G3G2G1. Thus, the 1D SS5BC scheme is unconditionally stable, since |G|=1. □
Similarly, one can obtain that the 2D and 3D SS5BC schemes are also unconditionally stable.
5.
Numerical experiments
Denote
be the maximum error. For convenience, we take N=Nx=Ny=Nz and h=hx=hy=hz. The convergence order is approximated as
where ||e||∞(h1) is the maximum error corresponding to the step size h1.
5.1. Test 1
Take α=12 and β=−1. For d=1, Eq (1.1) has an exact solution
with
For d=2, Eq (1.1) has an exact solution
with
And Eq (1.1) with d=3 has an exact solution
with
The initial condition (1.2) could be given according to the exact solution. Take x∈[0,1]d and T=1. As V(x,t)=V(x) independent of t, we have
in the nonlinear schemes. And the linear schemes are solved by the Douple-Sweep method.
It follows from the results in [12] that
where S3 and S5 are respectively the cubic spline and quintic spline associated with the function f. So the accuracy order of the SS3BC scheme in [7] and the SS5BC scheme in this paper might be O(τ2+h2) and O(τ2+h4), respectively.
The above three examples are applied to verify the convergence order of the proposed SS5BC scheme and the SS3BC scheme in [7]. Thus we take τ=h2 for the SS5BC scheme, and τ=h for the SS3BC one. The numerical results are listed in Tables 1 and 2, respectively. Table 1 shows that all the 1D, 2D and 3D SS5BC schemes are convergent with second-order in time and fourth-order in space, and Table 2 shows that all the 1D, 2D and 3D SS3BC schemes are convergent with second-order both in time and in space. So the proposed SS5BC schemes do improve the accuracy order compared with the SS3BC schemes [7], which is the aim of this paper.
In the above tests, the SS5BC scheme possesses higher order of accuracy than the SS3BC one. However, the coefficient matrix is five diagonal for the former scheme while tridiagonal for the later one, and it seems that the SS5BC scheme might cost more. For further comparison, the computing time is compared between the two kinds of methods. For the above three examples, one attaines ||e||∞<0.002 when the step sizes are free [13]. Take x∈[0,1]d and T=0.5. Table 3 shows that the SS5BC methods are more efficient than the SS3BC ones since the formers cost less time.
The conserved quantity Q(t) is respectively simulated for d=1,2,3, seeing Eqs (4.10), (4.18) and (4.19). Taking x∈[0,1]d,h=0.05,τ=0.02 and T=5, the values of Qn at t=0,1,2,3,4,5 are listed in Table 4. It follows from the table that the 1D, 2D and 3D SS5BC schemes remain the conserved quantity Qn very well.
5.2. Test 2
Take α=12 and β=−1. For d=1, Eq (1.1) has a soliton solution
with
For d=2, Eq (1.1) has a soliton solution
with
For d=3, Eq (1.1) has a soliton solution
with
The initial condition u(x,0) in Eq (1.2) could be given according to the exact solutions. Since V(x,t) can not be integrated exactly, one may apply the following approximation
in the schemes. Take x∈[−5,5]d,t∈[0,1], and τ=h2. The error and convergence order are listed in Table 5. It shows that the 1D, 2D and 3D SS5BC schemes are convergent with order O(τ2+h4).
Taking x∈[−5,10]d,h=0.1,τ=0.02 and T=5, the values of Qn at t=0,1,2,3,4,5 are listed in Table 6. The table shows that the 1D, 2D and 3D SS5BC schemes also keep the conserved quantity Qn well in this test.
Numerical simulations of |u|2 computed by the SS5BC schemes are plotted in Figures 1–3. In Figure 1, the 1D solitary wave transfers from the left to the right as time inceases which is in accordance with the exact one. In Figure 2, the 2D solitary waves at t=0,1,2,3,4,5 are plotted which also agree with the exact ones. For 3D, profiles of |u|2 at x=0,y=2 and z=4 are respectively plotted in Figure 3, which are still consistent with the exact ones.
6.
Numerical applications
Taking α=12 and the trap potential
the NLS equation (1.1) is known as the Gross-Pitaevskii (GP) equation, which is usually used to model the properties of a Bose-Einstein condensate (BEC) at extremely low temperatures [1,14]. For normalization [14], the conserved quantity in Eq (1.4) is required as Q(t)=1 for each t∈[0,T].
For d=1, the initial condition (1.2) is chosen as
The condensate width [14] of 1D BEC is numerically approximated as
where
Take x∈[−8,8],T=10,h=0.2,τ=0.02, and β=−3 in Eq (1.1). The approximated condensate density |u|2 and the condensate width σn are plotted in Figure 4. And the conserved quantity Qn listed in Table 7 is about 1, which simulates Q(t)=1 very well.
For d=2, the condensate widths [14] along the x- and y-axes are respectively approximated as
where
Taking (x,y)∈[−8,8]2,T=10,h=0.2,τ=0.02 and β=−2, two cases are considered as follows:
Case I. Let γy=1. The initial condition (1.2) is chosen as
Case II. Let γy=2. The initial condition is taken as
The approximated condensate widths of Cases I and II are plotted in Figure 5. γy is a ratio of the trap frequencies in x- and y-direction [14]. As γy=1 in Case I, the trap potential (6.1) and also the condensate are isotropic. So the condensate widths along the x- and y-axes should be the same for Case I, which is shown in Figure 5 numerically. The conserved quantities Qn≈1 of the two cases are both given in Table 8.
For d=3, the condensate widths [14] along the x-axis is numerically approximated as
where
Similarly, the condensate widths along the y- and z-axes could be approximated respectively. Take (x,y,z)∈[−8,8]3,T=5,h=0.2 and τ=0.02. The initial condition (1.2) is chosen as
and the following two cases are considered:
Case I. Let β=−0.1,γy=2,γz=4.
Case II. Let β=−1,γy=1,γz=2.
In Figure 6, the approximated condensate widths of Cases I and II are plotted. As γy=1 in Case II, the condensate is symmetric in x- and y-directions, which is shown in Figure 6 that σnx equals σny. In Table 9, the conserved quantities Qn≈1 are listed.
7.
Conclusions
In this paper, the SS5BC schemes are proposed for the one-dimensional and multi-dimensional NLS equations. The new notations are introduced for the 2D and 3D equations in order to make the schemes more brief and accomplishable. The solvability, conservation and linear stability are discussed for the methods. Variable numerical experiments and applications are carried out to prove that the present schemes are reliable and efficient. The convergence order, conserved quantity and solitary wave are verified numerically. Finally, the SS5BC methods are applied to study BECs. It is worth to say that the skills of analysis in this paper could also be applied to the SS3BC schemes, and advanced theoretical analyses are still open which are expected in the future work.
Use of AI tools declaration
The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.
Acknowledgments
This work is supported by the National Natural Science Foundation of China under Grant No. 11701280.
Conflict of interest
The author declares no conflict of interest in this paper.