Next Article in Journal
Artificial Neural Networks as Metamodels for the Multiobjective Optimization of Biobutanol Production
Previous Article in Journal
Novel Zeolitic Imidazolate Frameworks Based on Magnetic Multiwalled Carbon Nanotubes for Magnetic Solid-Phase Extraction of Organochlorine Pesticides from Agricultural Irrigation Water Samples
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Finite Difference Method on Non-Uniform Meshes for Time-Fractional Advection–Diffusion Equations with a Source Term

Department of Mathematics and Computer Sciences, Physical Sciences and Earth Sciences, University of Messina, 98166 Messina, Italy
*
Author to whom correspondence should be addressed.
Appl. Sci. 2018, 8(6), 960; https://doi.org/10.3390/app8060960
Submission received: 8 May 2018 / Revised: 1 June 2018 / Accepted: 7 June 2018 / Published: 12 June 2018

Abstract

:

Featured Application

In this paper, the authors develop an unconditionally-stable, finite difference method on non-uniform grids for solving time-fractional advection–diffusion equations with a source term involving the Caputo fractional derivative. In previous years, the interest in these equations has come from their mathematical structures and from their applications. Fractional partial differential equations (FPDEs) are applied in various areas of engineering, science, finance, applied mathematics, bio-engineering and so on. In regard to its simplicity, the method is applicable to a wide class of fractional advection–diffusion equations in many fields of the applied sciences.

Abstract

The present paper deals with the numerical solution of time-fractional advection–diffusion equations involving the Caputo derivative with a source term by means of an unconditionally-stable, implicit, finite difference method on non-uniform grids. We use a special non-uniform mesh in order to improve the numerical accuracy of the classical discrete fractional formula for the Caputo derivative. The stability and the convergence of the method are discussed. The error estimates established for a non-uniform grid and a uniform one are reported, to support the theoretical results. Numerical experiments are carried out to demonstrate the effectiveness of the method.

1. Introduction

The fractional partial differential equations (FPDEs) have become increasingly popular in recent years. The interest in these equations comes from their mathematical structure and from their applications. FPDEs are applied in various areas of engineering, science, finance, applied mathematics, bio-engineering and so on. Several ways to solve them theoretically have been proposed [1,2,3], including the Green function method and Laplace and Fourier transform methods [4,5], the Adomian decomposition [6,7], and the Homotopy Perturbation methods [8,9].
Generally, numerical solution techniques are preferred when dealing with fractional models since the analytical solutions are available for a few simple cases, but also the memory effect of the problem under consideration may lead to arbitrarily wild solutions, as shown in [10]. In recent years, efficient numerical methods have been developed to solve fractional differential equations, including finite difference methods [11,12,13,14,15], the finite volume method [16], the finite element method [17,18,19], and the spectral method [20,21].
Generally, Riemann–Liouville derivatives and Caputo derivatives are used for the formulation of fractional differential problems, and often, the Riemann–Liouville formula is approximated by the Caputo one. As for the non-fractional differential equations involving the Caputo derivative, finite difference methods are one of the most important classes of numerical methods for solving FPDEs. Zhuang and Liu [22] obtained an implicit difference approximation to solve time-fractional diffusion equations. Lin and Xu [21,23] proposed the numerical solution by finite/difference approximations for a time-fractional diffusion equation. Liu et al. [24] developed an explicit difference method and an implicit difference method for solving a space–time fractional advection dispersion equation on a finite domain. In [25,26,27], high order numerical difference schemes were constructed in order to solve the Caputo-type advection–diffusion equations. Zhang et al. [28] obtained a finite difference method for FPDEs involving the Caputo derivative on a non-uniform mesh. Recently Jannelli et al. [29,30,31,32] determined exact and numerical solutions for the time and space fractional advection–diffusion differential equations involving the Riemann–Liouville derivative with a non-linear source term by means of the Lie symmetries. The authors transformed the fractional partial differential equations into a fractional ordinary differential equations, written in terms of Caputo derivatives, which were then solved using implicit finite difference methods.
The main goal of this paper was to construct an unconditionally-stable, implicit finite difference method for solving the time-fractional advection–diffusion equations (TFADEs) with a non-homogeneous source term involving the Caputo fractional derivative on non-uniform grids. We chose to use a special non-uniform mesh in order to improve the numerical accuracy of the classical discrete fractional formula for the Caputo derivative, since the fractional derivatives are integrals with weakly singular kernels, and the discretization on the uniform mesh may lead to poor accuracy. The consistency, stability, and convergence of the proposed difference method were investigated. Three numerical examples are given to show the reliability and efficiency of the derived difference method.

2. The Mathematical Model

We considered the following linear time-fractional advection–diffusion equation
α t α u ( x , t ) + K 1 x u ( x , t ) K 2 2 x 2 u ( x , t ) = f ( x , t ) , a < x < b , 0 < t T ,
with the initial and boundary conditions given by
u ( x , 0 ) = ϕ ( x ) , a x b , u ( a , t ) = φ ( t ) , u ( b , t ) = ψ ( t ) , 0 < t T ,
where u is the field variable that can represent, for example, the solute concentration, and K 1 and K 2 are the constant fluid velocity and the dispersion coefficient, respectively. The time fractional derivative, α t α u ( x , t ) is the α order Caputo fractional derivative defined by
α t α u ( x , t ) = 1 Γ ( 1 α ) 0 t s u ( x , s ) ( t s ) α d s 0 < α < 1 .
The function f ( x , t ) can be used to represent sources and sinks. ϕ ( x ) , φ ( t ) and ψ ( t ) are known smooth functions. We took K 1 0 and K 2 > 0 and we assumed problem (1) had a unique and sufficiently smooth solution under the above initial and boundary conditions.
The fractional Equation (1) represents a suitable mathematical model for describing anomalous physical processes that exhibit fractional order behavior that varies with time or space and that cannot be modeled accurately by normal integer order equations. In fact, it has been treated by a number of authors as a useful approach for the description of transport dynamics in complex systems which are governed by anomalous diffusion and non-exponential relaxation patterns [33]. The TFADE is also used in groundwater hydrology research to model the transport of passive tracers carried by fluid flow in porous mediums [34] and in neurology [35]. It is notable that, when α = 1 , the model (1) reduces to the classical advection–diffusion–reaction equation
t u ( x , t ) + K 1 x u ( x , t ) K 2 2 x 2 u ( x , t ) = f ( x , t ) , a x b , 0 < t T ,
used in order to describe several phenomena of relevant interest in many fields of applied sciences. It is a mathematical model that describes how the concentration of the substance distributed in a medium changes under the influence of three processes: advection, diffusion and reaction. In [36,37,38], a fractional step approach with variable time step was used in order to solve numerically mathematical models that describe evolution problems on computational domains of one or three space dimensions.

