Abstract
This paper is concerned with high-order numerical methods for a class of fractional mobile/immobile convection–diffusion equations. The convection coefficient of the equation may be spatially variable. In order to overcome the difficulty caused by variable coefficient problems, we first transform the original equation into a special and equivalent form, which is then discretized by a fourth-order compact finite difference approximation for the spatial derivative and a second-order difference approximation for the time first derivative and the Caputo time fractional derivative. The local truncation error and the solvability of the resulting scheme are discussed in detail. The (almost) unconditional stability and convergence of the method are proved using a discrete energy analysis method. A Richardson extrapolation algorithm is presented to enhance the temporal accuracy of the computed solution from the second-order to the third-order. Applications using two model problems give numerical results that demonstrate the accuracy of the new method and the high efficiency of the Richardson extrapolation algorithm.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
The mobile/immobile model has been applied successfully to unsaturated transports through homogeneous media (see [2, 5, 11, 24, 30]). The main objective of this model is to account for mass exchanges between the moving fluid and zones where the fluid is assumed to be immobile (see [13]). It was shown in [6, 27] that the continuous time random walk is equivalent to the continuum mobile/immobile equation in the same way that Brownian motion is equivalent to the diffusion equation. Moreover, the continuous time random walk converges toward a limit that corresponds to an mobile/immobile continuum model. This convergence property is useful for making long-term predictions. To distinguish explicitly the mobile and immobile status using the fractional dynamics, Schumer et al. [28] developed the following fractional mobile/immobile convection–diffusion model for the total concentration:
where v denotes the solute concentration in the total (mobile and immobile) phase, \(\beta >0\) is the fractional capacity coefficient, and V and D are the convection and diffusion coefficients for the mobile phase (and hence may be directly measured) with \(D>0\). The time drift term \({\partial v}/{\partial t}\) describes the motion time and thus helps to distinguish the status of particles conveniently (also see the discussion in [1]). The term \(\partial ^{\alpha }v/{\partial t^{\alpha }}\) represents the Caputo fractional derivative of order \(\alpha \), which is defined by
In recent years, many works have been devoted to the investigation on the applications of the fractional mobile/immobile equation. Goltz et al. [12] and Harvey et al. [15] found that the mobile/immobile equation predicts an exponential approach to an asymptotic state where the mobile mass remains a constant positive fraction of the injected mass. The work in [28] by Schumer et al. shows that the fractional mobile/immobile convection–diffusion Eq. (1.1) is equivalent to the previous model of mobile/immobile transport with power law memory function and is the limiting equation that governs continuous time random walks with heavy tailed random waiting times. Zhang et al. [39] developed a time Langevin approach to solve a fractional mobile/immobile transport model combined with multiscaling superdiffusion. Zhang et al. [38] extended and tested the applicability of the fractional mobile/immobile convection–diffusion Eq. (1.1) by applying the approach developed in [39]. Meerschaert et al. [22] used a grid-free particle tracking approach to solve a multi-dimensional fractional mobile/immobile equation. The similarity between the fractional mobile/immobile convection–diffusion Eq. (1.1) and the multiple-rate mass transfer model (see [14]) was discussed by Schumer et al. [28] and Benson and Meerschaert [1]. It was proved that the fractional mobile/immobile convection–diffusion Eq. (1.1) is identical to the multiple-rate mass transfer model with infinite mean power-law memories.
With the rapid development of the applications of the fractional mobile/immobile equation, numerical methods have become important to compute its solution. A numerical treatment of the fractional mobile/immobile convection–diffusion Eq. (1.1) with a non-homogeneous source term was given in [20]. The main purpose there is to present a stable implicit numerical method by the basic finite difference discretization, and the accuracy of the proposed method is only of order \(\mathcal{O}(\tau +h)\), where \(\tau \) is the time step and h is the spatial step. In [21], a meshless approach based on radial basis functions (RBFs) for the spatial discretization and a semi-discrete scheme for the temporal discretization were developed for a two-dimensional fractional mobile/immobile transport model. Since the backward Euler method was adopted to discretize the time first derivative, the developed meshless approach in that paper is only first-order accurate in time. Recently, Zhang et al. [37] treated numerically a fractional mobile/immobile convection–diffusion equation with the time fractional derivative of Coimbra variable order. The proposed method there possesses only the first-order accuracy in both time and space, and is identical to the one presented in [20] when the variable fractional order is reduced to a constant fractional order. In the above works, the L1 approximation formula (see [4, 23, 29]) was used for the discretization of the Caputo time fractional derivative \({\partial ^{\alpha } v}/{\partial t^{\alpha }}\) and the backward Euler method was applied to discretize the time first derivative. Consequently, the numerical accuracy of the resulting approximation formula to the Caputo time fractional derivative is only of order \(2-\alpha \), which is less than two, and the total temporal accuracy has only the first-order. This motivated us to look for a more accurate approximation to the Caputo time fractional derivative \({\partial ^{\alpha } v}/{\partial t^{\alpha }}\) and construct a high-order numerical method for solving the fractional mobile/immobile convection–diffusion Eq. (1.1).
In order to clarify the success of our method and enlarge its applications, we here consider a class of more general fractional mobile/immobile convection–diffusion equations where the convection coefficient V is spatially variable, i.e., \(V=V(x)\). This class of equations combined with its boundary and initial conditions is given in the form
where the given functions V(x), f(x, t), \(\phi _{0}(t)\) and \(\phi _{L}(t)\) are sufficiently smooth in their respective domains. The very recent work in [33] proposed a compact finite difference method for the problem (1.3), but the temporal accuracy of the proposed method is still only of order \(2-\alpha \). In this paper, we shall present a high-order compact finite difference method that possesses the second-order temporal accuracy and can be efficiently used to solve the fractional mobile/immobile problem (1.3) with the general convection coefficient V(x). Some of the related numerical aspects will be rigorously investigated as well.
A common technique to design high-order numerical methods with the second-order temporal accuracy for the Caputo-type time fractional differential equation is to transform the corresponding differential equation into its equivalent integral or integro-differential form (cf. [3, 9, 17, 18, 32, 35]). However, it is difficult to extend this technique with a rigorous theoretical analysis to the present time fractional mobile/immobile problem (1.3) because the governing equation involves both the time first derivative \({\partial v}/{\partial t}\) and the Caputo time fractional derivative \({\partial ^{\alpha } v}/{\partial t^{\alpha }}\). A direct method without any transformation was given in [10], where a modified L1 approximation formula was used to directly discretize the Caputo time fractional derivative, but the rigorous convergence analysis for the corresponding difference scheme has not been available. Dimitrov [8] presented a second-order implicit difference scheme for a one-dimensional Caputo-type time fractional subdiffusion equation by using the Grünwald formula to directly approximate the weighted averages of the Caputo derivatives. However, the difference scheme derived there makes the error analysis much more complex, and it is unclear whether the main idea in that paper can be generalized to a high-order compact finite difference scheme.
Here, we shall show a new technique to design a high-order compact finite difference method with the second-order temporal accuracy for the problem (1.3) by using the weighted and shifted Grünwald formula to directly discretize the Caputo time fractional derivative \({\partial ^{\alpha } v}/{\partial t^{\alpha }}\). The high-order scheme derived in this way is very simple and effective for the problem (1.3). It is also very convenient for us to use a technique of discrete energy analysis to carry out the stability and convergence analysis of the derived scheme. The similar technique was used in [16] to derive a third-order approximation formula for the Caputo time fractional derivative \({\partial ^{\alpha } v}/{\partial t^{\alpha }}\). However, our derivation in this paper is essentially different from that in [16]. Firstly, it is only assumed in this paper that the function \(v(\cdot ,t)\) is \(\mathcal{C}^{3}\)-continuous and \({\partial ^{k} v}/{\partial t^{k}}(\cdot ,0)=0\) for \(k=1,2\), whereas a stronger condition that the function \(v(\cdot ,t)\) is \(\mathcal{C}^{5}\)-continuous and \({\partial ^{k} v}/{\partial t^{k}}(\cdot ,0)=0\) for \(k=1,2,\ldots ,5\) is required in [16]. Secondly, since we obtain a detailed asymptotic expansion for the truncation error of the Grünwald approximation it is easy to apply a Richardson extrapolation to further enhance the temporal accuracy of the computed solution from the second-order to the third-order, with only the requirement that the function \(v(\cdot ,t)\) is \(\mathcal{C}^{4}\)-continuous and \({\partial ^{k} v}/{\partial t^{k}}(\cdot ,0)=0\) for \(k=1,2,3\). As a result, we obtain an extrapolation algorithm that possesses the third-order temporal accuracy under a weaker condition than that in [16]. It should be mentioned that because of the first time derivative term \({\partial v}/{\partial t}\), it is difficult to apply the approach given in [16] to the present problem (1.3) to achieve the third-order temporal accuracy with a rigorous convergence proof.
The outline of the paper is as follows. In Sect. 2, we derive a second-order approximation to the Caputo time fractional derivative \({\partial ^{\alpha } v}/{\partial t^{\alpha }}\) by introducing an asymptotic expansion for the truncation error of the Grünwald approximation. Then we discretize the fractional mobile/immobile problem (1.3) into a compact finite difference system. The local truncation error and the solvability of the resulting finite difference scheme are discussed in Sect. 3. In Sect. 4, we use a technique of discrete energy analysis to prove the stability and convergence of the method and to obtain an explicit error estimate of the numerical solution. The error estimate shows that the proposed method has the second-order temporal accuracy and the fourth-order spatial accuracy. Improvement of the temporal accuracy based on a Richardson extrapolation is presented in Sect. 5, where a Richardson extrapolation algorithm is developed to enhance the temporal accuracy of the computed solution to the third-order. In Sect. 6, we give some applications to two model problems. Numerical results are included to demonstrate the accuracy of the compact finite difference method and the high efficiency of the Richardson extrapolation algorithm. The final section contains some concluding remarks.
2 Compact finite difference method
Without loss of generality, we have assumed the homogeneous initial condition \(v(x,0)=0\) in the problem (1.3). When the problem is given with the nonhomogeneous initial condition, the substitution \(z(x,t)=v(x,t)-v(x,0)\) will transform the problem to the problem which has the same form and the homogeneous initial condition. Hence, our investigation is directly applicable to the above nonhomogeneous initial condition without any complication.
In general, a direct discretization of the problem (1.3) by a high-order compact difference approximation is much more complicated because of the dependence of V(x) on the spatial variable x. We here use an indirect approach by transforming (1.3) into a special and equivalent form. The main advantage behind this approach is that it yields a very simple and effective high-order scheme for the variable coefficient problem (1.3). This approach is similar to that used in [19, 36] to treat the other convection–diffusion problems with constant coefficients. Let
We transform the problem (1.3) into
where
It is clear that v(x, t) is a solution of the original problem (1.3) if and only if u(x, t) is a solution of the transformed problem (2.1). Our compact finite difference method for the problem (1.3) is based on the above equivalent form (2.1).
For a positive integer N, we let \(\tau =T/N\) be the time step. Denote \(t_{n}=n\tau \) \((0\le n\le N)\) and \(t_{n-\frac{1}{2}}=(n-\frac{1}{2})\tau \) \((1\le n\le N)\). Given a grid function \(w=\{w^{n}~|~0\le n\le N\}\), we define
Let \(h=L/M\) be the spatial step, where M is a positive integer. We partition [0, L] into a mesh by the mesh points \(x_{i}=ih\) \((0\le i\le M)\). For any grid function \(w=\{w_{i}~|~0\le i\le M\}\), we define spatial difference operators
where I denotes the identical operator.
2.1 A second-order approximation to the Caputo time fractional derivative
For any \(\alpha \in (0,1)\) and any nonnegative integer l, the \((l+\alpha )\)th-order Caputo and Riemann–Liouville time fractional derivatives of the function y(t) on [0, T] are defined as
Also we introduce the shifted Grünwald difference operator with the step \(\tau \) for the function y(t):
where p is a integer and \(w_{k}^{(\alpha )}\), called the Grünwald weight, is defined by the coefficient of the binomial series \((1-z)^{\alpha }=\sum \nolimits _{k=0}^{\infty } w_{k}^{(\alpha )} z^{k}\) as follows:
It is clear that the Grünwald weights \(w_{k}^{(\alpha )}\) can be computed recursively by
and they have the following properties
Lemma 2.1
Let \(\alpha \in (0,1)\), and let r be a positive integer. Suppose that \(y(t)\in \mathcal{C}^{r}[0,T]\), \(y^{(r+1)}(t)\in L^{1}[0,T]\) and \(y^{(k)}(0)=0\) \((k=0,1,\ldots ,r)\). Then
where \(a_{k,p}\) are the coefficients of the power series of the function \(\omega _{\alpha ,p}=\left( \frac{1-\mathrm{e}^{-z}}{z} \right) ^{\alpha } \mathrm{e}^{pz}-1\), i.e., \(\omega _{\alpha ,p}=\sum \nolimits _{k=0}^{\infty }a_{k,p}z^{k}\), and in particular,
Proof
Firstly, the coefficients in (2.10) follow from (38) in [41]. Under the condition of the lemma, we have from Theorem 1 in [41] that
The Riemann–Liouville and Caputo fractional derivatives are related as (see [7], Page 53)
We have from \(y^{(k)}(0)=0\) \((k=0,1,\ldots ,r)\) that
Substituting this relation into (2.11) leads to the desired result (2.9). \(\square \)
Based on Lemma 2.1, we immediately obtain the following approximation to the \(\alpha \)th-order Caputo time fractional derivative \({_{~0}^{C}\mathcal{D}_{t}^{\alpha }}y(t)\).
Theorem 2.1
Let \(\alpha \in (0,1)\), and define
Suppose that \(y(t)\in \mathcal{C}^{r}[0,T]\), \(y^{(r+1)}(t)\in L^{1}[0,T]\) and \(y^{(k)}(0)=0\) \((k=0,1,\ldots ,r)\), where \(r=1,2\) or 3. Then we have
where
Proof
By the definition of \(a_{k}^{(\alpha )}\),
We have from (2.9) with \(r=1\) that
When \(r=2\) or 3, we have also from (2.9) that
It follows from (2.10) that
if \(r=2\), and
if \(r=3\). This proves (2.14) and (2.15). \(\square \)
2.2 The derivation of the compact finite difference scheme
Now we derive a high-order compact finite difference scheme for solving problem (2.1). Assume that the solution u(x, t) of (2.1) is in \(\mathcal{C}^{6,3}([0,L]\times [0,T])\). Define the grid functions
In view of the definitions in (1.2) and (2.4), we have
An application of the approximation (2.14) yields that
where \((R_{t}^{G})_{i}^{n}\) is the corresponding local truncation error. Substituting (2.17) into the governing equation of (2.1), we obtain
Similarly, on the time level \(n-1\), we have
Since \(\frac{\partial ^{\alpha } u}{\partial t^{\alpha }}(x,0)=0\) (see [8]), we have from (2.1) that \(W_{i}^{0}=D Z_{i}^{0}+q_{i}U_{i}^{0}+g_{i}^{0}\). This equality and \(U_{i}^{0}=0\) imply that (2.19) holds true also for \(n=1\) with \((R_{t}^{G})_{i}^{0}=0\). Taking the arithmetic mean of (2.18) and (2.19), we conclude that
An application of the Crank–Nicolson technique (see, e.g., [40]) gives
where
This implies that
where
For the spatial second-order derivative \(Z_{i}^{n}\), we adopt the following fourth-order compact approximation (see, e.g., [40]):
where
with \(\zeta (s)=5(1-s)^{3}-3(1-s)^{5}\). Applying \(\mathcal{H}_{x}\) to both sides of (2.23) yields
where
Omitting the small term \((R_{xt})_{i}^{n-\frac{1}{2}}\) in (2.27), we obtain the following compact finite difference scheme:
where \(u_{i}^{n}\) denotes the finite difference approximation to \(U_{i}^{n}\).
3 Truncation error and solvability
Firstly, we estimate the truncation error \((R_{xt})_{i}^{n-\frac{1}{2}}\) of the compact scheme (2.29).
Theorem 3.1
Assume that the solution u(x, t) of the problem (2.1) is in \(\mathcal{C}^{6,3}([0,L]\times [0,T])\) and \(\frac{\partial ^{k} u}{\partial t^{k}}(x,0)=0\) for \(k=1,2\). Then the truncation error \((R_{xt})_{i}^{n-\frac{1}{2}}\) of the compact scheme (2.29) satisfies
where \(C^{*}\) is a positive constant independent of the time step \(\tau \), the spatial step h and the time level n. \(\square \)
Proof
Under the condition of the theorem, we have from (2.15) that the local truncation error \((R_{t}^{G})_{i}^{n-\frac{1}{2}}\) in (2.20) satisfies
By (2.22), we obtain
Then we have from (2.24), (3.2) and (3.3) that
Since \(\mathcal{H}_{x}w_{i}=\frac{1}{12}(w_{i-1}+10w_{i}+w_{i+1})\) for any grid function \(w=\{w_{i}~|~0\le i\le M\}\), we apply the estimates (2.26) and (3.4) in (2.28) to get the desired estimate (3.1) immediately. \(\square \)
For implementing the compact scheme (2.29), it is more convenient to consider its matrix form. To do this, we define the following column vectors:
where
We also define the following \((M-1)\)-order tridiagonal or diagonal matrices:
A simple process shows that the compact scheme (2.29) can be expressed in the matrix form as
where \(\mathbf{r}^{n}\) absorbs the boundary values of the solution vector and the source term.
Theorem 3.2
The compact scheme (2.29) is uniquely solvable if and only if the matrix
is nonsingular.
Define
A sufficient condition for the matrix \(Q^{*}\) to be nonsingular is given by
Corollary 3.1
The compact scheme (2.29) is uniquely solvable if the condition (3.9) holds true.
Proof
In fact, \(Q^{*}=\mathrm{tridiag}(p_{i-1}^{*}, q_{i}^{*}, p_{i+1}^{*})\), where \(p_{0}^{*}=p_{M}^{*}=0\) and for each \(1\le i\le M-1\),
The condition (3.9) implies that \(q_{i}^{*}>0\) for each \(1\le i\le M-1\).
Case 1. Assume that \(p_{i}^{*}\not =0\) for all \(1\le i\le M-1\). In this case, the matrix \(Q^{*}\) is irreducible. By the condition (3.9), we have that for \(2\le i\le M-2\),
Similarly,
This proves that \(Q^{*}\) is irreducibly diagonally dominant, and thus nonsingular (see [31]).
Case 2. Assume that \(p_{i_{0}}^{*}= 0\) for some \(1\le i_{0}\le M-1\). In this case, we complete the proof by partitioning \(Q^{*}\) and considering the submatrices of \(Q^{*}\). \(\square \)
Corollary 3.2
The compact scheme (2.29) is uniquely solvable if the function q(x) is nonpositive and convex in [0, L].
Proof
We write \(Q^{*}=\mathrm{tridiag}(p_{i-1}^{*}, q_{i}^{*}, p_{i+1}^{*})\) as in Corollary 3.1. Since the function q(x) is nonpositive and convex, we have that for \(2\le i\le M-2\),
and
This shows that the matrix \(Q^{*}\) is strictly diagonally dominant, and thus nonsingular (see [31]). \(\square \)
Remark 3.1
When \(q(x)\equiv q\) is independent of x and \(q\le 0\), the conditions in Corollaries 3.1 and 3.2 are trivially satisfied. We notice that if the convection coefficient V(x) in the original problem (1.3) is independent of x, i.e., \(V(x)\equiv V\), we must have \(q(x)\equiv -\frac{V^{2}}{4D}\le 0\). Therefore, for the fractional mobile/immobile convection–diffusion problem (1.3) with constant coefficients, the corresponding compact scheme (2.29) is always uniquely solvable without any additional constraints.
4 Stability and convergence
We now carry out the stability and convergence analysis of the compact scheme (2.29) using a technique of discrete energy analysis. Let \(\mathcal{S}_{h}=\{w~|~ w=(w_{0}, w_{1}, \ldots , w_{M}), w_{0}=w_{M}=0\}\) be the space of the grid functions defined on the spatial mesh and vanishing on two boundary points. For grid functions \(w,z\in \mathcal{S}_{h}\), we define the inner product (w, z), \(L^{2}\) norm \(\Vert w \Vert \) and \(L^{\infty }\) norm \(\Vert w \Vert _{\infty }\) by
We also define
The inverse estimate \(h\Vert \delta _{x}^{2}w\Vert \le 2|w|_{1}\) (e.g., see [26]) implies that \(|w|_{1}^{2}-\frac{h^{2}}{12} \Vert \delta _{x}^{2} w\Vert ^{2}\ge \frac{2}{3} |w|_{1}^{2}\). For convenience, we introduce the following notation:
Then we have the following lemma from [33, 34].
Lemma 4.1
Let \(\rho (x)\) be a function in \(\mathcal{C}[0,L]\). For any grid function \(w\in \mathcal{S}_{h}\), we have
Lemma 4.2
For any grid function \(w\in \mathcal{S}_{h}\), we have
Proof
Since \((w,\delta _{x}^{2}w)=-(\delta _{x}w,\delta _{x}w]=-|w|_{1}^{2}\), we have \( \Vert \mathcal{H}_{x}w \Vert ^{2}=\Vert w\Vert ^{2}-\frac{h^{2}}{6}|w|_{1}^{2}+\frac{h^{4}}{144} \Vert \delta _{x}^{2}w \Vert ^{2}\). The inverse estimates \(h|w|_{1}\le 2\Vert w\Vert \) and \(h\Vert \delta _{x}^{2}w\Vert \le 2|w|_{1}\) (e.g., see [26]) imply that
This proves the lemma. \(\square \)
Lemma 4.3
Let \(a_{k}^{(\alpha )}\) \((k\ge 0)\) be defined by (2.13). Then for any positive integer m and \(w^{n}\in \mathcal{S}_{h}\) \((n\ge 1)\), it holds that
Proof
In view of the definition of the inner product \((w^{n-k}, w^{n})\),
By Lemma 3.2 in [35], we have that for each i,
The proof is completed. \(\square \)
Lemma 4.4
(Discrete Gronwall lemma [25]) Assume that \(\{k_{n}\}\) and \(\{s_{n}\}\) are nonnegative sequences, and that the sequence \(\{\phi _{n}\}\) satisfies
where \(g_{0}\ge 0\). Then the sequence \(\{\phi _{n}\}\) satisfies
Based on the above lemmas, we now discuss the stability of the compact scheme (2.29) with respect to the initial value \(u_{i}^{0}\) and the source term g.
Theorem 4.1
Let \(u^{n}=(u_{0}^{n}, u_{1}^{n}, \ldots , u_{M}^{n})\) be the solution of the compact scheme (2.29) with the initial value \(u_{i}^{0}\) and the boundary values \(u_{0}^{n}=u_{M}^{n}=0\). Then when \(\tau \Vert q\Vert _{\infty }^{2} \le \frac{10D}{3L^{2}}\), we have that for \(1\le n\le N\),
Proof
Taking the inner product of (2.29) with \(\mathcal{H}_{x}u^{n-\frac{1}{2}}\) gives
It is clear that
By Lemma 4.1, \(( \delta _{x}^{2}u^{n-\frac{1}{2}},\mathcal{H}_{x}u^{n-\frac{1}{2}} )= -\Vert u^{n-\frac{1}{2}} \Vert _{*}^{2}\) and \(\Vert u^{n-\frac{1}{2}} \Vert _{*}^{2}\ge \frac{16}{3L^{2}}\Vert \mathcal{H}_{x}u^{n-\frac{1}{2}} \Vert ^{2}\). Therefore, we have
On the other hand, by the Cauchy–Schwarz inequality, i.e., \((w,z)\le \varepsilon \Vert w\Vert ^{2}+\frac{1}{4\varepsilon } \Vert z\Vert ^{2}\) for all \(w,z\in \mathcal{S}_{h}\) and \(\varepsilon >0\), we obtain
The above last inequality follows from Lemma 4.1. Substituting (4.5)–(4.7) into (4.4) leads to
Replacing n by m and summing up for m from 1 to n on both sides of the above inequality, we have
Then applying Lemma 4.3 and then replacing m by k, we obtain
Furthermore, by the relation \(\Vert u^{k-\frac{1}{2}}\Vert ^{2}\le \frac{1}{2} ( \Vert u^{k} \Vert ^{2}+ \Vert u^{k-1} \Vert ^{2})\), we have
An application of Lemma 4.2 gives
When \(\tau \Vert q\Vert _{\infty }^{2} \le \frac{10D}{3L^{2}}\), we have
The estimate (4.3) follows immediately from Lemma 4.4 (Discrete Gronwall lemma). \(\square \)
Theorem 4.1 shows that the compact scheme (2.29) is almost unconditionally stable to the initial value \(u_{i}^{0}\) and the source term g, or more precisely, it is stable for the general q(x) under the mild assumption \(\tau \Vert q\Vert _{\infty }^{2} \le \frac{10D}{3L^{2}}\). For the special case when \(q(x)\equiv q\) is independent of x and \(q< \frac{16D}{3L^{2}}\), this mild assumption can be removed to obtain the unconditional stability of the compact scheme (2.29). Specifically, we have the following result.
Theorem 4.2
Let \(u^{n}=(u_{0}^{n}, u_{1}^{n}, \ldots , u_{M}^{n})\) be the solution of the compact scheme (2.29) with the initial value \(u_{i}^{0}\) and the boundary values \(u_{0}^{n}=u_{M}^{n}=0\). Assume that \(q(x)\equiv q\) is independent of x and that \(q< \frac{16D}{3L^{2}}\). Then we have
where \( C_{1}=\frac{16D}{3L^{2}}-q\).
Proof
The proof follows from the similar argument as that used in the proof of Theorem 4.1. When \(q(x)\equiv q\) is independent of x and \(q<\frac{16D}{3L^{2}}\), we have
where \(C_{1}=\frac{16D}{3L^{2}}-q>0\). In this case, we replace the second estimate in (4.6) by
Using (4.4) (with \(q(x)\equiv q\)), (4.5), the first estimate of (4.6), (4.12) and (4.13), we obtain
By Lemma 4.3,
An application of Lemma 4.2 shows that the estimate (4.11) holds. \(\square \)
Remark 4.1
The condition \(q< \frac{16D}{3L^{2}}\) is automatically satisfied if \(q\le 0\). The latter is certainly satisfied if the convection coefficient V(x) in the original problem (1.3) is independent of x, i.e., \(V(x)\equiv V\). This implies that for the fractional mobile/immobile convection–diffusion problem (1.3) with constant coefficients, the corresponding compact scheme (2.29) is always unconditionally stable.
We now consider the convergence of the compact scheme (2.29). Let \(e_{i}^{n}=U_{i}^{n}-u_{i}^{n}\). From (2.27) and (2.29), we get the following error equation:
Based on this error equation, we have the following convergence results.
Theorem 4.3
Assume that the condition in Theorem 3.1 is satisfied. Let \(U_{i}^{n}\) denote the value of the solution u(x, t) of (2.1) at the mesh point \((x_{i},t_{n})\) and let \(U^{n}=(U_{0}^{n}, U_{1}^{n}, \ldots , U_{M}^{n})\). Also let \(u^{n}=(u_{0}^{n}, u_{1}^{n}, \ldots , u_{M}^{n})\) be the solution of the compact scheme (2.29). Then when \(\tau \Vert q\Vert _{\infty }^{2}\le \frac{10D}{3L^{2}}\), we have
where the positive constant \(C^{*}\) is the same as that in (3.1).
Proof
It follows from (4.15) and Theorem 4.1 that
Applying Theorem 3.1, we get
The estimate (4.16) is proved. \(\square \)
Theorem 4.4
Assume that the condition in Theorem 3.1 is satisfied. Let \(U_{i}^{n}\) denote the value of the solution u(x, t) of (2.1) at the mesh point \((x_{i},t_{n})\) and let \(U^{n}=(U_{0}^{n}, U_{1}^{n}, \ldots , U_{M}^{n})\). Also let \(u^{n}=(u_{0}^{n}, u_{1}^{n}, \ldots , u_{M}^{n})\) be the solution of the compact scheme (2.29). If \(q(x)\equiv q\) is independent of x and \(q< \frac{16D}{3L^{2}}\), we have
where the positive constants \(C^{*}\) and \(C_{1}\) are the same as those in (3.1) and (4.11).
Proof
The proof follows from (4.15) and Theorems 3.1 and 4.2. \(\square \)
Theorems 4.3 and 4.4 show that the compact scheme (2.29) converges with the convergence order \(\mathcal{O}(\tau ^{2}+h^{4})\), regardless of the order \(\alpha \) of the fractional derivative.
Remark 4.2
In Theorem 4.3, the optimal error estimate (i.e., the error estimate with the same order as the truncation error) of the compact scheme (2.29) are obtained under the mild condition \(\tau \Vert q\Vert _{\infty }^{2}\le \frac{10D}{3L^{2}}\) for the general q(x). Theorem 4.4 shows that this mild condition is no longer required to obtain the same optimal error estimate if \(q(x)\equiv q\) is independent of x and \(q< \frac{16D}{3L^{2}}\). In particular, this is the case for the fractional mobile/immobile convection–diffusion problem (1.3) with constant coefficients.
Remark 4.3
The constraint condition \(q< \frac{16D}{3L^{2}}\) in Theorems 4.2 and 4.4 is easily verifiable for practical problems. If it does not hold we have the estimates (4.3) and (4.16) instead of the estimates (4.11) and (4.17), respectively, for the sufficiently small \(\tau \). When \(C_{1}\) is very small, the estimates (4.11) and (4.17) are poor. In this case, it is also better to use the estimates (4.3) and (4.16) for the sufficiently small \(\tau \). The restriction condition on \(\tau \) in Theorems 4.1 and 4.3 is only for the analysis of the stability and convergence of the compact scheme (2.29) with the general q(x). One of the numerical experiments in Sect. 6 shows that it is only a sufficient condition. Improvement of this condition can be interesting both theoretically and computationally.
Once we have the error estimate between the solution \(U_{i}^{n}=u(x_{i},t_{n})\) of the transformed problem (2.1) and the solution \(u_{i}^{n}\) of the compact scheme (2.29), it is very straightforward to obtain the error estimate between the solutions of the original problem (1.3) and the compact scheme (2.29). Let \(V_{i}^{n}=v(x_{i},t_{n})\) be the value of the solution v(x, t) of the original problem (1.3) at the mesh point \((x_{i},t_{n})\), and let \(v_{i}^{n}=u_{i}^{n}/k_{i}\), where \(k_{i}=k(x_{i})\). Since \(V_{i}^{n}=U_{i}^{n}/k_{i}\), we have from (4.16) or (4.17) that
where \(C_{2}\) is a positive constant independent of the time step \(\tau \), the spatial step h and the time level n. The estimate (4.18) will be used in our numerical experiments in Sect. 6.
5 Richardson extrapolation of the compact finite difference method
The asymptotic expansion of the truncation error in (2.15) allows us to develop a Richardson extrapolation algorithm for further enhancing the temporal accuracy of the computed solution by the compact scheme (2.29).
Assume that the solution u(x, t) of the problem (2.1) is in \(\mathcal{C}^{6,4}([0,L]\times [0,T])\) and \(\frac{\partial ^{k} u}{\partial t^{k}}(x,0)=0\) for \(k=1,2,3\). Then we have from (2.14) and (2.15) with \(r=3\) that the truncation error \((R_{t}^{G})_{i}^{n-\frac{1}{2}}\) in (2.20) or (3.2) can be written as
By Taylor expansion, the truncation error \((R_{t}^{c})_{i}^{n-\frac{1}{2}}\) in (2.22) or (3.3) has the form
Define
By (5.1) and (5.2), the truncation error \((R_{t})_{i}^{n-\frac{1}{2}}\) in (2.24) or (3.4) can be written as
Let \(u^{*}(x,t)\) be the solution of the following problem:
where the source term \(g^{*}(x,t)\) is defined in (5.3). Assume \(u^{*}(x,t)\in \mathcal{C}^{6,3}([0,L]\times [0,T])\). Since the above problem has the same form as the problem (2.1), the same argument for (2.27) with the source term g being replaced by \(g^{*}\) shows that \(U_{i}^{*,n}=u^{*}(x_{i},t_{n})\) satisfies
where
The truncation errors \((R_{t}^{*})_{i}^{n-\frac{1}{2}}\) and \((R_{x}^{*})_{i}^{n-\frac{1}{2}}\) in (5.7) are analogously defined by (2.24) and (2.26) with u being replaced by \(u^{*}\).
We now estimate the truncation error \((R_{xt}^{*})_{i}^{n-\frac{1}{2}}\). In view of \(\frac{\partial ^{3} u}{\partial t^{3}}(x,0)=0\), we have
Further, by \(u^{*}(x,0)=0\) for all \(x\in [0,L]\),
Consequently, a similar argument as that for Theorem 3.1 gives
where \(C^{**}\) is a positive constant independent of the time step \(\tau \), the spatial step h and the time level n.
Multiplying (5.6) by \(-\tau ^{2}\) and adding the resulting equation to (2.27) lead to the following equation for the function \(W_{i}^{n}=U_{i}^{n}-\tau ^{2} U_{i}^{*,n}\):
where
Clearly, by (2.28), (5.4) and (5.10),
where \({\widetilde{C}}\) is a positive constant independent of the time step \(\tau \), the spatial step h and the time level n.
Let \(\overline{e}_{i}^{n}=W_{i}^{n}-u_{i}^{n}\), where \(u_{i}^{n}\) is the solution of the compact scheme (2.29). We get from (2.29) and (5.11) that
In view of this relation, we have the following estimates.
Theorem 5.1
Assume that the solution u(x, t) of the problem (2.1) is in \(\mathcal{C}^{6,4}([0,L]\times [0,T])\) and that \(\frac{\partial ^{k} u}{\partial t^{k}}(x,0)=0\) for \(k=1,2,3\). Also assume that the solution \(u^{*}(x,t)\) of the problem (5.5) is in \(\mathcal{C}^{6,3}([0,L]\times [0,T])\). Let \(U^{n}=(U_{0}^{n}, U_{1}^{n}, \ldots , U_{M}^{n})\) and \(U^{*,n}=(U_{0}^{*,n}, U_{1}^{*,n}, \ldots , U_{M}^{*,n})\), where \(U_{i}^{n}=u(x_{i},t_{n})\) and \(U_{i}^{*,n}=u^{*}(x_{i},t_{n})\). Also let \(u^{n}=(u_{0}^{n}, u_{1}^{n}, \ldots , u_{M}^{n})\) be the solution of the compact scheme (2.29). Then when \(\tau \Vert q\Vert _{\infty }^{2}\le \frac{10D}{3L^{2}}\), we have
where the positive constant \({\widetilde{C}}\) is the same as that in (5.12).
Proof
The proof follows from the same argument as that in the proof of Theorem 4.3 by replacing (4.15) and (3.1) by (5.13) and (5.12), respectively. \(\square \)
Theorem 5.2
Assume that the solution u(x, t) of the problem (2.1) is in \(\mathcal{C}^{6,4}([0,L]\times [0,T])\) and that \(\frac{\partial ^{k} u}{\partial t^{k}}(x,0)=0\) for \(k=1,2,3\). Also assume that the solution \(u^{*}(x,t)\) of the problem (5.5) is in \(\mathcal{C}^{6,3}([0,L]\times [0,T])\). Let \(U^{n}=(U_{0}^{n}, U_{1}^{n}, \ldots , U_{M}^{n})\) and \(U^{*,n}=(U_{0}^{*,n}, U_{1}^{*,n}, \ldots , U_{M}^{*,n})\), where \(U_{i}^{n}=u(x_{i},t_{n})\) and \(U_{i}^{*,n}=u^{*}(x_{i},t_{n})\). Also let \(u^{n}=(u_{0}^{n}, u_{1}^{n}, \ldots , u_{M}^{n})\) be the solution of the compact scheme (2.29). If \(q(x)\equiv q\) is independent of x and \(q< \frac{16D}{3L^{2}}\), we have
where the positive constants \({\widetilde{C}}\) and \(C_{1}\) are the same as those in (5.12) and (4.11).
Proof
The proof is completed by using the same argument as that in the proof of Theorem 4.4 with (4.15) and (3.1) being replaced by (5.13) and (5.12), respectively. \(\square \)
An important application of Theorems 5.1 and 5.2 is to construct a Richardson extrapolation algorithm for enhancing the temporal accuracy of the computed solution by the compact scheme (2.29). To do this, we denote by \(u^{n}(\tau )=\left( u_{0}^{n}(\tau ),u_{1}^{n}(\tau ), \ldots , u_{M}^{n}(\tau )\right) \) the solution of the compact scheme (2.29) with the time step \(\tau \). We now construct a Richardson extrapolation algorithm as follows.
Richardson extrapolation algorithm:
- Step 1. :
-
Compute \(u^{n}(\tau )\) and \(u^{2n}(\tau /2)\) by the compact scheme (2.29).
- Step 2. :
-
Compute the extrapolation solution \(u^{\mathrm{e},n}(\tau )=(u_{0}^{\mathrm{e},n}(\tau ),u_{1}^{\mathrm{e},n}(\tau ), \ldots , u_{M}^{\mathrm{e},n}(\tau ))\) by
$$\begin{aligned} u_{i}^{\mathrm{e},n}(\tau )=-\frac{1}{3}u_{i}^{n}(\tau )+\frac{4}{3}u_{i}^{2n}(\tau /2), \qquad 0\le i\le M. \end{aligned}$$(5.16)
For the extrapolation solution \(u^{\mathrm{e},n}(\tau )\), we have the following error estimates.
Theorem 5.3
Assume that the condition in Theorem 5.1 is satisfied. Let \(U_{i}^{n}(\tau )\) be the value of the solution u(x, t) of the problem (2.1) at the mesh point \((x_{i}, t_{n})\) with the time step \(\tau \), and let \(U^{n}(\tau )=(U_{0}^{n}(\tau ),U_{1}^{n}(\tau ), \ldots , U_{M}^{n}(\tau ))\). Also let \(u^{\mathrm{e},n}(\tau )\) be the extrapolation solution from the Richardson extrapolation algorithm. Then we have
where the positive constant \({\widetilde{C}}\) is the same as that in (5.12).
Proof
Let \(U_{i}^{*,n}(\tau )\) be the value of the solution \(u^{*}(x,t)\) of the problem (5.5) at the mesh point \((x_{i}, t_{n})\) with the time step \(\tau \), and let \(W_{i}^{n}(\tau )=U_{i}^{n}(\tau )-\tau ^{2} U_{i}^{*,n}(\tau )\). Since \(U_{i}^{n}(\tau )=U_{i}^{2n}(\tau /2)\) and \(U_{i}^{*,n}(\tau )=U_{i}^{*,2n}(\tau /2)\), we have that
By this equality and (5.16),
Thus, the estimate (5.17) follows immediately from the estimate (5.14). \(\square \)
Theorem 5.4
Assume that the condition in Theorem 5.2 is satisfied. Let \(U_{i}^{n}(\tau )\) be the value of the solution u(x, t) of the problem (2.1) at the mesh point \((x_{i}, t_{n})\) with the time step \(\tau \), and let \(U^{n}(\tau )=(U_{0}^{n}(\tau ),U_{1}^{n}(\tau ), \ldots , U_{M}^{n}(\tau ))\). Also let \(u^{\mathrm{e},n}(\tau )\) be the extrapolation solution from the Richardson extrapolation algorithm. Then we have
where the positive constants \({\widetilde{C}}\) and \(C_{1}\) are the same as those in (5.12) and (4.11).
Proof
The proof is similar as that of Theorem 5.3 by using the estimate (5.15) instead of the estimate (5.14). \(\square \)
Theorems 5.3 and 5.4 show that the extrapolation solution \(u_{i}^{\mathrm{e},n}\) from the Richardson extrapolation algorithm converges to the solution of the problem (2.1) with the order \(\mathcal{O}\left( \tau ^{3}+h^{4}\right) \). This implies that the Richardson extrapolation algorithm enhances the temporal accuracy of the computed solution by the compact scheme (2.29) from the second-order to the third-order. It is worth noticing that our extrapolation algorithm requires a weaker condition on the solution u(x, t) than that in [16] to achieve the third-order temporal accuracy.
Remark 5.1
With the same discretization parameters, the Richardson extrapolation algorithm requires more arithmetic operations than the compact scheme (2.29) itself. But its high-order temporal accuracy allows the use of much larger time step in order to obtain satisfactory numerical results and thus much computational work is saved (see the numerical results in the next section).
Remark 5.2
The same remark as given in Remark 4.3 for Theorems 4.3 and 4.4 holds true for Theorems 5.3 and 5.4.
We end this section by giving a simple comment on the derivative conditions at the initial time used in Theorems 3.1, 5.1 and 5.2. In Theorems 3.1, 5.1 and 5.2, we have assumed the derivative conditions \(\frac{\partial ^{k} u}{\partial t^{k}}(x,0)=0\) for \(k=1,2\) and \(\frac{\partial ^{k} u}{\partial t^{k}}(x,0)=0\) for \(k=1,2,3\), respectively. If the above derivative conditions are not satisfied, one may consider the problem (2.1) for
instead, where the coefficients \(\frac{\partial ^{k} u}{\partial t^{k}}(x,0)\) \((k=1,2,3)\) can be computed from the known function g(x, t) as given in the following propositions.
Proposition 5.1
Assume that the solution u(x, t) of the problem (2.1) is in \(\mathcal{C}^{2,1}([0,L]\times [0,T])\). Then
Proposition 5.2
Assume that the solution u(x, t) of the problem (2.1) is in \(\mathcal{C}^{2,2}([0,L]\times [0,T])\). Let
Then the limit \(\lim \nolimits _{t\rightarrow 0} \frac{\partial F}{\partial t} (x,t)\) exists and
Proposition 5.3
Assume that the solution u(x, t) of the problem (2.1) is in \(\mathcal{C}^{2,3}([0,L]\times [0,T])\). Let
Then the limit \(\lim \nolimits _{t\rightarrow 0} \frac{\partial ^{2} G}{\partial t^{2}} (x,t)\) exists and
where \(\frac{\partial ^{2} u}{\partial t^{2}}(x,0)\) is computed from (5.21).
The proofs of the above propositions will be given in Appendix.
6 Applications and numerical results
In this section, we apply the proposed compact finite difference method and Richardson extrapolation algorithm to two fractional mobile/immobile convection–diffusion problems in the form (1.3). The exact analytical solution v(x, t) of each problem is explicitly known and is mainly used to compare with the computed solution \(v_{i}^{n}=u_{i}^{n}/k_{i}\) and the extrapolation solution \(v_{i}^{\mathrm{e},n}=u_{i}^{\mathrm{e},n}/k_{i}\) to check the accuracy of the compact finite difference method and the high efficiency of the Richardson extrapolation algorithm, where \(u_{i}^{n}\) and \(u_{i}^{\mathrm{e},n}\) are the solutions of the compact scheme (2.29) and the Richardson extrapolation algorithm, respectively, and \(k_{i}=k(x_{i})\). In order to demonstrate high-order temporal accuracy of the compact scheme (2.29), we also make some numerical comparisons of it with the compact scheme (2.17) given in [33].
To demonstrate the accuracy of the computed solution \(v_{i}^{n}\) and the extrapolation solution \(v_{i}^{\mathrm{e},n}\), we compute their errors by
where \(V^{n}_{i}=v(x_{i},t_{n})\) and \(z_{i}^{n}\) represents the computed solution \(v_{i}^{n}\) or the extrapolation solution \(v_{i}^{\mathrm{e},n}\). The temporal and spatial convergence orders are computed, respectively, by
All computations are carried out by using a MATLAB subroutine on a computer with Xeon X5650 CPU and 96GB memory.
Example 6.1
We first consider the problem (1.3) in the domain \([0,\pi ]\times [0,1]\) with \(\beta =D=1\), \(V(x)=-\sin x\) and
The boundary functions are given by
It is easy to check that \(v(x,t)=t^{3+\alpha }\cos x\) is the solution of this problem and the function q(x) in the problem (2.1) is given by \(q(x)=-\frac{1}{4} \left( 2\cos x+\sin ^{2} x\right) \).
We first test the temporal convergence order of the compact scheme (2.29) and the Richardson extrapolation algorithm for different \(\alpha \). Let the spatial step \(h=\pi /400\). Table 1 gives the error \(\mathrm{e}(\tau ,h)\) and the temporal convergence order \(\mathrm{order}_{ t}(\tau ,h)\) of the computed solution \(v_{i}^{n}\) for \(\alpha =1/4, 1/2, 3/4\) and different time step \(\tau \). The corresponding error and temporal convergence order of the extrapolation solution \(v_{i}^{\mathrm{e},n}\) are given in Table 2. As expected from our theoretical analysis, the computed solution \(v_{i}^{n}\) has the second-order temporal accuracy while the extrapolation solution \(v_{i}^{\mathrm{e},n}\) possesses the third-order temporal accuracy. For comparison, the error \(\mathrm{e}(\tau ,h)\) and the temporal convergence order \(\mathrm{order}_{ t}(\tau ,h)\) of the computed solution \(v_{i}^{n}\) by the compact scheme (2.17) given in [33] are also listed in Table 1. It is seen that this scheme has only the temporal accuracy of order \(2-\alpha \), which is less than two, and thus it is far less accurate than the compact scheme (2.29) given in this paper.
We next compute the spatial convergence order of the compact scheme (2.29). Table 3 presents the error \(\mathrm{e}(\tau ,h)\) and the spatial convergence order \(\mathrm{order}_{ s}(\tau ,h)\) of the computed solution \(v_{i}^{n}\) for \(\alpha =1/4, 1/2, 3/4\) and different spatial step h, where the time step \(\tau =1/5000\). The data in this table demonstrate that the computed solution \(v_{i}^{n}\) is of the fourth-order spatial accuracy. This coincides well with the analysis.
In order to demonstrate the effectiveness of using larger time step in the Richardson extrapolation algorithm, we compare it with the compact scheme (2.29) by taking a given spatial step \(h= \pi /800\) and different time step. Tables 4 and 5 give the error \(\mathrm{e}(\tau ,h)\) and the corresponding computational cost (CPU time in seconds) of the computed solution \(v_{i}^{n}\) and the extrapolation solution \(v_{i}^{\mathrm{e},n}\), respectively, for \(\alpha =1/4, 1/2, 3/4\). We see that in order to obtain a computed solution \(v_{i}^{n}\) by the compact scheme (2.29) for \(\alpha =1/4\) with the error around \(2.252\times 10^{-9}\), we need to take \(\tau =1/10240\), and so cost 110.260 CPU seconds. In contrast, a more accurate computed solution is provided by the Richardson extrapolation algorithm with \(\tau =1/160\). In this case, the error is \(2.142\times 10^{-9}\), and the corresponding cost is only 0.375 CPU seconds. Similar comparisons can be made with other data. These comparisons demonstrate the high efficiency of using larger time step in the Richardson extrapolation algorithm and justify our efforts to develop this extrapolation algorithm.
Example 6.2
In this example, we consider the problem (1.3) in the domain \([0,100]\times [0,1]\) with \(\beta =D=1\), \(V(x)=\cos (\pi x)\) and
where \(\eta (t)=\varsigma ^{\prime }(t)+\pi (\pi - \sin \pi x ) \varsigma (t)\) with \(\varsigma (t)=6t^{3+\alpha }+4t^{3}+3t^{2}+2t\). The boundary functions are chosen as
This choice implies that \(v(x,t)=\varsigma (t)\cos (\pi x)\) is the solution of this problem. Clearly, the function q(x) in the problem (2.1) is given by \(q(x)=-\frac{1}{4} \left( 2\pi \sin (\pi x)+\cos ^{2}(\pi x)\right) \).
For this example, the problem (2.1) has the solution \(u(x,t)=\varsigma (t)k(x) \cos (\pi x)\), where \(k(x)=\exp \left( -{\sin (\pi x)}/{2\pi }\right) \). One can find that the zero derivative conditions \(\frac{\partial ^{k} u}{\partial t^{k}}(x,0)=0\) \((k=1,2)\) in Theorem 3.1 are not satisfied any longer. Now we would like to test the efficiency of the compact scheme (2.29) for this case. Let the spatial step \(h=1/400\). Table 6 lists the error \(\mathrm{e}(\tau ,h)\) and the temporal convergence order \(\mathrm{order}_{ t}(\tau ,h)\) of the computed solution \(v_{i}^{n}\) for \(\alpha =1/4, 1/2, 3/4\) and different time step \(\tau \). It is seen that the second-order temporal accuracy of the computed solution \(v_{i}^{n}\) is still achieved for \(\alpha =1/4\), but it cannot be achieved when \(\alpha =1/2\) and \(\alpha =3/4\). This suggests us that the zero derivative conditions in Theorem 3.1 are only sufficient but not necessary, and certain zero derivative conditions are indispensable to ensure the second-order temporal accuracy of the compact scheme (2.29).
According to Propositions 5.1–5.3, we know that
We now transform the problem (2.1) of this example by letting
so that the zero derivative conditions \(\frac{\partial ^{k} u}{\partial t^{k}}(x,0)=0\) \((k=1,2,3)\) in Theorems 3.1, 5.1 and 5.2 are satisfied by the transformed problem. Now we use the compact scheme (2.29) and the Richardson extrapolation algorithm to solve the above transformed problem. In Table 7, we give the error \(\mathrm{e}(\tau ,h)\) and the temporal convergence order \(\mathrm{order}_{ t}(\tau ,h)\) of the computed solution \(v_{i}^{n}\) by the compact scheme (2.29) for \(\alpha =1/4, 1/2, 3/4\) and different time step \(\tau \), where the spatial step \(h=1/400\). The corresponding error and the temporal convergence order of the extrapolation solution \(v_{i}^{\mathrm{e},n}\) are given in Table 8, where the spatial step \(h=1/1000\). It is seen that the computed solution \(v_{i}^{n}\) has the second-order temporal accuracy while the extrapolation solution \(v_{i}^{\mathrm{e},n}\) possesses the third-order temporal accuracy. This is in accord with our explanations given at the end of Sect. 5. In Table 7, we also list the error \(\mathrm{e}(\tau ,h)\) and the temporal convergence order \(\mathrm{order}_{ t}(\tau ,h)\) of the computed solution \(v_{i}^{n}\) by the compact scheme (2.17) in [33]. It is seen that the compact scheme (2.17) in [33] has only the temporal accuracy of order \(2-\alpha \).
Since \(L=100\), \(D=1\) and \(\Vert q \Vert _{\infty }=\frac{\pi }{2}\), the restriction condition on \(\tau \) in Theorems 4.1, 4.3 and 5.3 for the present problem is reduced to \(\tau \le \frac{1}{750\pi ^{2}}\). Clearly, this condition is not satisfied for all \(\tau \) in Tables 7 and 8. However, the corresponding numerical results in these tables show that the compact scheme (2.29) and the Richardson extrapolation algorithm are still stable and convergent. This implies that the restriction condition on \(\tau \) in those theorems is only a sufficient condition for the stability and convergence of the compact scheme (2.29) and the Richardson extrapolation algorithm with the general q(x).
The numerical results in Table 9 give the error \(\mathrm{e}(\tau ,h)\) and the spatial convergence order \(\mathrm{order}_{ s}(\tau ,h)\) of the computed solution \(v_{i}^{n}\) by the compact scheme (2.29) for \(\alpha =1/4, 1/2, 3/4\) and different spatial step h, where the time step \(\tau =1/20000\). These results show that the compact scheme (2.29) generates the fourth-order spatial accuracy.
In Tables 10 and 11, we compare the Richardson extrapolation algorithm with the compact scheme (2.29) in terms of the accuracy and the computational cost (CPU time in seconds). It is seen that the Richardson extrapolation algorithm allows the use of much larger time step in order to obtain the more accurate computed solution than the compact scheme (2.29), and thus much computational work is saved. This again demonstrates the effectiveness of the Richardson extrapolation algorithm.
7 Concluding remarks
In this work, we have presented and analyzed a high-order compact finite difference method for a class of fractional mobile/immobile convection–diffusion equations. The convection coefficient of the equation may be spatially variable. In our method, a fourth-order compact finite difference approximation is used for the spatial derivative and a second-order difference approximation is applied for the time first derivative and the Caputo time fractional derivative. We have proved that the resulting scheme is uniquely solvable and (almost) unconditionally stable and convergent. The error estimate we have provided shows that the proposed method has the second-order temporal accuracy and the fourth-order spatial accuracy, regardless of the order of the fractional derivative. A Richardson extrapolation algorithm has been developed to enhance the temporal accuracy of the final computed solution (or the extrapolation solution) to the third-order. Numerical results coincide with the analysis very well, and show that the Richardson extrapolation algorithm is particularly attractive due to its improved temporal accuracy, compared to the original compact difference scheme.
Another important feature of the proposed method is that it yields a very simple and effective high-order scheme for the time fractional convection–diffusion equations with spatially variable convection coefficients. The related theoretical analysis is also quite transparent. In the future, we plan to make further investigations and extend this method to the other fractional differential equations.
References
Benson, D.A., Meerschaert, M.M.: A simple and efficient random walk solution of multi-rate mobile/immobile mass transport equations. Adv. Water Resour. 32, 532–539 (2009)
Bromly, M., Hinz, C.: Non-Fickian transport in homogeneous unsaturated repacked sand. Water Resour. Res. 40, W07402 (2004)
Cao, J.Y., Xu, C.J.: A high order schema for the numerical solution of the fractional ordinary differential equations. J. Comput. Phys. 238, 154–168 (2013)
Chen, S., Liu, F., Zhuang, P., Anh, V.: Finite difference approximations for the fractional Fokker–Planck equation. Appl. Math. Model. 33, 256–273 (2009)
de Smedt, F., Wierenga, P.J.: Solute transfer through columns of glass beads. Water Resour. Res. 20, 225–232 (1984)
Dentz, M., Berkowitz, B.: Transport behavior of a passive solute in continuous time random walks and multirate mass transfer. Water Resour. Res. 39, 1111 (2003)
Diethelm, K.: The Analysis of Fractional Differential Equations: An Application-Oriented Exposition Using Differential Operators of Caputo Type. Springer, Berlin (2010)
Dimitrov, Y.: Numerical approximations for fractional differential equations. J. Fract. Calc. Appl. 5, 1–45 (2014)
Gao, G.H., Sun, H.W., Sun, Z.Z.: Stability and convergence of finite difference schemes for a class of time-fractional sub-diffusion equations based on certain superconvergence. J. Comput. Phys. 280, 510–528 (2015)
Gao, G.H., Sun, Z.Z., Zhang, H.W.: A new fractional numerical differentiation formula to approximate the Caputo fractional derivative and its applications. J. Comput. Phys. 259, 33–50 (2014)
Gaudet, J.P., Jegat, H., Vachaud, G., Wierenga, P.: Solute transfer, with exchange between mobile and stagnant water, through unsaturated sand. Soil Sci. Soc. Am. J. 41, 665–671 (1977)
Goltz, M.N., Roberts, P.V.: Using the method of moments to analyze three-dimensional diffusion-limited solute transport from temporal and spatial perspectives. Water Resour. Res. 23, 1575–1585 (1987)
Gouze, P., Melean, Y., Le Borgne, T., Dentz, M., Carrera, J.: Non-Fickian dispersion in porous media explained by heterogeneous microscale matrix diffusion. Water Resour. Res. 44, W11416 (2008)
Haggerty, R., McKenna, S.A., Meigs, L.C.: On the late-time behavior of tracer test breakthrough curves. Water Resour. Res. 36, 3467–3479 (2000)
Harvey, C., Gorelick, S.M.: Rate-limited mass transfer or macrodispersion: which dominates plume evolution at the macrodispersion experiment (MADE) site? Water Resour. Res. 36, 637–650 (2000)
Ji, C.C., Sun, Z.Z.: A high-order compact finite difference scheme for the fractional sub-diffusion equation. J. Sci. Comput. 64, 959–985 (2015)
Li, C.P., Chen, A., Ye, J.J.: Numerical approaches to fractional calculus and fractional ordinary differential equation. J. Comput. Phys. 230, 3352–3368 (2011)
Li, C.P., Zeng, F.H.: Numerical Methods for Fractional Calculus. Chapman and Hall/CRC, Boca Raton (2015)
Liao, W.: A compact high-order finite difference method for unsteady convection-diffusion equation. Int. J. Comput. Methods Eng. Sci. Mech. 13, 135–145 (2012)
Liu, F., Zhuang, P., Burrage, K.: Numerical methods and analysis for a class of fractional advection–dispersion models. Comput. Math. Appl. 64, 2990–3007 (2012)
Liu, Q., Liu, F., Turner, I., Anh, V., Gu, Y.T.: A RBF meshless approach for modeling a fractal mobile/immobile transport model. Appl. Math. Comput. 226, 336–347 (2014)
Meerschaert, M.M., Zhang, Y., Baeumer, B.: Particle tracking for fractional diffusion with two time scales. Comput. Math. Appl. 59, 1078–1086 (2010)
Oldham, K.B., Spanier, J.: The Fractional Calculus. Academic Press, New York (1974)
Padilla, I.Y., Yeh, T.C.J., Conklin, M.H.: The effect of water content on solute transport in unsaturated porous media. Water Resour. Res. 35, 3303–3313 (1999)
Quarteroni, A., Valli, A.: Numerical Approximation of Partial Differential Equations. Springer, New York (1997)
Samarskii, A.A.: The Theory of Difference Schemes. Marcel Dekker Inc., New York (2001)
Schumer, R.: Fractional derivatives, continuous time random walks, and anomalous solute transport. Ph.D. thesis, University of Nevada, Reno (2002)
Schumer, R., Benson, D.A., Meerschaert, M.M., Baeumer, B.: Fractal mobile/immobile solute transport. Water Resour. Res. 39, 1296 (2003)
Sun, Z.Z., Wu, X.N.: A fully discrete difference scheme for a diffusion-wave system. Appl. Numer. Math. 56, 193–209 (2006)
van Genuchten, M.T., Wierenga, P.J.: Mass transfer studies in sorbing porous media I. Analytical solutions. Soil Sci. Soc. Am. J. 40, 473–480 (1976)
Varga, R.S.: Matrix Iterative Analysis. Springer, Berlin (2000)
Vong, S., Wang, Z.: High order difference schemes for a time-fractional differential equation with Neumann boundary conditions. East Asian J. Appl. Math. 4, 222–241 (2014)
Wang, Y.M.: A compact finite difference method for solving a class of time fractional convection-subdiffusion equations. BIT 55, 1187–1217 (2015)
Wang, Y.M.: A compact finite difference method for a class of time fractional convection-diffusion-wave equations with variable coefficients. Numer. Algorithms 70, 625–651 (2015)
Wang, Z., Vong, S.: Compact difference schemes for the modified anomalous fractional sub-diffusion equation and the fractional diffusion-wave equation. J. Comput. Phys. 277, 1–15 (2014)
Zhai, S.Y., Feng, X.L., He, Y.N.: An unconditionally stable compact ADI method for three-dimensional time-fractional convection-diffusion equation. J. Comput. Phys. 269, 138–155 (2014)
Zhang, H., Liu, F., Phanikumar, M.S., Meerschaert, M.M.: A novel numerical method for the time variable fractional order mobile-immobile advection–dispersion model. Comput. Math. Appl. 66, 693–701 (2013)
Zhang, Y., Benson, D.A., Reeves, D.M.: Time and space nonlocalities underlying fractional-derivative models: distinction and literature review of field applications. Adv. Water Resour. 32, 561–581 (2009)
Zhang, Y., Meerschaert, M.M., Baeumer, B.: Particle tracking for time-fractional diffusion. Phys. Rev. E 78, 036705 (2008)
Zhang, Y.N., Sun, Z.Z., Wu, H.W.: Error estimates of Crank–Nicolson-type difference schemes for the subdiffusion equation. SIAM J. Numer. Anal. 49, 2302–2322 (2011)
Zhao, L.J., Deng, W.H.: A series of high order quasi-compact schemes for space fractional diffusion equations based on the superconvergent approximations for fractional derivatives. Numer. Methods Partial Differ. Equ. 31, 1345–1381 (2015)
Acknowledgments
The author would like to thank the referees for their valuable comments and suggestions which improved the presentation of the paper.
Author information
Authors and Affiliations
Corresponding author
Additional information
This work was supported in part by Science and Technology Commission of Shanghai Municipality (STCSM) No. 13dz2260400 and E-Institutes of Shanghai Municipal Education Commission No. E03004.
Appendix
Appendix
In this appendix, we prove Propositions 5.1–5.3.
Proof of Proposition 5.1
When \(\frac{\partial u}{\partial t}(x,t)\) is bounded, \(\frac{\partial ^{\alpha } u}{\partial t^{\alpha }}(x,0)=0\) (see [8]). Also, we have \(\frac{\partial ^{2} u}{\partial x^{2}}(x,0)=0\) since \(u(x,0)=0\) for all \(x\in [0,L]\). Thus, by the governing equation of (2.1),
This proves (5.19). \(\square \)
Proof of of Proposition 5.2
By integrating by parts and by (5.19),
This implies that the governing equation of (2.1) can be written as
Since \(u(x,t)\in \mathcal{C}^{2,2}([0,L]\times [0,T])\), we have
and
This together with (5.19) proves (5.21). \(\square \)
Proof of of Proposition 5.3
By integrating by parts twice and by (5.19),
We therefore have from the governing equation of (2.1) that
Since \(u(x,t)\in \mathcal{C}^{2,3}([0,L]\times [0,T])\), we have
and
This proves that the limit \(\lim \nolimits _{t\rightarrow 0} \frac{\partial ^{2} G}{\partial t^{2}}(x,t)\) exists and (5.23) holds true. \(\square \)
Rights and permissions
About this article
Cite this article
Wang, YM. A high-order compact finite difference method and its extrapolation for fractional mobile/immobile convection–diffusion equations. Calcolo 54, 733–768 (2017). https://doi.org/10.1007/s10092-016-0207-y
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10092-016-0207-y
Keywords
- Fractional mobile/immobile convection–diffusion equation
- Compact finite difference method
- Shifted Grünwald formula
- Stability and convergence
- Richardson extrapolation