Vyacheslav A Trofimov1, Evgeny M Trykin1. 1. Department of Computational Methods, Faculty of Computational Mathematics and Cybernetics, Lomonosov Moscow State University, Moscow, Russian Federation.
Abstract
We investigate the effectiveness of using the Rosenbrock method for numerical solution of 1D nonlinear Schrödinger equation (or the set of equations) with artificial boundary conditions (ABCs). We compare the computer simulation results obtained during long time interval at using the finite-difference scheme based on the Rosenbrock method and at using the conservative finite-difference scheme. We show, that the finite-difference scheme based on the Rosenbrock method is conditionally conservative one. To combine the advantages of both numerical methods, we propose new implicit and conditionally conservative combined method based on using both the conservative finite-difference scheme and conditionally conservative Rosenbrock method and investigate its effectiveness. The combined method allows decreasing the computer simulation time in comparison with the corresponding computer simulation time at using the Rosenbrock method. In practice, the combined method is effective at computation during short time interval, which does not require an asymptotic stability property for the finite-difference scheme. We generalize also the combined method with ABCs for 2D case.
We investigate the effectiveness of using the Rosenbrock method for numerical solution of 1D nonlinear Schrödinger equation (or the set of equations) with artificial boundary conditions (ABCs). We compare the computer simulation results obtained during long time interval at using the finite-difference scheme based on the Rosenbrock method and at using the conservative finite-difference scheme. We show, that the finite-difference scheme based on the Rosenbrock method is conditionally conservative one. To combine the advantages of both numerical methods, we propose new implicit and conditionally conservative combined method based on using both the conservative finite-difference scheme and conditionally conservative Rosenbrock method and investigate its effectiveness. The combined method allows decreasing the computer simulation time in comparison with the corresponding computer simulation time at using the Rosenbrock method. In practice, the combined method is effective at computation during short time interval, which does not require an asymptotic stability property for the finite-difference scheme. We generalize also the combined method with ABCs for 2D case.
As is well-known, wide physical phenomena (starting from laser radiation propagation in a nonlinear medium up to quantum mechanics problems and Bose-Einstein condensate (BEC)) are described by the nonlinear Schrödinger equation (or set of the equations). As a rule, its solution can be obtained based on the computer simulation using the finite-difference schemes. They can be conditionally divided on the three types. First, we should emphasize the conservative finite-difference schemes (CFDS) for the nonlinear Schrödinger equation. They were first proposed in [1], and then investigated, in detail, in papers [2-5] and other papers of these authors. These finite-difference schemes are nonlinear ones and, therefore, require an iterative process for their implementation, which leads to additional computation time costs. However, they possess the following evident advantages: the difference analogues of the problem invariants (conservation laws) are preserved. We keep in mind not only the energy conservation law (integral of motion) but also other invariants, in particular the Hamiltonian, which depends on the laser radiation phase. It is fundamental feature for the laser physics problem solution.The second way of the finite-difference scheme construction for the problems under consideration is based on using the split-step method [6-12] (and many other papers), which artificially represent a nonlinear medium by alternating intervals with linear optical properties and with the nonlinear ones. This way does not allow us to construct the completely CFDS, which preserves all of the problem invariants. Usually, one can achieve only a preservation of the energy invariant difference analogue. However, using the iterative process on the stage of solving a nonlinear part of the Schrödinger equation [13-15], one can realize the conservation of the problem Hamiltonian with the first (or second) approximation order with respect to the spatial coordinate along which an optical pulse propagates. Another important disadvantage of this method is the asymptotic stability property absence. This property leads to the necessity of decreasing the spatial coordinate step significantly. The main evident advantage of the split-step method is the absence of an iterative process and the computation is carried out by explicit finite-difference schemes.The third numerical method for the nonlinear Schrödinger equation solution can be conditionally related to the Rosenbrock method [16], which is widely used for the various physical and chemical problems solution [17-31]. As it well-known, it is explicit method, which is obtained by linearizing an implicit finite-difference scheme with a weight 0.5 (Crank-Nikolson scheme). As a result, the computation method becomes two-stages with real or complex parameters. For the nonlinear Schrödinger equation solution, the finite-difference scheme, based on the Rosenbrock method with real coefficient, is the most effective because the solution accuracy in this case is higher, in comparison with the Rosenbrock method, at using the complex coefficient. In particular, this result follows from the computer simulation provided both for the single nonlinear Schrödinger equation or for a set of these equations. The effectiveness of using the Rosenbrock method for the Schrödinger equation set solution is analyzed in this paper also because this case wasn’t widely discussed in the literature.The main evident advantage of using the Rosenbrock method consists in its explicitness. However, this method is non-conservative one, to be more precise, it is conditionally conservative one with respect to some invariants (for example, to the problem Hamiltonian). This method does not also realize the asymptotic stability property of the finite-difference scheme.Previously, a comparison of using the split-step method and the CFDS for the nonlinear Schrödinger equation solution or the set of these equations was performed in the literature in detail. This investigation is presented in particular in [14, 15] and it was demonstrated the advantages of the CFDS. In [9] it is shown the significant changing (about unity) of the third invariant (the Hamiltonian) of the problem at computation on the base of the split-step method. However, these papers do not contain the detailed comparison between the finite-difference scheme based on the Rosenbrock method and the CFDS, developed for the nonlinear Schrödinger equation. This gap is partially filled up below.In the past decade, development of the artificial boundary conditions (ABCs) is the direction for increasing the computer simulation effectiveness. With respect to the Schrödinger equation the ABCs were proposed, for example, in [3-5] [32-39]. As a rule, these boundary conditions (BCs) were realized for the finite-difference schemes based on the split-step method in contrast to the CFDS used by us. Thus, the realization of the finite-difference schemes based on the Rosenbrock method in combination with the ABCs is of interest. The effectiveness of this method is investigated detailed below.One more important topic of this paper is the combined method, developed on the base of both CFDS and Rosenbrock method (see also [40]), with the aim of adding the advantages of the methods under consideration. We propose this method for the most actual problem, namely: the nonlinear Schrödinger equation solution with the ABCs. It should be stressed, this problem didn’t consider in literature before.This paper has the following structure. In paragraph 2 the nonlinear laser pulse propagation problem (or BEC evolution [41-51]) is stated for 1D case with zero-value BCs and the problem invariants (integrals of motions) are stated. We develop the finite-difference scheme based on the Rosenbrock method together with the Thomas algorithm for its solution. We show, that the finite-difference scheme, based on the Rosenbrock method with real coefficient equal 0.5, corresponds to using the half-sum of mesh solutions from the upper and low time layers at an approximation of the equation right part.The main part of paragraph 2 is devoted to the computer simulation results. We analyze changing of the problem invariants in time as well as the convergence of the difference solution at decreasing grid steps. We compare also computer simulation time for using both finite-difference schemes.The structure of the paragraph 3 coincides with the paragraph 2 structure. However, in this paragraph we consider the set of two nonlinear Schrödinger equations.In the paragraph 4 we investigate the effectiveness of using the Rosenbrock method for a solution of the nonlinear Schrödinger equation with ABCs. As it is well-known, the statement of these BCs allows us to increase significantly the computer simulation effectiveness. For evaluating of the Rosenbrock method effectiveness for the problem solution with ABCs we compare the computer simulation results of this problem with the solution, obtained using the CFDS for the problem with zero-value BCs stated in big domain.In paragraph 5 we propose the combined method, based on both methods: CFDS and Rosenbrock method. The effectiveness evaluation is made for the three cases of the optical pulse propagation: linear propagation and nonlinear propagation with positive and negative nonlinear coefficient.In paragraph 6 we compare the effectiveness of using the CFDS, the Rosenbrock method and the combined method for a solution of the 2D nonlinear Schrödinger equation with ABCs. We demonstrate that the Rosenbrock method does not possess enough high effectiveness for the solution of multidimensional problem despite this method is explicit one. However, the combined method used together with original iterative process may be preferable in comparison with using the CFDS.In a conclusion (paragraph 7) we formulate briefly the paper results.
1D Schrödinger equation
Problem statement and problem invariants
As it is well known, the laser pulse propagation in a matter with cubic nonlinear response or its interaction with BEC in 1D case is described by the following dimensionless Schrödinger equation
with initial condition
corresponding to the pulse propagation in a positive direction of z-axis if the following inequality D
χ > 0 is valid, and with the following BCs
for the finite function. In (1) A(t, z) is a complex amplitude; t is a time; z denotes a spatial coordinate; L is its maximal value; is a coordinate of the laser beam center at initial time moment; V = V(z) is a potential, which is , 0 ≤ z ≤ L; m = 2; 6… for the BEC problem and is equal to 0 near the domain boundaries, L is a coordinate of the potential center. Let us note, that in case of the laser pulse propagation analysis, the function V(z) describe changing a dielectric permittivity along the medium. Parameters D, γ, ψ, χ is the real coefficients.With respect to the initial distribution of a complex amplitude we should emphasize two remarks. The first of them relates to using of a Gaussian beam and pulse in physical experiments dealing with laser physics because a laser generates as rule, such beams and phases. The second one is caused by existence of the linear Schrödinger equation solution for initial Gaussian distribution. Using this solution, we can compare numerical and analytical solutions of the equation and estimate an accuracy of various finite-difference schemes.Let us note that often instead of the BCs (3) one requires that the complex amplitude and its derivatives in z-coordinate tends to zero at z → ± ∞:As we believe, for laser physics problem, the BCs (3) is preferable because the initial distribution of an electromagnetic field is always finite one and its propagation is analyzed during bounded interval of time. Therefore, below we will use the BCs (3). However, the problem invariants can be easy to generalize for unbounded domain in z-coordinate if the conditions (4) are valid.The problem (1)–(3) possesses well-known invariants (the conservation laws):
- the first invariant—energy invariant;
- the second invariant—impulse invariant (if V(z) = 0 and additional conditions are valid);
- the third invariant—Hamiltonian. They are essential characteristics for controlling of the difference problem solution accuracy.
Finite-difference scheme construction based on the Rosenbrock method
To develop a finite-difference scheme on the base of the Rosenbrock method [16] for the problem (1) we represent the complex amplitude by using the real and imaginary parts (note, that the modern computer can calculate in a complex arithmetic and this representation is not necessary for a method implementation)In the domain 0 ≤ z ≤ L we introduce a uniform grid:Let us define the grid functions in the grid nodes ω
and write the difference Laplace operator in the internal grid nodesSince the Rosenbrock method was initially using for the ODE solution ([16, 18–29]) therefore, the problem (1) is reduced to the following form
where , and a vector is defined asFor zero-value BCs (3), the grid functions under consideration are equal to zero in the boundary grid nodes: . Therefore, the following equations
can be stated.The next step in the finite-difference scheme constructing is a definition of the mesh function in time domain. For this purpose we introduce a uniform grid along the time coordinate in the domain 0 ≤ t ≤ L:
and define on this mesh the following grid functions
and the vectorsBelow for brevity, we omit the index h in a notation of the mesh functions.According to the Rosenbrock method, the difference solution on the next time layer in the internal grid nodes belonging to ω mesh is computed as
where is a real part of the vector , which is a solution of the linear equationsThe difference function U at zero node of the mesh in time domain is defined by the initial distribution of the complex amplitude.Above a matrix E is the unity matrix, G is the Jacobian for the equations set (12), G(U) is the vector (13) with respect to the mesh function U (17). The parameter β is a complex one equal or the real one equal . These values of the parameter β are examinated in [17-29]. The vector has the following componentsIt should be stressed, that in our opinion the one-stage Rosenbrock scheme with parameter corresponds to the Eq (12) right part approximation by the half-sum of the mesh functions from the upper and current time layers (so called, the Crank-Nikolson scheme). This type of the approximation is preferable for the nonlinear Schrödinger equation with a cubic nonlinear response because it allows us to achieve the conservative property with respect to the Hamiltonian (the third invariant (7)). Therefore, we discuss this case in detail with the aim to represent the solution on the upper time layer (let’s denote this solution as ) in the following form
where Y denotes the solution on the previous time layer. Then, let’s represent the function as the Taylor expansion
and substitute the Eqs (22) in (21). As a result, we obtain the following equation
and rewrite this equation in following form:
that means, that we obtain the Rosenbrock scheme with the parameter :
(compare with the Eqs (18) and (19)). This construction of the Rosenbrock scheme and the representation (24) explains the conditional conservatism of the finite-difference scheme, based on the Rosenbrock method, for the nonlinear Schrödinger equation.To solve the Eq (19), let’s represent the vector and the coefficient β in the following wayThen, the Eq (19) can be rewritten asBelow, for clearness we write the Eq (27) in the component-wise form
which can be also rewrite in the matrix formIn (29) the matrices Q, B, C are defined asThe right parts of Eq (29) are written in the following formAn effective method for solving the Eq (29) is the Thomas algorithm. According to this method, the solution can be found in following way
where α is a matrix of dimension (4x4); ς is a vector of dimension 4, which are computed as followsThe finite-difference scheme based on the Rosenbrock method possesses the second order of approximation on the spatial coordinate and the first order of approximation on the time coordinate. This scheme possesses also a property of the conditional conservatism, as it will be shown below.
Conservative finite-difference scheme
Let us use the same grids, which are written above, and define the mesh functions:Then, let’s write following two-layers scheme for the Eq (1):
with initial condition
and BCs:The finite-difference scheme (34–36) is nonlinear one, that is why for its solution we use an iteration process in following way:The BCs for the equations are:The mesh function on the upper time layer at zero iteration (s = 0) is chosen asThe iteration process is stopped if the following condition, for example, is valid
where are the real constants.Let us rewrite the Eq (37) in the matrix form:
is a vector of dimension 2, which has the form:To solve this equations set we use the Thomas algorithm also. According to this method, the Eq (41) solution can be written in following way
where σ and φ are computed in following way:
The computer simulation results
Conservatism investigation of the finite-difference scheme based on the Rosenbrock method
For brevity, we define following notations: index Ros1 denotes a finite-difference scheme based on the Rosenbrock method with parameter β = 0.5 + 0.5ı; index Ros2 denotes the finite-difference scheme based on the Rosenbrock method with parameter β = 0.5. Index C denotes the CFDS. Correspondingly, the results obtained using considered finite-difference schemes we define as . We compare these results with the aim to demonstrate the efficiency of using the Rosenbrock method. In particular, we analyze the difference between the grid functions:For the effectiveness estimation of the finite-difference schemes we analyze changing the invariants between their values at time moment t = L and at initial time moment:Let us define also the maximal intensity on the time layer m in the following way:The parameters D, χ at the computer simulation is equal to D = 1.0, χ = 0 (the pulse does not move). As a rule, the evolution of the solution is analyzed during 10 dimensionless units (L = 10.0) if it’s not emphasized and maximal value of the spatial coordinate is equal to 40 dimensionless units (L = 40.0). The initial distributions center placed in section It allows us to analyze also the asymptotic stability property of finite-difference scheme because this time interval is big enough for the problem under consideration with chosen parameters. In the numerical simulation we use also the following values of the iteration parameters and we choose the parameters of the potential as L = 20.0, m = 2.In Fig 1 the invariant deviation in depending on the nonlinear coefficient is shown. We see that with increasing of the nonlinearity coefficient, the inaccuracy for the first and third invariants computation increases. The greatest invariants deviation is observed for the positive value of the parameter ψ, that corresponds to the optical pulse self-focusing.
Fig 1
The dependence of δI1(a) and δI3(b) from the nonlinear coefficient ψ for the parameters γ = 0 and 1, and the mesh steps τ = h = 0.01.
Fig 2 demonstrates the invariant deviation depending on the mesh step h in time moment t = 10. We emphasize, that the similar results obtained using the finite-difference schemes under consideration for the various parameter values. We see that the Hamiltonian is conserved by the Rosenbrock method with the complex coefficient β for h ≤ 0.05 at computer simulation of the laser pulse propagation in a medium with self-focusing nonlinear response and potential equal unity. However, with increasing the nonlinear coefficient and duration of a considered time interval, the invariant deviation for the solution, obtained using Rosenbrock method, increases faster in comparison with the corresponding values, obtained using the CFDS (Fig 3).
Fig 2
The dependence of δI1(a) and δI3(b) from the mesh step h for the parameter ψ = 5.0 and the mesh step τ = 0.01 at the time moment t = 10.
Fig 3
The evolution of the first δI1 (a) and the third δI3 (b) invariant deviation in time, computed using various methods for the parameters ψ = 10.0 (solid line), 15.0 (dotted line), γ = 1.0, h = τ = 0.01.
The invariants changing also occurs for the computation results obtained on the base of the CFDS for time step τ = 0.01. It is due to chosen iteration parameters. The Hamiltonian changing depicted in Fig 2b, in our opinion, can be explained by the finite-difference scheme spectral properties: with increasing the mesh step on z-coordinate a number of the difference solution spectral components decreases.For practice, it is of interest the first invariant and Hamiltonian evolution in time, which is presented in Figs 3 and 4, because they define the problem solution and also the maximal solution intensity. Note, that in Fig 3 the invariants changing increases with the time. However, the finite-difference scheme Ros2 has the lower deviation in comparison with the finite-difference scheme Ros1. Non-conservation of the invariants affects to the laser pulse maximal intensity evolution, which is shown in Fig 4. As it is well-seen, it has the oscillating character for the process (γ = 1). The Schrödinger equation solution, obtained using the CFDS, saves the oscillation period in contrast to the solution, obtained using the finite-difference scheme based on the Rosenbrock method. In the last case, the increasing oscillation period at growing the computation time takes place. Moreover, it should be stressed, that for the solution, obtained using the CFDS, the maximal intensity deviation is substantially less and it corresponds to the iterative process accuracy. Therefore, the Rosenbrock method accumulates the computation errors in time.
Fig 4
The evolution of the maximal intensity in time, computed using various methods for the parameters ψ = 10.0(a), 15.0(b), γ = 1.0, h = τ = 0.01.
Let us consider the influence of the external potential on the problem invariant violations at other fixed parameters: L = 10.0, h = τ = 0.01. This dependencies are shown in Figs 5 and 6 and in Table 1 for various values of the nonlinear coefficient (ψ). We see in Fig 5 that the first and third invariants errors grow with increasing of the parameter |γ| and the maximal deviation occurs for the negative parameter γ. At the weak nonlinearity (ψ = 1) and positive parameter γ, the invariants deviations at using the finite-difference schemes based on Rosenbrock method is less than the corresponding values at using the CFDS. This strange feature causes by chosen iteration process parameters.
Fig 5
The invariant deviation δI1(a) and δI3(b) in dependence of the parameter γ at time moment t = 10 and parameter ψ = 1.0 and for the mesh steps h = τ = 0.01.
Fig 6
The invariant deviation δI1(a) and δI3(b) in dependence of the parameter γ for the fixed parameters ψ = 10.0, L = 10.0, L = 40.0 and the mesh steps h = τ = 0.01.
Table 1
The first I1 and third I3 invariant deviation, computed for the mesh steps τ = 0.05 and h = 0.01 at the time moment t = 10 for the parameter ψ = 5.0.
Ros1
Ros2
C
δI1
γ = 0
0.0683993
0.0303243
0.0109565
γ = 1
0.1785331
0.0875587
0.0150573
δI3
γ = 0
0.1313467
0.0707009
0.0263863
γ = 1
0.5269990
0.2849560
0.0527133
With increasing the nonlinear coefficient up to ψ = 5.0 (Table 1) or ψ = 10.0 (Fig 6) the Rosenbrock schemes preserve the invariants essentially worse. So, Table 1 demonstrates that at ψ = 5.0 and the external potential absence, the third invariant I3 preserves 6 times worse at using the finite-difference scheme Ros1 and 3 times worse at using the finite-difference scheme Ros2 in comparison with computation on the base of the CFDS. If the external potential is preset then the Hamiltonian changes even more: the error of invariant computation increases to 10 or 5 times if a computer simulation is provided on the base of the schemes Ros1 and Ros2, correspondingly. The first invariant changing for the Rosenbrock schemes also becomes unacceptable. Further increasing of the parameter ψ (see Fig 6) results in tens times enhancement of the invariant errors at using the finite-difference schemes Ros1 and Ros2. However, the corresponding invariant deviation is insignificant at using the CFDS. This fact is a consequence of the Rosenbrock method conditional conservatism if the optical pulse propagation in a nonlinear medium is analyzed. Therefore, with decreasing the time step, the invariant deviations for numerical solutions, obtained using the Rosenbrock methods, tend to the corresponding values, obtained using the CFDS. We demonstrate this feature in Table 2: for the time step τ = 0.001 the first invariant and Hamiltonian deviations occurring at using the Rosenbrock methods and the CFDS have the similar order of magnitude and numerical solutions for all methods coincide each other. However, we stress that the numerical solution of the problem possesses enough high accuracy if a computation is provided on the base of the CFDS with time step τ = 0.01.
Table 2
The invariant deviation for parameters ψ = 20.0, γ = −1.0 and mesh step h = 0.01 depending on the time step.
Scheme
δI1(τ = 0.01)
δI3(τ = 0.01)
δI1(τ = 0.001)
δI3(τ = 0.001)
Ros1
0.152964
4.592049
0.00039
0.012824
Ros2
0.1067
2.523858
0.000147
0.002358
C
0.000933
0.010421
0.000831
0.0028492
Thus, at the fixed mesh step h and fixed time interval we can chose the time step τ for the Rosenbrock method in such a way, that the invariants preserve with sufficient high accuracy and the numerical solution obtained using this method tends to the corresponding solution, obtained using the CFDS. This statement is confirmed, in particular, in Fig 7 and Table 3. Essentially, that the solutions, obtained using the CFDS for the time steps τ = 0.01 and τ = 0.001, are practically identical each other. So, for this scheme can obtain the accurate result of a computation at using the mesh step on time coordinate equal τ = 0.01, which allows to decrease significantly the computation time. Therefore, the computation efficiency is more high for the CFDS.
Fig 7
The intensity profile |A|2, depicted for the coordinate interval 17.0 ≤ z ≤ 23.0 at the time moment t = 1.0 and computed for the parameters ψ = 20.0, γ = −1.0 and the time steps τ = 0.01(a), 0.001(b).
Table 3
The maximal solution difference, obtained using the finite-difference scheme based on the Rosenbrock method and the CFDS.
τ
δA12
δAC1
δAC2
0.01
2.268552552
2.610536552
0.341984
0.001
0.011948
0.011374
0.022975
Computation time
One of the most important feature of the finite-difference scheme is the time spent for the problem solution. In Table 4 the computation time at using the CFDS and the scheme Ros1 is shown depending on the grid steps for the unchangeable problem parameters. Let us note that the computation time doesn’t exceed 1 second at the time step τ = 0.1 and any mesh steps h under consideration. However, these results possess poor accuracy. Increasing a grid node number leads to essentially increasing the computation time for the Rosenbrock method in comparison with computation time spent by the CFDS. The required accuracy of the numerical solution achieved at the grid steps h = τ = 0.01 for the CFDS while the Rosenbrock method provides the similar accuracy only at the grid steps equal h = τ = 0.001 (or less than this value), which leads to increasing the computation time by 2 order of magnitude.
Table 4
The computation time in dependence on the grid steps τ, h at using the finite-difference scheme based on the Rosenbrock method and the CFDS for the parameters L = 40.0, t = 10.0, ψ = 10.0, γ = 1.0.
τ
h
Rosenbrock method Ros1 (sec)
Conservative f-d scheme (sec)
0.05
0.1
0.28
0.10
0.05
0.55
0.089
0.01
2.85
1.53
0.001
28.89
15.57
0.01
0.1
1.50
0.42
0.05
2.84
2.57 (4 iterations)
0.01
14.35
12.31 (4 iterations)
0.001
145.39
123.05 (4 iterations)
0.001
0.1
13.75
4.15
0.05
27.35
9.28 (2 iterations)
0.01
132.50
25.93
0.001
1454.13
338.52
It should be stressed, that the comparable computation time in Table 4 for both schemes at using the time step τ = 0.01 occurs because of the iteration process presence () for the CFDS and this requires certain iteration number, which is shown in the brackets of last column.
The set of 1D Schrödinger equation
Problem statement and invariants
The Rosenbrock method application for a solution of the Schrödinger equation set is considered for the classic problem of nonlinear optics—the second harmonic generation (SHG). Under the phase matching condition of the interacting waves, this problem is described by the set of the following dimensionless Schrödinger equations
with initial conditions
and BCs
for the finite distributions of the complex amplitudes. As we stressed above, often instead of BCs (50) one states that the complex amplitude and its derivatives in z-coordinate tends to zero at z → ∞:In addition to the definitions introduced above, let us note, that in (48) A1 = A1(t, z), A2 = A2(t, z) are the complex amplitudes of the interacting laser pulses and the parameters D1, D2, η are the real coefficients.The problem (48)–(50) has the well-known invariants (the conservation laws):
is the first invariant(energy invariant);
is the third invariant(Hamiltonian).
The finite-difference scheme construction based on the Rosenbrock method for the Schrödinger equation set
As in previous consideration let’s represent the complex amplitudes by using real and imaginary parts
in nodes of the grid ω we define the following mesh functionsFor the equation set (48) solution let’s write the following ODE set
where the function has the following form
and the vector computed as followsIn (56) and (57) we do not consider boundary nodes because of using the zero-value BCs: .Let us define the initial distribution of the complex amplitude at using the definitions introduced aboveNow we introduce on the grid ω the following mesh functions
and vectorsBelow, for brevity, we omit the index h in notation of the mesh functions.The solution on the next time layer computed using (18), (19) with the function G(U) defined in (57). Function G is the corresponding Jacobian. The equation set is solved by using the Thomas algorithm, similar to case of the single Schrödinger Eqs (31) and (32). Obviously, at the solution of the Schrödinger equation set, the matrix dimension as well as vector dimension changes only.
The CFDS construction for the Schrödinger equation set
Let us use the same grids, which are written above, and introduce the following definitions:Using these notations, we write for Eq (48) the following two-layers implicit scheme:
with initial conditions
and BCsBecause the finite-difference scheme (62–64) is nonlinear one, we use for its solution the following iteration process:The BCs on iteration is written in the formThe iteration process is stopped if the following inequality
is valid, where are real constant.The solution method of the difference Eq (65) is the similar to solution of the Eqs (41)–(44) considered above.
Computer simulation results
The method efficiency we evaluate with using the norms:
which characterize the corresponding solution deviations from each other.
The illustration of Rosenbrock scheme conditional conservatism for the set of 1D Schrödinger equations
The conditional conservatism of the finite-difference scheme based on the Rosenbrock method, is demonstrated for the parameters and the following parameters of the potential L = 20.0, m = 2 at time moment t = 1.0 and for the mesh steps h = τ = 0.01. At initial time moment the complex amplitude distribution is defined by (50). The obtained results show that changing of the first invariant I1 for the CFDS is at least an order of magnitude less in comparison with the corresponding value for the Rosenbrock method. But in contrast to the Rosenbrock method, it does not depend on the parameters γ and η and causes by the iteration process presence. It should be stressed, that the Rosenbrock method accuracy at its using with the complex parameter β = 0.5 + 0.5ı is worse for γ = −1 and for the parameter η, which is less or equal to 10. With further increasing the parameter η, the Hamiltonian deviation from the initial value increases significantly and this violation reaches about 10%−24% depending on the parameters η, γ values and on the parameter β (it is a complex one or a real one) value in the Rosenbrock method. To achieve the invariant conservation with acceptable accuracy and the similar solution accuracy as takes place for the CFDS it is necessary to decrease the grid steps at least tenfold at using the finite-difference scheme based on the Rosenbrock method. Moreover, with increasing the time interval, during which the computation is provided, the mesh steps have to decrease also.As an example, in Fig 8 the intensity profiles, computed using three finite-difference schemes under consideration, are depicted. This Figure illustrates also the essential influence of the parameter γ on the solution accuracy. Let us note, that the maximal difference in the wave intensity profiles achieves for γ = −1. Exactly, the significant deviation of the Hamiltonian for the Rosenbrock method is observed. It should be stressed that with decreasing the time step until τ = 10−3 the solution obtained using the Rosenbrock method coincides with the solution obtained using the CFDS. Essentially, that the solutions, obtained using the CFDS for the time steps τ = 10−2 and τ = 10−3, differ each other within the approximation order.
Fig 8
Intensity profile for waves with basic (a,c,e) and the doubled (b,d,f) frequency at the time moment t = 1.0 and computed using various finite-difference schemes for the parameters γ = 0(a, b);1(c, d);−1(e, f) and η = 20.
Computation time in dependence of grid steps
The computation time dependence on the grid steps for the two wave interaction with the parameters and the following parameters of the potential L = 20.0, m = 2 for the time and spatial intervals L = 10 and L = 40 correspondingly is shown in Table 5. Computer simulation is provided for the initial Gaussian distribution of complex amplitude for the first wave. The second wave has zero-value of its amplitude in initial time moment. Let us note, that at h = 0.1 and any time steps τ under consideration, the computation time for the both finite-difference schemes doesn’t exceed 1 second. With increasing the grid nodes number, the computation time increases significantly at using the finite-difference scheme based on Rosenbrock method in contrast to the corresponding value for using the CFDS. It should be kept in mind, that the sufficient numerical solution accuracy for the CFDS achieves already for the grid steps h = τ = 0.01. At the same time, the similar accuracy at using the Rosenbrock method takes place if the grid steps are decreased at least tenfold.
Table 5
The computation time dependence on the grid steps τ, h at using the finite-difference scheme based on the Rosenbrock method (Ros1) and the CFDS.
τ
h
Rosenbrock method Ros1 (sec)
Conservative f-d scheme (sec)
0.1
0.05
1
1
0.01
1
1
0.001
8
10
0.05
0.05
1
1
0.01
2
1
0.001
16
5
0.01
0.05
2
1
0.01
9
3
0.001
87
20
0.001
0.05
18
3
0.01
89
12
0.001
902
133
The finite-difference scheme based on the Rosenbrock method with ABCs
Problem statement for 1D nonlinear Schrödinger equation
Let us consider the 1D nonlinear Schrödinger equation
which describe the light pulse propagation in 1D Photonic crystal (PC). In this case, the parameters D, ϕ defined as: and relate to the initial complex amplitude distribution [3]
corresponding to the wave propagation along the z-axis and BCs for the Eq (69) are written in the following wayIt should be stressed that in (71) the parameter Ω is defined by the parameter χ of the initial distribution (70) as Ω = 2πχ. We see that this equation differs from the problem (1) by term related to the potential V and a presence of the relation between parameters D and ϕ.Note, that the BCs (71) were proposed in [3] for computer simulation of the femtosecond pulse propagation in a nonlinear PC during the time interval about several thousand dimensionless units, which is very long time interval in comparison with the initial pulse duration being equal to a few dimensionless units. The PC occupies a small part of z-axis spatial domain.
Finite-difference scheme construction for Rosenbrock method
In contrast to the zero-value BCs, the equations for nodes j = 0, N of the grid ω (see (9)) in the case under consideration are written in following form
where , and the vector is computed as followsAfter introducing the mesh along time coordinate we need to add the difference equation for the node j = N in the equation set (29):
instead of zero-value of the vector defined in (31) for this mesh node. Here, are matrices with the following componentsAs a result, the vector in the grid node j = N is written in the following wayThe BC in the grid node j = 0 is written similarly to (74):
which is also added to the equation set (29) for the mesh node j = 0. Obviously, in (76) the matrices B0, C0 have the following componentsConsequently, we write the mesh function in the zero node as
instead of zero-value of the vector defined in (31) for this mesh node. The matrix α1 and the vector β1 defined in (77) are used for the Thomas algorithm (32).
Approximation of the ABCs for the CFDS
To do a comparison of both finite-difference schemes we write below an approximation of the ABCs (71) for the CFDS (34)Since the difference Eq (78) are nonlinear ones, for its solution we use the iteration processOther formulae are written in the similar way to the difference Eq (34): see (37), (38).Let us consider the problem with zero-value BC at the left boundary of the domain on z-coordinate and ABC at the right boundary. It is stated in the medium section L = 20 (except the Fig 9, where ABCs is stated in the section L = 80). The computer simulation is performed for the parameters D = 0.0796, ϕ = 3.14, χ = 1.0.
Fig 9
The intensity profile |A|2, computed for the parameters ϕ = 2.5, χ = 0.8, D = 0.1, ψ = 0 and mesh steps h = τ = 0.01 at the time moment, when the wave reflected from the artificial boundary, stated in section L = 80, achieves the section z = 30.
Two initial positions of the pulse are equal to
(solid line), 75.0 (dotted line).
The intensity profile |A|2, computed for the parameters ϕ = 2.5, χ = 0.8, D = 0.1, ψ = 0 and mesh steps h = τ = 0.01 at the time moment, when the wave reflected from the artificial boundary, stated in section L = 80, achieves the section z = 30.
Two initial positions of the pulse are equal to
(solid line), 75.0 (dotted line).The computer simulation results are compared, in particular, with the analytical solution of the linear problem (69) (ψ = 0). Let us define the analytical solution as AIn Table 6 the maximal intensity differences between the numerical solution of the Eq (69), obtained using the finite-difference scheme based on the Rosenbrock method with various parameter β, and the numerical solution, obtained using the CFDS, and the analytical solution (80) are demonstrated. As it follows from the Table 6, the numerical solutions of the linear problem with the BCs under consideration differ insignificantly from each other. For example, the solutions coincide with the accuracy of magnitude order 10−5 at the steps h = τ = 0.01.
Table 6
The maximal intensity difference between the numerical solution, obtained using the finite-difference schemes based on the Rosenbrock methods (correspondingly, one denotes as δA1 and δA2) or based on the CFDS (δA), and the analytical solution at various time moments.
τ
h
t
δA1Ex
δA2Ex
δACEx
0.1
0.01
5
0.013016
0.013615
0.013652
7.5
0.007288
0.005552
0.005557
10
0.001212
0.000885
0.000886
0.01
0.1
5
0.175465
0.175663
0.175658
7.5
0.02431
0.024387
0.02386
10
0.009347
0.009351
0.009351
0.01
5
0.012448
0.012436
0.012497
7.5
0.003905
0.003954
0.003961
10
0.000598
0.000606
0.000612
0.001
5
0.005065
0.005094
0.005937
7.5
0.003035
0.003024
0.003211
10
0.000555
0.000563
0.000557
0.001
0.01
5
0.01244
0.01244
0.0124572
7.5
0.003938
0.0039378
0.00393942
10
0.0006034
0.00060347
0.0006035
In Fig 9 the dependence of the reflected wave intensity, appeared at the boundary with ABC, on the initial complex amplitude distribution center position is shown at computation using the finite-difference scheme based on the Rosenbrock method with the complex parameter . The center of complex amplitude initial distribution is located in the section , correspondingly. Thus, with decreasing the distance between initial distribution center and the section of the boundary with ABC, the reflected wave intensity decreases. This is showed in Fig 9. With increasing the distance between the pulse center and the section, in which the ABCs are stated, is a beam distraction influence increases. We see clearly that the reflected wave intensities do not exceed the theoretical assessments.In Fig 10 the intensity profile of the laser pulse, propagating in a medium with negative nonlinear lens ψ = −5.0 (defocusing medium), is depicted for a time moment when the laser pulse mainly transmitted through the artificial boundary. The essential result is that all numerical solutions, obtained using three finite-difference schemes under consideration, coincide (the maximal difference between solutions is about 3 ⋅ 10−4) and the reflected wave intensity is equal to about 0.01 in the time moment t = 10 and it is less than 0.005 in the time moment t = 20. We believe that the intensity oscillation is caused by constancy of the parameter Ω while this parameter can significantly deviate from the local wave number of the optical radiation near the artificial boundary (this is confirmed in Fig 9). It should be stressed, that we use the numerical solution, obtained on the basis of the CFDS with zero-value BCs in enough big domain, as the standard solution. We denote this solution with index Ex.
Fig 10
The intensity profile |A|2, computed using the finite-difference scheme based on the Rosenbrock methods (Ros1, Ros2) and the CFDS (C) as well as the standard solution (Ex), is depicted at the time moments t = 10.0(a), 20.0(b) and for the parameters ϕ = 2.5, χ = 0.8, D = 0.1, ψ = −5.0 and the mesh steps h = τ = 0.01.
In Fig 11 the intensity profile for the pulse propagating in the self-focusing medium (ψ = 5.0) is shown. In Fig 11a and 11b the numerical solution deviation, obtained using the Rosenbrock methods for the time step τ = 0.01, from the exact solution becomes equal to about unity. With decreasing the time step to τ = 0.001 (see Fig 11c and 11d), the intensity profiles, obtained using considered finite-difference schemes, become much closer each other. It is important to stress that after main part of the light energy transmitted through the artificial boundary, the reflected intensity becomes less than 0.002, which is comparable with the approximation order of the finite-difference scheme.
Fig 11
The intensity profile |A|2 at the time moment t = 5.0(a, c); 7.5(b, d), computed for the parameters ϕ = 2.5, χ = 0.8, D = 0.1, ψ = 5.0 and the mesh steps τ = 0.01(a, b); 0.001(c, d).
Thus, we can conclude if we analyze the optical radiation propagation in defocusing medium, then the numerical solution, obtained using the finite-difference scheme based on the Rosenbrock method, approximates an exact solution with the same accuracy order as the CFDS. In the case of the self-focusing medium it is necessary to decrease the mesh step in time coordinate more than ten times at computation using the finite-difference scheme based on the Rosenbrock method to achieve the solution accuracy comparable with the accuracy of the solution obtained using the CFDS.A similar investigation was made for the ABCs located at left boundary of the domain.
Combined method
As it is well-known, the CFDS implementation for a nonlinear problem requires to use the iteration process. The Rosenbrock method is explicit one, but it has the conditional conservatism property. Therefore, we propose the combined method based on both methods to realize their advantages. At some propagation distance of the laser pulse, the combined method is more preferable in comparison with other methods. Another very important feature of the combined method consists in a type of the BCs for the problem (34): instead the ABCs (78) we state the Dirichlet BC. The ABCs (72)–(74) are stated only for the finite-difference scheme based on the Rosenbrock method.The method is illustrated by the problem of the femtosecond laser pulse propagation in the PC (the problem (69)–(71)).
Finite-difference scheme construction for the combined method
The main idea of the combined method consists in using the Rosenbrock’s method near the boundaries of the domain. It means, that we introduce two sub-domains near left and right boundaries of the domain under consideration. We denote a number of the grid nodes as N (see Fig 12). In other part of the domain in z-coordinate, the CFDS is used for a computation. The problem solution is provided in several stages. In the first stage, the problem solution is computed in the sub-domains [0, N] and [N − N, N] at using the finite-difference scheme based on the Rosenbrock method with ABCs. To write the finite-difference scheme let’s denote the solution, obtained in this stage, as and the solution at the previous time step is denoted as A. Then, the finite-difference scheme, corresponding to the first stage, is written in the following form:
where , as it was introduced above, is a real part of solution for the linear equation set, (M is an integer number) is a time step used for computation in sub-domains
Fig 12
The combined method scheme.
Above we use the introduced definitions, is the Jacobian of the right part vector G(U), which corresponds to the ABCs (73) and is written in the following formIn formula (83) the functions u and v denote the real and imaginary parts of the solution A. As it mentioned above, the set of equations (81)–(83) is solved by using the Thomas algorithm.The second stage consists in the problem solution by using the CFDS with BCs defined by the mesh function . Let us denote the problem solution on this stage as and the solution on the previous time step is denoted as A. Thus, the difference problem on the second stage is written as follow:
with BCs:
with corresponding condition of the iteration process stopping (40) and with choosing the difference functions on the zero-value iteration.After this, we use the mesh function as the initial condition for a computation of the problem solution on the next time layer in the sub-domains [0, N] and [N − N, N] at using the finite-difference scheme based on the Rosenbrock method. With this aim we define the mesh function A for the Rosenbrock method as
and using the finite-difference scheme written in (81)–(83), the computation is performed. Then the problem (84) and (85) is solved at new time layer and the process repeats. Note, that for finding the solution at the first time layer we use the initial complex amplitude distribution.Thus, we obtain the implicit combined method for the nonlinear Schrödinger equation solution (Fig 12).Let us consider the computer simulation results obtained using the finite-difference scheme based on the Rosenbrock method with the parameter β = 0.5(1 + ı) (denote with index Ros) or on the CFDS (denote with index C) or on the combined method (denotes with index R&C) (with parameter β = 0.5). We compare the obtained results between themselves and with the exact solution (Ex) for the linear problem.Let us define the maximal intensity of the reflected wave asFor definiteness, the computer simulation is made for the following parameters and for the mesh step on z-coordinate h = 0.01.
The linear problem
In Fig 13 the intensity profiles, obtained using three methods mentioned above for computation of the laser pulse propagation in a linear medium (ψ = 0.0) are compared. As it follows from (Fig 13a, 13b, 13c and 13d) the difference between the numerical solution, obtained using combined method, and the corresponding solutions, obtained using other finite-difference schemes, strongly depends on the mesh nodes number (N) in sub-domains and on the mesh steps τ, τ. So, for the mesh step τ = τ = 0.01 and with decreasing the nodes number N from 100 to 10 the reflected wave significantly increases (see Fig 13c and 13d). However, with decreasing the time step to the value τ = τ = 0.001 at fixed number of nodes in the sub-domains N = 10, the reflected wave intensity decreases noticeably (see Fig 13e and 13f) and this intensity becomes practically the same one as the intensity computed using other finite-difference schemes.
Fig 13
The intensity profile |A|2 computed at the time moments t = 7.5(a, c, e), 10(b, d, f) for the mesh steps τ = τ = 0.01(a, b, c, d); 0.001(e, f), and a number of nodes for the sub-domains: N = 100(a, b); 10(c, d, e, f).
To increase the effectiveness of the combined method we use decreasing time step for the problem solution in the sub-domains. In Fig 14 the numerical solutions, obtained using finite-difference scheme based on the combined method with the parameter N = 10 and the mesh steps τ = 0.001; 0.005, τ = 0.01, are presented. As it can be seen, decreasing the time step τ leads to weak decrease of the intensity for the wave reflected from the artificial boundary and does not provide a significant improvement of the computer simulation results.
Fig 14
The intensity profile |A|2, computed at the time moments t = 7.5(a), 10(b) for the parameter N = 10 and the mesh steps τ = 0.001; 0.005, τ = 0.01.
A comparison between the maximal intensity of the reflected wave, obtained using the finite-difference scheme based on the combined method, and the corresponding intensities, obtained using other finite-difference schemes (see Fig 15), demonstrates, that use of the combined method leads to a bigger reflected wave amplitude even for the optimal parameters. However, this growth is not critical and doesn’t exceed the approximation error order.
Fig 15
The evolution of reflected wave maximal amplitude in the time interval 0 ≤ t ≤ 10, computed using the finite-difference schemes Ros, C and R&C with N = 100 for the mesh step τ = 0.01 and R&C with N = 100 for the mesh step τ = 0.001.
It is important to compare the results, obtained using the finite-difference scheme based on the combined method and CFDS. In Fig 16 the dependence of mesh step on time, at which the results coincidence of computations for two finite-difference scheme is achieved, from the nodes number in the sub-domain N is depicted. Note that with decreasing the nodes number N, it is necessary to decrease the time step to achieve the corresponding accuracy.
Fig 16
The time step dependence on a number of grid nodes in the sub-domain N to achieve by using the combined method the solution accuracy computed on the base of CFDS at the time moment t = 10.0.
To estimate the effectiveness of proposed method, the comparison of the first invariant values deviation for three finite-difference schemes under consideration is demonstrated in Table 7. The results presented here are for the finite-difference scheme based on the Rosenbrock method and for the CFDS, computed with using the ABCs. As one can see, this deviation for the combined method is two times bigger then the corresponding value obtained for other finite-difference schemes. However, this values don’t exceed the theoretical estimations.
Table 7
The first invariant deviation computed using the finite-difference schemes under consideration for the parameters L = 20.0, t = 10.0 and the mesh steps h = τ = τ = 0.01.
Method
First invariant difference
Hamiltonian difference
Ros
0.000548643
0.0021649
C
0.000556224
0.0035698
R&C
0.001128941
0.0093432
Case of laser pulse self-focusing
In Fig 17 the intensity profiles, computed using all finite-difference schemes for the nonlinear problem with ψ = 1.0, is shown. It should be stressed that in this case as an exact solution we use the numerical solution computed on the base of the CFDS with zero-value BCs in enough big domain with respect to the coordinate z.
Fig 17
The intensity profile |A|2 computed at the time moments t = 5(a), 7.5(b), 10(c) for the parameter ψ = 1.0.
As it can be seen in Fig 17a, the difference between the solution, obtained using the finite-difference scheme based on the combined method, and the exact solution has the value of about 0.1 in considered time moment. However, this difference does not preserve in time. On the other hand, the wave reflected from the artificial boundary is absent. Therefore, the difference in amplitude is due to the difference in velocity of wave transmitting through the boundary.At the next considered time moments (see Fig 17b and 17c), the difference become significantly less and equals to 10−3 and 10−4, correspondingly. The maximal intensity of reflected wave doesn’t exceed the 10−4.
Case of laser pulse defocusing
For the optical pulse propagation in defocusing medium the similar computation was made based on the Rosenbrock method, the CFDS and the finite-difference scheme for the combined method. In Fig 18 the intensity profiles, obtained using various finite-difference schemes, is shown for the parameters ψ = −1.0, N = 10, τ = τ = 0.001. Thus, the numerical solution obtained using the combined method coincides with the corresponding solution obtained using the CFDS. It should be stressed, that the maximal amplitude of the reflected wave shown in Fig 18 has the order 10−2 and it is worse than the corresponding result obtained for case of the pulse self-focusing case. This fact takes place because of the constant parameter Ω. Moreover, the nonlinear distortion of the laser pulse at its front influences strongest on the phase wave front than at the laser pulse propagation in a self-focusing medium. Therefore, the optical radiation local wave number doesn’t coincide with the using Ω value for the ABCs.
Fig 18
The intensity profile |A|2, computed at the time moments t = 7.5(a), 10(b) for the parameters ψ = −1.0, N = 10 and the mesh step τ = 0.001.
In the conclusion of this section, we should note, that it is possible to arrange the computation of the combined method in a different way. We construct also the explicit finite-difference scheme on the basis of the predictor-corrector scheme instead of CFDS. Corresponding to this scheme, at the first stage we compute the solution on the upper time layer at using the Rosenbrock method in full domain under consideration. Then, at the second stage we compute the problem solution at using the predictor-corrector scheme: the nonlinear term in (34) is computed by using the solution obtained at previous stage with a help of the Rosenbrock method. The computer simulation results obtained using this explicit method are not shown in this paper, because of the solution accuracy, obtained using this scheme, is two or three times worse than the corresponding accuracy, achieved using the CFDS, Rosenbrock method and combined method for all cases, which considered above (linear, self-focusing and defocusing problem).
2D Schrödinger equation
Let us consider the 2D nonlinear Schrödinger equation describing the femtosecond pulse propagation in 2D PC
with initial complex amplitude distribution
and ABCs are written in the following wayIn addition to the notations, introduced above, let us note, that in (88) A(t, z, x) is a slowly varying amplitude in time only; x denote a spatial coordinate; L is its maximal value; is the coordinate of the laser beam center at initial time moment along x-coordinate; ε(z, x), ψ(z, x) are the functions of a dielectric permittivity and nonlinearity coefficient. Parameter D is the real coefficient describing the beam diffraction along x-coordinate. Variables a, a denote the beam radii along the corresponding coordinates. Parameters are the local wave numbers of the laser beam near the low and upper artificial boundary along x-coordinate, left and right artificial boundary along z-coordinate, correspondingly. For definiteness we denote . This way of the local wave number definition is valid if the initial beam center along x-coordinate coincides with the domain center, i.e. .The problem (88)–(90) possesses two following invariants (conservation laws):
CFDS construction for 2D case
Let us introduce an uniform grid ωThe complex amplitudes on the grid ω are defined as
where and ψ1, ψ2 are domains, the dielectric permittivity and nonlinearity coefficient of PC’s layers, correspondingly, ε, ψ is a dielectric permittivity and nonlinearity coefficient of a substrate, which is located behind the PC; ε0, ψ0 is a dielectric permittivity and nonlinearity coefficient of the medium before the PC; is a number of structure elements along x and z coordinates, correspondingly. is dimensionless coordinate of the PC’s face, defines the longitudinal size of the PC along x and z coordinates. Γ = Γ0,1 ∪ Γ0,2 ∪ Γ0, ∪ Γ1,2 ∪ Γ1, ∪ Γ2, are the boundaries between two domains with different dielectric permittivity and nonlinearity coefficient. We should note that the index sub in the boundaries definition corresponds to the substrate. For convenience, the introduced parameters and arrangement of the PC are depicted on Fig 19.
Fig 19
Dielectric permittivity and nonlinearity coefficients of the PC.
For the problem under consideration (88)–(90), we develop the following finite-difference scheme:
with initial conditions
and ABCsThe 2D problem under consideration is nonlinear one, therefore for its computation we use a two-stage iteration process [52, 53]. The first stage of the iteration process is written in the following form:
and corresponds to a solution of the difference problem (96)–(98) along z-coordinate.The second stage of the iteration process is written in the way:
and corresponds to a solution of the difference problem (96)–(98) along x-coordinate.The mesh function on the upper time layer at zero iteration (s = 0) is chosen as it presented in (39). The iteration process is stopped if the following condition is valid
where are the real constants.
Finite-difference scheme based on the Rosenbrock method for 2D case
Let us define the grid functions in the grid ω, which are defined in (93)
and the vectorsAccording to the Rosenbrock method, the difference solution on the next time layer is computed as it is written in (18). The vector , which is a solution of the linear equations, in this case is written in the following formThe vectors are defined asAbove G is the Jacobian for the vector G(U) with respect to the mesh function U (105), are the corresponding Jacobians of the right part vectors , which corresponds to the ABCs. The way of the Jacobians computation is presented above for the 1D problem in (27) and (28).As mentioned above, the equation set (106) is solved by using the Thomas algorithm. Obviously, in the case under consideration, the matrices dimension as well as the vectors dimension increases many times. For example, a dimension of the vector for the 2D problem is equal to 2(N × N) and the matrix (E − τβG) dimension is equal to (2(N × N))2, correspondingly. Therefore, a dimension of the vector Y is equal to 4N and the matrices Q, C, B dimension is equal to (4N)2.
Combined method for 2D case
The combined method in 2D case can be realized in two different ways. The first one consists in using the Rosenbrock method near the boundaries with ABCs (see Fig 20a). Then, CFDS is used in full domain with the BCs, which are computed by using the Rosenbrock method (it means that we solve the Dirichlet problem).
Fig 20
Two ways for computation using the combined method in 2D case.
The second one consist in a reduction of the 2D difference problem to a sequence of the 1D difference problem. Below we consider in detail the construction of the combined method at using the second way because in this case the dimensions of the matrices are essentially less than at using the Rosenbrock method for the 2D problem solution directly.We start from the difference Eqs (99)–(102) with the ABC. However, we modify this iteration process in accordance with the definition of the combined method for the 1D nonlinear Schrödinger equation. At each of these stages we use the Dirichlet BCs instead of (100), (102) and they are computed by using the Rosenbrock method in the domain near the artificial boundaries. Then, we apply the CFDS for the problem solution (see Fig 20b and 20c). Obviously, at this stage of the problem solution we use the Dirichlet BCs.Thus, let’s consider the construction of the combined method. At first, we compute the problem solution in the grid nodes near the boundaries at using Rosenbrock method with corresponding ABCs (90). With this aim we introduce the sub-domains. For example, let’s start from a direction along z-coordinate. We denote a number of the grid nodes in sub-domains along z-coordinate as and write the finite-difference scheme, based on the Rosenbrock method in these sub-domains:
where τ is a time step used for a computation in the sub-domains of the problem solution, is a real part of the solution of the linear equations:A parameter β of the Rosenbrock method, is chosen as β = 0.5. Matrix G is the Jacobian for the vector G(U)
and is the Jacobian of the right part vector G(U), which corresponds to the ABCs and is written in the following formIn the formulae (112), (113) the mesh functions u and v denote the real and imaginary parts of the complex amplitude . The set of Eqs (110)–(113) is solved by using the Thomas algorithm.Then, we compute the problem solution near the boundaries along the x-coordinate by using Rosenbrock method with ABCs (90). We denote a number of the grid nodes in the sub-domains along x-coordinate as and write the following finite-difference scheme of the solution computation based on the Rosenbrock method:
where , is a real part of the solution for the linear equations
G is the Jacobian for the vector G(U)
and is the Jacobian of the vector G(U), which corresponds to the ABCs and is written in the following formThe set of Eqs (114)–(117) is also solved by using the Thomas algorithm. After that we use two-stage iteration process for solving of the Schrödinger equation in full domain at using CFDS with the Dirichlet BCs.The first stage of the combined method consists in the problem solution, as it is presented in (99), with the BCs defined by the mesh function , which is a solution of the Eqs (110) and (111):Here we denote the problem solution on this stage as . It should be emphasized that at the first time layer we use the initial complex amplitude distribution (97).Thus, we obtain the solution at the first stage of the combined method .The second stage of the combined method corresponds to the difference equation solution along x-coordinate. This stage consists in the problem solution, as it presented in formula (101), with BCs defined by the mesh function , which is a solution of Eqs (114) and (115)Here we denote the problem (96)–(98) solution for this stage as . The mesh function on the upper time layer at zero iteration (s = 0) is chosen as it presented in (39) and the condition of iteration process stopping is written in formula (103). Thus, we obtain the solution at the upper time layer.We should note, that FFT can not be applied instead of the two-stage iteration method because the function values at the corresponding nodes belonging to the boundaries for x and z coordinates do not equal to each other. Moreover, the problem solution under consideration doesn’t possess the symmetry property along z-coordinate.First, we should note that the 2D problem solution at using the Rosenbrock method leads to significant increasing of the computation time and algorithm complexity because of using the matrix inversion operation. Therefore, we should take enough large mesh steps along the spatial coordinates. However, even at h = h = 0.1 and the domain L = L = 10 we need to compute the inverse matrix with dimension of 160,000 at each of time steps. Thus, we can conclude that the Rosenbrock method is unacceptable for the 2D problem solving.Using of the proposed combined method for the computation of the 2D problem does not require computation of inverse matrices with such big dimension. Thus, the computation time at using the combined method is close to the corresponding computation time at using the CFDS. Nevertheless, usually the computation time using the CFDS is less than the corresponding time at using the combined method. It is due to additional computations using the Rosenbrock method, which occur in combined method. The combined method is effective for a computation in short time interval and in the case of defocusing medium or some other problems, where it is necessary to use more than two iterations for the CFDS. The CFDS gives more advantages for the problems, where control of invariants is required.Also, one of the advantages of using the combined method is a decrease of the computation cost and allow to write the CFDS for the arbitrary boundary conditions.
Conclusions
In this paper we have shown the conditional conservatism property of the finite-difference scheme based on the Rosenbrock method for the 1D nonlinear Schrödinger equation or the set of equations. For fixed mesh steps with increasing the computation time interval the difference analogues of the nonlinear Schrödinger equation (or the set of equations) invariants do not preserve. To achieve their conservation as well as corresponding solution accuracy it is necessary to decrease the mesh step of time coordinate. Despite the Rosenbrock method is explicit it requires much more computational time in comparison with corresponding time at using of CFDS because of essential smaller mesh steps which are necessary for the Rosenbrock method. This leads to a loss of the Rosenbrock method’s main advantage at computation during long time interval.We investigated the effectiveness for the Rosenbrock method for the problem with the ABCs. The results obtained for the linear case and for defocusing medium show that using the finite-difference scheme based on the Rosenbrock method gives the same accuracy order of the problem approximation as the CFDS. For the self-focusing medium it is necessary to decrease mesh step on time coordinate tenfold for the finite-difference scheme based on Rosenbrock method to achieve the accuracy of the solution using CFDS.To use the advantages of the explicit finite-difference scheme and CFDS we proposed the new combined method for numerical solution of the nonlinear Schrödinger equation (or the set of equations) with ABCs. This method can be more effective than the CFDS under certain conditions. The computer simulation results, obtained using the combined method possess the similar order of accuracy in comparison with the corresponding results, obtained using the CFDS, at appropriate choosing the mesh steps. The combined method possesses also the several advantages over the Rosenbrock method for the 1D nonlinear Schrödinger equation (or set of equations) solution.Using of the Rosenbrock method for multidimensional case leads to the significant increasing of computation time because of the complexity of the matrix inversion operation. However, it is possible to use the combined method with multistage iterative process. In this case we solve only the 1D difference equation using the Thomas algorithm. Thus, the combined method in the multidimensional case can be quite effective.Using of the Rosenbrock method is inefficient in practice for solving the 2D problem due to computation of inverse matrices with high dimension. We proposed the combined method, which overcomes this disadvantage. The main advantage of the combined method consists in a possibility of changing of the BCs for the CFDS: instead of using the third type of the BCs one can apply the Dirichlet BCs. The ABCs are used at the stage of using the Rosenbrock method. The advantage of using the combined method appears for the 2D problem solution during short time interval and in the case of laser pulse propagation in defocusing medium. The CFDS is effective for the 2D problem solution during a large time interval and in the case of laser pulse propagation in self-focusing medium.
Authors: Mark Edwards; Michael Krygier; Hadayat Seddiqi; Brandon Benton; Charles W Clark Journal: Phys Rev E Stat Nonlin Soft Matter Phys Date: 2012-11-26