Next Article in Journal
Mitigation of Circulating Bearing Current in Induction Motor Drive Using Modified ANN Based MRAS for Traction Application
Next Article in Special Issue
To Solve Forward and Backward Nonlocal Wave Problems with Pascal Bases Automatically Satisfying the Specified Conditions
Previous Article in Journal
Dynamic Behaviors of a Stochastic Eco-Epidemiological Model for Viral Infection in the Toxin-Producing Phytoplankton and Zooplankton System
Previous Article in Special Issue
Effects of the Wiener Process on the Solutions of the Stochastic Fractional Zakharov System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

gL1 Scheme for Solving a Class of Generalized Time-Fractional Diffusion Equations

1
School of Mathematical Sciences, Anhui University, Hefei 230601, China
2
School of Electrical and Electronic Engineering, Nanyang Technological University, Singapore 639798, Singapore
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(8), 1219; https://doi.org/10.3390/math10081219
Submission received: 16 March 2022 / Revised: 4 April 2022 / Accepted: 5 April 2022 / Published: 8 April 2022
(This article belongs to the Special Issue Applications of Partial Differential Equations)

Abstract

:
In this paper, a numerical scheme based on a general temporal mesh is constructed for a generalized time-fractional diffusion problem of order α . The main idea involves the generalized linear interpolation and so we term the numerical scheme the gL1 scheme. The stability and convergence of the numerical scheme are analyzed using the energy method. It is proven that the temporal convergence order is ( 2 α ) for a general temporal mesh. Simulation is carried out to verify the efficiency of the proposed numerical scheme.

1. Introduction

The fractional model has been shown to be a powerful tool in modeling various memory process in applications [1,2], such as diffusion process in a porous media. The essence of this tool lies in fractional derivative (or integral) which is an extension of integer derivative (or integral). Many well known mathematicians such as Euler, Lagrange, Liouville, Riemann, Grüwald, Letnikov and Caputo have devoted their efforts to fractional calculus and have made great contributions to this topic. The extension from integer derivative (or integral) to fractional derivative (or integral) may not be unique due to the different techniques applied. To unify the different approaches, Agrawal [3] has proposed some generalized fractional operators which may unify some well known fractional operators such as Caputo, Riemann-Louville and Hadamard. The generalized fractional operators incorporate a scale function z ( t ) and a weight function w ( t ) . With these two functions, many equations can be written in a general form and thus can be solved in an elegant way as shown in [3]. Moreover, by choosing different z ( t ) and w ( t ) , one can readily obtain the well known fractional operators.
The generalized fractional operators naturally lead to generalized fractional problems. As in the fractional situation, the analytical solutions may not be easily derived and hence the corresponding numerical solutions are both necessary and useful in applications. In fact, some pioneer works have been done on the numerical treatment of certain generalized fractional problems [4,5,6,7,8,9,10]. In the earlier papers [8,9,10], the convergence of the numerical scheme is established using the Lax–Richtmyer theorem but the order of convergence is not explicitly given. Inspired by [11,12], some generalized weighted shifted Grünwald-Letnikov (gWSGL) type approximations [4,5,6] and generalized Alikhanov’s approximation [7] were recently proposed, which improve the accuracy of previous work. In fact, the convergence order of these methods are shown to be O ( τ z 2 ) (or higher) based on a particular choice of the temporal mesh that closely depends on the scale function z ( t ) . It is noteworthy that the higher convergence order comes at the expense of more computations and restrictions in reality.
In this paper, we shall consider a generalized time-fractional diffusion problem that is more general than that in [9]. As one of the pioneer numerical treatments for generalized time-fractional diffusion problems, the authors in [9] first present analytical solution of a generalized time-fractional problem involving second order spatial derivative. Then, based on a uniform temporal mesh, they construct a numerical scheme by finite difference method. The stability of the numerical scheme is investigated via an estimate of the inverse of the coefficient matrix, and the convergence then follows from the Lax–Richtmyer theorem without giving explicit convergence order. Different from the work of [9], we aim to derive a numerical scheme based on a more general temporal mesh than [9] and give the convergence order of the proposed scheme explicitly using energy method. Our major contributions in this paper are as follows:
  • We consider a problem involving an operator L and propose a numerical scheme based on a general temporal mesh using generalized linear interpolation.
  • We establish the stability and convergence of the proposed scheme, which is based on a general temporal mesh, via energy method. The analysis in the context of general temporal mesh is not trivial.
We consider the following generalized time-fractional diffusion equation with weight function w ( t ) 1
0 C D t ; [ z ( t ) , 1 ] α u ( x , t ) = L u ( x , t ) + f ( x , t ) , ( x , t ) ( 0 , 1 ) × ( 0 , 1 ) u ( x , 0 ) = ψ ( x ) , x [ 0 , 1 ] u ( 0 , t ) = ϕ 1 ( t ) , u ( 1 , t ) = ϕ 2 ( t ) , t ( 0 , 1 ]
where L is a linear operator defined by
L u ( x , t ) = ( p ( x , t ) u x ( x , t ) ) x q ( x , t ) u ( x , t ) ,
with p ( x , t ) p 0 > 0 and q ( x , t ) 0 , 0 C D t ; [ z ( t ) , 1 ] α u ( x , t ) ( 0 < α < 1 ) is the generalized Caputo fractional derivative given by
0 C D t ; [ z ( t ) , 1 ] α u ( x , t ) = 1 Γ ( 1 α ) 0 t 1 [ z ( t ) z ( s ) ] α u ( x , s ) s d s ,
and ϕ 1 ( t ) , ϕ 2 ( t ) , ψ ( x ) , f ( x , t ) are given functions that are sufficiently smooth. We remark that (i) a generalized fractional problem of type (1) with any weight function w ( t ) (not necessarily 1) can be converted to (1) by a simple formula u ( x , t ) = w ( t ) v ( x , t ) (see [4,5,6,7]); and (ii) the generalized fractional equation considered in [9] is a special case of (1) when p ( x , t ) 1 and q ( x , t ) 0 .
The plan of the paper is as follows. In Section 2, we shall develop a numerical scheme for the problem (1) based on a more general temporal mesh than [9]. Then, the stability as well as the convergence of the proposed numerical scheme will be established rigorously using energy method in Section 3. In Section 4, we carry out experiments to verify as well as to demonstrate the efficiency of the proposed numerical scheme. Finally, a brief conclusion is given in Section 5.