3. Discretization in Time on a Non-Uniform Mesh

The main goal of this work was to construct an unconditionally-stable implicit finite difference method defined on a non-uniform mesh. In general, the existence of a weakly singular kernel ( t s ) α , 0 < α < 1 , in fractional derivatives makes it more difficult to obtain a higher-order scheme. In particular, when the solutions are not suitably smooth, numerical methods on uniform meshes seem to have a poor convergent rate. For these reasons, numerical schemes on non-uniform meshes have been developed in the last years.
In this section, first, we construct the non-uniform mesh and then, in order to approximate the Caputo derivative on the non-uniform grid, we define a suitable discrete fractional derivative formula.
We divide the interval, [ 0 , T ] , into N subintervals, [ t n 1 , t n ] , for n = 1 , , N and with 0 = t 0 < t 1 < t N = T . We denote the time step Δ t n as
Δ t n = t n t n 1 , 1 n N ,
and let
Δ t m a x = max 1 n N Δ t n Δ t m i n = min 1 n N Δ t n .
A sequence of mesh is described as quasi-uniform if there a finite constant, C, exists such that
Δ t m a x / Δ t m i n C .
In this case, it holds that Δ t m a x β T N 1 . When C = 1 , it holds that Δ t n = T N 1 for all n = 1 , , N , and the mesh is reduced to a uniform mesh.
A sequence of meshes is not quasi-uniform if
Δ t m a x / Δ t m i n + as N + .
The non-uniform mesh and quasi-uniform mesh methods have been used for solving differential equations by several authors. In [39,40,41,42], quasi-uniform meshes were used for solving a class of boundary values problems on infinite domains.
In this work, we are interested on the non-uniform mesh [28], which is defined as follows
Δ t n = ( N + 1 n ) σ , 1 n N ,
where σ = 2 T N ( N + 1 ) . Note that the time steps, { Δ t n } n = 1 N , are a monotonically decreasing sequence, with Δ t 1 = O ( N 1 ) and Δ t N = O ( N 2 ) . Figure 1 shows a sample of the non-uniform grid (3) obtained for N = 10 . The fractional derivatives are integrals with weakly singular kernels, and it is well known that the discretization on the uniform mesh may lead to poor accuracy. We decided to use a non-uniform mesh in order to improve the accuracy of the numerical solution. Another interesting choice could be to construct non-uniform meshes that refine the computational domain according to the fractional order of α or to use adaptive procedures to dynamically choose the size of the time-steps according to the local behavior of the solution.
To motivate the choice of the non-uniform mesh (3), we discretized the Caputo derivative (2) of a function v ( t ) by means of the following classical approximate formula
d α d t α v ( t n ) = 1 Γ ( 1 α ) 0 t n v ( s ) ( t n s ) α d s = 1 Γ ( 1 α ) k = 1 n v ( t k ) v ( t k 1 ) t k t k 1 t k 1 t k ( t n s ) α d s + R n ,
which is the well-known, so-called L1 formula defined in [2] where R n is the local truncation error. The L1 formula has been used to solve the fractional differential equations with Caputo derivatives (see [22,43]). Moreover, using the relationship between the Caputo derivative and the Riemann–Liouville fractional derivative, the L1 formula was also applied to the time fractional diffusion equation with the Riemann–Liouville fractional derivative (see [44,45]). High-order approximations, such as the compact difference scheme [43,45,46,47] and spectral method [21,23,48] were applied to improve the spatial accuracy of fractional diffusion equations. It is important to note that it is rather difficult to get a high-order time approximation due to the singularity of fractional derivatives.
For any temporal mesh, for 0 < α < 1 and v ( t ) C 2 [ 0 , T ] , it can be verified that [28]
0 t n v ( s ) ( t n s ) α d s = k = 1 n v ( t k ) v ( t k 1 ) t k t k 1 t k 1 t k ( t n s ) α d s + r n ,
where
| r n | ( Δ t n ) 2 2 ( 1 α ) + ( Δ t m a x ) 2 8 ( Δ t n ) α max 0 t t n | v ( t ) | 1 n N .
Since
R n = 1 Γ ( 1 α ) 0 t n v ( s ) ( t n s ) α d s k = 1 n v ( t k ) v ( t k 1 ) t k t k 1 t k 1 t k ( t n s ) α d s = 1 Γ ( 1 α ) r n ,
we obtain
| R n | 1 Γ ( 1 α ) ( Δ t n ) 2 2 ( 1 α ) + ( Δ t m a x ) 2 8 ( Δ t n ) α max 0 t t n | v ( t ) | 1 n N .
For the uniform mesh, i.e., Δ t n = Δ t for all n = 1 , 2 , , N , then R n = O ( Δ t 2 α ) (see [21,49]). From the truncation error estimate of the L1 formula, it is clear that the accuracy is dependent on the fractional order, α . This is justified since a weakly singular kernel, ( t s ) α , is contained in the integral.
In order to improve the accuracy of the L1 numerical approximation of the derivative of fractional order, it is possible to consider non-uniform meshes. Numerical methods developed with the non-uniform meshes have been developed to solve weakly singular integro-differential equations. Mustapha [50], Yuste and Quintana-Murillo [51,52] proposed an implicit finite-difference time-stepping method for the discretization of the time diffusion equation.
Zhang et al. [28] obtained a numerical integration formula for any α ( 0 , 1 ) by employing the special non-uniform grid (3) and obtained the following results for sufficiently smooth solutions: for the non-uniform mesh (3), for 0 < α < 1 and v ( t ) C 2 [ 0 , T ] , it held that
0 t n v ( s ) ( t n s ) α d s = k = 1 n v ( t k ) v ( t k 1 ) t k t k 1 t k 1 t k ( t n s ) α d s + r n 1 n N ,
where
| r n | 1 + α + 2 1 α 1 α max 0 t t n | v ( t ) | T 2 α ( N + 1 ) α 2 , 1 n N 1 ,
and
0 t N v ( s ) ( t N s ) α d s = k = 1 N v ( t k ) v ( t k 1 ) t k t k 1 t k 1 t k ( t N s ) α d s + r N ,
where
| r N | 1 + α 1 α 2 1 α max 0 t T | v ( t ) | T 2 α N 2 .
Then, we obtain
| R n | 1 Γ ( 1 α ) 1 + α + 2 1 α 1 α max 0 t t n | v ( t ) | T 2 α ( N + 1 ) α 2 , 1 n N 1 , | R N | 1 Γ ( 1 α ) 1 + α 1 α 2 1 α max 0 t T | v ( t ) | T 2 α N 2 .
We use these estimates to study the consistency, stability and convergence of the method presented in the following sections.

