Abstract
In this paper, finite difference schemes for solving time-space fractional diffusion equations in one dimension and two dimensions are proposed. The temporal derivative is in the Caputo-Hadamard sense for both cases. The spatial derivative for the one-dimensional equation is of Riesz definition and the two-dimensional spatial derivative is given by the fractional Laplacian. The schemes are proved to be unconditionally stable and convergent. The numerical results are in line with the theoretical analysis.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Fractional calculus has been applied to numerous fields such as fluid mechanics, physics, chemistry, epidemiology, and finance during the last decades [3, 15, 23, 24, 28], to characterize memory effects and/or nonlocality. Fractional models are more suitable than integer models for systems with memory and long-term interactions. The anomalous diffusion equation is a class of important fractional differential equations, which has been widely applied in modeling of random walk, unification of diffusion and wave propagation, etc. [1, 19]. In some scenarios, anomalous diffusion can be described by the time-space fractional diffusion equation.
In this paper, we first consider a numerical method for the following one-dimensional time-space fractional diffusion equation:
with \(\alpha \in (0,1)\), \(\beta \in (1,2)\), \({\tilde{a}}>0\), \(\varOmega =[a,b]\subset {\mathbb {R}}\) being a bounded interval, and \(u_{0}(x)\) being a given initial condition. Here \({}_{\text{CH}}\textrm{D}^{\alpha }_{{\tilde{a}},t}\) denotes the Caputo-Hadamard differentiation operator defined by
where
The sufficient condition for the existence of the Caputo-Hadamard derivative \({}_{\text{CH}}\textrm{D}_{{\tilde{a}},t}^\alpha \varphi (t)\) is that \(\varphi (t)\in AC^{n}_{\delta }[{\tilde{a}},T]=\left\{ \varphi\!\!: \delta ^{n-1}\varphi \in AC[{\tilde{a}},T] \right\}\) with \(AC(\varOmega )\) denoting the space of absolute continuous functions. The spatial derivative is the Riesz derivative of order \(\beta \ (1< \beta <2)\) given by
where
and
are the left-hand side and right-hand side Riemann-Liouville fractional derivatives. Sufficient condition for the existence of \({}_{\text{RZ}}\textrm{D}_{x}^\beta \psi (x)\) is that \(\psi (x)\in AC^{\lceil \beta \rceil }[a,b]=\{ \psi\!\! : \psi ^{(k)}\in AC[a,b], k=0,1,\ldots ,\lfloor \beta \rfloor \}\).
We also consider the following two-dimensional time-space fractional diffusion equation:
with \(\alpha \in (0,1)\), \(\beta \in (1,2)\), \({\tilde{a}}>0\), \({\widetilde{\varOmega }}=(-L,L)^2\subset {\mathbb {R}}^2\) being a bounded domain, and \(u_{0}(x,y)\) being a given initial condition. Here \(\left( -\Delta \right) ^{\frac{\beta }{2}}\) is the fractional Laplacian defined by the hyper-singular integral [16],
where \({\textbf{x}} = (x,y)\in {\mathbb {R}}^{2}\) and \(\mathrm {P.V.}\) stands for the Cauchy principal value. One sufficient condition for the existence of the fractional Laplacian \(\left( -\Delta \right) ^{\frac{\beta }{2}}\psi ({\textbf{x}})\) is that \(\psi ({\textbf{x}})\) belongs to the following Schwartz space:
There are some researches on numerical methods for time-space fractional diffusion equations. Liu et al. [20] proposed a first-order implicit finite difference scheme to solve the fractional diffusion equation with the temporal Caputo derivative and the spatial Riemann-Liouville derivative on a bounded domain in one spatial dimension. Cao and Li [4] derived two finite difference schemes for two kinds of time-space fractional diffusion equations by approximating Riemann-Liouville fractional derivatives with the second-order accuracy via the weighted and shifted Grünwald-Letnikov formula. Arshad et al. [2] constructed a numerical scheme for the time-space fractional diffusion equation with the second-order accuracy in both time and space directions, where the temporal and spatial fractional derivatives are in the senses of Caputo and Riesz, respectively. A finite difference scheme was developed for the time-space fractional diffusion equation with Dirichlet fractional boundary conditions in the work of Xie and Fang [29], where the fractional derivatives include the temporal Caputo derivative and the spatial Riemann-Liouville derivative.
In view of the aforementioned studies, some numerical schemes have been proposed for the time-space fractional diffusion equation. However, the temporal derivative is mainly given by the Caputo derivative which is adequate for characterizing algebraic decay. In this paper, the temporal derivative in considered time-space fractional diffusion equations is in the Caputo-Hadamard sense which is suitable in describing the ultra slow process [5, 12, 17]. For the numerical approximation to the Caputo-Hadamard derivative, Gohar et al. [13] introduced the L1 formula for the temporal Caputo-Hadamard derivative to deduce a semi-discrete difference scheme, and gave the stability and convergence analysis. Fan et al. [11] proposed three numerical formulae for the Caputo-Hadamard derivative of order \(\alpha\) with the (3 − \(\alpha\)) order accuracy, including L1-2 and L2-1\(\sigma\) formulae for the case with \(\alpha \in (0, 1)\), and H2N2 formula for the case with \(\alpha \in (1, 2)\). Li et al. [18] proposed and numerically analyzed an LDG scheme for the Caputo-Hadamard fractional sub-diffusion equation. Ou et al. [22] investigated the numerical scheme for the Caputo-Hadamard fractional diffusion-wave equation using exponential type meshes. In the aforementioned two works, the spatial derivative is in the sense of classical Laplacian.
The Riesz derivative is in the form of a linear combination of a left Riemann-Liouville derivative and a right Riemann-Liouville derivative, which allows the modeling of flow regime impacts from either side of the domain [30, 31]. In the mean while, the fractional Laplacian was frequently adopted to take long-range interaction in higher dimensions into account [27]. Therefore, the spatial derivative is chosen as the Riesz derivative in one dimension and the fractional Laplacian in two dimensions in the present paper. Based on the numerical method of approximating the Riemann-Liouville derivative, several numerical approximations for evaluating the Riesz fractional derivative were proposed, such as the spline interpolation method [25], standard Grünwald-Letnikov formula and its modifications [21, 26]. In particular, a series of high order algorithms for Riesz derivatives were constructed by Ding et al. [6,7,8,9]. Since the linear combination of shifted Grünwald-Letnikov formulae with different displacements and appropriate weights can evaluate the Riemann-Liouville derivative with the higher order accuracy and the resulting finite difference schemes for time dependent problems are stable, we choose weighted and shifted Grünwald-Letnikov formula for the Riesz derivative. For the fractional Laplacian, obtaining numerical approximations is still difficult and hot. A recent work given by Hao et al. [14] proposed a fractional centered difference formula. It generates a symmetric block Toeplitz matrix with Toeplitz blocks which enables us to develop fast and efficient algorithms by fast Fourier transform. This novel approximation technique is adopted for solving the two-dimensional nonlinear Schrödinger equation with the fractional Laplacian [27], where the temporal derivative is still of integer order.
Numerical methods for partial differential equations with the temporal Caputo derivative and the spatial fractional derivative are rare. This situation and potential applications of ultra slow diffusion motivate us to study numerical algorithms for (1) and (2).
The remaining part of this paper is organized as follows. Numerical approximations adopted in this paper for evaluating the Caputo-Hadamard derivative, Riesz derivative, and fractional Laplacian are shown in Sect. 2, along with corresponding properties. Fully discrete schemes for the one-dimensional time-space fractional diffusion equation (1) and the two-dimensional equation (2) are derived in Sect. 3. Rigorous stability analysis and error estimates are discussed as well. Numerical simulations in Sect. 4 verify the feasibility of the proposed numerical schemes and the theoretical analysis.
2 Preliminaries
In this section, we introduce approximations of the Caputo-Hadamard derivative, Riesz derivative in one dimension, and integral fractional Laplacian in higher dimensions that are applied in constructing numerical schemes for (1) and (2). In the following discussion, the L1 formula for the Caputo-Hadamard derivative [13], the weighted and shifted Grünwald-Letnikov formula for the Riesz derivative [26], and the fractional centered difference formula for the fractional Laplacian [14] are adopted.
2.1 L1 Formula for Caputo-Hadamard Derivative
Let \(t_k = {\tilde{a}} + k\tau\) with \(k = 0,1,\cdots ,N\, (N\in {\mathbb {Z}}^{+})\), where \(\tau = (T-{\tilde{a}})/N\) is the time step. For \(\varphi (t)\in C^2[{\tilde{a}},T]\), its Caputo-Hadamard derivative of order \(\alpha \in (0,1)\) at \(t = t_k\) can be evaluated by the following L1 approximation [13]:
where
and
Lemma 1
[13] For \(0< \alpha <1\), the coefficients \(c_{i,k}^{(\alpha )}\ \left( 1\leqslant i \leqslant k,\ 1\leqslant k \leqslant N\right)\) given by (5) satisfy
Remark 1
Let \(0< \alpha <1\) and the coefficients \(c^{(\alpha )}_{i,k}\ \left( 1\leqslant i \leqslant k,\ 1\leqslant k \leqslant N\right)\) be defined by (5). There holds \(\displaystyle {\frac{1}{c^{(\alpha )}_{1,k}} < \frac{\Gamma (1-\alpha )}{{\tilde{a}}^{\alpha }} \left( k\tau \right) ^{\alpha }}\).
Proof
According to the mean value theorem,
As \(t_0 = {\tilde{a}}\), we have
In other words,
The proof is thus completed.
Lemma 2
[13] If \(0< \alpha <1\) and \(\varphi (t)\in C^2[{\tilde{a}},T]\), then the local truncation error \(R^k_{_{\text{CH}}}\ (1\leqslant k \leqslant N)\) in (6) has the following estimate:
Remark 2
[13] The local truncation error given by (6) is bounded in the following sense:
with \(C>0\) being a constant independent of the temporal stepsize \(\tau\).
2.2 Weighted and Shifted Grünwald-Letnikov Formula for Riesz Derivative
Let \(x_j = a + jh\), \(j = 0,1,\cdots ,M\), where \(h = (b-a)/M\) is the spatial stepsize. Define grid function spaces \({\mathcal {U}}_h = \{w\ |\ w = (w_0,w_1,\cdots ,w_M)\}\) and \({\mathcal {U}}_h^{\circ } = \{w\ |\ w\in {\mathcal {U}}_h,w_0 = w_M =0 \}\). For any grid functions \(w=\{w_{j}\}\) and \(v=\{v_{j}\}\) in \({\mathcal {U}}_h^{\circ }\), a discrete inner product and the associated norm are defined as
Let \(\psi (x)\) and \(_{\text{RL}}\textrm{D}_{a,x}^\beta \psi (x)\), \(_{\text{RL}}\textrm{D}_{x,b}^\beta \psi (x)\) and its Fourier transform belong to \(L^{1}({\mathbb {R}})\). The Riesz derivative of \(\psi (x)\) at \(x=x_j\,(1\leqslant j \leqslant M-1)\) can be approximated by the following weighted and shifted Grünwald-Letnikov formula [26]:
where \(\Psi _{\beta } = \frac{1}{2\cos (\frac{\uppi \beta }{2})},\ g^{(\beta )}_{k}=(-1)^{k}\left( {\begin{array}{c}\beta \\ k\end{array}}\right)\), and \(v_{1}=\frac{\beta -2l_{2}}{2(l_{1}-l_{2})},\ v_{2}=\frac{2l_{1}-\beta }{2(l_{1}-l_{2})},\ l_{1}\ne l_{2}\). In particular, the coefficients \(g^{(\beta )}_{k}\) can be computed via the following recursive formula:
Lemma 3
[23, 26] For \(1< \beta <2\), the coefficients \(g^{(\beta )}_{k}\ \left( k \geqslant 0 \right)\) in (8) satisfy
In the following discussion, we choose \((l_1,l_2)=(1,0)\) in (8) and the resulting approximation reads
Here \(w^{(\beta )}_{0} = \frac{\beta }{2}g^{(\beta )}_{0}\) and \(w^{(\beta )}_{k} = \frac{\beta }{2}g^{(\beta )}_{k}+\frac{2-\beta }{2}g^{(\beta )}_{k-1}\) for \(k \geqslant 1\). In view of Lemma 3, the coefficients \(w^{(\beta )}_{k}\) in (10) satisfy
As a matter of fact, (10) can be rewritten as
where
Lemma 4
For \(1< \beta <2\), the coefficients \(r^{(\beta )}_{k}\ \left( k \geqslant 0 \right)\) satisfy
Proof
It follows from (11) that \(\sum \limits _{k=0}\limits ^{m}w^{(\beta )}_{k} < 0\) with \(m \geqslant 2\). Thus,
In view of (13), \(r^{(\beta )}_{0}>0\) and \(r^{(\beta )}_{k}<0\) with \(k\ne 0.\) Therefore, when \(m\geqslant 1\), \(\sum \limits _{k=1}\limits ^{m}r^{(\beta )}_{k} < 0\). Furthermore, (11) and (13) yield
All this completes the proof.
2.3 Fractional Centered Difference Formula for Fractional Laplacian
In the case with two dimensions, let \(h = 2L/M\) with \(M\in {\mathbb {Z}}^{+}\), \(x_j = -L + jh\) with \(0\leqslant j \leqslant M\), and \(y_k = -L + kh\) with \(0\leqslant k \leqslant M\). Denote \({\widetilde{\varOmega }}_h = \{(x_j,y_k)\ |\ 0\leqslant j, k \leqslant M\}\), \(\varOmega _h = {\widetilde{\varOmega }}_h \cap {\widetilde{\varOmega }}\), and \(\partial \varOmega _h = {\widetilde{\varOmega }}_h \cap \partial {\widetilde{\varOmega }}\).
For any grid function \(w=\{w_{jk}\},v=\{v_{jk}\}\) on \(S_h^{\circ } = \{w\ |\ w=\{w_{jk}\}, w_{jk} = 0\) with \((x_j,y_k) \in \partial \varOmega _h\)}, a discrete inner product and the associated norm are defined as
Set \(L_h^2 = \left\{ w\ |\ w= \{w_{jk}\}, \Vert w \Vert _{L_h^2}^2 < +\infty \right\}\). For \(w \in L_h^2\), we define the semi-discrete Fourier transform \({\hat{w}}\!\!: [-\frac{\uppi }{h},-\frac{\uppi }{h}] \rightarrow {\mathbb {C}}\) as
and the inverse semi-discrete Fourier transform
with \({\textbf{i}}\in {\mathbb {C}}\) being the imaginary unit. It follows from the Parseval’s identity that the continuous definition of the inner product takes the form
with the norm given by
For an arbitrary positive constant s, define the fractional Sobolev semi-norm \(|\cdot |_{H_h^s}\) as
Based on the above the settings, the fractional Laplacian in two dimensions can be evaluated by the two-dimensional fractional centered difference formula
with
Here we introduce the way of calculating \(a_{j,k}^{(\beta )}\) given by [14]. Take an integer number \(K > M\) and stepsize \(\delta = 2\uppi /K\), we have
With the expression above, the coefficients \(a_{j,k}^{(\beta )}(0 \leqslant j,k \leqslant K-1)\) can be computed efficiently by the built-in function “fft2” in Matlab, where the accuracy of approximation is \({\mathcal {O}}(K^{-\beta -2})\) [14]. Throughout the numerical examples in this paper, K is taken as \(2^{12}\) to compute the coefficients \(a_{j,k}^{(\beta )}\).
Before introducing properties of the fractional central finite difference formula, the following space should be introduced [10, 14, 27]:
where \(|\eta |^2 = \eta _1^2+\eta _2^2\).
Lemma 5
[14] Let \(\psi (x,y)\in {\mathcal {B}}^{2+\beta }({\mathbb {R}}^2)\). For the fractional centered difference operator in (3), it holds that
where the truncation error satisfies
with C being a constant independent of h.
Lemma 6
(Fractional semi-norm equivalence) [14] For \(\psi \in H_{h}^{\frac{\beta }{2}}({\mathbb {R}}^2)\), we have
3 Fully Discrete Schemes
In this section, we derive fully discrete schemes for the one-dimensional time-space fractional diffusion equation (1) and the two-dimensional time-space fractional diffusion equation (2), along with the corresponding stability analysis and error estimation.
3.1 Fully Discrete Scheme for (1)
Denote the exact solution u(x, t) and the numerical solution U(x, t) at the grid point \((x_j,t_n)\) by \(u_j^k\) and \(U_j^n\), respectively. Denote also \(f_j^n=f(x_j,t_n)\). Substituting (4) and (12) into (1), omitting the high-order terms, we obtain the following implicit difference scheme:
In order to rigorously analyze the numerical stability and convergence of the fully discrete scheme in (17), we first derive the following lemma.
Lemma 7
For any grid function \(v = (v_0,v_1,\cdots ,v_M) \in {\mathcal {U}}_h^{\circ }\), we have
where \(r_{k}^{(\beta )}\) is defined by (13) with \(\beta \in (1 ,2)\).
Proof
It follows from Lemma 4 and (13) that
Note that
and
Substituting (19) and (20) into (18) gives
The proof is thus completed.
Based on the above lemma, we are ready for the stability and convergence analysis of the fully discrete scheme in (17).
Theorem 1
Let \(\alpha \in (0,1)\) and \(\beta \in (1,2)\), the fully discrete scheme in (17) for the time-space fractional diffusion equation (1) is unconditionally stable.
Proof
Let \({\widetilde{U}}^{n}_{j}\) be the approximation of \(U^{n}_{j}\) which is the exact solution to the fully discrete scheme in (17) at \((x_{j}, t_{n})\). The perturbation term \({\xi }^{n}_{j}= {\widetilde{U}}^{n}_{j}-U^{n}_{j}\) satisfies
We prove the unconditional stability by mathematical induction. When \(n=1\), multiplying both sides of the first equation in (22) by \(\xi _j^1\) and summing j from 1 to \(M-1\) yield that
According to Lemma 7, we have
which gives
Note also that \(c^{(\alpha )}_{1,1}>0\). Therefore,
Assume that \(\Vert \xi ^m \Vert _h \leqslant \Vert \xi ^0 \Vert _h\) holds for \(1\leqslant m \leqslant n-1\). When \(m=n\), multiplying both sides of the second equation in (22) by \(\xi _j^n\) and summing j from 1 to M yield that
It follows from Lemma 7 that
which gives
where Lemma 1 is used. As a result, we have
The proof is thus completed.
Theorem 2
Let u(x, t) be the exact solution to (1) and U(x, t) be the numerical solution given by scheme (17). Assume that u(x, t), \(_{\text{RL}}\textrm{D}_{a,x}^\beta u(x,t)\), \(_{\text{RL}}\textrm{D}_{x,b}^\beta u(x,t)\) and its Fourier transform belong to \({\text{C}}^2\left( [{\tilde{a}},T], L^1({\mathbb {R}})\right)\). Then for the numerical error \(\varepsilon = u - U\), there holds
where \(\varepsilon ^n = (\varepsilon _0^n, \varepsilon _1^n, \cdots ,\varepsilon _{M-1}^n,\varepsilon _{M}^n) \in {\mathcal {U}}_h^{\circ }\), \(\alpha \in (0,1)\), and \(C>0\) is a constant.
Proof
It follows from (1) and (17) that
By Lemma 2 and (8), the truncation error \(R_j^n\) satisfies
where \({\widetilde{C}}\) is a positive constant.
Now we give the convergence analysis by proving
via mathematical induction. The case with \(n = 0\) is trivial as \(\Vert \varepsilon ^0 \Vert _h = 0\).
For \(n=1\), multiplying both sides of the first equation in (25) by \(\varepsilon _j^1\) and summing j from 1 to \(M-1\) yield
Based on Lemma 7 and Remark 1, we give the following estimates:
from which follows
Assume that (26) holds for \(1 \leqslant n \leqslant m\) with \(1 \leqslant m \leqslant N\). When \(n = m + 1\), multiplying both sides of the second equation in (25) by \(\varepsilon _j^n\) and summing j from 1 to \(M-1\) give
It follows from Lemma 7 and Remark 1 that
Therefore,
Consequently, there exists a positive constant C, such that
This finishes the proof.
3.2 Fully Discrete Scheme for (2)
For the two-dimensional fractional diffusion equation in (2), we denote \(u_{jk}^{n}=u(x_j, y_k, t_n)\) and \(f_{jk}^n = f(x_j,y_k,t_n)\) with \(x_j = -L+jh\), \(y_k = -L+kh\), and \(t_n=n\tau\). Here h and \(\tau\) are the spatial stepsize and the temporal stepsize, respectively. Adopting the L1 approximation in (4) for the temporal Caputo-Hadamard derivative and the fractional centred difference formula in (14) for the fractional Laplacian, we obtain the following fully discrete scheme after omitting the high-order terms:
Here \(U_{jk}^n = U(x_j,y_k,t_n)\) with U(x, y, t) being the approximation of u(x, y, t). This finite different system can be written into the following matrix form:
where
and
with \( {{\mathbf{U}}_j^n} = \left( U_{1j}^n,U_{2j}^n, \cdots , U_{(M-1)j}^n\right) ^\textrm{T}\). The coefficient matrix \({\textbf{A}}\) is a real symmetric block Toeplitz matrix with Toeplitz blocks, say,
with
It follows from Lemma 6 that the matrix \({{\textbf {A}}}\) is a real symmetric positive definite matrix.
Now we show the unconditional stability of the fully discrete scheme (27).
Theorem 3
Let \(1< \beta < 2\) and \(0< \alpha < 1\). The finite difference scheme (27) for the fractional diffusion equation (2) is unconditionally stable.
Proof
Let \({\widetilde{U}}^{n}_{jk}\) be the approximation of \(U^{n}_{jk}\) which is the exact solution to the fully discrete scheme in (27) at \((x_{j}, y_k, t_{n})\). It is evident that the perturbation term \({\epsilon }^{n}_{jk}=\widetilde{U}^{n}_{jk}-U^{n}_{jk}\ (0 \leqslant j, k \leqslant M, 1 \leqslant n \leqslant N)\) satisfies
Now we show that \(\Vert \epsilon ^n \Vert _{L_h^2} \leqslant \Vert \epsilon ^{0} \Vert _{L_h^2} \ (n \geqslant 0)\) via mathematical induction. The case with \(n=0\) is trivial. For \(n = 1\), taking the inner product of the first equation of (29) with \(\epsilon ^1\) gives
Note that Lemma 6 gives \(\left( \left( -\Delta _h\right) ^{\frac{\beta }{2}}\epsilon ^{1}, \epsilon ^1\right) _{h^2} \geqslant 0\). By Cauchy inequality, we have
which yields that
Assume that \(\Vert \epsilon ^m \Vert _{L_h^2}^2 \leqslant \Vert \epsilon ^{0} \Vert _{L_h^2}\) holds for \(m = 2, \cdots , n-1\). It follows from the second equation in (29) that
Applying Lemma 6 and the Cauchy inequality, we have
which yields
The proof is thus finished.
Now we show the convergence of the fully discrete scheme in (27).
Theorem 4
Assume that \(u(x,y,t) \in C^2([{\tilde{a}},T],{\mathcal {B}}^{2+\beta }({\widetilde{\varOmega }}))\) is the solution of (2). Let \(U_{jk}^n\, (0 \leqslant j, k \leqslant M,0 \leqslant n \leqslant N)\) be the numerical solution given by (27). Then the numerical error \(e^n = \{e_{jk}^n\}_{j,k=0}^M \in S_h\) with \(e_{jk}^n = U_{jk}^n - u_{jk}^n\, (0 \leqslant j, k \leqslant M,0 \leqslant n \leqslant N)\) satisfies
Here C is a positive constant independent of h and \(\tau\).
Proof
It follows from (2) and (27) that
By Lemmas 2 and 5, it is evident that for \(1\leqslant n \leqslant N\) and \(1 \leqslant j, k \leqslant M-1\),
with \(\widetilde{C}\) being a positive constant independent of h and \(\tau\). Now we prove
via mathematical induction. When \(n = 0\), it is obvious that
When \(n = 1\), taking the inner product of the first equation of (33) with \(e^1\) gives
It follows from the above equation and Lemma 6 that
where the Cauchy inequality is applied. As a result, (36) and Remark 1 yield that
Assume that (35) holds for \(2 \leqslant n \leqslant m-1\). For the case with \(n=m\), taking the inner product of the second equation of (33) with \(e^n\) gives
Combining (36), Lemma 6, and Remark 1 gives
where the Cauchy inequality is applied. Therefore,
As a result,
Consequently, there exists a positive constant C, such that
This finishes the proof.
4 Numerical Experiments
In this section, we numerically demonstrate the aforementioned theoretical results on the convergence and numerical stability.
Example 1
Consider the following fractional diffusion equation in one dimension with \(\alpha \in (0,1)\) and \(\beta \in (1,2)\):
on a finite domain \(0 \leqslant x \leqslant 1\), with a given force term
The initial condition and the boundary condition are given by \(u(x,1)=0\) and \(u(0,t)=u(1,t)=0\), respectively. Its exact solution is
The numerical error is defined as
Tables 1 and 2 show the numerical error and the convergence orders given by the fully discrete scheme (17). We can see that the scheme is stable and the numerical error is \({\mathcal {O}}\left( \tau ^{2-\alpha }+h^2\right)\) indeed.
Example 2
Consider the following fractional diffusion equation in two dimensions with \(\alpha \in (0,1)\) and \(\beta \in (1,2)\):
where \({\widetilde{\varOmega }}=(-1,1)^2\) and the exact solution is set as \(u(x,y,t) = (\log t)^3(1-x^2)^4(1-y^2)^4\). The source term f is not explicitly known and we use very fine stepsize to compute it. In this case we evaluate the source term by \(f\approx f_h={}_{\text{CH}}\mathrm{D}^{\alpha }_{1,t}u(x,y,t)+\left( -\Delta _h\right) ^{\frac{\beta }{2}}u(x,y,t)\) with \(h = 2^{-8}\). The numerical error in the spatial direction is
where \(\tau\) is small enough. The numerical error in the temporal direction is
where h is small enough.
Tables 3 and 4 display the errors and convergence orders for the finite difference scheme (27). We can observe that the numerical results are stable and of \((2-\alpha )\) order in time and of 2nd order in space, which verifies Theorems 3 and 4.
References
Agrawal, O.P.: Solution for a fractional diffusion-wave equation defined in a bounded domain. Nonlinear Dynam. 29, 145–155 (2002)
Arshad, S., Huang, J.F., Khaliq, A.Q.M., Tang, Y.F.: Trapezoidal scheme for time-space fractional diffusion equation with Riesz derivative. J. Comput. Phys. 350, 1–15 (2017)
Cai, M., Karniadakis, G.E., Li, C.P.: Fractional SEIR model and data-driven predictions of COVID-19 dynamics of Omicron variant. Chaos 32(7), 071101 (2022)
Cao, J.X., Li, C.P.: Finite difference scheme for the time-space fractional diffusion equations. Cent. Eur. J. Phys. 11(10), 1440–1456 (2013)
Denisov, S.I., Kantz, H.: Continuous-time random walk theory of super-slow diffusion. Europhys. Lett. 92(3), 30001 (2010)
Ding, H.F., Li, C.P., Chen, Y.Q.: High-order algorithms for Riesz derivative and their applications (II). J. Comput. Phys. 293, 218–237 (2015)
Ding, H.F., Li, C.P.: High-order algorithms for Riesz derivative and their applications (III). Fract. Calc. Appl. Anal. 19, 19–55 (2016)
Ding, H.F., Li, C.P.: High-order algorithms for Riesz derivative and their applications (V). Numer. Methods Partial Differ. Equ. 33, 1754–1794 (2017)
Ding, H.F., Li, C.P.: High-order algorithms for Riesz derivative and their applications (IV). Fract. Calc. Appl. Anal. 22, 1537–1560 (2019)
E, W.N., Ma, C., Wu, L.: The Barron space and the flow-induced function spaces for neural network models. Constr. Approx. 55, 369–406 (2022)
Fan, E.Y., Li, C.P., Li, Z.Q.: Numerical approaches to Caputo-Hadamard fractional derivatives with applications to long-term integration of fractional differential systems. Commun. Nonlinear Sci. Numer. Simul. 106, 106096 (2022)
Garra, R., Mainardi, F., Spada, G.: A generalization of the Lomnitz logarithmic creep law via Hadamard fractional calculus. Chaos Solitons Fractals 102, 333–338 (2017)
Gohar, M., Li, C.P., Li, Z.Q.: Finite difference methods for Caputo-Hadamard fractional differential equations. Mediterr. J. Math. 17(6), 194 (2020)
Hao, Z.P., Zhang, Z.Q., Du, R.: Fractional centered difference scheme for high-dimensional integral fractional Laplacian. J. Comput. Phys. 424, 109851 (2021)
Kilbas, A.A., Srivastava, H.M., Trujillo, J.J.: Theory and Applications of Fractional Differential Equations. Elsevier B.V, Amsterdam (2006)
Li, C.P., Cai, M.: Theory and Numerical Approximations of Fractional Integrals and Derivatives. SIAM, Philadelphia (2019)
Li, C.P., Li, Z.Q.: Stability and logarithmic decay of the solution to Hadamard-type fractional differential equation. J. Nonlinear Sci. 31, 31 (2021)
Li, C.P., Li, Z.Q., Wang, Z.: Mathematical analysis and the local discontinuous Galerkin method for Caputo-Hadamard fractional partial differential equation. J. Sci. Comput. 85, 41 (2020)
Li, C.P., Wang, Z.: The local discontinuous Galerkin finite element methods for Caputo-type partial differential equations: numerical analysis. Appl. Numer. Math. 140, 1–22 (2019)
Liu, F.W., Zhuang, P.H., Anh, V., Turner, I.: A fractional-order implicit difference approximation for the space-time fractional diffusion equation. ANZIAM J. 47, 203–235 (2005)
Meerschaert, M.M., Tadjeran, C.: Finite difference approximations for fractional advection-dispersion flow equations. J. Comput. Appl. Math. 172, 65–77 (2004)
Ou, C.X., Cen, D.K., Vong, S., Wang, Z.B.: Mathematical analysis and numerical methods for Caputo-Hadamard fractional diffusion-wave equations. Appl. Numer. Math. 177, 34–57 (2022)
Podlubny, I.: Fractional Differential Equations. Academic Press, San Diego (1999)
Scalas, E., Gorenflo, R., Mainardi, F.: Fractional calculus and continuous-time finance. Phys. A 284(1/2/3/4), 376–384 (2000)
Sousa, E.: A second order explicit finite difference method for the fractional advection diffusion equation. Comput. Math. Appl. 64, 3141–3152 (2012)
Tian, W.Y., Zhou, H., Deng, W.H.: A class of second order difference approximations for solving space fractional diffusion equations. Math. Comp. 84, 1703–1727 (2015)
Wang, Y.Y., Hao, Z.P., Du, R.: A linear finite difference scheme for the two-dimensional nonlinear Schrödinger equation with fractional Laplacian. J. Sci. Comput. 90, 24 (2022)
West, B.J., Bologna, M., Grigolini, P.: Physics of Fractal Operators. Springer, New York (2003)
Xie, C.P., Fang, S.M.: Finite difference scheme for time-space fractional diffusion equation with fractional boundary conditions. Math. Methods Appl. Sci. 43, 3473–3487 (2020)
Yang, Q.Q., Liu, F.W., Turner, I.: Numerical methods for fractional partial differential equations with Riesz space fractional derivatives. Appl. Math. Model. 34, 200–218 (2010)
Zaslavsky, G.M.: Chaos, fractional kinetics, and anomalous transport. Phys. Rep. 371, 461–580 (2002)
Acknowledgements
The authors would like to thank Prof. Changpin Li for his valuable suggestions and pointing out several typos in an earlier version of this paper. This research was partially supported by the National Natural Science Foundation of China under Grant Nos. 12271339 and 12201391.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of Interest
On behalf of all authors, the corresponding author states that there are no conflicts of interests/competing interests.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Wang, Y., Cai, M. Finite Difference Schemes for Time-Space Fractional Diffusion Equations in One- and Two-Dimensions. Commun. Appl. Math. Comput. 5, 1674–1696 (2023). https://doi.org/10.1007/s42967-022-00244-8
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s42967-022-00244-8
Keywords
- Time-space fractional diffusion equation
- Caputo-Hadamard derivative
- Riesz derivative
- Fractional Laplacian
- Numerical analysis