2. Numerical Scheme

In this section, we shall derive a numerical scheme for the problem (1) using the key idea of generalized linear interpolation. To begin, let
Δ : 0 = t 0 < t 1 < < t N 1 < t N = 1   and   Δ : 0 = x 0 < x 1 < < x M 1 < x M = 1
be any mesh in the temporal dimension and a uniform mesh in the spatial dimension with step size h = 1 M , respectively. Throughout, assume that the scale function z ( t ) is a strictly increasing function. Let Z : t z ( t ) be a map from [ 0 , 1 ] to [ z ( 0 ) , z ( 1 ) ] . Denote z ( t n ) = z n . Moreover, denote by U j n the exact solution of (1) at ( x j , t n ) , and by u j n an approximation of U j n .
L j , k 1 ( z ( t ) ) = z ( t ) z k 1 z k z k 1 u j k + z ( t ) z k z k 1 z k u j k 1 .
Note that L j , k 1 ( z ( t ) ) is a generalized linear polynomial of z ( t ) and it will be used to approximate u ( x j , t ) over the interval [ t k 1 , t k ] in (2). Indeed, we derive the following approximation scheme at ( x j , t n )
0 C D t ; [ z ( t ) , 1 ] α u ( x j , t n ) = 1 Γ ( 2 α ) k = 1 n t k 1 t k 1 [ z ( t n ) z ( s ) ] α u ( x , s ) s d s 1 Γ ( 2 α ) k = 1 n t k 1 t k 1 [ z ( t n ) z ( s ) ] α L j , k 1 ( z ( s ) ) d s = 1 Γ ( 2 α ) k = 1 n t k 1 t k 1 [ z ( t n ) z ( s ) ] α u j k u j k 1 z k z k 1 z ( s ) d s = μ ω z 0 u j n k = 1 n 1 ω z n k 1 ω z n k u j k ω z n 1 u j 0 : = g L 1 [ u ( x j , t n ) ] ,
where μ = 1 Γ ( 2 α ) and the coefficients
ω z n k 1 = ( z n z k ) 1 α ( z n z k + 1 ) 1 α z k + 1 z k , 0 k n 1 .
We shall call (4) the gL1 approximation of the generalized Caputo fractional derivative.
Remark 1.
(a) 
Note that (4) is derived for any temporal mesh Δ and this is an extension of [9] which considers uniform temporal mesh. Moreover, the technique used to obtain (4) involves generalized linear interpolation whereas in [9] finite difference is used to approximate the derivatives in the integrand of the fractional derivative.
(b) 
The Formula (4) is also different from the nonuniform L 1 formula in [13] since a scale function z ( t ) such that z j z i , i j is considered.
To proceed further, we shall investigate the accuracy of the g L 1 approximation (4) and the properties of the coefficients ω z k which are both vital in subsequent analysis. For the former one, we introduce the following definition.
Definition 1
([14]). Given the mesh Δ : 0 = t 0 < t 1 < < t N 1 < t N = 1 , denote z ( t k ) = z k . The mesh
Δ z : z ( 0 ) = z 0 < z 1 < < z N 1 < z N = z ( 1 )
is said to be quasi uniform if
τ z , max τ z , min ρ ,
where τ z , max = max 1 k N | z k z k 1 | , τ z , min = min 1 k N | z k z k 1 | and ρ > 0 is a constant.
Theorem 1
(gL1 approximation). Assume that for any fixed x = x j , u ( x j , Z 1 ( z ) ) = g ( z ) C 2 [ z ( 0 ) , z ( 1 ) ] . Suppose that the mesh Δ z : z ( 0 ) = z 0 < z 1 < < z N 1 < z N = z ( 1 ) is quasi uniform. Then, we have for any fixed α ( 0 , 1 ) ,
0 C D t ; [ z ( t ) , 1 ] α u ( x j , t n ) = g L 1 [ u ( x j , t n ) ] + O ( τ z , max 2 α ) .
Proof. 
From (4) we see that the error term R j n satisfies
0 C D t ; [ z ( t ) , 1 ] α u ( x j , t n ) = g L 1 [ u ( x j , t n ) ] + R j n ,
and
R j n = 1 Γ ( 1 α ) k = 1 n t k 1 t k [ z ( t n ) z ( s ) ] α u ( x j , s ) s [ L j , k 1 ( z ( s ) ) ] d s .
Noting that L j , k 1 ( z ( t k ) ) = u j k = u ( x j , t k ) and the relation Z 1 ( z ) = t , after applying integration by parts, we get
R j n = α Γ ( 1 α ) k = 1 n z k 1 z k ( z n z ) α 1 u ( x j , Z 1 ( z ) ) L j , k 1 ( z ) d z .
Since u ( x j , Z 1 ( z ) ) = g ( z ) C 2 [ z ( 0 ) , z ( 1 ) ] , it is well known that
u ( x j , Z 1 ( z ) ) L j , k 1 ( z ) = ( z z k 1 ) ( z z k ) g z z ( ξ k ) 2 , z k 1 < ξ k < z k .
Denote M g = max z ( 0 ) z z ( 1 ) | g z z ( z ) | . Upon substituting (8) into (7), we find
| R j n | α M g 2 Γ ( 1 α ) k = 1 n z k 1 z k ( z n z ) α 1 ( z z k 1 ) ( z k z ) d z = M g 2 Γ ( 2 α ) k = 1 n 1 z k 1 z k ( z n z ) α 1 ( z z k 1 ) ( z k z ) d z + z n 1 z n z z n 1 ( z n z ) α d z M g 2 Γ ( 2 α ) k = 1 n 1 ( z k z k 1 ) 2 4 z k 1 z k ( z n z ) α 1 d z + ( z n z n 1 ) 2 α 1 α .
This further gives
| R j n | M g 2 Γ ( 2 α ) τ z , max 2 4 z 0 z n 1 ( z n z ) α 1 d z + τ z , max 2 α 1 α = M g 2 Γ ( 2 α ) τ z , max 2 4 α ( z n z n 1 ) α ( z n z 0 ) α + τ z , max 2 α 1 α M g 2 Γ ( 2 α ) τ z , max 2 4 α ( z n z n 1 ) α + τ z , max 2 α 1 α M g 2 Γ ( 2 α ) ρ α 4 α + 1 1 α τ z , max 2 α .
Hence, for any fixed α ( 0 , 1 ) , we get
| R j n | = O ( τ z , max 2 α ) .
This completes the proof. □
Remark 2.
There is some relation between the commonly used uniform mesh of t and the quasi uniform mesh of z ( t ) .
(a)
For finite intervals of t, say t [ 0 , 1 ] , in practice the partition of [ 0 , 1 ] always results in finite number of subintervals, so we are able to find a constant ρ such that τ z , max τ z , min ρ . Hence, it is clear that any general mesh of t yields a quasi uniform mesh of z ( t ) . In particular, we can say that for finite intervals, the commonly used uniform mesh of t is a special case of the quasi uniform mesh of z ( t ) .
(b)
For infinite intervals of t, in general the uniform mesh of t may not yield the quasi uniform mesh of z ( t ) . However, if 0 < c < | z ( t ) | < C for all t in the infinite interval, then the uniform mesh of t will give the quasi uniform mesh of z ( t ) , and so we can conclude here that the uniform mesh of t is a special case of the quasi uniform mesh of z ( t ) .
Our next result gives the properties of the coefficients ω z k in (5) that is vital in subsequent analysis.
Lemma 1.
For fixed n, we have
ω z n k 1 ( 1 α ) ( z n z k ) α > 0 , 0 k n 1
ω z n k 1 ω z n k , 0 k n 1 .
Proof. 
Let F ( z ) = ( z n z ) 1 α . Applying mean value theorem and noting the Definition (5), we get
F ( ξ ) = ( 1 α ) ( z n ξ ) α = F ( z k + 1 ) F ( z k ) z k + 1 z k = ω z n k 1 , z k ξ z k + 1
i.e.,
ω z n k 1 = ( 1 α ) ( z n ξ ) α , z k ξ z k + 1 .
Since ( z n · ) α is an increasing function, (11) immediately leads to (9) and (10). □
We are now ready to construct a numerical scheme for the generalized time-fractional diffusion Equation (1). Discretizing (1) at ( x j , t n ) and using the approximation (4) together with finite difference method in the spatial dimension yields
μ ω z 0 u j n k = 1 n 1 ω z n k 1 ω z n k u j k ω z n 1 u j 0 = Λ u j n + f j n , 1 j M 1 u j 0 = ψ ( x j ) , 1 j M 1 u 0 n = ϕ 1 ( t n ) , u M n = ϕ 1 ( t n ) , 0 n N
where μ = 1 Γ ( 2 α ) and Λ is an operator given by
Λ u j n = δ x ( p δ x u ) j n q j n u j n ,
with
δ x ( p δ x u ) j n = 1 h p j + 1 2 n δ x u j + 1 2 n p j 1 2 n δ x u j 1 2 n ,
p j + 1 2 n = p ( x j + 1 2 , t n ) , q j n = q ( x j , t n ) and δ x u j + 1 2 n = u j + 1 n u j n / h . We shall call (12) the gL1 scheme of the generalized time-fractional diffusion Equation (1).
Remark 3.
It is easy to verify that the coefficient matrix of the system (12) is strictly diagonally dominated. Therefore, it is uniquely solvable.