4. An Implicit Finite Difference Method

For the derivation of the implicit difference method, first, we constructed a computational uniform grid in the x direction, that is, the spatial size of the mesh, Δ x = x j x j 1 , is constant, for 1 j J , and it is non-uniform in the time direction. We defined the mesh points ( x j , t n ) with x j = a + j Δ x , j = 0 , , J and t n = t n 1 + Δ t n , for n = 1 , , N , with Δ t n defined by (3). J and N are positive integers. We denoted the numerical approximation provided by the difference method of the exact solution u ( x j , t n ) by U j n at the mesh points ( x j , t n ) , for j = 0 , , J and n = 0 , , N .
As usual, we supposed that the solution was sufficiently smooth and discretized its first / x and second order 2 / x 2 spatial derivatives by means of the second order, three-point central difference formula so that
x u ( x j , t n ) = u ( x j + 1 , t n ) u ( x j 1 , t n ) 2 Δ x + O ( Δ x 2 )
2 x 2 u ( x j , t n ) = u ( x j + 1 , t n ) 2 u ( x j , t n ) + u ( x j 1 , t n ) Δ x 2 + O ( Δ x 2 ) .
According to the discretization for the Caputo derivative (4), we approximated the time fractional derivative in (1) as follows
α t α u ( x j , t n ) = 1 Γ ( 2 α ) k = 1 n u ( x j , t k ) u ( x j , t k 1 ) t k t k 1 ( t n t k 1 ) 1 α ( t n t k ) 1 α + R j n ,
where
1 Γ ( 1 α ) t k 1 t k ( t n s ) α d s = 1 Γ ( 2 α ) [ ( t n t k 1 ) 1 α ( t n t k ) 1 α ] .
Replacing u ( x j , t n ) with its numerical approximation, U j n , and neglecting the local truncation errors, the time-fractional advection–diffusion Equation (1) was discretized as follows
1 Γ ( 2 α ) k = 1 n T n , k ( U j k U j k 1 ) + K 1 U j + 1 n U j 1 n 2 Δ x K 2 U j + 1 n 2 U j n + U j 1 n Δ x 2 = f j n ,
for 1 n N and 1 j J 1 , where f j n = f ( x j , t n ) is the source term and
T n , k = ( t n t k 1 ) 1 α ( t n t k ) 1 α t k t k 1 1 k n , 1 n N .
The initial and boundary conditions can be rewritten as
U j 0 = ϕ ( x j ) 0 j J U 0 n = φ ( t n ) U J n = ψ ( t n ) 0 n N .
For any temporal meshes on [ 0 , T ] and for any n = 1 , 2 , , N , it holds that [22]
T n , k > 0 T n , k > T n , k 1 , 1 k n .
Taking into account that T n , n = ( Δ t n ) α , we can write
k = 1 n T n , k ( U j k U j k 1 ) = k = 1 n 1 T n , k ( U j k U j k 1 ) + ( Δ t n ) α ( U j n U j n 1 ) .
Then, the following implicit finite difference scheme was obtained:
( K 1 K 2 ) U j 1 n + ( 1 + 2 K 2 ) U j n + ( K 1 K 2 ) U j + 1 n = U j n 1 ( Δ t n ) α k = 1 n 1 T n , k ( U j k U j k 1 ) + F j n , 1 n N , 1 j J 1 ,
where we set
K 1 = K 1 ( Δ t n ) α Γ ( 2 α ) 2 Δ x , K 2 = K 2 ( Δ t n ) α Γ ( 2 α ) Δ x 2 , F j n = ( Δ t n ) α Γ ( 2 α ) f j n .
The Equation (11) can be written in vectorial form as
K U n = L U n 1 + F n ,
where K is a tridiagonal matrix and where L denotes the following difference operator
L U n 1 = U j n 1 ( Δ t n ) α k = 1 n 1 T n , k ( U j k U j k 1 ) .
Here, and in the following text, we assume the convention that the summation is equal to zero if the lower bound is larger that the upper bound. The obtained method (12) is implicit. In order to compute the numerical solution, U n , a system with the tridiagonal coefficients matrix, K, has to be solved.
It is interesting to note that the operator, L , is a kind operator with memory, due to the non-local character of the fractional derivative. This means that the effect on U at time t n , U n depends on all the previous values, U 0 , U 1 , , U n 1 , evaluated at all the previous time, t 0 , t 1 , , t n 1 .
The main difference compared to the non-fractional case is that, in order to evaluate L , the numerical solutions for all the n previous time values t 0 , t 1 , , t n 1 are required, while for non-fractional equations, only the solution to the previous value t n 1 is used. The computational cost to compute the solution at the time t n from the solution at the time t n 1 grows as n. That is, it grows as the number of terms in the summation that compares in the second term of the (13). This implies that the computational cost goes from t 0 to t n , thus growing by n 2 .

5. Consistency, Stability, and Convergence

