Next Article in Journal
Volume-Preserving Shear Transformation of an Elliptical Slant Cone to a Right Cone
Next Article in Special Issue
Local Influence for the Thin-Plate Spline Generalized Linear Model
Previous Article in Journal
Lower Local Uniform Monotonicity in F-Normed Musielak–Orlicz Spaces
Previous Article in Special Issue
Mathematical Models and Simulations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On a Stability of Non-Stationary Discrete Schemes with Respect to Interpolation Errors

1
Mathematical Modelling Department, Faculty of Fundamental Sciences, Vilnius Gediminas Technical University, Saulėtekio al. 11, LT-10223 Vilnius, Lithuania
2
Kaunas Faculty, Vilnius University, Muitinės St 8, LT-44280 Kaunas, Lithuania
*
Author to whom correspondence should be addressed.
Axioms 2024, 13(4), 244; https://doi.org/10.3390/axioms13040244
Submission received: 4 March 2024 / Revised: 4 April 2024 / Accepted: 7 April 2024 / Published: 9 April 2024
(This article belongs to the Special Issue Mathematical Models and Simulations, 2nd Edition)

Abstract

:
The aim of this article is to analyze the efficiency and accuracy of finite-difference and finite-element Galerkin schemes for non-stationary hyperbolic and parabolic problems. The main problem solved in this article deals with the construction of accurate and efficient discrete schemes on nonuniform and dynamic grids in time and space. The presented stability and convergence analysis enables improving the existing accuracy estimates. The obtained stability results show explicitly the rate of accumulation of interpolation and projection errors that arise due to the movement of grid points. It is shown that the cases when the time grid steps are doubled or halved have different stability properties. As an additional technique to improve the accuracy of discretizations on non-stationary space grids, it is recommended to use projection operators instead of interpolation operators. This technique is used to solve a test parabolic problem. The results of specially selected computational experiments are also presented, and they confirm the accuracy of all theoretical error estimates obtained in this article.

1. Introduction

Numerical algorithms that form the basis for recent simulations of various complex processes in engineering, technologies, physics, and medicine are based on two of the most important theoretical topics. The first one is the approximation theory, and the second one is the stability analysis. The general convergence framework states that the stability and approximation properties guarantee the convergence of discrete solutions [1,2]. The deep, broad, and constructive theories of approximation and stability are developed, and they cover various important topics dealing with non-smooth data [3,4,5], weak solutions [6,7,8], energy and maximum principle stability estimates [1,2,9,10], ill-posed and inverse problems [11,12], and nonlocal mathematical models including fractional derivatives [13,14,15,16].
The topic of the stability of discrete methods for solving non-stationary linear PDEs is very important and actively investigated. In our paper, we restrict ourselves to a specific question dealing with the stability of finite-difference schemes with respect to interpolation and projection errors. In addition, here, we note the impact of A.V. Gulin on this field of research [17]. Again, in the presented review, we mainly restricted ourselves to Gulin’s works connected to a research topic that is close to our paper, when second-order PDEs are solved with non-classical nonlocal boundary conditions [18,19].
Adaptive grids in both space and time are used to fit the grid points to the dynamics of the solution and to minimize the approximation error [1,20,21]. At the same time, in many cases, uniform grids have been used in recent big data projects due to two important properties: high-order approximations can be constructed directly on uniform grids, and the obtained structure of the grids is well suited for parallel computing techniques [22,23]. Thus, different modifications of the algorithms are proposed that try to preserve the uniformity of the grid as close as possible [24].
There are a huge number of different methods for solving linear second-order partial differential equations of parabolic and hyperbolic types. Still, we are not proposing new methods in this article. Our goal is to analyze the efficiency of the scheme that is constructed in [25]. It uses the interpolation technique to define initial conditions on the previous time level. Thus, our aim is to derive stability estimates with respect to this new source of discretization error. It is shown that such errors accumulate undesirably fast. As an alternative, we recall the Discontinuous Galerkin (DG) method, which uses the projection operator instead of the interpolation operator. The results of the computational experiments confirm the theoretical estimates. We note that the presented example of the time grid was selected only as a benchmark to compare the accumulation rates of interpolation and projection errors.
We conclude that, in this article, we present the stability and convergence analysis of a new three-level finite-difference scheme, which is used to solve a hyperbolic problem on a perturbed uniform time grid [25]. At some specific points, the length of the grid steps can be doubled or halved. The error analysis performed in this paper is based on the energy method and state that, in the worst case, changes of step lengths can lead to the estimates of the global error (see also [9]):
Z n E ( M + M + ) Z 1 E + k = 1 n τ k Ψ n .
Here, Ψ n is the truncation error of the discrete scheme and
M = 2 m , M + = 2 m + ,
where m is the number of times the time step is halved and m + is the number of times the time step is doubled. We note once more that our aim is to make a full stability analysis of the interpolation errors introduced by the proposed algorithm. It is proven that the cases of doubling and reducing twice the time steps lead to different error accumulation rates. Our main aim is not to develop the ideas proposed in [25], but to explain why this new finite-difference scheme is not working as good as can be expected from schemes constructed on a uniform grid. The estimates derived in our analysis agree well with the results of extensive computational experiments.
We also investigate the difference in the stability of the backward Euler (BE) finite-difference scheme and the DG finite-element scheme when both schemes are used to solve one-dimensional parabolic problems on dynamically shifted uniform space grids. A good review on the DG method is given in [20,21,26], and applications for parabolic and hyperbolic problems are described in [4,5,27] Our analysis also proves that the accumulation of interpolation and projection approximation errors is quite different. The stability of the DG scheme with respect to the projection error has much better properties. Numerical examples illustrate these theoretical results.
In Section 2, the semi-discrete hyperbolic problem is formulated, and a standard three-level finite difference scheme is constructed on the uniform time grid. The stability of this scheme is investigated by using the energy and spectral methods. Note that the spectral method will be the main tool in our theoretical analysis.
In Section 3, the three-level finite-difference scheme from [25] is considered. It is defined on modified uniform time grids when, at some points, the lengths of the grid steps are doubled or halved. The most valuable property of this scheme is that the approximation is performed on uniformly distributed grid points; thus, the basic advantages of such discrete schemes are preserved. In Section 3.1, the case when the sizes of the grid are doubled is considered. We prove that, in this case, the finite- difference scheme remains unconditionally stable and the second-order accuracy in time is valid. This estimate improves the result presented in [25]. The new global error estimate is connected to the fact that no additional approximation errors, such as an interpolation error, are introduced, and it is sufficient to analyze the stability of the scheme on uniform sub-grids only.
In Section 3.2, the case when the sizes of the grid are halved is considered. The obtained stability estimates give a possibility to define the convergence rate for different asymptotics of the number of times the time step is halved. In particular, it is proven that, due to the accumulation of interpolation errors, the convergence order of the global error is reduced to the first-order if the grid sizes are halved only at a finite number of points and the discrete solution is not converging at all if this number is proportional to O ( 1 / τ ) . The results of the computational experiments agree well with these theoretical conclusions.
In Section 4, the accumulation of interpolation errors is demonstrated also for parabolic problems. It is proven that, if the space grid depends on time (in a discontinuous fashion), then the stability of the implicit backward Euler (BE) finite-difference scheme with respect to the interpolation error leads only to conditional convergence rates. As a possibility to avoid this negative effect, it is recommended to use DG schemes, when the interpolation operator is changed to the projection operator. The DG scheme is stable with respect to the projection error. The results of the computational experiments agree well with these conclusions.
Some final conclusions are given in Section 5.