3. Theoretical Results

In this section, we shall analyze the stability as well as the convergence of the numerical scheme (12). To begin, let U h = { u = ( u 0 , u 1 , , u M ) | u 0 = u M = 0 } and for any u , v U h , define
δ x u j + 1 2 = 1 h ( u j + 1 u j ) , δ x u j = 1 h u j + 1 2 u j 1 2 , δ x 2 u j = 1 h δ x u j + 1 2 δ x u j 1 2
and
( u , v ) = h j = 1 M 1 u j v j , | u | 1 = h j = 0 M 1 δ x u j + 1 2 2 , u = max 1 j M 1 | u j | .
Obviously, · = ( · , · ) is a norm defined over the space U h .
Next, we shall present three lemmas that will be used later to establish the stability and convergence results. The first one gives a relation between | u | 1 and u .
Lemma 2
([15]). For any u U h , we have the inequality u 1 2 | u | 1 .
The next lemma is from [16] which reveals a relation between | u | 1 and u .
Lemma 3
(Discrete Poincare inequality [16]). Suppose that u U h , then
2 h sin π h 2 u | u | 1 .
Remark 4.
If h < 1 which is the case in our method, from the fact sin π 2 h h , the inequality (14) yields | u | 1 2 u that will be used in subsequent analysis.
The last lemma gives an explicit expression of ( Λ u , u ) .
Lemma 4.
For any u U h , we have
( Λ u , u ) = h j = 0 M 1 p j + 1 2 δ x u j + 1 2 2 + h j = 1 M 1 q j u j 2 .
Proof. 
Using the definition in (13), it is found that
( Λ u , u ) = h j = 1 M 1 δ x ( p δ x u ) j q j u j u j = h j = 1 M 1 δ x ( p δ x u ) j u j + h j = 1 M 1 q j ( u j ) 2 = j = 1 M 1 p j + 1 2 δ x u j + 1 2 p j 1 2 δ x u j 1 2 u j + h j = 1 M 1 q j ( u j ) 2 = j = 1 M 1 p j + 1 2 u j δ x u j + 1 2 + j = 1 M 1 p j 1 2 u j δ x u j 1 2 + h j = 1 M 1 q j ( u j ) 2 = j = 0 M 1 p j + 1 2 ( u j + 1 u j ) δ x u j + 1 2 + h j = 1 M 1 q j ( u j ) 2 ,
where we have used u 0 = u M = 0 in the last equality. The result is immediate from the above equation. □
Remark 5.
Since p ( x , t ) p 0 > 0 and q ( x , t ) 0 , it is clear from Lemma 4 that ( Λ u , u ) p 0 | u | 1 2 for any u U h .
Now, let us present the stability and convergence of the numerical scheme (12). To this aim, we shall first consider (12) with zero boundary conditions.
Theorem 2.
Let { u j n , 1 j M 1 , 1 n N } be the solution of the system (12) with zero boundary conditions. Then, we have
u n 2 + p 0 ω z 0 μ | u n | 1 2 E , 1 n N
where μ = 1 Γ ( 2 α ) , ω z 0 = ( z n z n 1 ) α ,   p 0 > 0 and
E = u 0 2 + Γ ( 1 α ) ( z ( 1 ) z ( 0 ) ) α 4 p 0 max 1 n N f n 2 .
Proof. 
Multiplying both sides of the first equation of (12) by u j n and summing j from 1 to ( M 1 ) gives
μ ω z 0 u j n k = 1 n 1 ω z n k 1 ω z n k u j k ω z n 1 u j 0 = ( Λ u n , u n ) ( f n , u n ) ,
which is rearranged to
μ ω z 0 ( u n , u n ) ( Λ u n , u n ) = μ k = 1 n 1 ω z n k 1 ω z n k ( u k , u n ) + μ ω z n 1 ( u 0 , u n ) + ( f n , u n ) .
Since we consider zero boundary conditions here, it is obvious that u n U h . Therefore, using Remark 5, we get a lower bound for the left side of (16) below
μ ω z 0 ( u n , u n ) ( Λ u n , u n ) μ ω z 0 u n 2 + p 0 | u n | 1 2 .
Noting (10) in Lemma 1 and using x y 1 2 ( x 2 + y 2 ) , an upper bound for the first two terms on the right side of (16) is found as follows
μ k = 1 n 1 ω z n k 1 ω z n k ( u k , u n ) + μ ω z n 1 ( u 0 , u n ) μ 2 k = 1 n 1 ω z n k 1 ω z n k ( u k , u k ) + ω z n 1 ( u 0 , u 0 ) + μ 2 ω z 0 ( u n , u n ) = μ 2 k = 1 n 1 ω z n k 1 ω z n k u k 2 + ω z n 1 u 0 2 + μ 2 ω z 0 u n 2 .
For the third term on the right side of (16), the Young’s inequality gives the following upper bound
( f n , u n ) f n 2 4 ϵ + ϵ u n 2 , ϵ > 0 .
Upon substituting the above upper and lower bounds into (16), we immediately get
μ 2 ω z 0 u n 2 + p 0 | u n | 1 2 ϵ u n 2 μ 2 k = 1 n 1 ω z n k 1 ω z n k u k 2 + ω z n 1 u 0 2 + 1 4 ϵ f n 2 .
Next, using Lemma 3 and noting Remark 4, we have | u n | 1 2 u n . Then, with ϵ = 2 p 0 , the left side of (17) gives the following lower bound
μ 2 ω z 0 u n 2 + p 0 | u n | 1 2 ϵ u n 2 μ 2 ω z 0 u n 2 + p 0 ϵ 4 | u n | 1 2 = μ 2 ω z 0 u n 2 + p 0 2 | u n | 1 2 .
Substituting the above into (17) leads to
ω z 0 u n 2 + p 0 μ | u n | 1 2 k = 1 n 1 ω z n k 1 ω z n k u k 2 + ω z n 1 u 0 2 + 1 4 p 0 μ ω z n 1 f n 2 .
Further, from (9) we see that ω z n 1 ( 1 α ) ( z n z 0 ) α > 0 and hence
1 ω z n 1 ( z n z 0 ) α 1 α ( z ( 1 ) z ( 0 ) ) α 1 α .
Using the above inequality and μ = 1 Γ ( 2 α ) in (18), we find
ω z 0 u n 2 + p 0 ω z 0 μ | u n | 1 2 k = 1 n 1 ω z n k 1 ω z n k u k 2 + ω z n 1 E ,
where E is defined in the theorem. Noting (10), the above inequality readily leads to
ω z 0 u n 2 + p 0 ω z 0 μ | u n | 1 2 k = 1 n 1 ω z n k 1 ω z n k u k 2 + p 0 ( z k z k 1 ) α μ | u k | 1 2 + ω z n 1 E ,
or equivalently
ω z 0 u n 2 + p 0 ( z n z n 1 ) α μ | u n | 1 2 k = 1 n 1 ω z n k 1 ω z n k u k 2 + p 0 ( z k z k 1 ) α μ | u k | 1 2 + ω z n 1 E .
Now, we shall show by mathematical induction that
u n 2 + p 0 ( z n z n 1 ) α μ | u n | 1 2 E , 1 n N .
In fact, let n = 1 in (19) and we get
ω z 0 u 1 2 + p 0 ( z 1 z 0 ) α μ | u 1 | 1 2 ω z 0 E ,
which implies that (20) holds for n = 1 . Suppose that (20) is true up to ( n 1 ) . Then, from (19), we have
ω z 0 u n 2 + p 0 ( z n z n 1 ) α μ | u n | 1 2 k = 1 n 1 ω z n k 1 ω z n k u k 2 + p 0 ( z k z k 1 ) α μ | u k | 1 2 + ω z n 1 E k = 1 n 1 ω z n k 1 ω z n k E + ω z n 1 E = ω z 0 E ,
which immediately gives (20), or equivalently (15). This completes the proof. □
Remark 6
(Stability). Using a similar argument as in [4,5,6,7], it can readily be deduced from Theorem 2 that the numerical scheme (12) is robust (or stable) with respect to the initial data ψ ( x ) and the non-homogeneous data f ( x , t ) .
We are now ready to establish the convergence of the proposed scheme (12).
Theorem 3
(Convergence). Assume that u ( x , Z 1 ( z ) ) = u ¯ ( x , z ) C 4 , 2 ( [ 0 , 1 ] × [ z ( 0 ) , z ( 1 ) ] ) . Suppose that the mesh Δ z : z ( 0 ) = z 0 < z 1 < < z N 1 < z N = z ( 1 ) is quasi uniform. Let { U j n = u ( x j , t n ) } be the exact solution of the problem (1), { u j n } be the numerical solution obtained from the scheme (12) and e j n = U j n u j n be the error at ( x j , t n ) . Then, we have
e n 2 + c ( α , z ) | e n | 1 2 O ( τ z , max 2 α + h 2 ) 2 , 1 n N
where c ( α , z ) = p 0 ω z 0 μ .
Proof. 
Since { U j n } is the exact solution of (1), it is clear that
μ ω z 0 U j n k = 1 n 1 ω z n k 1 ω z n k U j k ω z n 1 U j 0 = Λ U j n + f j n + T j n , 1 j M 1 U j 0 = ψ ( x j ) , 1 j M 1 U 0 n = ϕ 1 ( t n ) , U M n = ϕ 1 ( t n ) , 0 n N
where T j n is the local truncation error of the j-th equation.
Noting (6) in Theorem 1, and using Taylor expansion at x = x j in (22), we find that
T j n = O ( τ z , max 2 α + h 2 ) , 1 j M 1 , 1 n N .
Next, from (12) and (22) it is obvious that { e j n } is the solution of the system
μ ω z 0 e j n k = 1 n 1 ω z n k 1 ω z n k e j k ω z n 1 e j 0 = Λ e j n + T j n , 1 j M 1 e j 0 = 0 , 1 j M 1 e 0 n = e M n = 0 , 0 n N .
Hence, e n U h . Finally, applying Theorem 2 to (24) and noting e j 0 = 0 , we obtain for 1 n N ,
e n 2 + c ( α , z ) | e n | 1 2 Γ ( 1 α ) ( z ( 1 ) z ( 0 ) ) α 4 p 0 max 1 n N T n 2 = O ( τ z , max 2 α + h 2 ) 2
which completes the proof. □
Remark 7.
From Theorem 3, it is easily seen that
e n = O ( τ z , max 2 α + h 2 ) .
Hence, the temporal convergence order in the norm · is ( 2 α ) , which is optimal. On the other hand, the convergence order in · is not optimal. In fact, from Lemma 2, (21) and the properties of quasi uniform mesh, we get
e n 1 2 | e n | 1 ( z n z n 1 ) α 4 p 0 Γ ( 2 α ) O ( τ z , max 2 α + h 2 ) τ min , z α 4 p 0 Γ ( 2 α ) O ( τ z , max 2 α + h 2 ) = O ( τ z , max 2 3 2 α + h 2 ) .
Remark 8.
Theorem 3 is an extension of the work [9] in the sense that
  • the problem (1) involves an operator L and is more general than the problem considered in [9];
  • we consider a general temporal mesh which is quasi uniform in terms of the scale function z ( t ) , in view of Remark 2 this is more general than the uniform temporal mesh considered in [9];
  • (21) and Remark 7 give the explicit convergence order of the proposed scheme (12), while convergence is proven without giving the explicit convergence order in [9].