In this section, we discuss the consistency, the stability, and the convergence of the implicit finite difference scheme.
Consistency. According to Equations (6)–(8), the local truncation error of the difference scheme (9) is
R j n = 1 Γ ( 2 α ) k = 1 n T n , k ( u ( x j , t k ) u ( x j , t k 1 ) ) + K 1 u ( x j + 1 , t n ) u ( x j 1 , t n ) 2 Δ x K 2 u ( x j + 1 , t n ) 2 u ( x j , t n ) + u ( x j 1 , t n ) Δ x 2 f ( x j , t n ) = 1 Γ ( 2 α ) k = 1 n T n , k ( u ( x j , t k ) u ( x j , t k 1 ) ) α t α u ( x j , t n ) + K 1 u ( x j + 1 , t n ) u ( x j 1 , t n ) 2 Δ x x u ( x j , t n ) K 2 u ( x j + 1 , t n ) 2 u ( x j , t n ) + u ( x j 1 , t n ) Δ x 2 2 x 2 u ( x j , t n ) = O ( N α 2 ) + K 1 O ( Δ x 2 ) + K 2 O ( Δ x 2 ) = O ( N α 2 + Δ x 2 ) .
The implicit finite difference scheme defined by (9) or (11) is consistent with model (1) of order O ( N α 2 + Δ x 2 ) .
Stability. For the stability analysis of the implicit finite difference scheme Equation (11) was rewritten as
( K 1 K 2 ) U j 1 n + ( 1 + 2 K 2 ) U j n + ( K 1 K 2 ) U j + 1 n = ( Δ t n ) α k = 0 n 1 ( T n , k + 1 T n , k ) U j k + F j n , 1 n N , 1 j J 1 .
Let U ¯ j n be another approximate solution of the difference scheme (11), and let
ρ j n = U j n U ¯ j n , 0 j J , 1 n N ,
be the corresponding round-off error. We let
ρ n = ( ρ 0 n , ρ 1 n , , ρ J n ) T ,
and we considered the infinity norm
| | ρ n | | = max 0 j J | ρ j n | = | ρ i n | .
The round-off error satisfied the following round-off equations
( K 1 K 2 ) ρ j 1 n + ( 1 + 2 K 2 ) ρ j n + ( K 1 K 2 ) ρ j + 1 n = ( Δ t n ) α k = 0 n 1 ( T n , k + 1 T n , k ) ρ j k .
In order to check whether the finite difference scheme was stable, we studied how the size of the round-off error, ρ n , evolved over time.
We defined
L 1 ρ j n = ( K 1 K 2 ) ρ j 1 n + ( 1 + 2 K 2 ) ρ j n + ( K 1 K 2 ) ρ j + 1 n ,
and
L 2 ρ j n 1 = ( Δ t n ) α k = 0 n 1 ( T n , k + 1 T n , k ) ρ j k .
Equation (16) can be written as
L 1 ρ j n = L 2 ρ j n 1 .
From (17), and taking into account that T n , k + 1 T n , k > 0 , we obtained
| L 2 ρ j n 1 | = | ( Δ t n ) α k = 0 n 1 ( T n , k + 1 T n , k ) ρ j k | | ρ j n 1 | ( Δ t n ) α k = 0 n 1 ( T n , k + 1 T n , k ) ,
where we defined
| ρ j n 1 | = max 0 k n 1 | ρ j k | .
But, since k = 0 n 1 ( T n , k + 1 T n , k ) = ( Δ t n ) α and recalling that T n , n = ( Δ t n ) α and T n , 0 = 0 ,
| L 2 ρ j n 1 | = | ( Δ t n ) α k = 0 n 1 ( T n , k + 1 T n , k ) ρ j k | | ρ j n 1 | ,
Thus, we concluded that
| | ρ n | | = | ρ i n | = | ( K 1 K 2 ) ρ i n + ( 1 + 2 K 2 ) ρ i n + ( K 1 K 2 ) ρ i n | = | L 1 ρ i n | = | L 2 ρ i n 1 | | ρ i n 1 | = | | ρ n 1 | | ,
i.e.,
| | ρ n | | | | ρ 0 | | ,
for 1 n N . This means that the present method is unconditionally-stable.
Convergence. We let u ( x j , t n ) be the exact solution of Equation (1) at mesh point ( x j , t n ) for j = 0 , 1 , , J and n = 0 , 1 , , N . Denoting ϵ j n = u ( x j , t n ) U j n , we obtained the error equations
L 1 ϵ j n = L 2 ϵ j n 1 + R j n , j = 0 , 1 , , J , n = 0 , 1 , , N ,
with ϵ j 0 = 0 , for j = 0 , 1 , , J and ϵ J n = 0 , for n = 1 , 2 , , N . R j n is the local truncation error. We introduced the following norm
| | ϵ n | | = max 0 j J | ϵ j n | = | ϵ i n | ,
then, we obtained
| | ϵ n | | = | ϵ i n | = | L 1 ϵ i n | = | L 2 ϵ i n 1 + R i n | | L 2 ϵ i n 1 | + | R i n | | ϵ i n 1 | + | R i n | | | ϵ n 1 | | + R m a x ,
where R m a x = max n , i | R i n | . For n = 1 , we obtained
| | ϵ 1 | | | | ϵ 0 | | + R m a x = R m a x .
Then,
| | ϵ n | | R m a x , 1 n N .
To obtain the error estimates of the numerical solutions, we needed the uniform error bounds on all time levels. Then, applying the first of the estimates (5), we were able to consider
R m a x C R ( N α 2 + Δ x 2 ) , 1 n N ,
where C R is a positive constant that is dependent on T, α and the exact solution u ( x , t ) , but is independent of N and Δ x . Thus, we proved that the solution of the difference method (11), with initial and boundary conditions given by (10), is convergent.

6. Numerical Experiments