2. Problem Formulation

Let Ω = ( 0 , 1 ) d be an open and bounded domain Ω R d , d 1 . Define a self-adjoint linear elliptic diffusion operator:
A u = div ( K u ) in Ω
with K ( x ) R d × d symmetric and the uniformly positive definite d × d matrix. Operator A is supplemented with homogeneous Dirichlet boundary conditions on Ω .
Next, by using the finite-volume or finite-element methods, we approximate operator A by discrete operator A h , which is defined in a real finite-dimensional Hilbert space H:
A h = A h * α A I , α A > 0 ,
where I is the identity operator in H. In order to simplify the notation for discrete operators, we restrict ourselves to d = 1 .
Consider a semi-discrete hyperbolic problem for the function u ( t ) H :
d 2 u d t 2 + β d u d t + A h u = f ( t ) , t > 0
u ( 0 ) = u 0 , d u d t ( 0 ) = v 0 , u 0 , v 0 H ,
where β > 0 . Then, the following a priori estimate of the solution of (4) can be proven directly by using the energy method (see also [1,9,25]):
d u d t ( t ) 2 + u ( t ) A h   v 0 2 + u 0 A h 2 + 1 2 β 0 t f ( s ) 2 d s ,
where, for any self-adjoint positive definite operator B, a Hilbert space H B is defined with the inner product and the norm:
( u , v ) B = ( B u , v ) , u B = ( u , u ) B 1 / 2 .
First, let us define a uniform time grid
ω t = { t n : t n = t n 1 + τ , n = 1 , , N , t 0 = 0 , t N = T } .
The discrete function U n = U ( t n ) gives an approximation of the exact solution u ( t n ) . The differential problem (4) is approximated by the following standard implicit symmetrical three-level scheme:
U n + 1 2 U n + U n 1 τ 2 + β U n + 1 U n 1 2 τ + A h U n + 1 + U n 1 2 = F n , U 0 = u 0 , U 1 = u 0 + τ v 0 .
The unconditional stability of this scheme can be proven by using the energy and spectral methods. They give similar general information on the stability of the discrete solution, but still can give estimates of the accumulation of truncation and interpolation errors in different norms. This possibility enables us to follow the dynamics of the interpolation errors in more detail.
Let us start from the application of the standard energy method [9]. If β > 0 , then it is easy to obtain the following stability estimate:
U n + 1 U n τ 2 + 1 2 U n + 1 A h 2 + 1 2 U n A h 2 U n U n 1 τ 2 + 1 2 U n A h 2 + 1 2 U n 1 A h 2 + τ 2 β F n 2 .
First, the uniform space grid is used:
ω x = x j : x 0 = 0 , x J = 1 , x j = j h .
Then, discrete functions U j = U ( x j ) , x j ω x can be defined. Let us assume that functions U satisfy the homogeneous boundary conditions:
U 0 = 0 , U J = 0 .
The inner product in the Hilbert space H is defined in a standard way:
( U , V ) = j = 1 J 1 U j V j h .
Then, the second-order derivative 2 u x 2 is approximated by the discrete operator:
A h U = U j + 1 2 U j + U j 1 h 2 .
The eigenvectors { φ k ( x j ) = 2 sin ( π k x j ) } of A h make a full basis set of orthonormal vectors [1,9]:
A h sin ( π k x j ) = λ k sin ( π k x j ) , λ j = 4 sin 2 ( π k h / 2 ) h 2 , k = 1 , , J 1 .
It follows that A h is a self-adjoint and positive definite operator in H.
We also consider a general nonuniform space grid:
ω x = x j : x 0 = 0 , x J n = 1 , x j = x j 1 + h j 0.5 , j = 1 , , J 1 .
By using the finite-volume method [1,9], the following operator A h can be defined on this grid:
A h U = 1 h j U j + 1 U j h j + 0.5 U j U j 1 h j 0.5 ,
where h j = ( h j + 0.5 + h j 0.5 ) / 2 . The inner product in the Hilbert space H is defined by
( U , V ) = j = 1 J 1 U j V j h j .
Again, it easy to prove that A h is a self-adjoint and positive definite operator in H, i.e., the estimates (3) are valid.
As a basic technique for the stability analysis of discrete schemes proposed in this paper, we use the spectral method. It was efficiently used for non-stationary problems with nonlocal fractional-order elliptic operators [16,28,29].
Functions U n H can be written as
U j n = k = 1 J 1 c k n φ k ( x j ) , j = 1 , , J 1 ,
where c k n = ( U n , φ k ) .
By using the Fourier method, we write discrete problems for each coefficient c k n :
c k n + 1 2 c k n + c k n 1 τ 2 + β c k n + 1 c k n 1 2 τ + λ k c k n + 1 + c k n 1 2 = f k n , c k 0 = u ˜ k , c k 1 = u ˜ k + τ v ˜ k ,
where
F j n = k = 1 J 1 f k n φ k ( x j ) , j = 1 , , J 1 , u j 0 = k = 1 J 1 u ˜ k φ k ( x j ) , v j 0 = k = 1 J 1 v ˜ k φ k ( x j ) .
Lemma 1. 
Let us assume that β 0 , then the discrete scheme (9) is unconditionally stable.
Proof. 
The solution of the homogeneous version of Equation (9) can be written as
c k n = γ k 1 q 1 n + γ k 2 q 2 n ,
where q 1 and q 2 are solutions of the characteristic equations:
1 + τ 2 β + τ 2 2 λ k q 2 2 q + 1 τ 2 β + τ 2 2 λ k = 0 .
Next, we write this equation in a standard form:
q 2 2 1 + τ 2 β + τ 2 2 λ k q + 1 τ 2 β + τ 2 2 λ k 1 + τ 2 β + τ 2 2 λ k = 0 .
It follows from the Hurwitz criterion that | q 1 , 2 | 1 if and only if
1 τ 2 β + τ 2 2 λ k 1 + τ 2 β + τ 2 2 λ k 1 , 2 1 + τ 2 β + τ 2 2 λ k 2 + τ 2 λ k 1 + τ 2 β + τ 2 2 λ k .
Both inequalities are unconditionally satisfied. The proof is finished. □

