IMEX-RK methods for Landau-Lifshitz equation with arbitrary damping††thanks: Received date, and accepted date (The correct dates will be entered by the editor).
Abstract
Magnetization dynamics in ferromagnetic materials is modeled by the Landau-Lifshitz (LL) equation, a nonlinear system of partial differential equations. Among the numerical approaches, semi-implicit schemes are widely used in the micromagnetics simulation, due to a nice compromise between accuracy and efficiency. At each time step, only a linear system needs to be solved and a projection is then applied to preserve the length of magnetization. However, this linear system contains variable coefficients and a non-symmetric structure, and thus an efficient linear solver is highly desired. If the damping parameter becomes large, it has been realized that efficient solvers are only available to a linear system with constant, symmetric, and positive definite (SPD) structure. In this work, based on the implicit-explicit Runge-Kutta (IMEX-RK) time discretization, we introduce an artificial damping term, which is treated implicitly. The remaining terms are treated explicitly. This strategy leads to a semi-implicit scheme with the following properties: (1) only a few linear system with constant and SPD structure needs to be solved at each time step; (2) it works for the LL equation with arbitrary damping parameter; (3) high-order accuracy can be obtained with high-order IMEX-RK time discretization. Numerically, second-order and third-order IMEX-RK methods are designed in both the 1-D and 3-D domains. A comparison with the backward differentiation formula scheme is undertaken, in terms of accuracy and efficiency. The robustness of both numerical methods is tested on the first benchmark problem from National Institute of Standards and Technology. The linearized stability estimate and optimal rate convergence analysis are provided for an alternate IMEX-RK2 numerical scheme as well.
keywords:
Micromagnetics simulation; Landau-Lifshitz equation; Implicit-explicitly Runge-Kutta scheme; Second-order accuracy; Third-order accuracy; Hysteresis loop.35K61; 65N06; 65N12
1 Introduction
Ferromagnetic materials have the intrinsic magnetic order (magnetization), whose dynamics is modeled by the Landau-Lifshitz (LL) equation [1, 2]. The equation stands for a non-local nonlinear problem with non-convex constraint and possible degeneracy. The past few decades have witnessed the progress of numerical methods for the LL equation; see [4, 44, 46, 45] for reviews and references therein. There are explicit algorithms (e.g. [35, 6]), fully implicit ones (e.g. [5, 16]), and semi-implicit schemes (e.g. [15, 26, 37, 38, 39, 3, 43]). An explicit method updates the magnetization without any need to solver linear or nonlinear system of equations, while it suffers from the severe stability constraint on the temporal step-size. Implicit schemes are unconditionally stable and preserve the physical properties of the LL equation, such as energy dissipation and length conservation, while a nonlinear system of equation needs to be solved at each time step. Semi-implicit schemes only solve a linear system of equations at each time step and are unconditionally stable in micromagnetics simulations. Therefore, a semi-implicit method provides a nice balance between accuracy and efficiency.
One typical semi-implicit method is the Gauss-Seidel projection method (GSPM) [15, 26, 36, 47]. Using the vectorial structure of LL equation, GSPM achieves unconditional stability in micromagnetics simulations; and only a few linear systems need to be solved, with constant, symmetric, and positive definite coefficients. However, the temporal accuracy of GSPM is limited to the first-order. Another semi-implicit approach is based on the backward differentiation formula (BDF) for temporal derivative and the one-sided extrapolation for nonlinear terms [27, 40, 48]. High-order accuracy can be obtained in time using the BDF approach. However, only first-order and second-order BDFs are unconditionally stable. Meanwhile, the linear system of equations has variable coefficients and non-symmetric structure, thus no fast solver is available. Meanwhile, for time-dependent nonlinear partial differential equations in general, implicit-explicit (IMEX) schemes have been extensively applied [39]. The basic idea is to treat dominant linear term implicitly and the remaining nonlinear terms explicitly. For the LL equation, the second-order IMEX has been studied in [27]. Two linear systems, with variable coefficients and non-symmetric structure, need to be solved. Thus IMEX2 can hardly compete with BDF2 in terms of accuracy and efficiency.
In this work, we propose an implicit-explicit Runge-Kutta (IMEX-RK) scheme for solving the LL equation, based on the recent development of IMEX-RK method for the nonlinear diffusion equation [30]. The basic idea is to introduce an artificial linear diffusion term and treat it implicitly. All the remaining terms are treated explicitly. RK methods are employed for the time discretization. Only a few linear systems, with constant coefficients and SPD structure, need to be solved. In the existing literature, such linear numerical schemes have only be reported for the large damping parameter [41]. Instead, the IMEX-RK method works for the LL equation general damping parameters, which is very important since the damping parameter may be small in most magnetic materials [49]. Moreover, higher-order numerical schemes could be constructed using RK approaches. Numerical results have demonstrated an advantage of IMEX-RK schemes over the BDF2 approach in terms of accuracy and efficiency. The performance of IMEX-RK schemes has also been verified over a large range of artificial damping parameters and the first benchmark problem for a ferromagnetic thin film material from National Institute of Standards and Technology (NIST).
Because of the robust numerical results, a theoretical analysis of the proposed IMEX-RK numerical schemes is highly desired. However, such an analysis turns out to be very challenging, due to the multi-stage nature, as well as the highly complicated nonlinear terms in the vector form. Some convergence analysis works have been reported for the IMEX-RK numerical methods to various nonlinear PDEs in the existing literature, such as the convection-diffusion equation [29], the porous media equation [28, 31], etc. Meanwhile, the degree of nonlinearity of the LL equation is even higher than these reported PDE models, and the associated theoretical analysis is expected to be more challenging. In this article, we choose an alternate IMEX-RK2 numerical algorithm, in which the explicit part satisfies the strong stability-preserving (SSP) property [11, 17] (denoted as the SSP-IMEX-RK2 scheme), and provide a linearized stability estimate and convergence analysis for the SSP-IMEX-RK2 method to a simplified version of the LL equation. Many state-of-arts techniques, such as a rough error estimate to control the discrete and norms of the numerical solution, combined with a refined error estimate, have to be applied to obtain an optimal rate convergence analysis for the SSP-IMEX-RK2 scheme to the nonlinear LL equation.
The rest of paper is organized as follows. In Section 2, we introduce the LL model and then propose the IMEX-RK schemes, including the SSP-IMEX-RK2 algorithm. For the convenience of comparison, we also briefly review the BDF2 method. Accuracy and efficiency tests of the IMEX-RK schemes are provided in Section 3 with a detailed check for the dependence on the artificial damping parameter. Section 4 is devoted to the micromagnetics simulations of the IMEX-RK methods, including equilibrium structures and the first benchmark problem from NIST. The linearized stability estimate and the convergence analysis for the SSP-IMEX-RK2 scheme to a simplified version of nonlinear LL equation are provided in Section 5. Finally, some concluding remarks are made in Section 6.
2 The model and the proposed methods
2.1 Landau-Lifshitz equation
The LL equation is a phenomenological model for magnetization dynamics in a ferromagnetic material, which takes the following form
(2.1) |
with the homogeneous Neumann boundary condition
(2.2) |
Here is a bounded domain occupied by the ferromagnetic material, and the magnetization is a 3-D vector field with the length constraint , and is the unit outward normal vector along . The first term of the right hand side in (2.1) is the gyromagnetic term, while the second term represents the damping term with a dimensionless parameter .
For a uniaxial material, the free energy is given by
in which the listed terms correspond to the exchange energy, the anisotropy energy, the magnetostatic energy, and the Zeeman energy, respectively. The effective field can be obtained by taking the variation of with respect to , and consists of the exchange field, the anisotropy field, the stray field , and the external field of the following form
Physical Parameters for Permalloy | |
---|---|
In the above representation, and are the dimensionless parameters with the exchange constant, the anisotropy constant, the diameter of ferromagnetic body, the permeability of vacuum, and the saturation magnetization, respectively.. Typical values of the physical parameters for Permalloy are included as shown in Table 1.
The two unit vectors , , and stands for the standard Laplacian operator. The stray field takes the form
where is the Newtonian potential.
For simplicity, we denote
(2.3) |
Accordingly, the LL equation can be rewritten as
(2.4) |
Thanks to the constraint , we obtain an equivalent form
(2.5) |
Some notations are introduced for discretization and numerical approximation. The 1-D domain is set as , and the 3-D version becomes , and the final time is denoted as . In the 1-D domain, we divide into equal parts with . Fig. 1 displays a schematic picture of 1-D spatial grids, with .