In this section, we report some numerical examples of the TFPDEs to demonstrate the accuracy and efficiency of the numerical method. At first, we wanted to show that the approach proposed in this paper properly works, so we chose two examples in such a way that the exact solutions of FPDE could be evaluated analytically. This allowed us to check the accuracy and the order of convergence of the numerical solution. In both the examples, we assumed suitable smooth solutions, and we used the proposed method on the non-uniform grid and on a uniform grid. We compared the numerical results, observing that the finite difference scheme generated more accurate numerical solutions on the non-uniform grid than on the uniform one. In the third test, we solved a TFADE of physical interest with the source term chosen as a linear function of the field variable in order to show that the method is applicable to a wide class of TFADEs. The presented problem is one of the most used mathematical models in the applied sciences. It describes how the concentration of one or more substances, chemical or biological species, distributed in a medium changes under the influence of three processes, namely, advection, diffusion and reaction. With this last test, we illustrate how the changes in the solution behavior arise when the fractional order is varied.
Example 1.
We consider the following TFADE
α t α u ( x , t ) + x u ( x , t ) 2 x 2 u ( x , t ) = f ( x , t ) , 0 < x < 1 , 0 < t T , u ( x , 0 ) = 0 , 0 x 1 , u ( 0 , t ) = t β , u ( 1 , t ) = e t β , 0 < t T ,
where the source term is given by
f ( x , t ) = Γ ( β + 1 ) Γ ( β + 1 α ) e x t β α .
The exact solution is
u ( x , t ) = e x t β .
In this example, we took K 1 = K 2 = 1 with α = 0.5 and β = 5 . Figure 2 shows the comparison between the numerical solution, U j n , and the exact solution, u ( x j , t n ) , at different times computed with N = J = 20 . From Figure 2, it can be seen that the numerical solution, U j n , is in good agreement with the exact solution u ( x j , t n ) . The exact solution is reported with the solid line. We report only the numerical results obtained for the value parameter α = 0.5 . Analogous results were obtained for 0.1 α 0.9 .
In order to investigate the temporal error and the convergence order of the numerical difference method, we defined the maximum error between the exact solution, u ( x j , t N ) , and the numerical solution, U j N , at the final time, t N
e ( N , J ) = max 1 j J | u ( x j , t N ) U j N | ,
and the convergence order, as follows
O r d e r = log 2 e ( N , J ) e ( 2 N , J ) .
In order to show the efficiency of the method, we defined U ¯ j n as the numerical solution obtained by the implicit difference method on a uniform grid defined by Δ t n = T / N , for n = 1 , , N . We used notations similar to the (22) and (23) to define the maximum error, e ¯ ( N , J ) , between the exact solution, u ( x j , t N ) , and the numerical solution, U ¯ j N , at the final time, t N , and the convergence O r d e r U ¯ . In this test, we fixed J = 100 , a value large enough such that the spatial error is negligible as compared with the temporal error. Table 1 shows the values of e and e ¯ and the corresponding numerical convergence orders for α = 0.1 , 0.5 and 0.9 . It can be seen that the method is stable and convergent when solving the problem (21) on both the computational grids. By using the L1 formula on non-uniform mesh, we improvde the order of accuracy in time of the proposed method. In fact, we observe that the solutions are more accurate on the non-uniform mesh and the convergence order on the non-uniform mesh is greater than the convergence order obtained with the uniform mesh. The numerical results agree well with the theoretical results.
Example 2.
We consider the following TFADE
α t α u ( x , t ) + x u ( x , t ) 2 x 2 u ( x , t ) = f ( x , t ) , 0 < x < 1 , 0 < t T , u ( x , 0 ) = 0 , 0 x 1 , u ( 0 , t ) = 0 , u ( 1 , t ) = t 3 , 0 < t T ,
where the source term is given by
f ( x , t ) = 6 Γ ( 4 α ) x 2 t 3 α + 2 t 3 ( x 1 )
and the exact solution is
u ( x , t ) = x 2 t 3 .
We took K 1 = K 2 = 1 and set α = 0.1 . Figure 3 shows the comparison between the numerical solution, U j n , and the exact solution, u ( x j , t n ) , at different times computed with N = J = 20 . The exact solution is reported with the solid line. The numerical solution U j n is in good agreement with the exact solution u ( x j , t n ) . We report only the numerical results obtained for the value of the parameter, α = 0.1 . Analogous results were obtained for 0.1 < α 0.9 .
The values of e and e ¯ and the corresponding numerical convergence orders obtained for α = 0.1 , 0.5 and 0.9 are reported in Table 2. The results confirm that the method is stable and convergent when solving problems (24) on both the computational grids. The numerical solutions computed on non-uniform mesh were more accurate and the convergence order on the non-uniform mesh was greater than the convergence order obtained with the uniform mesh. The errors e and e ¯ satisfied the relationships (22). The convergence orders, O r d e r and O r d e r U ¯ , satisfied the relationships (23).
Example 3.
In this test, in order to show the efficiency of the method, we solve the following TFADE
α t α u ( x , t ) + K 1 x u ( x , t ) K 2 2 x 2 u ( x , t ) = f ( u ( x , t ) ) , u ( x , 0 ) = x 2 ( 5 x ) 2 , a x b , u ( a , t ) = u ( b , t ) = 0 , 0 < t T ,
where the source term is chosen as a linear function of the field variable
f ( u ) = β u ( x , t ) .
The model describes the one-dimensional transport problem of a concentration, u ( x , t ) , of a chemical or biological species in a flowing medium, such as air or water. The species concentration is assumed to be horizontally and vertically well mixed, such that it varies only in the longitudinal or downstream direction. Moreover, a steady and uniform flow field is imposed and the effects of the dispersion are constant in time and space. A reaction where the transformation rate β is proportional to the species concentration was considered; according to the sign of rate, decay effects may or may not have occurred. This model has been used by several authors, because it is able to model a wide variety of physical and biological phenomena, see, for example, [53,54,55].
In this example, we used a = 0 , b = 5 , K 1 = 1 , K 2 = 1 and β = 0.2 . Figure 4 shows the solution behavior at different times obtained for α = 0.1 and α = 0.9 and with N = J = 100 . The height of the solution profile decreased as the time increased. Analogous results were obtained for other values of α . Lower profiles were obtained for α = 0.1 , and higher ones were obtained for α = 0.9 at the final time, t N = 1 , that the behavior of solutions were comparable. Figure 5 shows the solution behavior with different values of α between 0 and 1 at the final time, t N = 1 . Figure 5 also shows that the solution exhibited an anomalous diffusion behavior. The height of the solution profile decreased when 0.1 α 0.5 and increased when 0.6 α 0.9 . Thus, the solution continuously depends on the α -order of the time-fractional derivative.

7. Conclusions and Final Remarks

