Four-Stage Fourth-Order Strong-Stability-Preserving Runge-Kutta Method for Nonlinear Autonomous Scalar Equation ()
1. Introduction
For the hyperbolic conservation laws, the semidiscrete method (also called the method of lines) is especially useful in devising the methods with order of accuracy greater than 2, and it often generates autonomous scalar equations. This approach considers the spatial and temporal discretizations in two stages. Since hyperbolic partial differential equations easily generate discontinuous solutions, the stable spatial and temporal discretizations are preferred. Generally, we first discretize spatial variables with some suitable schemes (e.g. total variation diminishing (TVD) schemes [1], essentially non-oscillatory (ENO) schemes [2] [3], weighted ENO schemes [4] [5], and so on), leaving the problem continuous in time and this leads to a system of ODEs. In [6], the nonlinear instability has been shown numerically by method coupling the TVD spatial discretization with linearly stable temporal discretization. This suggests the necessity of nonlinearly stable temporal discretization.
The SSPRK methods for discretizing time variable are first developed in [7] [8] and previously named TVD-RK methods. The essence of SSPRK is to write the standard RK scheme into the convex combinations of forward Euler schemes. If the forward Euler scheme is strongly stable with a certain CFL restriction, then high-order SSPRK schemes with a modified CFL restriction can be also strongly stable. Under the assumption that the number of stage
is equal to the order
, the optimal SSPRK methods with order of accuracy of 1, 2 and 3 have been found. In [9] [10], with relax restriction
, a new class of optimal high-order SSPRK methods is developed. These new schemes have better CFL restrictions of strong stability than the schemes have been developed before.
In [7], a four-stage fourth-order scheme is given but with two negative coefficients. Then a slightly improved version is presented in [6] but the number of negative coefficient is still two. To make them keep the SSP property, two additional adjoint operators have to be introduced, leading to the increased requirement of both computational cost and memory storage. For the general ODEs, the four-stage fourth-order SSPRK method with all coefficients nonnegative has been proved to be unattainable, and the lower three-stage third-order SSPRK has been the often resort. Fortunately, for the nonlinear autonomous scalar ODE, we find out an optimal explicit four-stage fourth-order SSPRK method with all the coefficients non-negative. For simplicity, we rearrange the standard RK formula into a more compact form, and under such form, the strong stability of method is still easy to analyse. When comparing with classical SSPRK method [7] [8], we do not impose the requirement of convex combination of forward Euler method on each stage. This relaxation makes the number of undetermined coefficients largely decreased, and more importantly, it leads to the decrease of the number of the objective functions and renders the optimization problem solvable. In addition, if the classical SSPRK method can be rearranged into this compact form, then the CFL restriction of compact form will be equal to that of classical SSPRK method. Finally, under this compact form, we re-prove the optimality of two-stage second-order and three-stage third-order SSPRK methods. The proofs presented here are more approachable than the ones have given in [6]. In addition, the multi-step SSP schemes and relaxation Runge-Kutta methods can refer to [11] and [12].
The organization of this paper is as follows. In Section 2 SSP, we briefly review the SSPRK schemes and basic properties of the methods. In Section 3 of SSP22 SSP33, we transform the standard RK schemes into some king of equivalent forms, and re-prove the optimality of two-stage second-order and three-stage third-order SSPRK methods. The optimal four-stage fourth-order SSPRK method for autonomous scalar equation is shown in Section 4 SSP. Finally, in Section 5, we test numerically the order of accuracy of method by a nonlinear autonomous scalar ODE.
2. The Classical Explicit SSPRK Schemes
We consider the hyperbolic conservation laws
(2.1)
where
may be a vector, and then
represents the flux vector function. With the method of lines, we first discrete the spatial variable
by suitable methods (e.g. TVD, ENO, WENO and so on), and get the ODEs
(2.2)
A method is strongly stable with a given norm
provided the sequence
satisfies
for all
.
To ensure the strong stability of temporal discretizing methods, the standard explicit RK schemes
(2.3)
is rearranged into the classical form [7]
(2.4)
The number of undetermined coefficients in (2.4) is more than that in (2.3). It is also noted that, each method of form (2.4) can be converted to a unique method of form (2.3), but the conversion from (2.3) to (2.4) is not unique. If all the coefficients satisfy
(2.5)
then the scheme (2.4) can be actually regarded as convex combinations of few forward Euler methods.
Theorem 2.2. If the forward Euler methods is strongly stable under the CFL restriction
, then RK methods (2.4) satisfying coefficient conditions
(2.5) is also strongly stable provided
, where .
Under the optimal requirement of , the two-stage second-order and three-stage third-order SSPRK methods are constructed as follows
(2.6)
and
(2.7)
where, for both methods, the CFL restriction
. For the four-stage fourth-order method, the best case found in [6] is
(2.8)
The CFL restriction of this scheme is
and two additional adjoint function evaluations are introduced to preserve the SSP property.
3. Proof of Optimality of Two-Stage Second-Order and Three-Stage Third-Order SSPRK Methods
In order to prove the optimality of these two SSPRK methods, we rearrange the standard RK scheme (2.3) into some kind of different form and make the global optimization problem solvable. It is noted that all the results in this section can be extended to non-autonomous equations of form
, since, for two-stage second-order and three-stage third-order RK methods, the order conditions for
are same as the ones for
. We first rearrange the
-stage standard RK method (2.3) into the following form
(3.1)
where
. It is clearly found that, for each
there appears only one function valuation
. The following theorem clarify the relationship between the methods (2.3) and (3.1).
Theorem 3.1. For each standard RK method of the form (2.3), there is only one method of (3.1) which is equivalent to it, and the conversion is also true.
Proof. We first express the standard RK method (2.3) as
where
Since
, the lower triangular matrix
is nonsingular, and then we get
Denote
, where
is the ith row vector of
, then it gives
For the ith stage (
) of standard RK method (2.3), substituting the function evaluations
(
) by the above formulas, we finally obtain the RK method (3.1). The conversion from RK method (3.1) to standard RK method (2.3) can be proved similarly. □
Theorem 3.2. If the forward Euler methods is strongly stable in norm
under the CFL restriction
, then the compact RK methods (3.1) satisfying the following coefficient conditions
is also strongly stable in the same norm provided
, where
.
Proof. For clearly, we express (3.1) in detail as
(3.2)
Since
,
and the forward Euler methods is strongly stable in norm
,
and the last inequality is valid provided the CFL restriction
. Analogously,
,
, provided
. Finally,
The second inequality requires
and the last inequality requires
. Hence, for strong stability
, the CFL coefficient must be chosen to be
. □
It is noted that the compact SSPRK methods (3.1) can be regarded as the special cases of classical SSPRK methods (2.4) since the coefficient conditions in Theorem 3.2. also satisfy the coefficient conditions (2.5).
Theorem 3.3. If an s-stage classical SSP-RK method of form (2.4) can be rearranged into the compact SSP-RK method of form (3.1), then . Proof. For the ith stage (
), by simple symbolic operation, we can obtain □
Then it gives
which indicates
Therefore, for the ith stage, we have
Finally, we have
This theorem suggests that CFL restriction of the classical SSPRK method will be equal to that of the corresponding compact SSPRK method provided classical SSPRK method can be rearranged into the compact form.
Theorem 3.4. The optimal two-stage second-order compact SSPRK method is
which has a CFL coefficient of 1.
Proof. We first present the two-stage second-order compact method of form (3.1)
where
. To achieve the second order accuracy, the undetermined coefficients must conform to the order conditions
According to the above two equations, we obtain
. Since the optimality of two-stage second-order SSPRK method is to find the maximum of
, obviously,
is the optimal situation. Coupling this optimal situation with the above order conditions, we will easily get □
Theorem 3.5. The optimal three-stage third-order compact SSPRK method is
which has a CFL coefficient of 1.
Proof. As in the above theorem, we also first give the three-stage third-order compact SSPRK methods of form (3.1)
where
. Third order accuracy requires the following order conditions
Dividing the third equation by the second equation, we get
Also the maximum of
can arrive 1 at most when
. Combining these information with the system of order conditions, we can easily find out the solution □
4. Optimal Four-Stage Fourth-Order SSPRK Scheme
The above two theorems show the optimal two-stage second-order and three-stage third-order compact SSPRK methods. It is expectable that they are exactly the same as the ones in [7] [8], but the proofs of optimality here are more straightforward when compared with the ones shown in [6]. For four-stage fourth-order SSPRK method with all coefficients non-negative, it has been always proved to be unattainable in the literatures [6]. This proof is processed under the order conditions of non-autonomous ODEs
. Fortunately, the order conditions of autonomous scalar ODE
are not totally same as the ones of non-autonomous case.
To see it more clearly, we first give the order conditions of four-stage fourth-order RK method of form (3.1) for
,
(4.1)
where
,
and
. Next, we show the order conditions of four-stage fourth-order RK method of form (3.1) for
,
(4.2)
where
,
and
, and here the parameters
,
and
is just used to simplify the equations (4.2). The order conditions (4.2) are composed of seven equations not eight equations, which is also suggested by
where we denote
by
. In addition, comparing these two formulas, it is found that the solution of (4.1) must be the solution of (4.2), but the converse from (4.2) to (4.1) is not true. Hence, although the four-stage fourth-order SSPRK method with all the coefficients nonnegative for non-autonomous ODEs is non-existent, the method for the autonomous scalar case is indeed attainable.
Theorem 4.1. The optimal four-stage fourth-order SSPRK method for autonomous scalar ODE is
where
, and the undetermined coefficients are
and it has a CFL coefficient of 0.875.
In (4.2), similar to the proofs in Theorems 3.4 and 3.5, dividing the fifth equation by seventh equation, we can also have
If we wish
, then
Combining these equations with the order conditions (4.2), we find all the coefficients are non-negative but
. Therefore, we should not expect the four-stage fourth-order SSPRK methods to have a CFL restriction of 1. Without the graceful condition
, it is very hard to exactly find optimal SSPRK method. A compromise way is to approximately find the optimal SSPRK method by solving a mathematical optimization problem,
subject to the order conditions (4.2),
This optimization problem can be solved by Matlab Optimization Toolbox and the results have been given in Theorem 4.1. Actually, to find the maximal CFL number is a complex optimization problem. That is, under condition (4.2) and limitation to be non-negative for coefficients, by Matlab Optimization Toolbox, we find the maximal CFL number is 0.875. It is noted that there exist no rigorous mathematical derivation.
5. Numerical Tests
In Theorem 4.1, for autonomous scalar ODE, an optimal four-stage SSPRK method with all coefficients non-negative is presented. The still open problem is to numerically verify the order of accuracy of this method.
Consider the nonlinear ODE of first order
(5.1)
subject to the initial condition
, and the solution of this simple ODE is
. we evolve the equation to time
. The absolute errors at time
are shown in Table 1 and the order of accuracy of four-stage fourth-order SSPRK method is verified to be of 4.
Table 1. The absolute errors and order of four-stage fourth-order SSPRK method.
|
absolute errors |
order |
1.00e−01 |
9.1525e−07 |
– |
5.00e−02 |
5.4180e−08 |
4.078 |
2.50e−02 |
3.2919e−09 |
4.041 |
1.25e−02 |
2.0281e−10 |
4.021 |
6. Conclusion
In this paper, we rearrange the standard RK methods into a kind of compact forms. This compact RK form is also convenient to be used to analyse the strong ability of method itself as the classical SSPRK method. But, the undetermined coefficients of this compact SSPRK method is less than those of classical SSPRK method. Especially, the objective functions of optimization problem is heavily decreased. With the compact SSPRK form, we re-prove the optimality of two-stage second-order and three-stage third-order SSPRK methods and the procedure of proof is more straightforward. More importantly, we find out the four-stage fourth-order SSPRK method for autonomous scalar ODE. In the end, we test numerically the order of accuracy of four-stage fourth-order SSPRK method by a nonlinear autonomous scalar ODE.
Supported
This work was supported by the Natural Science Foundation of Guangdong Province under Grant No. 2018A030313879, the Technology Foundation of Huizhou under Grant No. 2017C0403019, Huizhou University No. HZUX1201620 and 2018ZX046.