4. Numerical Simulation

In this section, we shall use two examples to demonstrate the efficacy of the proposed numerical scheme (12) and to verify the theoretical result in Remark 7. To be specific, we shall
  • compute errors at t = 1 using
    e ( N , h ) = e N ( o r e N )
    as well as the corresponding temporal and spatial convergence orders by
    TCO = log 2 e ( N , h ) e ( 2 N , h ) and SCO = log 2 e ( N , h ) e ( N , h / 2 ) ,
    respectively;
  • demonstrate that the proposed numerical scheme (12) works well for three types of temporal meshes, namely
    Uniform: uniform mesh with respect to t;
    Graded: graded mesh [17,18] with t j = Z 1 ( z ( 1 ) z ( 0 ) ) j N r + z ( 0 ) , 0 j N (let r = 2 α α in the experiment to get optimal accuracy, refer to [17,18] for details);
    Uniformz: uniform mesh with respect to z ( t ) .
    In view of Remark 2, we note that all the above types of temporal meshes are particular cases of quasi uniform mesh of z ( t ) .
Clearly, the exact solution is required to compute e ( N , h ) . When the exact solution is not available (which is commonly encountered in applications), we shall use ‘approximate’ exact solution, which is obtained by the numerical scheme (12) with sufficiently small mesh sizes (e.g., M = N = 2000 in our experiments), as ‘exact’ solution to compute errors. This is reasonable as the numerical scheme (12) is convergent.
Example 1
([6,7,9]). Consider the generalized time-fractional diffusion equation
0 C D t ; [ z ( t ) , 1 ] α u ( x , t ) = u x x ( x , t ) + f ( x , t ) , ( x , t ) ( 0 , 1 ) × ( 0 , 1 ) u ( x , 0 ) = sin ( π x ) , x [ 0 , 1 ] u ( 0 , t ) = 0 , u ( 1 , t ) = 0 , t ( 0 , 1 ]
where 0 < α < 1 , z ( t ) is a strictly increasing scale function and
f ( x , t ) = 2 Γ ( 2.15 ) ( x 2 x ) t 1.15 + π 2 sin ( π x ) 2 t 2 .
Note that when z ( t ) = t and α = 0.85 , the exact solution of Equation (26) is
u ( x , t ) = sin ( π x ) + x ( x 1 ) t 2 .
In this example, p ( x , t ) 1 and q ( x , t ) 0 . Let us start with α = 0.85 and z ( t ) = t , t 0.5 , t 2 . Applying the numerical scheme (12) with fixed h = 1 512 and varied N, we compute the errors and temporal convergence orders for three types of temporal meshes—Uniform, Graded, Uniformz. The results are displayed in Table 1. From the table, it is easily seen that the experimental temporal convergence orders (≈1.15) are consistent with the theoretical ones (= 2 α ) for various scale functions z ( t ) and different types of temporal meshes. It is a pleasant surprise that the numerical performance in terms of maximum norm is better than the theoretical result in Remark 7.
Table 1. (Example 1) Temporal convergence order when α = 0.85 , h = 1 512 .
Table 1. (Example 1) Temporal convergence order when α = 0.85 , h = 1 512 .
z ( t ) NUniform MeshGraded MeshUniformz Mesh
e N e N e N e N e N e N
t168.55 × 10 4 -6.07 × 10 4 -1.15 × 10 3 -8.17 × 10 4 -----
323.84 × 10 4 1.152.73 × 10 4 1.155.22 × 10 4 1.143.71 × 10 4 1.14----
641.71 × 10 4 1.161.22 × 10 4 1.162.34 × 10 4 1.161.66 × 10 4 1.16----
1287.55 × 10 5 1.185.36 × 10 5 1.181.03 × 10 4 1.187.33 × 10 5 1.18----
t 0.5 161.86 × 10 3 -1.32 × 10 3 -4.87 × 10 3 -3.46 × 10 3 -3.61 × 10 3 -2.56 × 10 3 -
328.38 × 10 4 1.155.95 × 10 4 1.152.27 × 10 3 1.101.61 × 10 3 1.101.66 × 10 3 1.121.18 × 10 3 1.12
643.74 × 10 4 1.162.66 × 10 4 1.161.03 × 10 3 1.137.35 × 10 4 1.137.51 × 10 4 1.145.34 × 10 4 1.14
1281.65 × 10 4 1.181.17 × 10 4 1.184.60 × 10 4 1.173.27 × 10 4 1.173.33 × 10 4 1.172.37 × 10 4 1.17
t 2 162.66 × 10 5 -1.88 × 10 5 -1.50 × 10 5 -1.06 × 10 5 -5.68 × 10 6 -4.02 × 10 6 -
321.22 × 10 5 1.128.66 × 10 6 1.126.86 × 10 6 1.124.86 × 10 6 1.122.49 × 10 6 1.191.76 × 10 6 1.19
645.52 × 10 6 1.153.90 × 10 6 1.153.08 × 10 6 1.152.18 × 10 6 1.151.07 × 10 6 1.237.55 × 10 7 1.23
1282.44 × 10 6 1.181.73 × 10 6 1.181.36 × 10 6 1.189.63 × 10 7 1.184.50 × 10 7 1.243.19 × 10 7 1.24
Next, we investigate the performance of the proposed numerical scheme for different values of α and scale functions z ( t ) . Here, we use the uniform mesh of t (Uniform) and compute e N .
  • In Table 2, we fix h = 1 512 and let N vary. It is observed that the temporal convergence order is ( 2 α ) which is consistent with the theoretical one.
  • In Table 3, we fix N = 2000 and let h vary to investigate the spatial convergence. Obviously, the scheme (12) achieves second order spatial convergence order which is the same as that stated in Remark 7.