In this paper, we developed an unconditionally-stable, finite difference method on a non-uniform grid for solving time-fractional advection–diffusion equations involving the Caputo fractional derivative. The Caputo time derivative was discretized by means of a direct generalization of the well-known fractional L1 formula (4) to the case of non-uniform meshes. The L1 formula takes into account the non-local character of the time-fractional operator and allows the order of accuracy in time of the proposed method to be improved by using of the non-uniform time discretization obtained by the mesh (3). We proved the stability and convergence of the proposed method. Numerical experiments were carried out to support the theoretical results. The reported numerical experiments pointed out that the difference method is more accurate on the non-uniform grid than on the uniform mesh, and the convergence order is greater on the non-uniform mesh than on the uniform mesh. Moreover, it is important to note that, in regard to its simplicity, the method is applicable to a wide class of TFADEs occurring in applied sciences.
Recent convergence results [56] have shown how the grading of the mesh and the regularity of the solution affect the order of convergence of the finite difference schemes for time-fractional diffusion equations. One of the future works in this area is to investigate the convergence results of the proposed method on different non-uniform grids, such as, for example, temporal meshes appropriately graded toward the initial time, t = 0 , or using meshes that refine the computational domain according to the fractional order of α . Moreover, other future works include investigating the error analysis and accuracy of the method applied by using adaptive procedures to dynamically choose the size of the time-steps according to the local behavior of the solution.

Author Contributions

Authors contributed equally to this work.

Acknowledgments