3. Nonuniform Grids

Let us consider a general nonuniform grid:
ω t = { t n : t n = t n 1 + τ n 1 / 2 , n = 1 , , N , t 0 = 0 , t N = T }
and denote t n 1 / 2 = t n 1 + 0.5 τ n 1 / 2 .

3.1. The Time Steps Are Doubled at Some Grid Points

In [25], special weakly nonuniform grids are considered, when the step size of the grid can be doubled or halved at a finite number of points. Let us consider the case that, when starting at time t = t n , the grid step is doubled τ n + 1 = 2 τ n . Here, τ n denotes the length of the discrete step till the grid point t n , and τ n + 1 is a modified step for the following sequence of uniformly distributed grid points.
The original algorithm is defined by
U n + 1 / 2 2 U n + U n 1 τ n 2 + β U n + 1 / 2 U n 1 2 τ n + A h U n + 1 / 2 + U n 1 2 = F n , U n + 1 2 U n + 1 / 2 + U n τ n 2 + β U n + 1 U n 2 τ n + A h U n + 1 + U n 2 = F n + 1 / 2 ;
next, U n + 2 is computed using the standard three-level scheme on the uniform grid with the step τ n + 1 :
U n + 2 2 U n + 1 + U n τ n + 1 2 + β U n + 2 U n 2 τ n + 1 + A h U n + 2 + U n 2 = F n + 1 .
We present a slightly modified version of the original discrete scheme when temporary grid points are not used. First, the solution U n + 1 is computed
U n + 1 2 U n + U n 2 τ n + 1 2 + β U n + 1 U n 2 2 τ n + 1 + A h U n + 1 + U n 2 2 = F n
Next, the uniform grid version of the discrete scheme (12) is used to compute U n + 2 .
The stability and convergence analysis is based on the results of Lemma 1.
Theorem 1. 
The solution of the finite-difference scheme (12) and (13) converges to order O ( τ 2 ) .
Proof. 
We restrict ourselves to the analysis of one time moment where the time step is doubled. First, starting at time point t n , the discrete scheme is again defined as a three-level scheme on a uniform grid with a doubled time step τ n + 1 = 2 τ n . Thus, the scheme remains unconditionally stable.
Second, the initial conditions, i.e., discrete solutions on layers t n and t n 2 , are calculated by using solutions derived by a more accurate scheme with the time step τ n . As a conclusion, we obtain that the discrete solution converges to order O ( τ 2 ) . In the case of more time moments, when the step size of the grid ω t is doubled, the same arguments are iteratively applied. □
In the computational experiments, we compared the accuracy of the constructed combined discrete scheme (12) and (13) with a popular benchmark scheme. This three-level finite-difference scheme is constructed on a general non-uniform time grid (11):
1 τ n U n + 1 U n τ n + 1 / 2 U n U n 1 τ n 1 / 2 + β U n + 1 U n 1 2 τ n + A h U n + 1 2 τ n U n + 1 U n τ n + 1 / 2 U n U n 1 τ n 1 / 2 = F n .
Here, τ n = 1 2 ( τ n + 1 / 2 + τ n 1 / 2 ) .
We present the results of the computational experiments. The differential problem (4) is solved for β = 1 till the final time moment T = 1 . The initial and boundary data and f ( x , t ) are chosen so that the solution u ( x , t ) is the function:
u ( x , t ) = e t sin ( π x ) .
The space grid ω x is uniform, and the number of points is equal to J = 20 . The time grid is generated by dividing the time interval [ 0 , 1 ] into five subintervals:
[ ( k 1 ) / 5 , k / 5 ] , k = 1 , , 5 .
In each subinterval, uniform grids are generated with time step sizes of
τ ( k ) = 2 k 5 / N , k = 1 , , 5 .
Let us denote Z j n = u ( x j , t n ) U j n as the global error of the discrete solution. The maximum norm of a discrete function Z n is defined as
Z ( t n ) = max 0 < j < J | Z j n | .
The experimental convergence rate ρ ( τ ) is defined as
ρ ( τ ) = log 2 Z ( 2 τ ) Z ( τ ) .
In order to show that the constructed three-level discrete scheme on this special non-uniform time grid ω t is stable and additional grid points really reduce the global error of the discrete solution, we give also the errors Z 3 of the classical three-level discrete scheme (14) when the time grid is uniform and it has N discrete points. The results of the computational experiments are presented in Table 1, where Z 1 is the error for the discrete solution of the scheme (12) and (13), Z 2 is the error for the discrete solution of the classical finite-difference scheme (14) on non-uniform time grids, and Z 3 is the error of the solution of the symmetrical scheme (7) when the time grid is uniform in [ 0 , 1 ] and it has N points.
As expected, the new three-level discrete scheme is stable and preserves the second order of convergence. We also note that additional grid points decrease the error; thus, the application of such a modified time grid is justified.