Table 2. (Example 1) Temporal convergence order for various α when h = 1 512 .
Table 2. (Example 1) Temporal convergence order for various α when h = 1 512 .
z ( t ) N α = 0.2 α = 0.5 α = 0.8
t 0.5 81.2119 × 10 4 -6.4821 × 10 4 -2.3862 × 10 3 -
163.6868 × 10 5 1.722.3301 × 10 4 1.481.0446 × 10 3 1.19
321.1124 × 10 5 1.738.3262 × 10 5 1.484.5475 × 10 4 1.20
643.3301 × 10 6 1.742.9572 × 10 5 1.491.9656 × 10 4 1.21
t 2 83.6792 × 10 6 -7.9954 × 10 6 -2.7299 × 10 5 -
161.1025 × 10 6 1.742.8681 × 10 6 1.481.2814 × 10 5 1.09
323.2908 × 10 7 1.741.0251 × 10 6 1.485.7126 × 10 6 1.17
649.7656 × 10 8 1.753.6452 × 10 7 1.492.4954 × 10 6 1.19
Table 3. (Example 1) Spatial convergence order for various α when N = 2000 .
Table 3. (Example 1) Spatial convergence order for various α when N = 2000 .
z ( t ) h α = 0.2 α = 0.5 α = 0.8
t 0.5 1 10 5.3034 × 10 3 -5.5169 × 10 3 -5.7900 × 10 3 -
1 20 1.3214 × 10 3 2.001.3746 × 10 3 2.001.4425 × 10 3 2.01
1 40 3.2999 × 10 4 2.003.4325 × 10 4 2.003.6020 × 10 4 2.00
1 80 8.2382 × 10 5 2.008.5692 × 10 5 2.008.9924 × 10 5 2.00
t 2 1 10 5.2701 × 10 3 -5.4177 × 10 3 -5.6052 × 10 3 -
1 20 1.3131 × 10 3 2.001.3497 × 10 3 2.011.3961 × 10 3 2.01
1 40 3.2791 × 10 4 2.003.3704 × 10 4 2.003.4862 × 10 4 2.00
1 80 8.1862 × 10 5 2.008.4140 × 10 5 2.008.7030 × 10 5 2.00
Our next example is modified from an example in [19] and it involves a general operator L .
Example 2
([19]). Consider the generalized time-fractional diffusion equation
0 C D t ; [ z ( t ) , 1 ] α u ( x , t ) = L u + f ( x , t ) , ( x , t ) ( 0 , 1 ) × ( 0 , 1 ) u ( x , 0 ) = sin ( π x ) , x [ 0 , 1 ] u ( 0 , t ) = 0 , u ( 1 , t ) = 0 , t ( 0 , 1 ]
where L u = x ( p ( x , t ) x u ) q ( x , t ) u ,
p ( x , t ) = 2 cos ( x t ) , q ( x , t ) = 1 sin ( x t )
and
f ( x , t ) = Γ ( 4 + α ) 6 t 3 + 2 Γ ( 3 α ) t 2 α + t 3 + α + t 2 + 1 π 2 p ( x , t ) + q ( x , t ) sin ( π x ) π t 4 + α + t 3 + t sin ( x t ) cos ( π x ) .
When z ( t ) = t , the exact solution of (27) is
u ( x , t ) = sin ( π x ) ( t 3 + α + t 2 + 1 ) .
First, consider (27) when α = 0.5 . With fixed h = 1 2000 , we shall apply the numerical scheme (12) and compute the errors e N , e N and temporal convergence orders. The results are presented in Table 4, and it is clear that the numerical scheme (12) works well for different types of temporal meshes as well as for a wide range of problems (i.e., different z ( t ) ). The experimental temporal convergence orders in · (≈1.5) agree with the theoretical ones (= 2 α ), while once again it is a pleasant surprise that the numerical performance in terms of maximum norm is better than the theoretical result in Remark 7.
Table 4. (Example 2) Temporal convergence order when α = 0.5 , h = 1 2000 .
Table 4. (Example 2) Temporal convergence order when α = 0.5 , h = 1 2000 .
z ( t ) NUniform MeshGraded MeshUniformz Mesh
e N e N e N e N e N e N
t407.02 × 10 4 -4.93 × 10 4 -3.13 × 10 3 -2.20 × 10 3 -----
802.53 × 10 4 1.471.78 × 10 4 1.471.18 × 10 3 1.418.26 × 10 4 1.41----
1608.94 × 10 5 1.506.28 × 10 5 1.504.27 × 10 4 1.463.00 × 10 4 1.46----
3203.06 × 10 5 1.552.15 × 10 5 1.551.49 × 10 4 1.521.04 × 10 4 1.52----
t 0.5 401.15 × 10 3 -8.05 × 10 4 -1.25 × 10 2 -8.80 × 10 3 -2.92 × 10 3 -2.05 × 10 3 -
804.12 × 10 4 1.482.89 × 10 4 1.484.91 × 10 3 1.353.45 × 10 3 1.351.07 × 10 3 1.447.55 × 10 4 1.44
1601.46 × 10 4 1.501.02 × 10 4 1.501.83 × 10 3 1.421.29 × 10 3 1.423.86 × 10 4 1.482.71 × 10 4 1.48
3204.97 × 10 5 1.553.49 × 10 5 1.556.47 × 10 4 1.504.55 × 10 4 1.501.33 × 10 4 1.539.36 × 10 5 1.53
t 2 402.56 × 10 4 -1.80 × 10 4 -4.48 × 10 4 -3.15 × 10 4 -1.03 × 10 4 -7.22 × 10 5 -
809.26 × 10 5 1.476.50 × 10 5 1.471.64 × 10 4 1.451.15 × 10 4 1.453.64 × 10 5 1.502.55 × 10 5 1.50
1603.28 × 10 5 1.502.31 × 10 5 1.505.86 × 10 5 1.484.12 × 10 5 1.481.27 × 10 5 1.518.94 × 10 6 1.51
3201.12 × 10 5 1.557.90 × 10 6 1.552.02 × 10 5 1.541.42 × 10 5 1.544.32 × 10 6 1.563.04 × 10 6 1.56
Next, we investigate the temporal convergence and spatial convergence of the numerical scheme (12) for different values of α and scale functions z ( t ) . Here, we use the uniform mesh of t and compute e N . The results are presented in Table 5 and Table 6. We observe that the experimental temporal/spatial convergence orders are consistent with the theoretical result.