The 3-D grid points in can be similarly constructed. For convenience, we set , and .
The second-order centered difference for in the 3-D domain is formulated as
The second-order approximation of Neumann boundary condition in (2.2) gives
(2.6) |
The discrete gradient operator with becomes
For temporal discretization, we set with the step-size and .
2.2 Second-order backward differentiation formula method
The BDF numerical method [27, 40] is based on the BDF temporal discretization and the one-sided extrapolation. For comparison, we recall the BDF2 algorithm as
(2.10) |
where is an intermediate magnetization, and are given by the following extrapolation formula:
with , corresponding to (2.3). The presence of cross product in (2.10) yields a linear system of equations with variable coefficients and non-symmetric structure. Often, GMRES is employed as the numerical solver. The BDF2 algorithm (2.10) treats both the gyromagentic and damping terms semi-implicitly, i.e., is treated implicitly while the prefactors are treated explicitly.
Since , the strength of gyromagnetic term is controlled by . Meanwhile, the strength of damping term is controlled by . Since for many magnetic materials, it is reasonable to treat both the gyromagentic and damping terms semi-implicitly. However, for large , it is possible to treat part in the damping term implicitly, and the gyromagnetic term and all remaining terms explicitly, as demonstrated in [41]. The stability and convergence of the scheme is proved under the condition [50]. Starting with (2.5), the BDF2 algorithm in [41] becomes
(2.15) |
where
At each time step, only one linear system with constant coefficients and SPD structure needs to be solved with fast solvers, such as fast Fourier transform (FFT).
2.3 Implicit-explicit Runge-Kutta methods
For a given time-dependent nonlinear problem, the basic idea of implicit-explicit methods is to treat a dominant linear term implicitly and the remaining terms explicitly. The success of IMEX methods relies on the dominance of linear term that is implicitly treated [32]. While it is not the case for all problems, the introduction of an artificial term may help, such as the linear diffusion term introduced for the nonlinear diffusion equation [30]. For the LL equation, the linear diffusion term does not dominate the magnetization dynamics, and thus a direct application of IMEX method does not work. Motivated by this observation and the work in [30], we propose to introduce an artificial diffusion term in the LL equation which will be implicitly treated while all other terms are explicitly treated explicitly. RK methods are employed for the time discretization.
For ease of description, we first list the Butcher tableau for second-order and third-order RK methods in (2.16) and (2.17).
(2.16) |
(2.17) |
We add an artificial damping term into (2.4) and rewrite the LL equation as
(2.18) |
where the artificial term is denoted as , and all the remaining terms are included in .
Therefore, at time step , the corresponding marching algorithms in IMEX-RK2 and IMEX-RK3 methods are
(2.19) |
and
(2.20) |
In addition, if is time-independent, so that the rewritten LL equation (2.18) is autonomous, an alternate IMEX-RK2 numerical algorithm could be chosen:
(2.21) |
This IMEX-RK2 algorithm contains four stages, with three intermediate numerical solutions at each time step. On the other hand, the explicit part satisfies the strong stability-preserving property [11, 17]; as a result, we denote it as the SSP-IMEX-RK2 scheme. In addition, this numerical method contains stronger diffusion coefficients, in comparison with the standard IMEX-RK2 algorithm (2.19), and this feature will greatly facilitate a theoretical justification of numerical stability and convergence analysis, as will be presented in Section 5.
Remark 2.1.
In the current work, the finite difference method is employed for the spatial discretization. It is worth mentioning that other spatial discretization, such as finite element method and discontinuous Galerkin method, can also be employed.
Remark 2.2.
Two linear systems with constant coefficients and SPD structure are solved in IMEX-RK2 (2.19). Although only one linear system solver is needed, with constant coefficients and SPD structure, the method in [41] only works in the large damping parameter case. Similarly, three linear system solvers are needed in the SSP-IMEX-RK2 method (2.21), and four linear system solvers are needed in the IMEX-RK3 method (2.20), with constant coefficients and SPD structure. It will be verified in Section 3 that IMEX-RK methods work for any damping parameter.
3 Numerical results
In this section, we provide a series of numerical experiments for IMEX-RK methods, including accuracy check, efficiency comparison, and stability test in terms of different values. Denote the exact solution and the numerical solution. To measure the error, we introduce the following notations in the discrete case.
Definition 3.1 ( inner product, norm).
For grid functions and that take values on a uniform numerical grid, we define
where is the set of grid point, and is an index.
In turn, the norm is defined as
In addition, the discrete norm is defined as
Definition 3.2 ( and norms in the discrete sense).
For grid functions that take values on a uniform numerical grid, we define
Lemma 1 (Summation by parts).
For any grid functions and , with satisfying the discrete boundary condition (2.6), the following identity is valid:
(3.22) |
The proof of the standard inverse inequality can be obtained in existing textbooks and references; we just cite the results here. In the sequel, for simplicity of notation, we will use the uniform constant to denote all the controllable constants.
Lemma 2 (Inverse inequality).
The following discrete Sobolev inequality has been derived in the existing works [20, 19], for the discrete grid function with periodic boundary condition; an extension to the discrete homogeneous Neumann boundary condition can be made in a similar fashion.
Lemma 3 (Discrete Sobolev inequality).
In the numerical simulation, we set and in (2.5) for convenience. The 1-D exact solution is chosen to be
and the 3-D exact solution is set as
where . It is easy to check that the homogeneous Neumann boundary condition (2.2) is satisfied. A forcing term is included into the nonlinear part .
3.1 Accuracy and efficiency test of IMEX-RK2
In the 1-D computation, we fix and record the error in terms of in Table 2, and fix and record the error in terms of in Table 3. The second-order accuracy of IMEX-RK2 is observed in both space and time.
order |
---|
order |
---|
In the 3-D computation, we fix and record the error in terms of in Table 4, and fix and record the error in terms of in Table 5. Again, the second-order accuracy of IMEX-RK2 is observed in both space and time.
order |
---|
order |
---|
In terms of the efficiency comparison, we plot the CPU time (in seconds) vs. the error . Results of BDF2 and IMEX-RK2 are visualized in Fig. LABEL:time_1D and Fig. LABEL:space_1D for the 1-D case, and in Fig. LABEL:time_3D and Fig. LABEL:space_3D for the 3-D case.
By Fig. LABEL:rk2_cpu_time, IMEX-RK2 is superior to BDF2 in both the 1-D and 3-D computations.
3.2 Accuracy and efficiency test of IMEX-RK3
Using the same spatial resolution, we only test the temporal accuracy of IMEX-RK3 here. In the 1-D computation, we fix and record the error in terms of in Table 6.
order |
---|
In the 3-D computation, we fix and record the error in terms of in Table 7. The third-order temporal accuracy is observed for IMEX-RK3 in time, in both the 1-D and 3-D compuations.
order |
---|
Since IMEX-RK2 and IMEX-RK3 only differ in the temporal discretization, we further plot the CPU time (in seconds) of IMEX-RK2 and IMEX-RK3 in terms of the temporal error in the 1-D and 3-D cases; see Fig. 3. These results indicate that IMEX-RK3 is more efficient than IMEX-RK2, and thus is more efficient than BDF2.