The authors are members of the INdAM Research group GNCS. The research of this work was supported, in part, by the GNCS of INDAM and by the University of Messina.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kilbas, A.A.; Srivastava, H.M.; Trujillo, J.J. Theory and Applications of Fractional Differential Equations; North-Holland Mathematics Studies Series; Elsevier: New York, NY, USA, 2006. [Google Scholar]
  2. Oldham, K.; Spanier, J. The Fractional Calculus; Academic Press: New York, NY, USA, 1974. [Google Scholar]
  3. Podlubny, I. Fractional Differential Equations: An Introduction to Fractional Derivatives, Fractional Differential Equations, Some Methods of Their Solution and Some of Their Applications; Academic Press: Cambridge, MA, USA, 1999. [Google Scholar]
  4. Miller, K.S.; Ross, B. An Introduction to the Fractional Calculus and Fractional Differential Equations; Wiley-Interscience: Hoboken, NJ, USA, 1993. [Google Scholar]
  5. Samko, S.S.; Kilbas, A.A.; Marichev, O.I. Fractional Integrals and Derivatives; Taylor and Francis: London, UK, 1993. [Google Scholar]
  6. Cheng, J.F.; Chu, Y.M. Solution to the linear fractional differential equation using Adomian decomposition method. Math. Probl. Eng. 2011. [Google Scholar] [CrossRef]
  7. Daftardar-Geji, V.; Jafari, H. Adomian decomposition: A tool for solving a system of fractional differential equations. J. Math. Anal. Appl. 2005, 301, 508–518. [Google Scholar] [CrossRef]
  8. He, J.H. A coupling method of a homotopy technique and a perturbation technique for nonlinear problems. Int. J. Non-Linear Mech. 2000, 35, 37–43. [Google Scholar] [CrossRef]
  9. Momani, S.; Odibat, Z. Homotopy perturbation method for nonlinear partial differential equations of fractional order. Phys. Lett. A 2007, 365, 345–350. [Google Scholar] [CrossRef]
  10. Bucur, C. Local density of Caputo-stationary functions in the space of smooth functions. ESAIM Control Optim. Calc. Var. 2017, 23, 1361–1380. [Google Scholar] [CrossRef] [Green Version]
  11. Chen, S.; Liu, F.; Turner, I.; Anh, V. An implicit numerical method for the two-dimensional fractional percolation equation. Appl. Math. Comput. 2013, 219, 4322–4331. [Google Scholar] [CrossRef]
  12. Liu, F.; Chen, S.; Turner, I.; Burrage, K.; Anh, V. Numerical simulation for two-dimensional Riesz space fractional diffusion equations with a nonlinear reaction term. Open Phys. 2013, 11, 1221–1232. [Google Scholar] [CrossRef] [Green Version]
  13. Meerschaert, M.; Tadjeran, C. Finite difference approximations for fractional advection-dispersion flow equations. J. Comput. Appl. Math. 2004, 172, 65–77. [Google Scholar] [CrossRef]
  14. Tadjeran, C.; Meerschaert, M.; Scheffler, H. A second-order accurate numerical approximation for the fractional diffusion equation. J. Comput. Phys. 2006, 213, 205–213. [Google Scholar] [CrossRef]
  15. Ren, J.; Sun, Z.; Zhao, X. Compact difference scheme for the fractional sub-diffusion equation with Neumann boundary conditions. J. Comput. Phys. 2013, 232, 456–467. [Google Scholar] [CrossRef]
  16. Hejazi, H.; Moroney, T.; Liu, F. Stability and convergence of a finite volume method for the space fractional advection-dispersion equation. J. Comput. Appl. Math. 2014, 225, 684–697. [Google Scholar] [CrossRef] [Green Version]
  17. Ervin, V.; Heuer, N.; Roop, J. Numerical approximation of a time dependent, nonlinear, space-fractional diffusion equation. SIAM J. Numer. Anal. 2007, 45, 572–591. [Google Scholar] [CrossRef]
  18. Zhang, N.; Deng, W.; Wu, Y. Finite difference/element method for a two-dimensional modified fractional diffusion equation. Adv. Appl. Math. Mech. 2012, 4, 496–518. [Google Scholar] [CrossRef]
  19. Zeng, F.; Li, C.; Liu, F.; Turner, I. The use of finite difference/element approaches for solving the time-fractional subdiffusion equation. SIAM J. Sci. Comput. 2013, 35, A2976–A3000. [Google Scholar] [CrossRef]
  20. Doha, E.; Bhrawy, A.; Baleanu, D.; Ezz-Eldien, S. On shifted Jacobi spectral approximations for solving fractional differential equations. Appl. Math. Comput. 2013, 219, 8042–8056. [Google Scholar] [CrossRef]
  21. Lin, Y.; Xu, C. Finite difference/spectral approximations for the time-fractional diffusion equation. J. Comput. Phys. 2007, 225, 1533–1552. [Google Scholar] [CrossRef]
  22. Zhuang, P.; Liu, F. Implicit difference approximation for the time fractional diffusion equation. J. Appl. Math. Comput. 2006, 22, 87–99. [Google Scholar] [CrossRef]
  23. Lin, Y.; Li, X.; Xu, C. Finite difference/spectral approximations for the fractional cable equation. Math. Comput. 2011, 80, 1369–1396. [Google Scholar] [CrossRef]
  24. Liu, F.; Zhuang, P.; Anh, V.; Turner, I.; Burrage, K. Stability and convergence of the difference methods for the space-time fractional advection-diffusion equation. Appl. Math. Comp. 2007, 191, 12–20. [Google Scholar] [CrossRef]
  25. Li, C.; Wu, R.; Ding, H. High-order approximation to Caputo derivatives and Caputo-type advection-diffusion equations (I). Commun. Appl. Ind. Math. 2014, 6, e-536. [Google Scholar]
  26. Cao, J.; Li, C.; Chen, Y. High-order approximation to Caputo derivatives and Caputo-type advection-diffusion equations (II). Fract. Calc. Appl. Anal. 2015, 18, 735–761. [Google Scholar] [CrossRef]
  27. Li, C.; Cao, J.; Li, H. High-order approximation to Caputo derivatives and Caputo-type advection-diffusion equations (III). J. Comput. Appl. Math. 2016, 299, 159–175. [Google Scholar] [CrossRef]
  28. Zhang, Y.; Sun, Z.; Liao, H. Finite difference methods for the time fractional advection diffusion equation on non-uniform meshes. J. Comput. Phys. 2014, 265, 195–210. [Google Scholar] [CrossRef]
  29. Jannelli, A.; Ruggieri, M.; Speciale, M. Analytical and numerical solutions of fractional type advection-diffusion equation. AIP Conf. Proc. 2017, 1863, 530005. [Google Scholar] [CrossRef]
  30. Jannelli, A.; Ruggieri, M.; Speciale, M. Exact and Numerical Solutions of Time-Fractional Advection-Diffusion Equation with a nonlinear source term by means of the Lie symmetries. Nonlinear Dyn. 2018, 92, 543–555. [Google Scholar] [CrossRef]
  31. Jannelli, A.; Ruggieri, M.; Speciale, M. Exact and Numerical Solutions of Space-Fractional Advection-Diffusion Equation with a nonlinear source term by means of the Lie symmetries. In In Proceedings of the Abstract of 10th Workshop Structural Dynamical Systems: Computational Aspects, Capitolo, Italy, 12–15 June 2018. [Google Scholar]
  32. Jannelli, A.; Ruggieri, M.; Speciale, M. Analytical and numerical solutions of time and space fractional advection–diffusion–reaction equation. Nonlinear Sci. Numer. Simul. 2018. preprint. [Google Scholar]
  33. Metzler, R.; Klafter, J. The random walk’s guide to anomalous diffusion: A fractional dynamics approach. Phys. Rep. 2000, 339, 1–77. [Google Scholar] [CrossRef]
  34. Benson, D.; Wheatcraft, S.; Meerschaert, M. Application of a fractional advection-dispersion equation. Water Resour. Res. 2000, 36, 1403–1412. [Google Scholar] [CrossRef] [Green Version]
  35. Dipierro, S.; Valdinoci, E. A simple mathematical model inspired by the Purkinje cells: From delayed travelling waves to fractional diffusion. Bull. Math. Biol. 2018. [Google Scholar] [CrossRef] [PubMed]
  36. Jannelli, A.; Fazio, R.; Ambrosi, D. A 3D mathematical model for the prediction of mucilage dynamics. Comput. Fluids 2003, 32, 47–57. [Google Scholar] [CrossRef]
  37. Conforto, F.; Groppi, M.; Jannelli, A. On shock solutions to balance equations for slow and fast chemical reaction. Appl. Math. Comput. 2008, 206, 892–905. [Google Scholar] [CrossRef]
  38. Fazio, R.; Jannelli, A. Second order numerical operator splitting for 3D advection-diffusion-reaction models. In Numerical Mathematics and Advanced Applications 2009; Springer: New York, NY, USA, 2010; pp. 317–324. [Google Scholar]
  39. Fazio, R.; Jannelli, A. Finite difference schemes on quasi-uniform grids for BVPs on infinite intervals. J. Comput. Appl. Math. 2014, 269, 14–23. [Google Scholar] [CrossRef] [Green Version]
  40. Fazio, R.; Jannelli, A. Bvps on infinite intervals: A test problem, a non-standard finite difference scheme and a posteriori error estimator. Math. Meth. Appl. Sci. 2017, 40, 6285–6294. [Google Scholar] [CrossRef]
  41. Fazio, R.; Jannelli, A.; Rotondo, T. Numerical Study on Gas Flow Through a Micro-Nano Porous Medium based on Finite Difference Schemes on Quasi-Uniform Grids. Int. J. Non-Linear Mech. 2018, in press. [Google Scholar] [CrossRef]
  42. Fazio, R.; Jannelli, A. Finite Difference Methods for a Nonlinear BVP on Infinite Arising in Physical Oceanography. Atti della Accademia dei Pericolanti (AAPP) 2018. preprint. [Google Scholar]
  43. Gao, G.; Sun, Z. A compact finite difference scheme for the fractional sub-diffusion equations. J. Comput. Phys. 2011, 230, 586–595. [Google Scholar] [CrossRef]
  44. Langlands, T.A.; Henry, B.I. The accuracy and stability of an implicit solution method for the fractional diffusion equation. J. Comput. Phys. 2005, 205, 719–736. [Google Scholar] [CrossRef]
  45. Zhang, Y.; Sun, Z.; Wu, H. Error estimates of Crank-Nicolson type difference schemes for the subdiffusion equation. SIAM J. Numer. Anal. 2011, 49, 2302–2322. [Google Scholar] [CrossRef]
  46. Du, R.; Cao, W.R.; Sun, Z.Z. A compact difference scheme for the fractional diffusion-wave equation. Appl. Math. Model. 2010, 34, 2998–3007. [Google Scholar] [CrossRef]
  47. Chen, C.; Liu, F.; Anh, V.; Turner, I. Numerical schemes with high spatial accuracy for a variable-order anomalous subdiffusion equation. SIAM J. Sci. Comput. 2010, 32, 1740–1760. [Google Scholar] [CrossRef]
  48. Li, X.; Xu, C. A space-time spectral method for the time fractional diffusion equation. SIAM J. Numer. Anal. 2009, 47, 2108–2131. [Google Scholar] [CrossRef]
  49. Sun, Z.; Wu, X. A fully discrete difference scheme for a diffusion-wave system. Appl. Numer. Math. 2006, 56, 193–209. [Google Scholar] [CrossRef]
  50. Mustapha, K. An implicit finite-difference time-stepping method for a sub-diffusion equation, with spatial discretization by finite elements. IMA J. Numer. Anal. 2011, 31, 719–739. [Google Scholar] [CrossRef]
  51. Yuste, S.; Quintana-Murillo, J. A finite difference scheme with non-uniform time steps for fractional diffusion equations. Comput. Phys. Commun. 2012, 183, 2594–2600. [Google Scholar] [CrossRef]
  52. Yuste, S.; Quintana-Murillo, J. Fast, accurate and robust adaptive finite difference methods for fractional diffusion equations. Numer. Algorithms 2016, 71, 207–228. [Google Scholar] [CrossRef]
  53. Logan, J. Transport Modeling in Hydrogeochemical Systems; Springer: New York, NY, USA, 2001. [Google Scholar]
  54. Istas, J. Mathematical Modeling for the Life Sciences; Springer: Berlin, Germany, 2005. [Google Scholar]
  55. Chen-Charpentier, B.M.; Kojouharov, H.V. An unconditionally positivity preserving scheme for advection-diffusion reaction equations. Math. Comput. Model. 2013, 57, 2177–2185. [Google Scholar] [CrossRef]
  56. Stynes, M.; O’Riordan, E.; Gracia, J. 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]