3.2. The Time Steps Are Halved at Some Grid Points

For the case when the time step size is halved τ n + 1 = 1 2 τ n , the following algorithm is proposed in [25]. The auxiliary solution U ˜ n + 2 is computed using the standard three-level scheme:
U ˜ n + 2 2 U n + U n 1 τ n 2 + β U ˜ n + 2 U n 1 2 τ n + A h U ˜ n + 2 + U n 1 2 = F n .
Then, solution U n + 1 is computed by using the linear interpolation algorithm:
U n + 1 = U ˜ n + 2 + U n 2 .
The final value of the solution U n + 2 is obtained on the uniform grid with time step τ n + 1 :
U n + 2 2 U n + 1 + U n τ n + 1 2 + β U n + 2 U n 2 τ n + 1 + A h U n + 2 + U n 2 = F n + 1 .
Again, we propose a modification of this algorithm when an auxiliary solution is not required. It is sufficient to use U n 1 / 2 , which is obtained by the linear interpolation:
U n + 1 2 U n + U n 1 / 2 τ n + 1 2 + β U n + 1 U n 1 / 2 2 τ n + 1 + A h U n + 1 + U n 1 / 2 2 = F n .
In order to simplify the stability analysis, we take β = 0 . Note, that it follows from the results given above that the real part of the solutions of characteristic Equation (10) is decreased for β > 0 .
Theorem 2. 
Let us assume that the interpolation error of (16) can be bounded by
| Ψ I |   C τ 2 .
If M is the number of times the time step of grid ω t is halved, then the following estimate of the global error of scheme (18) is valid:
Z n   M τ .
In particular, if M is finite, then the error of the solution of discrete scheme (18) is estimated by
Z n   C τ .
If M = C / τ , then we have the estimate:
Z n   C τ .
If M = C / τ , then the discrete solution of (18) is not converging at all:
Z n   O ( 1 ) .
Proof. 
It is sufficient to consider the following problem for the Fourier coefficients of the error vector:
z k n = γ k 1 q k 1 n + γ k 2 q k 2 n , k = 1 , , J 1 , z k 0 = 0 , z k 1 = d , | d | = C τ 2 ,
where q k 1 and q k 2 are solutions of the characteristic equation:
1 + τ 2 2 λ k ( q k n + 1 ) 2 2 q k n + 1 + τ 2 2 λ k = 0 .
Let us denote
b = 1 1 + τ 2 2 λ k .
Simple computations give
q k , 1 , 2 = b ± i 1 b 2 , z k n = d 1 b 2 sin ( φ n ) ,
where
b ± i 1 b 2 = cos ( φ ) ± i sin ( φ ) .
Then, it follows that
1 b 2 = 1 1 / 1 + τ 2 2 λ k 2 = τ λ k 1 + τ 2 λ k 1 + τ 2 λ k / 2 . = C τ .
Thus, taking into account the estimate of the interpolation error and the bound for 1 b 2 , we obtain that the global error estimate (19) is valid. The remaining error estimates (20)–(22) follow directly. □
Next, we present the results of computational experiments. The time grid is generated by dividing the time interval [ 0 , 1 ] into five subintervals:
[ ( k 1 ) / 5 , k / 5 ] , k = 1 , , 5 .
In each subinterval, uniform grids are generated with step sizes
τ ( k ) = 2 1 k / N , k = 1 , , 5 ,
where N is the selected number of time points in the first subinterval. The results of the computational experiments are given in Table 2, where Z 1 is the error for the discrete solution of the scheme (18), Z 2 is the error for the discrete solution of the classical finite-difference scheme (14) on non-uniform time grids, and ρ 1 , 2 ( τ ) are experimental convergence rates.
The presented results agree well with the theoretical convergence rate O ( τ ) given in Theorem 2.
In the final computational experiment, the length of the time grid steps was allowed to be doubled or halved. The length of sub-blocks is equal to 4 τ , τ = 1 / N , and the grid points are distributed as
n = 12 m , m = 0 , 1 , t n + k = t n + k 1 + τ , k = 1 , 2 , 3 , 4 , t n + 4 + k = t n + 4 + k 1 + τ / 2 , k = 1 , , 8 .
The results of the computational experiments are given in Table 3, and they agree well with the theoretical estimates.
It follows from the presented results that, as is stated in Theorem 2, the discrete solution is not converging at all for such a modified time grid. Still the solution of the finite-difference scheme (14) is converging to quadratic order.