5. Conclusions

In this paper, we derive a numerical scheme based on a general temporal mesh for the generalized time-fractional diffusion problem. The main idea involves the generalized linear interpolation. The stability and convergence of the proposed numerical scheme is established rigorously using energy method. More importantly, it is shown that the global convergence order is O ( τ z , max 2 α + h 2 ) that extends the previous work [9]. For future work, we plan to investigate (i) the validity of the proposed scheme for nonsmooth data; (ii) high order methods based on general temporal mesh and spatial mesh for generalized fractional problems with smooth as well as nonsmooth data. We believe this will make the numerical scheme more applicable in reality.

Author Contributions

Formal analysis, X.L. and P.J.Y.W.; Investigation, X.L. and P.J.Y.W.; writing—original draft, X.L. and P.J.Y.W.; writing—review and editing, X.L. and P.J.Y.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Diethelm, K. The Analysis of Fractional Differential Equations; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  2. Podlubny, I. Fractional Differential Equations; Academic Press: San Diego, CA, USA, 1999. [Google Scholar]
  3. Agrawal, O.P. Some generalized fractional calculus operators and their applications in integral equations. Fract. Calc. Appl. Anal. 2012, 15, 700–711. [Google Scholar] [CrossRef]
  4. Ding, Q.; Wong, P.J.Y. A higher order numerical scheme for generalized fractional diffusion equations. Int. J. Numer. Methods Fluids 2020, 92, 1866–1889. [Google Scholar] [CrossRef]
  5. Ding, Q.; Wong, P.J.Y. A new approximation for the generalized fractional derivative and its application to generalized fractional diffusion equation. Numer. Methods Partial Differ. Equ. 2021, 37, 643–673. [Google Scholar] [CrossRef]
  6. Li, X.; Wong, P.J.Y. A gWSGL numerical scheme for generalized fractional sub-diffusion problems. Commun. Nonlinear Sci. Numer. Simul. 2020, 82, 104991. [Google Scholar] [CrossRef]
  7. Li, X.; Wong, P.J.Y. Generalized Alikhanov’s approximation and numerical treatment of generalized fractional sub-diffusion equations. Commun. Nonlinear Sci. Numer. Simul. 2021, 97, 105719. [Google Scholar] [CrossRef]
  8. Xu, Y.; Agrawal, O.P. Numerical solutions and analysis of diffusion for new generalized fractional Burgers equation. Fract. Calc. Appl. Anal. 2013, 16, 709–736. [Google Scholar] [CrossRef]
  9. Xu, Y.; He, Z.; Agrawal, O.P. Numerical and analytical solutions of new generalized fractional diffusion equation. Comput. Math. Appl. 2013, 66, 2019–2029. [Google Scholar] [CrossRef]
  10. Xu, Y.; He, Z.; Xu, Q. Numerical solutions of fractional advection-diffusion equations with a kind of new generalized fractional derivative. Int. J. Comput. Math. 2014, 91, 588–600. [Google Scholar] [CrossRef]
  11. Alikhanov, A.A. A new difference scheme for the time fractional diffusion equation. J. Comput. Phys. 2015, 280, 424–438. [Google Scholar] [CrossRef] [Green Version]
  12. Tian, W.; Zhou, H.; Deng, W. A class of second order difference approximations for solving space fractional diffusion equations. Math. Comp. 2015, 84, 1703–1727. [Google Scholar] [CrossRef] [Green Version]
  13. Liao, H.-L.; Li, D.; Zhang, J. Sharp error estimate of the nonuniform L1 formula for linear reaction-subdiffusion equations. SIAM J. Numer. Anal. 2018, 56, 1112–1133. [Google Scholar] [CrossRef]
  14. Chen, L. Introduction to Finite Element Methods. Available online: https://www.math.uci.edu/chenlong/226/Ch2FEM.pdf (accessed on 6 February 2022).
  15. Li, X.; Wong, P.J.Y. A higher order non-polynomial spline method for fractional sub-diffusion problems. J. Comput. Phys. 2017, 328, 47–65. [Google Scholar] [CrossRef]
  16. Omrani, K.; Abidi, F.; Achouri, T.; Khiari, N. A new conservative finite difference scheme for the Rosenau equation. Appl. Math. Comput. 2008, 201, 35–43. [Google Scholar] [CrossRef]
  17. Kopteva, N. Error analysis of the L1 method on graded and uniform meshes for a fractional-derivative problem in two and three dimensions. Math. Comp. 2019, 88, 2135–2155. [Google Scholar] [CrossRef]
  18. Stynes, M.; O’Riordan, E.; Gracia, J.L. Error analysis of a finite difference method on graded meshes for a time-fractional diffusion equation. SIAM J. Numer. Anal. 2017, 55, 1057–1079. [Google Scholar] [CrossRef]
  19. Alikhanov, A.A.; Huang, C. A high-order L2 type difference scheme for the time-fractional diffusion equation. Appl. Math. Comput. 2021, 411, 126545. [Google Scholar] [CrossRef]