Figure 1. Non-uniform grid for N = 10 .
Figure 1. Non-uniform grid for N = 10 .
Applsci 08 00960 g001
Figure 2. Comparison of the exact and the numerical solutions of the fractional partial differential equations (FPDE) (21) for α = 0.5 with N = J = 20 at different time steps. Solid lines: exact solution; star, circle and square points: numerical solutions.
Figure 2. Comparison of the exact and the numerical solutions of the fractional partial differential equations (FPDE) (21) for α = 0.5 with N = J = 20 at different time steps. Solid lines: exact solution; star, circle and square points: numerical solutions.
Applsci 08 00960 g002
Figure 3. Comparison of the exact and the numerical solutions of the FPDE (24) for α = 0.1 with N = J = 20 at different time steps. Solid lines: exact solution; star, circle and square points: numerical solutions.
Figure 3. Comparison of the exact and the numerical solutions of the FPDE (24) for α = 0.1 with N = J = 20 at different time steps. Solid lines: exact solution; star, circle and square points: numerical solutions.
Applsci 08 00960 g003
Figure 4. Numerical solutions of the FPDE (25) with N = J = 100 at different time steps. Left frame: α = 0.1 . Right frame α = 0.9 .
Figure 4. Numerical solutions of the FPDE (25) with N = J = 100 at different time steps. Left frame: α = 0.1 . Right frame α = 0.9 .
Applsci 08 00960 g004
Figure 5. Numerical solutions of the FPDE (25) for different values of α with N = J = 100 .
Figure 5. Numerical solutions of the FPDE (25) for different values of α with N = J = 100 .
Applsci 08 00960 g005
Table 1. e , e ¯ and convergence orders, related to the numerical solutions U j n and U ¯ j n respectively, for different values of N and α , with J = 100 .
Table 1. e , e ¯ and convergence orders, related to the numerical solutions U j n and U ¯ j n respectively, for different values of N and α , with J = 100 .
α N e Order e ¯ Order U ¯
0.1 10 3.6363 × 10 4 1.3741 × 10 3
20 9.1021 × 10 5 1.9982 4.3575 × 10 4 1.6570
40 2.2054 × 10 5 2.0452 1.3222 × 10 4 1.7206
80 4.4649 × 10 6 2.3043 3.8355 × 10 5 1.7854
0.5 10 5.5793 × 10 3 1.9875 × 10 2
20 1.7121 × 10 3 1.7044 7.7106 × 10 3 1.3660
40 5.4236 × 10 4 1.6584 2.8895 × 10 3 1.4160
80 1.7544 × 10 4 1.6283 1.0602 × 10 3 1.4465
0.9 10 4.6556 × 10 2 1.0115 × 10 1
20 2.1358 × 10 2 1.1242 4.9512 × 10 2 1.0307
40 9.8735 × 10 3 1.1131 2.3691 × 10 2 1.0634
80 4.5790 × 10 3 1.1085 1.1201 × 10 2 1.0807
Table 2. e , e ¯ and convergence orders, related to the numerical solutions, U j n and U ¯ j n , respectively, for different values of N and α , with J = 100 .
Table 2. e , e ¯ and convergence orders, related to the numerical solutions, U j n and U ¯ j n , respectively, for different values of N and α , with J = 100 .
α N e Order e ¯ Order U ¯
0.1 10 3.7836 × 10 5 9.4723 × 10 5
20 9.6542 × 10 6 1.9705 2.8745 × 10 5 1.7204
40 2.4674 × 10 6 1.9682 8.5307 × 10 6 1.7526
80 6.2843 × 10 7 1.9732 2.4911 × 10 6 1.7759
0.5 10 4.4597 × 10 4 1.3182 × 10 3
20 1.3436 × 10 4 1.7309 4.8998 × 10 4 1.4278
40 4.1920 × 10 5 1.6803 1.7898 × 10 4 1.4529
80 1.3435 × 10 5 1.6416 6.4671 × 10 5 1.4686
0.9 10 3.3229 × 10 3 6.9875 × 10 3
20 1.4844 × 10 3 1.1625 3.3290 × 10 3 1.0682
40 6.7617 × 10 4 1.1345 1.5524 × 10 3 1.0837
80 3.1119 × 10 4 1.1196 7.2847 × 10 4 1.0915

Share and Cite

MDPI and ACS Style

Fazio, R.; Jannelli, A.; Agreste, S. A Finite Difference Method on Non-Uniform Meshes for Time-Fractional Advection–Diffusion Equations with a Source Term. Appl. Sci. 2018, 8, 960. https://doi.org/10.3390/app8060960

AMA Style

Fazio R, Jannelli A, Agreste S. A Finite Difference Method on Non-Uniform Meshes for Time-Fractional Advection–Diffusion Equations with a Source Term. Applied Sciences. 2018; 8(6):960. https://doi.org/10.3390/app8060960

Chicago/Turabian Style

Fazio, Riccardo, Alessandra Jannelli, and Santa Agreste. 2018. "A Finite Difference Method on Non-Uniform Meshes for Time-Fractional Advection–Diffusion Equations with a Source Term" Applied Sciences 8, no. 6: 960. https://doi.org/10.3390/app8060960

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

Article Metrics

Back to TopTop