4. Parabolic Interpolation

Let us consider one-dimensional parabolic problem:
u t = 2 u x 2 + f ( x , t ) , ( x , t ) Q , 0 < x < 1 , 0 < t T , u ( 0 , t ) = μ 0 ( t ) , u ( 1 , t ) = μ 1 ( t ) , u ( x , 0 ) = u 0 ( x ) , 0 x 1 , .
where Q = { ( x , t ) : 0 < x < 1 , 0 < t T } and functions f ( x , t ) , u 0 ( x ) , μ 0 ( t ) , and μ 1 ( t ) are sufficiently smooth.
In addition to the uniform time grid ω t :
ω t = { t n : t n = n τ , n = 1 , 2 , , N } ,
we define a nonuniform space grid, which can depend on time:
ω x ( t n ) = x j n : x 0 n = 0 , x J n n = 1 , x j n = x j 1 n + h j 0.5 n .
The grid ω h ( t k ) is not constant in time; thus, the number of grid points J n and the position of each point may depend on t n .

4.1. Finite-Difference Scheme

The main aim of this subsection is to show that the accumulation of the classical truncation error and of the additional interpolation error can be very different [1,9]. Generally, we are interested in investigating the stability of the BE finite difference scheme with respect to different types of local approximation errors.
In order to simplify our analysis, we assume that, at each time level that the space grid ω x ( t n ) is uniform, only the number of grid points J n can vary from one step to another. The differential problem (23) is approximated by the implicit backward Euler (BE) scheme:
U j n I n 1 n U j n 1 τ = U x ¯ x n + f ( x j n , t n ) , 0 < j < J n , U 0 n = μ 0 ( t n ) , U J n n = μ 1 ( t n ) , U 0 ( x j ) = U 0 ( x j ) , x j 0 ω k ( t 0 ) .
Here, we denote the discrete solution U j k = U ( x j k , t k ) , and the discrete operator:
U x ¯ x = U j + 1 2 U j + U j 1 h 2 , j = 1 , , J 1
is used to approximate the second-order derivative in space. Then, the linear interpolation operator I n 1 n :
I n 1 n U j n 1 = x j n x l n 1 x l + 1 n 1 x l n 1 U l + 1 n 1 + x l + 1 n 1 x j n x l + 1 n 1 x l n 1 U l n 1
is applied to compute the values of a discrete solution U n 1 at grid points x j n ω x ( t n ) , where x l n 1 x j n x l + 1 n 1 .
Let us denote Z j n = u ( x j n , t k ) U j n as the error of the discrete solution; it satisfies the following discrete problem:
Z j n Z j n 1 τ = Z x ¯ x n + Ψ A n + Ψ I n , Z 0 n = 0 , Z J n n = 0 ,
where Ψ A n is the truncation error of the discrete scheme and Ψ I n is the interpolation error.
Lemma 2. 
Let us assume that u ( x , t ) C 4 2 ( Q ¯ ) . The truncation error Ψ A n of the discrete scheme (24) and the interpolation error Ψ I n can be estimated by
| Ψ A |   C ( h 2 + τ ) , | Ψ I |   C h 2 τ .
The proof of these estimates is based on the Taylor expansion technique and is given in many classical textbooks; see, e.g., [1].
Let us define the maximum norm of a discrete function Z, which satisfies the homogeneous boundary conditions:
Z = max 0 < j < J | Z j | .
Theorem 3. 
The solution of the discrete scheme (24) converges to the solution of the differential problem (23), and the following error estimate is valid:
Z n   C τ + h 2 + h 2 τ , n = 1 , , N .
Proof. 
By applying the maximum principle to the solution of the problem (25), we obtain the stability estimate:
Z n   Z n 1 + τ Ψ A n + Ψ I n .
By applying this stability inequality iteratively, we show that
Z n   Z 0 + k = 1 n τ Ψ A k + Ψ I k .
The required estimates of the global error are obtained by using the estimates of Lemma 2. □
As one interesting conclusion from Theorem 3, we provide the accuracy estimates when the discrete time step τ is asymptotically decreased with respect to the space grid step h:
Z n   C h , i f τ = O ( h ) , h , i f τ = O ( h 1.5 ) O ( 1 ) , i f τ = O ( h 2 ) .
In order to show the accuracy of the obtained theoretical estimates, we present the results of the computational experiments. The data u 0 ( x ) , μ 0 , μ 1 , and f ( x , t ) were chosen so that the solution u ( x , t ) is the function:
u ( x , t ) = e t sin ( π x ) .
The given test problem is solved till T = 1 .
The space grids are defined as a sequence of two uniform/almost uniform grids in the following way:
ω x ( t n ) = ω x 1 = x j : x 0 = 0 , x J = 1 , x j = j h , j = 1 , , J 1 , i f n = 2 m , ω x 2 = x j : x 0 = 0 , x J + 1 = 1 , x j = ( j + 1 2 ) h , j = 1 , , J , i f n = 2 m + 1 .
We see that the lengths of the steps of both grids are equal, but the grid points are shifted by 1 2 h relative to each other. In the case of odd time layers, the approximation of the second-order derivatives near the boundaries is performed by using the standard discrete operators as was described in the previous section. The second order of the truncation error is preserved also for this modified discrete scheme.
The results of the computational experiments are presented in Table 4, where Z is the error for the discrete solution of the BE scheme (24) and ρ ( h ) denotes the experimental convergence rate.
The presented results of the computational experiments agree well with the theoretical estimates obtained above.