3.3 Accuracy test of SSP-IMEX-RK2
In the 1-D test, we keep and record the error in terms of in Table 8. In the 3-D computation, we fix and record the error in terms of in Table 9. Second-order accuracy of SSP-IMEX-RK2 has been observed in both the 1-D and 3-D cases. The accuracy curves are displayed in Fig. 4.
order |
---|
order |
---|


3.4 Dependence on the damping parameter
There are a few numerical methods that only several linear systems with constant coefficients and SPD structure need to be solved at each time step, including the first-order-in-time GSPM [26, 47], the second-order-in-time method [41], and the current method. Numerically, the method in [41] only works when , most magnetic materials correspond to . If , we can set and then apply the idea of IMEX-RK. Therefore, the current method works for a general damping parameter.
Next, we examine the performance of IMEX-RK on the choice of artificial damping parameter . The 3-D results are recorded in Table 10 and Table 11. On the basis of these results, it is clear that IMEX-RK methods work for general artificial damping parameters. The 1-D results are similar and are not listed here. Therefore, we can set if and if numerically.
order | |||||||
---|---|---|---|---|---|---|---|
order | |||||||
order |
order | |||||||
---|---|---|---|---|---|---|---|
order | |||||||
order |
Remark 3.3.
We have demonstrated the high-order-in-time accuracy of IMEX-RK, including second-order and third-order ones. It is worth noting that even higher-order-in-time IMEX-RK methods for the LL equation can be designed; see the -level method in [51] for a general purpose. This method does not necessarily have the -order accuracy when in [51]. For instance, the -level method has at most -order accuracy when .
4 Micromagnetics simulations
In this section, we apply IMEX-RK2 and IMEX-RK3 to conduct micromagnetics simulations, including different equilibrium structures and a benchmark problem from NIST [42] to examine the performance of our proposed methods in the real-world applications.
4.1 Equilibrium states
We use a spatial resolution on a thin-film element with , a temporal step size picosecond (ps), and set in IMEX-RK methods. In the absence of an external field, multiple metastable states are often observed in ferromagnets, both experimentally and numerically [33, 34].
Starting with three different initial magnetization distributions, we obtain three equilibrium states in Fig. LABEL:metastable_states, including Landau state, C-state, and S-state. The arrow denotes the first two components of the magnetization vector and the color denotes the angle between them. It is clearly that IMEX-RK2,3 produce consistent results.
4.2 Benchmark peoblem from NIST
To investigate the dynamical performance of IMEX-RK methods, we simulate a benchmark problem proposed by the Micromagnetic Modeling Activity Group (muMag) from NIST. A positive external field of strength in the unit of is applied. The magnetization is able to reach a steady state. Once this state is reached, the applied external field is reduced by a certain amount and the material sample is allowed to reach another steady state again. Repeat the process until the hysteresis system attains a negative external field of strength . This process is then implemented in reverse, increasing the field in small steps until the initial applied external field is reached. Afterward, we can plot the average magnetization at steady states as a function of the external field strength during the hysteresis loop. The stopping criterion for a steady state is that the relative change of the total energy is less than . For comparison with the available code of the first standard problem from NIST, we set spatial resolution with mesh size and the canting angle of applied field from the nominal axis. The initial state is uniform and is split into 200 steps for both -loop and -loop.






