Article
Kyungpook Mathematical Journal 2021; 61(2): 309-322
Published online June 30, 2021
Copyright © Kyungpook Mathematical Journal.
Conservative Upwind Correction Method for Scalar Linear Hyperbolic Equations
Sang Dong Kim, Yong Hun Lee*, Byeong Chun Shin
Gyeongbuk Provincial College, Yecheon 36830, Korea, and Department of Mathematics, University of Wisconsin-Whitewater, Whitewater WI, USA
e-mail : skim@knu.ac.kr
Department of Mathematics and Institute of Pure and Applied Mathematics, Jeonbuk National University, Jeonju 54896, Korea
e-mail : lyh229@jbnu.ac.kr
Department of Mathematics, Chonnam National University, Gwangju 61186, Korea
e-mail : bcshin@jnu.ac.kr
Received: April 19, 2018; Revised: June 1, 2021; Accepted: June 1, 2021
Abstract
A conservative scheme for solving scalar hyperbolic equations is presented using a quadrature rule and an ODE solver. This numerical scheme consists of an upwind part, plus a correction part which is derived by introducing a new variable for the given hyperbolic equation. Furthermore, the stability and accuracy of the derived algorithm is shown with numerous computations.
Keywords: conservative method, hyperbolic scalar equation, ODE solver, quadrature rule, upwind method
1. Introduction
It is well known that lower order numerical methods, such as various monotone methods, behave well near discontinuities, while high order numerical methods, such as the Lax-Wendroff method, work well in smooth regions (see [14, 15] for example). Monotone methods are first-order accurate due to Godunov's theorem. They do not produce non-physical phenomena such as smearing of the solution or spurious oscillations. On the other hand, high-order methods yield non-physical phenomena when shocks are presented.
The total variation diminishing (TVD) technique has long been used as one of the various techniques for avoiding the spurious or non-physical oscillations exhibited by high-order schemes. It requires one to modify a high-order method such as the Lax-Wendroff method (see [2, 13, 15, 19] and etc., for example) using flux- or slope- limiter techniques.
The main goal of this paper is to introduce a correction technique to the upwind method, another known method for eliminating undesired non-physical phenomena, to solve a simple scalar linear hyperbolic equation without the help of any limiter techniques. The first step towards realising this goal is to split the hyperbolic equation
The
Our other goal is to computationally compare the proposed algorithm with the well-known upwind, Lax-Wendroff and flux-limiter methods, and to show the second-order local truncation error of the proposed algorithm. The order of convergence of the upwind correction scheme in comparible to that of min-mode type schemes reported in [8] and [16] and that of the fully-discrete high-resolution schemes with van Leer's flux limiter reported in [7], for example.
This paper is layed out as follows. In Section 2, we will present how the algorithm can be derived. In Section 3, the almost
2. Error Correction Upwind Method
We consider the following simple linear hyperbolic equation
with initial data
By introducing a new variable
Lemma 2.1. Assume that the solution of (2.1) is sufficiently smooth. Then the system of ordinary differential equations (2.3) is equivalent to
which implies (2.4). On the other hand, assuming (2.4) we have
Hence, we have
Now, let us discuss the discretization for which we assume that the domain
where
We will present a conservative method for
where, for an approximation of
Later, a parameter γ in (2.6) will be taken to adjust the convergence of the proposed algorithm. With this, (2.5) can be written as
For the approximation of the values of the solution
Also we use the notation
Taking the cell-average of the both sides of (2.7), we have
For a conservative scheme for
to approximate the integral of
As a result, it follows that
in which we approximate
Here, the positive constants δ, which differ from γ in (2.6), will be chosen later. Using (2.13), we can rewrite (2.12) as
Taking the cell-average for (2.14) on
leads to the conservative numerical method for
Then, (2.15) becomes
Hence, using (2.10) for
can be written as
where the parameters δ and γ will be chosen with proper accuracy in Section 3. Actually, the two constants
will be chosen so that (2.20) and the correction term
It will be shown in Section 3 that the local truncation error of (2.22) is of second-order and that of (2.23) is of first-order. Due to Lemma 2.1, it may be suggested to allow the correction term
Algorithm 2.1. For the linear problem
where the integer index
3. Local Truncation Error and Stability
Let us denote (2.19) by
Assuming that its exact solution is smooth enough, the following relations are hold:
In fact, since
and, using
we have
Hence, if one takes the constants δ and γ in (3.1) and (3.2) as
then it follows that for a fixed
With parameters from (3.3), the algorithm (2.19) and (2.20) becomes
whose combination leads to (2.22) and (2.23).
Summarizing the above arguments, we have
Theorem 3.1. Suppose that the solution is smooth enough. Then the local truncation errors for
Hence, (3.5) and (3.6) are first and second-order accuracy respectively.
Let us denote (2.24) as
Theorem 3.2. Suppose that the solution is smooth enough. Then the local truncation error for
This completes the proof.
We note that using (3.8) one may have a modified equation for
which is compared to the modified equation
Theorem 3.3. Let
where
it follows that
Hence, one has the conclusion by taking summation..
Note that, according to the above theorems, the new method has almost
4. Numerical Example
We will take a typical linear hyperbolic equation
Example 4.1. The first initial condition is given by
By comparing the numerical solutions of the proposed upwind correction scheme (UC) with the classical upwind method and the Lax-Wendroff method, we see the effects of the correction term
-
Figure 1. The numerical solutions for the linear equation for the initial data (4.1) at
t =1, 2, 3, and 5 with the step sizeh =1/100.
-
Figure 2. The numerical solutions for the linear equation for the initial data (4.1) at
t = 1, 2, 3, and 5 with the step sizeh = 1=100.
Example 4.2. The second initial condition will be chosen as the smooth
Comparing the numerical solutions of the UC scheme with the classical upwind method and the Lax-Wendroff method, one may see that the smooth exact solution can be almost exactly approximated comparing to second-order Lax-Wendroff method even if both two methods keep the same second-order accuracy.
Example 4.3. The third initial condition is given by
In this example, the initial data has only one singularity. The numerical solutions of the UC scheme are compared with the Godunov's method for several flux limiters.
The UC scheme shows a better approximation comparing to those of the Godunov's method( see [2, 15] , etc.). Throughout numerous demonstrated examples, one can verify that such better approximations can be obtained. The reason is that the developed method (UC) is of second-order accurate with almost
5. Further Discussion
The newly developed method which works for linear scalar hyperbolic equations uses the upwind algorithm plus a correction term whose weight is chosen as
As done for a linear hyperbolic equation, one may apply the developed algorithm to a nonlinear scalar hyperbolic equation
-
Figure 3. The numerical solutions for the linear equation for the initial data (4.2) at
t = 1, 3, 6, and 10 with the step sizeh = 1=20.
-
Figure 4. The numerical solutions for the linear equation for the initial data (4.3) at
t t = 1, 3, 5, and 9 with the step sizeh = 1=50.
References
- D. Estep, A modified equation for dispersive difference schemes, Appl. Number. Math., 17(1995), 299-309.
- S. K. Godunov, A difference method for numerical calculation of discontinuous solutions of the equations of hydrodynamics, Mat. Sb., 47(1959), 271-306.
- D. F. Griffiths and J. M. Sanz-Serna, On the scope of the method of modified equations, SIAM J. Sci. Statist. Comput., 7(1986), 994-1008.
- A. Harten, High resolution schemes for hyperbolic conservation laws, J. Comput. Phys., 49(1983), 357-393.
- G. Hedstrom, Models of difference schemes for ut + ux = 0 by partial differential equations, Math. Comp., 29(1975), 969-977.
- C. Hirsch, Numerical computation of internal and external flows, 2, Wiley, 1990.
- N. Jiang, On the convergence of fully-discrete high-resolution schemes with van Leer’s flux limiter for conservation laws, Methods Appl. Anal., 16(3)(2009), 403-422.
- S. Konyagin, B. Popov and O. Trifonov, On convergence of minmod-type schemes, SAIM J. Numer. Anal., 42(5)(2005), 1978-1997.
- C. B. Laney, Computational gasdynamics, Cambridge University Press, Cambridge, 1998.
- Y. H. Lee and S. D. Kim, Note on a classical conservative method for scalar hyperbolic equations, Kyungpook Math. J., 56(2016), 1179-1189.
- B. van Leer, Towards the ultimate conservative difference scheme V. A second order sequel to Godunov’s method, J. Comput. Phys., 32(1979), 101-136.
- B. van Leer, On the relation between the upwind-differencing schemes of Godunov, Engquist-Oscher and Roe, SIAM J. Sci. Statist. Comput., 5(1984), 1-20.
- B. van Leer, Towards the ultimate conservative difference scheme II. Monotonicity and conservation combined in a second order scheme, J. Comput. Phys., 23(1997), 361-370.
- R. J. LeVeque, Numerical methods for conservation laws, Lectures in Mathematics ETH Zurich, Birkhauser Verlag, 1992.
- R. J. LeVeque, Finite volume methods for hyperbolic problems, Cambridge Texts in Applied Mathematics, Cambridge University Press, Cambridge, 2002.
- B. Popov, and O. Trifonov, Order of convergence of second order schemes based on the minmod limiter, Math. Comp., 75(2006), 1735-1753.
- P. L. Roe, Some contributions to the modelling of discontinuous flows, Large-scale computations in fluid mechanics, Part 2 (La Jolla, Calif., 1983), 163-193, Lectures in Appl. Math. 22-2, Amer. Math. Soc., Providence, RI, 1985.
- C.-W. Shu, TVB uniformly high-order schemes for conservation laws, Math. Comp., 49(1987), 105-121.
- P. K. Sweby, High resolution schemes using flux limiters for hyperbolic conservation laws, SAIM J. Numer. Anal., 21(1984), 995-1011.
- R. F. Warming and B. J. Hyett, The modified equation approach to the stability and accuracy analysis of finite-difference methods, J. Comput. Phys., 14(1974), 159-179.