4.2. Discontinuous Galerkin Method

In this subsection, we solve the same parabolic problem by applying the discontinuous Galerkin (DG) method [20,27]. Let us consider the time intervals:
I n = { t : t n 1 t t n } .
A space of discrete solutions is defined as
W ( 0 ) = { U ( x , t ) : U | I n S h , n 1 } ,
where S h , n 1 is a space of piecewise linear in x functions:
S h , n 1 = { v ( x , t ) : v ( x , t ) = j = 0 J n c j n φ j n ( x ) }
and the basis functions φ j are defined as
φ j = x x j 1 h j 1 / 2 , x j 1 x x j , x j + 1 x h j + 1 / 2 , x j x x j + 1 , , 0 j J .
By using the discontinuous Galerkin method, we define a discrete function U W ( 0 ) , which is constant in time t on each time interval I n and satisfies the equation:
τ d U n d x , d v d x + ( [ U n 1 ] , v n 1 + ) = t n 1 t n ( f , v ) d t , v S h , n 1 ,
where
[ U n 1 ] = U n U n 1 , v n ± = v ( t n ± 0 ) , v n = v n = v n 1 + , U 0 = u 0 .
From (27), we obtain the discrete scheme:
U n P h U n 1 τ = U x ¯ x n + 1 τ t n 1 t n ( P h f ) d t ,
where P h f defines the L 2 projection:
( P h f , v ) = ( f , v ) , v S h , n 1 .
By comparing the DG scheme (27) with the BE finite-difference scheme (24), we see that the main difference is in the way in which the solution values on the previous time level are computed. In the DG scheme, instead of the interpolation operator, the projection operator is used.
By applying the convergence analysis techniques described, e.g., in [20], the following result is proven directly.
Theorem 4. 
The solution of the DG scheme (28) converges to the solution of the differential problem (23), and the error estimate is valid:
u ( t k ) U k C 2 + log t k τ max 1 k K ( h k 2 f I k + τ f I k + [ U k 1 ] + h k 2 τ [ U k 1 ] * ) C ( τ + h 2 ) .
The term · * arises only if S h , n 1 1 S h , n 1 .
Next, in Table 5, we present the results of the computational experiments. The same test problem is solved as for the BE scheme (24). Here, Z is the error for the discrete solution of the DG scheme (27) and ρ ( h ) denotes the experimental convergence rate.
It follows from the presented results that the the solution of the DG scheme (27) is unconditionally converging to order O ( τ + h 2 ) .

5. Conclusions

In this paper, we investigated the stability of two finite-difference and finite-element schemes constructed for the solution of hyperbolic and parabolic problems. The main result shows that the accumulation of the classical truncation errors and the accumulation of the interpolation errors are quite different. The accumulation of the interpolation errors gives only conditional estimates, and the application of the discrete scheme with smaller time steps can lead to not smaller, but larger global errors.
A more accurate stability analysis was performed for the three-level discrete scheme, which was presented in a recent paper [25]. It was proven that, for almost uniform time grids with a possibility to double the step sizes of the grid at some time moments, the second-order convergence rates are preserved. In the case when the time grid step sizes are halved at some time moments, additional interpolation errors are introduced. A detailed spectral stability analysis was used to estimate the asymptotics of the global error in this case.
The results of extensive computational experiments were presented, they confirmed the accuracy of the obtained theoretical convergence estimates.

Author Contributions