Hysteresis loops generated by are displayed in Fig. 6a and Fig. 6b when the applied field is approximately parallel to the -(long) axis and the -(short) axis. The average remanent magnetization in reduced units is given by for the -loop and for the -loop. The coercive fields are 4.8871 in Fig. 6a and 2.5253 in Fig. 6b, respectively. Hysteresis loops generated by IMEX-RK2 method are presented in Fig. 6c and Fig. 6d when the applied field is approximately parallel to the long axis and the short axis, respectively. The average remanent magnetization in reduced units is for the -loop and for the -loop. The coercive fields are in Fig. 6c and in Fig. 6d. Similarly, the IMEX-RK3 results are presented in the bottom row of Fig. 6. The average remanent magnetization in reduced units is for the -loop and for the -loop. The coercive fields are in Fig. 6e and in Fig. 6f. Based on these results, we conclude that IMEX-RK methods work well for the benchmark problems from NIST, both qualitatively and quantitatively.
5 Numerical stability and convergence analysis for the proposed SSP-IMEX-RK2 scheme
A theoretical analysis for the proposed IMEX-RK numerical schemes turns out to be highly challenging, due to the multi-stage nature, as well as the highly complicated nonlinear terms in the vector form. For simplicity, we focus on the SSP-IMEX-RK2 numerical algorithm (2.21). In the first step, a numerical stability is stablished for the linear part, i.e., in the simple case with only linear diffusion part (the term ) taken into consideration. Afterward, we provide a convergence analysis of the SSP-IMEX-RK2 scheme (2.21) for a simplified nonlinear model of LL equation, in which only the damping term is considered, while the gyromagnetic term is skipped.
5.1 Linear stability estimate for the SSP-IMEX-RK2 scheme (2.21)
In the simple case with only linear diffusion term is considered, we denote . The SSP-IMEX-RK2 scheme (2.21) is simplified as
(5.26) |
For the convenience of the stability analysis, numerical system could be rewritten as
(5.27) | |||
(5.28) | |||
(5.29) | |||
(5.30) |
Moreover, to reveal the numerical stability of this Runge-Kutta style algorithm, we subtract (5.27) from (5.28), (5.28) from (5.29), and arrive at the following equivalent numerical system:
(5.31) | |||
(5.32) | |||
(5.33) | |||
(5.34) |
Taking a discrete inner product with (5.31) by gives
(5.35) |
in which the summation-by-parts formula (3.22) has been applied. Similarly, taking a discrete inner product with (5.32) by , with (5.33) by , leads to
(5.36) | |||
(5.37) |
In turn, a combination of (5.35) and (5.37) indicates that
(5.38) |
Meanwhile, a careful application of Cauchy inequality implies that
(5.39) | |||
(5.40) | |||
(5.41) |
Therefore, a substitution of these estimates into (5.38) yields
(5.42) |
By the fact that , we obtain the linear stability estimate for the SSP-IMEX-RK2 scheme:
(5.43) |
which in turn gives the bound of the numerical solution, if only is the linear diffusion part is considered:
(5.44) |
Remark 5.1.
In comparison with the standard three-stage IMEX-RK2 method (2.19), the SSP-IMEX-RK2 algorithm (2.21) contains four stages, with three intermediate numerical solutions, so that more computations are needed at each time step. Meanwhile, the stability analysis in this section reveals that, this numerical algorithm contains stronger diffusion coefficients than the standard IMEX-RK2 algorithm. In more details, the diffusion part in the standard IMEX-RK2 method (2.19) essentially correspond to the Crank-Nicolson approximation, which may face a serious theoretical difficulty in the nonlinear analysis, while additional diffusion terms appear in the stability estimate (5.42) for the SSP-IMEX-RK2 algorithm (2.21). This subtle fact will greatly facilitate the convergence analysis in the next subsection.
5.2 Convergence analysis of the SSP-IMEX-RK2 scheme (2.21) for a simplified nonlinear LL equation
We consider a simplified nonlinear LL equation (2.4) in this subsection, in which only the damping term is included, while the gyromagnetic term is skipped for simplicity:
(5.45) |
For a vector function with , the following identity is recalled
(5.46) |
In turn, by taking , the nonlinear term could be rewritten as
(5.47) | ||||
Subsequently, the discrete form of the nonlinear term becomes
(5.48) |
in which (second approximation to the gradient operator) is an average gradient operator defined for the gird function as and :
As a result, the SSP-IMEX-RK2 numerical algorithm is formulated as
(5.49) | ||||
For the convenience of the Runge-Kutta analysis, this numerical system could be equivalently rewritten as
(5.50) | |||
(5.51) | |||
(5.52) | |||
(5.53) |
Denote as the exact solution to the LL equation (5.45), with the regularity
(5.54) |
The main theoretical result is stated in the following theorem.
Theorem 4.
Assume that the exact solution of (5.45) has the regularity . Denote () as the numerical solution obtained from (5.49), or equivalently (5.50)-(5.53), with the initial error satisfying . In addition, a linear refinement assumption is made for the time step size: . Then the following convergence result holds for as :
(5.55) |
in which the constant is independent of and .
Proof 5.2.
(Proof of Theorem 4.) Around the boundary section , we set , , and we can extend the profile to the numerical “ghost” points, according to the extrapolation formula (2.6):
(5.56) |
and the extrapolation for other boundaries can be formulated in the same manner. The proof of such an extrapolation yields a higher order approximation, instead of the standard accuracy. See the related derivation in [50], as well as the related consistency analysis works [40, 24, 23, 25].
Given the exact solution , we denote . To facilitate the Runge-Kutta analysis, three more intermediate approximate solutions are constructed at each time step, following the same algorithm as in (5.49):
(5.57) | ||||
(5.58) | ||||
(5.59) |
in which the homogeneous discrete Neumann boundary condition (similar to (2.6), (5.56)) is imposed for , . Subsequently, a careful Taylor expansion (associated with the SSP-IMEX-RK schemes) reveals the following consistency estimate, for the exact solution at the next time step:
(5.60) |
Of course, with a similar transformation as in (5.50)-(5.53), the exact solution , and the constructed profiles () satisfy the following numerical system:
(5.61) | |||
(5.62) | |||
(5.63) | |||
(5.64) |
It is clear that the constructed profiles () only depend on the exact solution , and the consistency estimate indicates that
(5.65) |
The following numerical error functions are defined:
(5.66) | ||||
at a point-wise level. In addition, the following nonlinear error terms are introduced:
(5.67) |
Therefore, subtracting the numerical scheme (5.50)-(5.53) from the consistency estimate (5.61)-(5.64) yields
(5.68) | |||
(5.69) | |||
(5.70) | |||
(5.71) |
In addition, the discrete homogeneous Neumann boundary condition (2.6) is satisfied for both , , as well as the intermediate error functions , .
To facilitate the convergence proof, the following functional bound of the nonlinear error terms is needed.
Lemma 5.
Under the regularity estimate (5.65) for the constructed profiles, and the following bound for the numerical solution in the IMEX-RK stages
(5.72) |
we have an estimate for the nonlinear error terms:
(5.73) |
in which only depends on , , , , and the external force term .
Proof 5.3.
(Proof of Lemma 5.) A careful expansion of the nonlinear terms and gives
(5.74) |
In turn, an application of discrete Hölder inequality leads to
(5.75) | ||||
(5.76) | ||||
(5.77) | ||||
(5.78) |
in which the regularity estimate (5.65) and the functional bound (5.72) have been repeatedly applied, along with the fact that , (for any grid function ). Also notice an bound for the external force term: . As a result, a substitution of (5.75)-(5.78) into (5.74) yields the nonlinear error estimate (5.73), by taking . This completes the proof of Lemma 5.
Before proceeding into the formal error estimate, we make the following a-priori assumption for the numerical error function at the previous time step:
(5.79) |
Such an assumption will be recovered by the convergence analysis at the next time step .
Error estimate at Stage 1 Taking a discrete inner product with (5.68) by gives
(5.80) |
with an application of the summation-by-parts formula (3.22), due to the discrete homogeneous Neumann boundary condition for . As a result, the following estimates available:
(5.81) | ||||
in which the linear refinement requirement, , has been applied. Subsequently, the and bound for the numerical error function could be derived, with the help of inverse inequalities (3.23), (3.24) (by taking ) in Lemma 2:
(5.82) | |||
(5.83) |
provided that and are sufficiently small, the linear refinement requirement, . In turn, we obtain the following functional bound for the numerical solution at the first Runge-Kutta stage, which will be useful in the later analysis:
(5.84) | |||
(5.85) |
with an application of triangular inequality, along with the regularity estimate (5.65).
Error estimate at Stage 2 Taking a discrete inner product with (5.69) by gives
(5.86) | ||||
with an application of the summation-by-parts formula (3.22). The first term on the right hand side could be controlled by the Cauchy inequality:
(5.87) |
Regarding the inner product term associated with the nonlinear error, we observe that an application of Lemma 5 implies the following estimates:
(5.88) | ||||
based on the regularity estimate (5.65) and the functional bound (5.84)-(5.85). Moreover, an application of the discrete Sobolev inequality (3.25) (in Lemma 3) indicates that
(5.89) |
in which the Young’s inequality has been applied in the last step. Therefore, a substitution of (5.87)-(5.89) into (5.86) yields
(5.90) | ||||
Furthermore, its combination with (5.80) gives
(5.91) | ||||
Consequently, with an application of the a-priori estimate (5.81), we obtain
(5.92) | ||||
under the linear refinement requirement, . Similarly, the and bound for both the numerical error function and the numerical solution could be derived as follows
(5.93) | |||
(5.94) | |||
(5.95) | |||
(5.96) |
Error estimate at Stage 3 Taking a discrete inner product with (5.70) by gives
(5.97) | ||||
with an application of the summation-by-parts formula (3.22). The first two terms on the right hand side could be analyzed in the same way as in (5.40)-(5.41)
(5.98) | |||
(5.99) |
Again, the nonlinear error term, as well as the corresponding inner product, could be analyzed in a similar fashion:
(5.100) | ||||
based on the a-priori bound estimate (5.95)-(5.96) in the second RK stage and the regularity estimate (5.65). Subsequently, a substitution of (5.98)-(5.100) into (5.97) gives
(5.101) | ||||
and its combination with (5.91) yields
(5.102) | ||||
Similarly, with the help of the a-priori estimates (5.81), (5.92), in the first and second RK stages, respectively, the following rough error estimates could be derived:
(5.103) | ||||
and the and bound for both the numerical error function and the numerical solution also becomes available:
(5.104) | |||
(5.105) | |||
(5.106) | |||
(5.107) |
Error estimate at Stage 4 Taking a discrete inner product with (5.71) by gives
(5.108) | ||||
The local truncation error inner product term could be controlled in a straightforward way:
(5.109) |
The nonlinear error terms could be analyzed in a similar manner:
(5.110) | ||||
In turn, a substitution of (5.109), (5.110) into (5.108) leads to
(5.111) | ||||
and its combination with (5.102) yields
(5.112) | ||||
with . To control the terms , we see that an application of triangle inequality implies that
(5.113) | ||||
Meanwhile, an application of inverse inequality (3.24) (by taking , in Lemma 2) results in
(5.114) | ||||
provided that , which is always valid under the linear refinement requirement, , and the assumption that and are sufficiently small. In addition, we recall the preliminary estimate (5.100) for :
(5.115) | ||||
Therefore, a substitution of (5.113)-(5.115) into (5.112) gives
(5.116) | ||||
Moreover, by making use of the triangle inequalities
(5.117) | ||||
we arrive at
(5.118) | ||||
provided that is sufficiently small. In turn, an application of discrete Gronwall inequality [52] yields the desired convergence estimate at the next time step
(5.119) |
based on the fact that . As a result, we see that the a-priori assumption (5.79) has also been validated at the next time step , provided that and are sufficiently small. By mathematical induction, this completes the proof of Theorem 4.
Remark 5.4.
For the multi-step IMEX numerical schemes to various nonlinear PDEs, there have been some existing works of convergence analysis [9, 18], etc. Meanwhile, for the IMEX-RK numerical schemes, the theoretical works have been very limited, due to the theoretical challenges associated with the multi-stage nature, lack of sufficient numerical diffusion, etc. A linearized stability analysis is provided for the IMEX-RK1 and IMEX-RK2 schemes for the diffusion problem [30], as well as the error estimate for the constant-coefficient diffusion equation. The convergence analysis has been reported for the IMEX-RK numerical methods to various nonlinear PDEs, such as the convection-diffusion equation [29], the porous media equation [28, 31], etc. On the other hand, the degree of nonlinearity of the LL equation (even the simplified version (5.45), with only the damping term) is higher than these reported models. As a result, the associated theoretical analysis presented in this article contains more techniques than the existing works.
Remark 5.5.
At the intermediate Runge-Kutta stages, the error bound estimate (5.81), (5.92), (5.103), the associated and error bounds (5.82)-(5.83), (5.93)-(5.94), (5.104)-(5.105), stand for a rough error estimate. These error bound estimates do not preserve a full accuracy order; instead, the motivation of these analyses is to obtain a rough bound of the numerical error function, so that a preliminary bound becomes available for the numerical solution at the associated Runge-Kutta stages, as derived in (5.84)-(5.85), (5.95)-(5.96), (5.106)-(5.107). As a result of these preliminary bounds, the nonlinear error terms could be analyzed with the help of Lemma 5, so that the nonlinear analysis would go through.
In comparison, with these nonlinear analyses established, the numerical error inequalities (5.80), (5.91), (5.102) stand for a refined error estimate. Finally, the derived estimate (5.118) becomes an inequality in which we are able to derive the desired accuracy order for the numerical error.
A combination of rough error estimate and refined error estimate has been reported for various nonlinear PDEs, such as ternary Flory-Huggins-Cahn-Hilliard system [12], Poisson-Nernst-Planck system [22], the porous medium equation by an energetic variational approach [14, 13], the reaction-diffusion system with detailed balance [21], etc. This article reports the application of such a technique to the LL equation for the first time.
Remark 5.6.
For simplicity, we only consider the damping term in the convergence analysis, as the PDE system formulated as (5.45). For the full LL equation (2.4), the convergence estimate may still go through, under a large damping parameter assumption, combined with a technical requirement of ; the details are left to interested readers, for the sake of brevity. Of course, such a requirement only stands for a theoretical difficulty, and this restrictive time step constraint is not needed in the practical computation, as demonstrated in extensive numerical experiments.
Remark 5.7.
A theoretical analysis of the IMEX-RK3 numerical algorithm, including the linearized stability estimate and optimal rate convergence analysis, is expected to be even more challenging, due to the complicated diffusion coefficient stencil in the RK stages. This theoretical work will be studied in a forthcoming paper.
6 Conclusions
In this paper, we propose implicit-explicit Runge-Kutta numerical methods for solving the Landau-Lifshitz equation. By introducing an artificial damping term, IMEX-RK methods only solve a few linear systems with constant coefficients and SPD structures, regardless of the damping parameter in a magnetic material. Accuracy, efficiency, and the insensitive dependence on the artificial damping parameter of IMEX-RK2 and IMEX-RK3 have been verified in both the 1-D and 3-D computations. Micromagnetics simulations using the full Landau-Lifshitz equation are conducted, including three stable structures and the first benchmark problem from NIST. Reasonable results are generated by the IMEX-RK methods, in qualitative and quantitative agreements with available results. In addition, the linearized stability estimate and optimal rate convergence analysis are presented for an alternate IMEX-RK2 numerical scheme, the SSP-IMEX-RK2 algorithm. This analysis has provided a theoretical evidence of the robust performance of the IMEX-RK schemes.
Acknowledgments
This work is supported in part by the grants NSFC 11971021 (J. Chen) and NSF DMS-2012269 (C. Wang).
References
- [1] L. Landau and E. Lifshitz, “On the theory of the dispersion of magnetic permeability in ferromagnetic bodies,” Physikalische Zeitschrift Der Sowjetunion, vol. 63, no. 9, pp. 153–169, 1935.
- [2] T. Gilbert, “A Lagrangian formulation of the gyromagnetic equation of the magnetization field,” Physical Review, vol. 100, p. 1243, 1955.
- [3] R. An, “Optimal error estimates of linearized Crank–Nicolson Galerkin method for Landau–Lifshitz equation,” Journal of Scientific Computing, vol. 69, no. 1, pp. 1–27, 2016.
- [4] R. An and W. Sun, “Analysis of backward Euler projection FEM for the Landau-Lifshitz equation,” IMA Journal of Numerical Analysis, vol. 42, no. 3, pp. 2336–2360, 2022.
- [5] S. Bartels and P. Andreas, “Convergence of an implicit finite element method for the Landau–Lifshitz–Gilbert equation,” SIAM journal on numerical analysis, vol. 44, no. 4, pp. 1405–1419, 2006.
- [6] S. Bartels, J. Ko, and A. Prohl, “Numerical analysis of an explicit approximation scheme for the Landau–Lifshitz–Gilbert equation,” Mathematics of Computation, vol. 77, no. 262, pp. 773–788, 2008.
- [7] W. Chen, Y. Liu, C. Wang, and S. Wise, “An optimal-rate convergence analysis of a fully discrete finite difference scheme for Cahn-Hilliard-Hele-Shaw equation,” Math. Comp., vol. 85, pp. 2231–2257, 2016.
- [8] W. Chen, C. Wang, S. Wang, X. Wang, and S. Wise, “Energy stable numerical schemes for ternary Cahn-Hilliard system,” J. Sci. Comput., vol. 84, p. 27, 2020.
- [9] K. Cheng and C. Wang, “Long time stability of high order multi-step numerical schemes for two-dimensional incompressible Navier-Stokes equations,” SIAM Journal on Numerical Analysis, vol. 54, pp. 3123–3144, 2016.
- [10] P. Ciarlet, The Finite Element Method for Elliptic Problems. Elsevier Science, 1978.
- [11] S. Conde, S. Gottlieb, Z. Grant, and J. Shadid, “Implicit and implicit-explicit strong stability preserving Runge-Kutta methods with high linear order,” Journal of Scientific Computing, vol. 83, no. 2, pp. 667–690, 2017.
- [12] L. Dong, C. Wang, S. Wise, and Z. Zhang, “Optimal rate convergence analysis of a numerical scheme for the ternary Cahn-Hilliard system with a Flory-Huggins-deGennes energy potential,” Journal of Computational and Applied Mathematics, vol. 406, p. 114474, 2022.
- [13] C. Duan, C. Liu, C. Wang, and X. Yue, “Convergence analysis of a numerical scheme for the porous medium equation by an energetic variational approach,” Numerical Mathematics: Theory, Methods and Applications, vol. 13, pp. 1–18, 2020.
- [14] C. Duan, W. Chen, C. Liu, C. Wang, and X. Yue, “A second order accurate, energy stable numerical scheme for one-dimensional porous medium equation by an energetic variational approach,” Communications in Mathematical Sciences, vol. 20, no. 4, pp. 987–1024, 2022.
- [15] W. E and X. Wang, “Numerical methods for the Landau–Lifshitz equation,” SIAM journal on numerical analysis, pp. 1647–1665, 2001.
- [16] A. Fuwa, T. Ishiwata, and M. Tsutsumi, “Finite difference scheme for the Landau–Lifshitz equation,” Japan journal of industrial and applied mathematics, vol. 29, no. 1, pp. 83–110, 2012.
- [17] S. Gottlieb, C. Shu, and E. Tadmor, “Strong stability-preserving high-order time discretization methods,” SIAM Review, vol. 43, no. 1, pp. 89–112, 2001.
- [18] S. Gottlieb and C. Wang, “Stability and convergence analysis of fully discrete Fourier collocation spectral method for 3-D viscous Burgers’ equation,” Journal of Scientific Computing, vol. 53, pp. 102–128, 2012.
- [19] Z. Guan, C. Wang, and S. Wise, “A convergent convex splitting scheme for the periodic nonlocal Cahn-Hilliard equation,” Numer. Math., vol. 128, pp. 377–406, 2014.
- [20] Z. Guan, J. Lowengrub, and C. Wang, “Convergence analysis for second order accurate schemes for the periodic nonlocal Allen-Cahn and Cahn-Hilliard equations,” Math. Methods Appl. Sci., vol. 40, no. 18, pp. 6836–6863, 2017.
- [21] C. Liu, C. Wang, Y. Wang, and S. Wise, “Convergence analysis of the variational operator splitting scheme for a reaction-diffusion system with detailed balance,” SIAM Journal on Numerical Analysis, vol. 60, no. 2, pp. 781–803, 2022.
- [22] C. Liu, C. Wang, S. Wise, X. Yue, and S. Zhou, “A positivity-preserving, energy stable and convergent numerical scheme for the Poisson-Nernst-Planck system,” Mathematics of Computation, vol. 90, pp. 2071–2106, 2021.
- [23] C. Wang and J.-G. Liu, “Convergence of gauge method for incompressible flow,” Mathematics of Computation, vol. 69, pp. 1385–1407, 2000.
- [24] R. Samelson, R. Temam, C. Wang, and S. Wang, “Surface pressure Poisson equation formulation of the primitive equations: Numerical schemes,” SIAM Journal on Numerical Analysis, vol. 41, pp. 1163–1194, 2003.
- [25] C. Wang, J.-G. Liu, and H. Johnston, “Analysis of a fourth order finite difference method for incompressible Boussinesq equation,” Numerische Mathematik, vol. 97, pp. 555–594, 2004.
- [26] X.-P. Wang, C. Garcıa-Cervera, and W. E, “A Gauss–Seidel projection method for micromagnetics simulations,” Journal of Computational Physics, vol. 171, no. 1, pp. 357–372, 2001.
- [27] C. Xie, C. Garcıa-Cervera, C. Wang, Z. Zhou, and J. Chen, “Second-order semi-implicit projection methods for micromagnetics simulations,” Journal of Computational Physics, vol. 404, p. 109104, 2020.
- [28] C. Nan and H. Song, “Error estimates of local discontinuous Galerkin method with implicit-explicit Runge Kutta for two-phase miscible flow in porous media,” Applied Numerical Mathematics, vol. 169, pp. 334–350, 2021.
- [29] H. Wang, S. Wang, Q. Zhang, and C. Shu, “Local discontinuous Galerkin methods with explicit-implicit time marching for multi-dimensional convection-diffusion problems,” ESAIM: Mathematical Modeling and Numerical Analysis, vol. 50, pp. 1083–1105, 2016.
- [30] H. Wang, Q. Zhang, S. Wang, and C. Shu, “Local discontinuous Galerkin methods with explicit–implicit–null time discretizations for solving nonlinear diffusion problems,” Science China Mathematics, vol. 63, no. 1, pp. 183–204, 2020.
- [31] H. Wang, J. Zheng, F. You, H. Guo, and Q. Zhang, “Local discontinuous Galerkin method with explicit-implicit time marching for incompressible miscible displacement problem in porous media,” Journal of Scientific Computing, vol. 78, pp. 1–28, 2019.
- [32] U. Ascher, S. Ruuth, and R. Spiteri, “Implicit-explicit Runge–Kutta methods for time–dependent partial differential equations,” Applied Numerical Mathematics, vol. 25, no. 2-3, pp. 151–167, 1997.
- [33] Y. Zheng and J. Zhu, “Switching field variation in patterned submicron magnetic film elements,” Journal of Applied Physics, vol. 81, no. 8, pp. 5471–5473, 1997.
- [34] T. Schrefl, D. Suess, W. Scholz, H. Forster, V. Tsiantos, and J. Fidler, “Finite element micromagnetics,” Computational Electromagnetics, pp. 165–181, 2003.
- [35] F. Alouges and P. Jaisson, “Convergence of a finite element discretization for the Landau–Lifshitz equations in micromagnetism,” Mathematical Models and Methods in Applied Sciences, vol. 16, no. 02, pp. 299–316, 2006.
- [36] C. García-Cervera and W. E, “Improved Gauss–Seidel projection method for micromagnetics simulations,” IEEE transactions on magnetics, vol. 39, no. 3, pp. 1766–1770, 2003.
- [37] I. Cimrák, “Error estimates for a semi–implicit numerical scheme solving the Landau–Lifshitz equation with an exchange field,” IMA journal of numerical analysis, vol. 25, no. 3, pp. 611–634, 2005.
- [38] H. Gao, “Optimal error estimates of a linearized backward euler fem for the Landau–Lifshitz equation,” SIAM Journal on Numerical Analysis, vol. 52, no. 5, pp. 2574–2593, 2014.
- [39] S. Boscarino, F. Filbet, and G. Russo, “High order semi–implicit schemes for time dependent partial differential equations,” Journal of Scientific Computing, vol. 68, no. 3, pp. 975–1001, 2016.
- [40] J. Chen, C. Wang, and C. Xie, “Convergence analysis of a second–order semi–implicit projection method for Landau–Lifshitz equation,” Applied Numerical Mathematics, vol. 168, pp. 55–74, 2021.
- [41] Y. Cai, J. Chen, C. Wang, and C. Xie, “A second-order numerical method for Landau–Lifshitz–Gilbert equation with large damping parameters,” Journal of Computational Physics, vol. 451, p. 110831, 2022.
- [42] Micromagnetic Modeling Activity Group and Technology, “2000,” https://www.ctcms.nist.gov/~rdm/mumag.org.html.
- [43] R. An, H. Gao, and W. Sun, “Optimal error analysis of Euler and Crank–Nicolson projection finite difference schemes for Landau–Lifshitz equation,” SIAM J. Numer. Anal., vol. 59, no. 3, pp. 1639–1662, 2021.
- [44] M. Kruzík and A. Prohl, “Recent developments in the modeling, analysis, and numerics of ferromagnetism,” SIAM Rev., vol. 48, no. 3, pp. 439–483, 2006.
- [45] I. Cimrák, “A survey on the numerics and computations for the Landau-Lifshitz equation of micromagnetism,” Arch. Comput. Methods Eng., vol. 15, no. 3, pp. 277–309, 2008.
- [46] C. J. García-Cervera, “Numerical micromagnetics: a review,” Bol. Soc. Esp. Mat. Apl., vol. 39, pp. 103–135, 2007.
- [47] P. Li, C. Xie, R. Du, J. Chen, and X. Wang, “Two improved Gauss-Seidel projection methods for Landau-Lifshitz-Gilbert equation,” J. Comput. Phys., vol. 401, p. 109046, 2020.
- [48] G. Akrivis, M. Feischl, B. Kovács, and C. Lubich, “Higher-order linearly implicit full discretization of the Landau-Lifshitz-Gilbert equation,” Math. Comp., vol. 90, pp. 995–1038, 2021.
- [49] W. Brown, Micromagnetics. Interscience Tracts on Physics and Astronomy. Interscience Publishers (John Wiley and Sons), New York-London, 1963.
- [50] Y. Cai, J. Chen, C. Wang, and C. Xie, “Error analysis of a linear numerical scheme for the Landau-Lifshitz equation with large damping parameters,” Math. Meth. Appl. Sci., vol. 46, pp. 18 952–18 974, 2023.
- [51] C. Gear, “Hybrid methods for initial value problems in ordinary differential equations,” Journal of the Society for Industrial and Applied Mathematics, Series B: Numerical Analysis, vol. 2, no. 1, pp. 69–86, 1965.
- [52] V. Girault and P. Raviart, Finite Element Methods for Navier-Stokes Equations, Theorems and Algorithms. Springer-Verlag, 1986.