Table 5. (Example 2) Temporal convergence order for various α when h = 1 2000 .
Table 5. (Example 2) Temporal convergence order for various α when h = 1 2000 .
z ( t ) N α = 0.2 α = 0.5 α = 0.8
t 0.5 108.7309 × 10 4 -5.9471 × 10 3 -2.5396 × 10 2 -
202.7332 × 10 4 1.682.2093 × 10 3 1.431.1397 × 10 2 1.16
408.3985 × 10 5 1.708.0538 × 10 4 1.465.0256 × 10 3 1.18
802.5426 × 10 5 1.722.8938 × 10 4 1.482.1831 × 10 3 1.20
t 2 102.0452 × 10 4 -1.3063 × 10 3 -5.1492 × 10 3 -
206.5603 × 10 5 1.644.9048 × 10 4 1.412.3170 × 10 3 1.15
402.0515 × 10 5 1.681.8006 × 10 4 1.451.0227 × 10 3 1.18
806.2940 × 10 6 1.706.5018 × 10 5 1.474.4443 × 10 4 1.20
Table 6. (Example 2) Spatial convergence order for various α when N = 2000 .
Table 6. (Example 2) Spatial convergence order for various α when N = 2000 .
z ( t ) h α = 0.2 α = 0.5 α = 0.8
t 0.5 1 10 1.3899 × 10 2 -1.3094 × 10 2 -1.1890 × 10 2 -
1 20 3.4684 × 10 3 2.003.2680 × 10 3 2.002.9682 × 10 3 2.00
1 40 8.6645 × 10 4 2.008.1642 × 10 4 2.007.4155 × 10 4 2.00
1 80 2.1633 × 10 4 2.002.0384 × 10 4 2.001.8515 × 10 4 2.00
t 2 1 10 1.4330 × 10 2 -1.4555 × 10 2 -1.4952 × 10 2 -
1 20 3.5756 × 10 3 2.003.6316 × 10 3 2.003.7304 × 10 3 2.00
1 40 8.9322 × 10 4 2.009.0719 × 10 4 2.009.3187 × 10 4 2.00
1 80 2.2301 × 10 4 2.002.2650 × 10 4 2.002.3266 × 10 4 2.00
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, X.; Wong, P.J.Y. gL1 Scheme for Solving a Class of Generalized Time-Fractional Diffusion Equations. Mathematics 2022, 10, 1219. https://doi.org/10.3390/math10081219

AMA Style

Li X, Wong PJY. gL1 Scheme for Solving a Class of Generalized Time-Fractional Diffusion Equations. Mathematics. 2022; 10(8):1219. https://doi.org/10.3390/math10081219

Chicago/Turabian Style

Li, Xuhao, and Patricia J. Y. Wong. 2022. "gL1 Scheme for Solving a Class of Generalized Time-Fractional Diffusion Equations" Mathematics 10, no. 8: 1219. https://doi.org/10.3390/math10081219

APA Style

Li, X., & Wong, P. J. Y. (2022). gL1 Scheme for Solving a Class of Generalized Time-Fractional Diffusion Equations. Mathematics, 10(8), 1219. https://doi.org/10.3390/math10081219

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