R.Č. (Raimondas Čiegis): Conceptualization; Methodology; Writing—Original Draft Preparation; Numerical Algorithms; R.Č. (Remigijus Čiegis): Analysis; Validation; Writing—Editing; O.S.: Software; Computational Experiments, Analysis of Results. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Hundsdorfer, W.; Verwer, J. Numerical Solution of Time-Dependent Advection-Diffusion-Reaction Equations; Springer Series in Computational Mathematics; Springer: Berlin/Heidelberg, Germany; New York, NY, USA; Tokyo, Japan, 2003; Volume 33. [Google Scholar] [CrossRef]
  2. LeVeque, R.J. Finite Difference Methods for Ordinary and Partial Differential Equations: Steady-State and Time-Dependent Problems; SIAM: Philadelphia, PA, USA, 2007. [Google Scholar]
  3. Zunino, P. Discontinuous Galerkin methods based on weighted interior penalties for second order PDEs with non-smooth coefficients. J. Sci. Comput. 2009, 38, 99–126. [Google Scholar] [CrossRef]
  4. Neilan, M.; Salgado, A.J.; Zhang, W. Numerical analysis of strongly nonlinear PDEs. Acta Numer. 2017, 26, 137–303. [Google Scholar] [CrossRef]
  5. Hansbo, A. Strong stability and non-smooth data error estimates for discretizations of linear parabolic problems. Bit Numer. Math. 2002, 42, 351–379. [Google Scholar] [CrossRef]
  6. Ruzhansky, M.; Yessirkegenov, N. Very weak solutions to hypoelliptic wave equations. Differ. Equ. 2020, 268, 2063–2088. [Google Scholar] [CrossRef]
  7. Pileckas, K.; Ciegis, R. Existence of nonstationary Poiseuille-type solutions under minimal regularity assumptions. Z. Angew. Math. Phys. 2020, 71, 192. [Google Scholar] [CrossRef]
  8. Corallo, D.; Dörfler, W.; Wieners, C. Space-time discontinuous Galerkin methods for weak solutions of hyperbolic linear symmetric friedrichs systems. J. Sci. Comput. 2023, 94, 27. [Google Scholar] [CrossRef]
  9. Samarskii, A.A. The Theory of Difference Schemes; Marcel Dekker: New York, NY, USA, 2001. [Google Scholar]
  10. Knabner, P.; Angermann, L. Numerical Methods for Elliptic and Parabolic Partial Differential Equations; Springer Series Texts in Applied Mathematics; Springer: Berlin/Heidelberg, Germany, 2003; Volume 44. [Google Scholar]
  11. Kinash, N.; Janno, J. Inverse problems for generalized subdiffusion equation with final overdetermination. Math. Model. Anal. 2019, 24, 236–262. [Google Scholar] [CrossRef]
  12. Umbricht, G. Identification of the source for full parabolic equations. Math. Model. Anal. 2021, 26, 339–357. [Google Scholar] [CrossRef]
  13. Čiegis, R.; Panasenko, G.; Pileckas, K.; Šumskas, V. ADI scheme for partially dimension reduced heat conduction models. Comput. Math. Appl. 2020, 80, 1275–1286. [Google Scholar] [CrossRef]
  14. Amosov, A.; Panasenko, G. Partial decomposition of a domain containing thin tubes for solving the diffusion equation. J. Math. Sci. 2022, 264, 25–33. [Google Scholar] [CrossRef]
  15. Hofreither, C. An algorithm for best rational approximation based on barycentric rational interpolation. Numer. Algorithms 2021, 88, 365–388. [Google Scholar] [CrossRef]
  16. Čiegis, R.; Dapšys, I. On a framework for the stability and convergence analysis of discrete schemes for nonstationary nonlocal problems of parabolic type. Mathematics 2022, 10, 2155. [Google Scholar] [CrossRef]
  17. Samarskii, A.A.; Gulin, A.V. Stability of Finite Difference Schemes; Nauka: Moscow, Russia, 1973. (In Russian) [Google Scholar]
  18. Gulin, A.V.; Ionkin, N.I.; Morozova, V.A. Study of the norm in stability problems for nonlocal difference schemes. Differ. Equat. 2006, 42, 974–984. [Google Scholar] [CrossRef]
  19. Gulin, A.; Ionkin, N.; Morozova, V. Stability criterion of difference schemes for the heat conduction equation with nonlocal conditions. Comput. Meth. Appl. Math. 2006, 6, 31–55. [Google Scholar] [CrossRef]
  20. Eriksson, K.; Estep, D.; Hansbo, P.; Johnson, C. Computational Differential Equations; Cambridge University Press: Cambridge, UK, 1996. [Google Scholar]
  21. Bangerth, W.; Rannacher, R. Adaptive Finite Element Methods for Differential Equations; Birhauser Basel, Book Series Lectures in Mathematics; ETH Zürich: Zürich, Switzerland, 2003. [Google Scholar] [CrossRef]
  22. Zlotnik, A.; Čiegis, R. On construction and properties of compact 4th order finite-difference schemes for the variable coefficient wave equation. J. Sci. Comput. 2023, 95, 3. [Google Scholar] [CrossRef]
  23. Jiang, Y.; Ge, Y. An explicit high-order compact finite difference scheme for the three-dimensional acoustic wave equation with variable speed of sound. Int. J. Comp. Math. 2023, 100, 321–341. [Google Scholar] [CrossRef]
  24. Omella, Á.J.; Pardo, D. r-Adaptive deep learning method for solving partial differential equations. Comput. Math. Appl. 2024, 153, 33–42. [Google Scholar] [CrossRef]
  25. Vabishchevich, P.N. Three-level schemes with double change in the time step. Comput. Math. Math. Phys. 2023, 63, 1989–1995. [Google Scholar] [CrossRef]
  26. Thomee, V. Galerkin Finite Element Methods for Parabolic Problems; Springer Series in Computational Mathematics; Springer: Berlin/Heidelberg, Germany, 1997; Volume 25. [Google Scholar]
  27. Georgoulis, E.H.; Lakkis, O.; Wihler, T.P. A posteriori error bounds for fully-discrete hp-discontinuous Galerkin timestepping methods for parabolic problems. Numer. Math. 2021, 148, 363–386. [Google Scholar] [CrossRef]
  28. Bonito, A.; Pasciak, J.E. Numerical approximation of fractional powers of elliptic operators. Math. Comput. 2015, 84, 2083–2110. [Google Scholar] [CrossRef]
  29. Lee, H.G. A second-order operator splitting Fourier spectral method for fractional-in-space reaction–diffusion equations. J. Comput. Appl. Math. 2018, 333, 395–403. [Google Scholar] [CrossRef]
