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 for a general temporal mesh. Simulation is carried out to verify the efficiency of the proposed numerical scheme.
Keywords:
generalized fractional derivative; time-diffusion problem; generalized linear interpolation; numerical scheme MSC:
65M12; 65N12
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 and a weight function . 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 and , 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 (or higher) based on a particular choice of the temporal mesh that closely depends on the scale function . 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 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
where is a linear operator defined by
with and , is the generalized Caputo fractional derivative given by
and are given functions that are sufficiently smooth. We remark that (i) a generalized fractional problem of type (1) with any weight function (not necessarily 1) can be converted to (1) by a simple formula (see [4,5,6,7]); and (ii) the generalized fractional equation considered in [9] is a special case of (1) when and
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
be any mesh in the temporal dimension and a uniform mesh in the spatial dimension with step size , respectively. Throughout, assume that the scale function is a strictly increasing function. Let be a map from to . Denote Moreover, denote by the exact solution of (1) at , and by an approximation of .
Note that is a generalized linear polynomial of and it will be used to approximate over the interval in (2). Indeed, we derive the following approximation scheme at
where and the coefficients
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 formula in [13] since a scale function such that is considered.
To proceed further, we shall investigate the accuracy of the approximation (4) and the properties of the coefficients which are both vital in subsequent analysis. For the former one, we introduce the following definition.
Definition 1
([14]). Given the mesh denote The mesh
is said to be quasi uniform if
where , and is a constant.
Theorem 1
(gL1 approximation). Assume that for any fixed , . Suppose that the mesh is quasi uniform. Then, we have for any fixed ,
Proof.
Noting that and the relation , after applying integration by parts, we get
Since , it is well known that
This further gives
Hence, for any fixed , we get
This completes the proof. □
Remark 2.
There is some relation between the commonly used uniform mesh of t and the quasi uniform mesh of .
- (a)
- For finite intervals of t, say in practice the partition of always results in finite number of subintervals, so we are able to find a constant ρ such that Hence, it is clear that any general mesh of t yields a quasi uniform mesh of . 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 .
- (b)
- For infinite intervals of t, in general the uniform mesh of t may not yield the quasi uniform mesh of . However, if for all t in the infinite interval, then the uniform mesh of t will give the quasi uniform mesh of , and so we can conclude here that the uniform mesh of t is a special case of the quasi uniform mesh of .
Our next result gives the properties of the coefficients in (5) that is vital in subsequent analysis.
Lemma 1.
For fixed n, we have
Proof.
We are now ready to construct a numerical scheme for the generalized time-fractional diffusion Equation (1). Discretizing (1) at and using the approximation (4) together with finite difference method in the spatial dimension yields
where and is an operator given by
with
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 and for any , define
and
Obviously, is a norm defined over the space .
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 and .
Lemma 2
([15]). For any , we have the inequality
The next lemma is from [16] which reveals a relation between and .
Lemma 3
(Discrete Poincare inequality [16]). Suppose that , then
Remark 4.
If which is the case in our method, from the fact , the inequality (14) yields that will be used in subsequent analysis.
The last lemma gives an explicit expression of .
Lemma 4.
For any , we have
Proof.
Using the definition in (13), it is found that
where we have used in the last equality. The result is immediate from the above equation. □
Remark 5.
Since and , it is clear from Lemma 4 that for any
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.
Proof.
Multiplying both sides of the first equation of (12) by and summing j from 1 to gives
which is rearranged to
Since we consider zero boundary conditions here, it is obvious that . Therefore, using Remark 5, we get a lower bound for the left side of (16) below
Noting (10) in Lemma 1 and using , an upper bound for the first two terms on the right side of (16) is found as follows
For the third term on the right side of (16), the Young’s inequality gives the following upper bound
Upon substituting the above upper and lower bounds into (16), we immediately get
Next, using Lemma 3 and noting Remark 4, we have . Then, with , the left side of (17) gives the following lower bound
Substituting the above into (17) leads to
Further, from (9) we see that and hence
Using the above inequality and in (18), we find
where E is defined in the theorem. Noting (10), the above inequality readily leads to
or equivalently
Now, we shall show by mathematical induction that
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 and the non-homogeneous data
We are now ready to establish the convergence of the proposed scheme (12).
Theorem 3
Proof.
Since is the exact solution of (1), it is clear that
where is the local truncation error of the j-th equation.
Hence, . Finally, applying Theorem 2 to (24) and noting , we obtain for
which completes the proof. □
Remark 7.
From Theorem 3, it is easily seen that
Hence, the temporal convergence order in the norm is , 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
Remark 8.
Theorem 3 is an extension of the work [9] in the sense that
- the problem (1) involves an operator 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 , in view of Remark 2 this is more general than the uniform temporal mesh considered 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 usingas well as the corresponding temporal and spatial convergence orders byrespectively;
- 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 (let in the experiment to get optimal accuracy, refer to [17,18] for details);
- –
- Uniformz: uniform mesh with respect to .
In view of Remark 2, we note that all the above types of temporal meshes are particular cases of quasi uniform mesh of .
Clearly, the exact solution is required to compute . 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., 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
where , is a strictly increasing scale function and
Note that when and , the exact solution of Equation (26) is
In this example, and . Let us start with and . Applying the numerical scheme (12) with fixed 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 (=) for various scale functions 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 .
Table 1.
(Example 1) Temporal convergence order when .
| N | Uniform Mesh | Graded Mesh | Uniformz Mesh | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| t | 16 | 8.55 | - | 6.07 | - | 1.15 | - | 8.17 | - | - | - | - | - |
| 32 | 3.84 | 1.15 | 2.73 | 1.15 | 5.22 | 1.14 | 3.71 | 1.14 | - | - | - | - | |
| 64 | 1.71 | 1.16 | 1.22 | 1.16 | 2.34 | 1.16 | 1.66 | 1.16 | - | - | - | - | |
| 128 | 7.55 | 1.18 | 5.36 | 1.18 | 1.03 | 1.18 | 7.33 | 1.18 | - | - | - | - | |
| 16 | 1.86 | - | 1.32 | - | 4.87 | - | 3.46 | - | 3.61 | - | 2.56 | - | |
| 32 | 8.38 | 1.15 | 5.95 | 1.15 | 2.27 | 1.10 | 1.61 | 1.10 | 1.66 | 1.12 | 1.18 | 1.12 | |
| 64 | 3.74 | 1.16 | 2.66 | 1.16 | 1.03 | 1.13 | 7.35 | 1.13 | 7.51 | 1.14 | 5.34 | 1.14 | |
| 128 | 1.65 | 1.18 | 1.17 | 1.18 | 4.60 | 1.17 | 3.27 | 1.17 | 3.33 | 1.17 | 2.37 | 1.17 | |
| 16 | 2.66 | - | 1.88 | - | 1.50 | - | 1.06 | - | 5.68 | - | 4.02 | - | |
| 32 | 1.22 | 1.12 | 8.66 | 1.12 | 6.86 | 1.12 | 4.86 | 1.12 | 2.49 | 1.19 | 1.76 | 1.19 | |
| 64 | 5.52 | 1.15 | 3.90 | 1.15 | 3.08 | 1.15 | 2.18 | 1.15 | 1.07 | 1.23 | 7.55 | 1.23 | |
| 128 | 2.44 | 1.18 | 1.73 | 1.18 | 1.36 | 1.18 | 9.63 | 1.18 | 4.50 | 1.24 | 3.19 | 1.24 | |
Next, we investigate the performance of the proposed numerical scheme for different values of and scale functions . Here, we use the uniform mesh of t (Uniform) and compute .
- In Table 2, we fix and let N vary. It is observed that the temporal convergence order is which is consistent with the theoretical one.
Table 2.
(Example 1) Temporal convergence order for various when .
Table 2.
(Example 1) Temporal convergence order for various when .
| N | |||||||
|---|---|---|---|---|---|---|---|
| 8 | 1.2119 | - | 6.4821 | - | 2.3862 | - | |
| 16 | 3.6868 | 1.72 | 2.3301 | 1.48 | 1.0446 | 1.19 | |
| 32 | 1.1124 | 1.73 | 8.3262 | 1.48 | 4.5475 | 1.20 | |
| 64 | 3.3301 | 1.74 | 2.9572 | 1.49 | 1.9656 | 1.21 | |
| 8 | 3.6792 | - | 7.9954 | - | 2.7299 | - | |
| 16 | 1.1025 | 1.74 | 2.8681 | 1.48 | 1.2814 | 1.09 | |
| 32 | 3.2908 | 1.74 | 1.0251 | 1.48 | 5.7126 | 1.17 | |
| 64 | 9.7656 | 1.75 | 3.6452 | 1.49 | 2.4954 | 1.19 | |
Table 3.
(Example 1) Spatial convergence order for various when .
Table 3.
(Example 1) Spatial convergence order for various when .
| h | |||||||
|---|---|---|---|---|---|---|---|
| 5.3034 | - | 5.5169 | - | 5.7900 | - | ||
| 1.3214 | 2.00 | 1.3746 | 2.00 | 1.4425 | 2.01 | ||
| 3.2999 | 2.00 | 3.4325 | 2.00 | 3.6020 | 2.00 | ||
| 8.2382 | 2.00 | 8.5692 | 2.00 | 8.9924 | 2.00 | ||
| 5.2701 | - | 5.4177 | - | 5.6052 | - | ||
| 1.3131 | 2.00 | 1.3497 | 2.01 | 1.3961 | 2.01 | ||
| 3.2791 | 2.00 | 3.3704 | 2.00 | 3.4862 | 2.00 | ||
| 8.1862 | 2.00 | 8.4140 | 2.00 | 8.7030 | 2.00 | ||
Our next example is modified from an example in [19] and it involves a general operator .
Example 2
([19]). Consider the generalized time-fractional diffusion equation
where ,
and
When , the exact solution of (27) is
First, consider (27) when . With fixed , we shall apply the numerical scheme (12) and compute the errors , 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 ). The experimental temporal convergence orders in (≈1.5) agree with the theoretical ones (=), 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 .
Table 4.
(Example 2) Temporal convergence order when .
| N | Uniform Mesh | Graded Mesh | Uniformz Mesh | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| t | 40 | 7.02 | - | 4.93 | - | 3.13 | - | 2.20 | - | - | - | - | - |
| 80 | 2.53 | 1.47 | 1.78 | 1.47 | 1.18 | 1.41 | 8.26 | 1.41 | - | - | - | - | |
| 160 | 8.94 | 1.50 | 6.28 | 1.50 | 4.27 | 1.46 | 3.00 | 1.46 | - | - | - | - | |
| 320 | 3.06 | 1.55 | 2.15 | 1.55 | 1.49 | 1.52 | 1.04 | 1.52 | - | - | - | - | |
| 40 | 1.15 | - | 8.05 | - | 1.25 | - | 8.80 | - | 2.92 | - | 2.05 | - | |
| 80 | 4.12 | 1.48 | 2.89 | 1.48 | 4.91 | 1.35 | 3.45 | 1.35 | 1.07 | 1.44 | 7.55 | 1.44 | |
| 160 | 1.46 | 1.50 | 1.02 | 1.50 | 1.83 | 1.42 | 1.29 | 1.42 | 3.86 | 1.48 | 2.71 | 1.48 | |
| 320 | 4.97 | 1.55 | 3.49 | 1.55 | 6.47 | 1.50 | 4.55 | 1.50 | 1.33 | 1.53 | 9.36 | 1.53 | |
| 40 | 2.56 | - | 1.80 | - | 4.48 | - | 3.15 | - | 1.03 | - | 7.22 | - | |
| 80 | 9.26 | 1.47 | 6.50 | 1.47 | 1.64 | 1.45 | 1.15 | 1.45 | 3.64 | 1.50 | 2.55 | 1.50 | |
| 160 | 3.28 | 1.50 | 2.31 | 1.50 | 5.86 | 1.48 | 4.12 | 1.48 | 1.27 | 1.51 | 8.94 | 1.51 | |
| 320 | 1.12 | 1.55 | 7.90 | 1.55 | 2.02 | 1.54 | 1.42 | 1.54 | 4.32 | 1.56 | 3.04 | 1.56 | |
Next, we investigate the temporal convergence and spatial convergence of the numerical scheme (12) for different values of and scale functions Here, we use the uniform mesh of t and compute 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.
Table 5.
(Example 2) Temporal convergence order for various when .
Table 6.
(Example 2) Spatial convergence order for various when .
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 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
- Diethelm, K. The Analysis of Fractional Differential Equations; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
- Podlubny, I. Fractional Differential Equations; Academic Press: San Diego, CA, USA, 1999. [Google Scholar]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- Chen, L. Introduction to Finite Element Methods. Available online: https://www.math.uci.edu/chenlong/226/Ch2FEM.pdf (accessed on 6 February 2022).
- 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]
- 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]
- 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]
- 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]
- 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]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).