Table 1. Errors Z 1 and experimental convergence rates ρ ( τ ) at T = 1 for the discrete solution of the scheme (12) and (13) and errors Z 2 and experimental convergence rates ρ ( τ ) for the discrete solution of the finite-difference scheme (14) for a sequence of time steps τ . Z 3 is the error of the discrete solution of the the symmetrical scheme (7) when the time grid is uniform and it has N points.
Table 1. Errors Z 1 and experimental convergence rates ρ ( τ ) at T = 1 for the discrete solution of the scheme (12) and (13) and errors Z 2 and experimental convergence rates ρ ( τ ) for the discrete solution of the finite-difference scheme (14) for a sequence of time steps τ . Z 3 is the error of the discrete solution of the the symmetrical scheme (7) when the time grid is uniform and it has N points.
N Z 1 ρ 1 ( τ ) Z 2 ρ 2 ( τ ) Z 3
20 1.018 × 10 3 1.279 × 10 3 3.611 × 10 3
40 2.429 × 10 4 2.067 3.255 × 10 4 1.974 9.042 × 10 4
80 5.914 × 10 5 2.038 8.204 × 10 5 1.988 2.261 × 10 4
160 1.458 × 10 5 2.020 2.052 × 10 5 1.999 5.654 × 10 5
320 3.620 × 10 6 2.010 5.131 × 10 6 2.000 1.414 × 10 5
Table 2. Errors Z 1 and experimental convergence rates ρ ( τ ) at T = 1 for the discrete solution of the scheme (18) and errors Z 2 and experimental convergence rates ρ ( τ ) for the discrete solution of the finite-difference scheme (14) for a sequence of time steps τ .
Table 2. Errors Z 1 and experimental convergence rates ρ ( τ ) at T = 1 for the discrete solution of the scheme (18) and errors Z 2 and experimental convergence rates ρ ( τ ) for the discrete solution of the finite-difference scheme (14) for a sequence of time steps τ .
N Z 1 ρ 1 ( τ ) Z 2 ρ 2 ( τ )
20 6.600 × 10 3 2.205 × 10 4
40 3.200 × 10 3 1.044 5.787 × 10 5 1.930
80 1.573 × 10 3 1.025 1.481 × 10 5 1.966
160 7.798 × 10 4 1.012 3.743 × 10 6 1.984
320 3.881 × 10 4 1.007 0.941 × 10 7 1.991
Table 3. Errors Z 1 and experimental convergence rates ρ ( τ ) at T = 1 for the discrete solution of the scheme (18) and errors Z 2 and experimental convergence rates ρ ( τ ) for the discrete solution of the finite-difference scheme (14) for a sequence of time steps τ .
Table 3. Errors Z 1 and experimental convergence rates ρ ( τ ) at T = 1 for the discrete solution of the scheme (18) and errors Z 2 and experimental convergence rates ρ ( τ ) for the discrete solution of the finite-difference scheme (14) for a sequence of time steps τ .
N Z 1 ρ 1 ( τ ) Z 2 ρ 2 ( τ )
20 1.036 × 10 2 1.819 × 10 3
40 9.391 × 10 3 0.142 4.245 × 10 4 2.099
80 9.033 × 10 3 0.056 1.084 × 10 4 1.969
160 8.964 × 10 3 0.011 2.737 × 10 5 1.986
320 8.958 × 10 3 0.010 6.873 × 10 6 1.994
Table 4. Errors Z and experimental convergence rates ρ ( h ) at T = 1 for the discrete solution of the BE scheme (24) for a sequence of time and space steps τ , h .
Table 4. Errors Z and experimental convergence rates ρ ( h ) at T = 1 for the discrete solution of the BE scheme (24) for a sequence of time and space steps τ , h .
J τ Z ρ ( h )
τ = 4 h 800.05 5.55 × 10 3
1600.025 2.71 × 10 3 1.034
3200.0125 1.34 × 10 3 1.016
6400.00625 6.65 × 10 4 1.011
τ = 2 h 1 , 5 160 3.12 × 10 3 3.37 × 10 3
320 1.10 × 10 3 2.56 × 10 3 0.397
640 3.91 × 10 4 1.87 × 10 3 0.453
1280 1.38 × 10 4 1.34 × 10 3 0.481
τ = 40 h 2 80 6.25 × 10 3 6.65 × 10 3
160 1.56 × 10 3 7.41 × 10 3 −0.156
320 3.91 × 10 4 7.62 × 10 3 −0.040
640 9.76 × 10 5 7.67 × 10 3 −0.009
Table 5. Errors Z and experimental convergence rates ρ ( h ) at T = 1 for the discrete solution of the DG scheme (27) for a sequence of time and space steps τ , h .
Table 5. Errors Z and experimental convergence rates ρ ( h ) at T = 1 for the discrete solution of the DG scheme (27) for a sequence of time and space steps τ , h .
J τ Z ρ ( h )
τ = 4 h 800.05 1.12 × 10 2
1600.025 6.19 × 10 3 0.855
3200.0125 3.11 × 10 3 0.993
6400.00625 1.55 × 10 3 0.998
τ = 2 h 1.5 160 3.12 × 10 3 3.98 × 10 4
320 1.10 × 10 3 1.40 × 10 4 1.507
640 3.91 × 10 4 4.93 × 10 5 1.506
1280 1.38 × 10 4 1.74 × 10 5 1.503
τ = 40 h 2 80 6.25 × 10 3 8.12 × 10 4
160 1.56 × 10 3 2.03 × 10 4 2.00
320 3.91 × 10 4 5.08 × 10 5 2.00
640 9.76 × 10 5 1.27 × 10 5 2.00
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Čiegis, R.; Suboč, O.; Čiegis, R. On a Stability of Non-Stationary Discrete Schemes with Respect to Interpolation Errors. Axioms 2024, 13, 244. https://doi.org/10.3390/axioms13040244

AMA Style

Čiegis R, Suboč O, Čiegis R. On a Stability of Non-Stationary Discrete Schemes with Respect to Interpolation Errors. Axioms. 2024; 13(4):244. https://doi.org/10.3390/axioms13040244

Chicago/Turabian Style

Čiegis, Raimondas, Olga Suboč, and Remigijus Čiegis. 2024. "On a Stability of Non-Stationary Discrete Schemes with Respect to Interpolation Errors" Axioms 13, no. 4: 244. https://doi.org/10.3390/axioms13040244

APA Style

Čiegis, R., Suboč, O., & Čiegis, R. (2024). On a Stability of Non-Stationary Discrete Schemes with Respect to Interpolation Errors. Axioms, 13(4), 244. https://doi.org/10.3390/axioms13040244

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop