Next Article in Journal
Approximate Controllability of Non-Instantaneous Impulsive Stochastic Evolution Systems Driven by Fractional Brownian Motion with Hurst Parameter H(0,12)
Next Article in Special Issue
A Fast High-Order Predictor–Corrector Method on Graded Meshes for Solving Fractional Differential Equations
Previous Article in Journal
Fast Compact Difference Scheme for Solving the Two-Dimensional Time-Fractional Cattaneo Equation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Error Bounds of a Finite Difference/Spectral Method for the Generalized Time Fractional Cable Equation

1
Department of Mathematics, Faculty of Science, Beijing University of Technology, Beijing 100124, China
2
Beijing Computational Science Research Center, Beijing 100193, China
*
Author to whom correspondence should be addressed.
Fractal Fract. 2022, 6(8), 439; https://doi.org/10.3390/fractalfract6080439
Submission received: 14 July 2022 / Revised: 6 August 2022 / Accepted: 9 August 2022 / Published: 11 August 2022

Abstract

:
We present a finite difference/spectral method for the two-dimensional generalized time fractional cable equation by combining the second-order backward difference method in time and the Galerkin spectral method in space with Legendre polynomials. Through a detailed analysis, we demonstrate that the scheme is unconditionally stable. The scheme is proved to have min { 2 α , 2 β } -order convergence in time and spectral accuracy in space for smooth solutions, where α , β are two exponents of fractional derivatives. We report numerical results to confirm our error bounds and demonstrate the effectiveness of the proposed method. This method can be applied to model diffusion and viscoelastic non-Newtonian fluid flow.

1. Introduction

In recent years, with the fractional differential equations (FDEs) being widely applied in various fields of science and engineering [1], fractional calculus has attracted extensive attention. Furthermore, due to the inherent non-local properties of fractional integrals and derivatives, FDEs have been proven to be more appropriate than integer-order differential equations in describing the memory and hereditary properties of some phenomena and processes in many fields [2], such as physics, chemistry, biology, materials, economics, mechanical engineering, signal processing, systems identification, control theory, and so on [3,4].
Nowadays, fractional calculus has been extensively applied in the modeling of the phenomena of anomalous diffusion in a specific type of porous medium [5] and viscoelastic fluid flow. Consequently, the study of analytical and numerical solutions of FDEs has attracted increasing attention. The fractional cable equation was derived from the Nernst–Planck equation, which modeled electronic properties in spiny neuronal dendrites [6]. Due to its significant deviation from the dynamics of Brownian motion, the anomalous diffusion in biological systems cannot be adequately described by the traditional Nernst–Planck equation or its simplification, the traditional cable equation [6,7]. Subsequently, the time/space fractional cable equation was derived for modeling the electro-diffusion of ions in nerve cells, when the molecular diffusion process is one of anomalous subdiffusion due to binding, crowding, or trapping [8]. The Rayleigh–Stokes/Stokes’ first problem for a generalized second-grade fluid plays an important role in the description of the behavior of some non-Newtonian fluids [9,10,11]. Because of the practical importance of Stokes’ first problem for a heated flat plate, as well as that of the Rayleigh–Stokes problem for a heated edge [12], they have been widely used to investigate different problems, for example, in describing the flow of an Oldroyd-B fluid over a suddenly moved flat plate [13], studying the Oldroyd-B fluid in a heated boundary second-grade fluid in a porous half-space [14], in the case of a Newtonian fluid in a non-Darcian porous half-space [15], etc.
In this paper, we consider the following two-dimensional (2D) generalized time fractional cable equation, which can be simplified as the fractional cable equation and a heated generalized second-grade fluid model in the special case
t u = a 0 0 D t 1 γ 1 u + 0 D t 1 γ 2 a 1 Δ u + a 2 Δ u + f ( x , t ) , x Ω , t I ,
with the initial condition
u ( x , 0 ) = u 0 ( x ) , x Ω ¯ = Ω Ω ,
and the boundary condition
u ( x , t ) = 0 , ( x , t ) Ω × I ,
where u = u ( x , t ) denotes the 2D velocity, x = ( x , y ) , Ω = ( L , L ) × ( L , L ) , I = ( 0 , T ] ; Δ u = x x u + y y u , a 0 , a 1 , a 2 are positive constants; and u 0 ( x ) and f ( x , t ) are sufficiently smooth functions. When a 2 = 0 , this model can be reduced to the 2D fractional cable equation [16,17,18,19,20]. If a 0 = 0 , it can be simplified as the 2D Rayleigh–Stokes problem for a heated generalized second-grade fluid model [9,12,21,22,23,24,25]. When x = ( x , 0 ) , the 2D generalized fractional cable equation can be reduced to the 1D model; then it can be simplified to the 1D fractional cable equation [26,27,28,29,30,31] for a 2 = 0 and the 1D Stokes’ first problem for heated generalized second-grade fluid model [10,14,32,33] for a 0 = 0 . Here the derivative 0 D t 1 γ ( 0 < γ < 1 ) is the Riemann–Liouville fractional derivative defined by Podlubny [34]
0 D t 1 γ u ( x , t ) = 1 Γ ( γ ) t 0 t u ( x , η ) ( t η ) 1 γ d η ,
in which Γ ( · ) is the Gamma function.
Some researchers have tried to construct analytical solutions for the above two types of models. For example, Langlands and Henry [8] introduced fractional Nernst–Planck equations, derived fractional cable equations, and obtained solutions in infinite cables and semi-infinite cables. They also presented the fundamental solutions of two fractional cable equations which modeled the subdiffusion in two ways on infinite and semi-infinite domains [26]. Li and Deng [27] derived the analytical solutions via the integral transform method of the time-space fractional cable equation. Shen et al. [12] investigated the Rayleigh–Stokes problem for a heated generalized second-grade fluid model, and they also obtained its exact solution by using the Fourier transform and fractional Laplace transform. Tan and Masuoka [14] applied Fourier sine transforms to obtain the exact solutions of the velocity and temperature fields of Stokes’ first problem for a second-grade fluid in a porous half-space with a heated boundary. Nazar et al. [32] considered the unsteady flow of a generalized second-grade fluid through an infinite straight circular cylinder.
However, because of the complex properties of the exact solution, analytical methods do not work well for most FDEs, so it is worthwhile to develop numerical methods. Several methods have been developed for solving the fractional cable equation and the generalized second-grade fluid model numerically, such as finite difference methods (FDMs), finite element methods (FEMs), spectral methods, and other methods. As for finite difference methods (FDMs), Liu et al. [28] proposed two new implicit numerical methods for the fractional cable equation and investigated their stability and convergence using the energy method. Hu and Zhang [29] developed two implicit compact difference schemes for the fractional cable equation, and discussed the stability and convergence of the first scheme. Chen et al. [30] utilized Fourier analysis to analyze the convergence and stability of a variable-order nonlinear cable equation. Yu and Jiang [16] proposed a fourth-order compact FDM for the two-dimensional fractional cable equation and investigated the inverse problem of the identification for the fractional derivatives. Chen et al. [9,21] proposed a Fourier method and an extrapolation technique to study the 1D Stokes’ first problem for a heated generalized second-grade fluid, and they also used explicit and implicit FDM to analyze the 2D Rayleigh–Stokes problem for a heated generalized second-grade fluid with fractional derivatives. Mohebbi et al. [22] investigated the compact finite difference scheme and radial basis function (RBF) meshless approach for solving the 2D fractional Rayleigh–Stokes equations of a heated generalized second-grade fluid model. Regarding finite element methods (FEMs), Zhuang et al. [31] simulated the fractional cable equation by means of a Galerkin FEM and verified its theoretical analysis. Liu et al. [17] solved a nonlinear fractional cable equation with a two-grid algorithm combined with FEM. Dehghan and Abbaszadeh [23] employed the Galerkin FEM for the 2D Rayleigh–Stokes problem of a heated generalized second-grade fluid. Bazhlekova et al. [9] investigated the Galerkin FEM in a semi-discrete scheme and two types of FDM in full discrete schemes of the homogeneous problem for the Rayleigh–Stokes equation of a generalized second-grade fluid. Furthermore, concerning spectral methods, Zhang et al. [18] used the discrete-time orthogonal spline collocation method for the 2D fractional cable equation. Bhrawy and Zaky [19] proposed the spectral collocation method for solving one- and two-dimensional variable-order fractional nonlinear cable equations based on the shifted Jacobi collocation procedure in conjunction with the shifted Jacobi operational matrix for variable-order fractional derivatives. Abdelkawy and Alqahtani [24] solved the one and two space-dimensional Stokes’ first problems for a heated generalized second-grade fluid using the spectral collocation method. Some other methods have also been employed to solve this problem. For example, Dehghan and Abbaszadeh [20] proposed an error estimate for the extracted numerical scheme using the element-free Galerkin method to solve the fractional cable equation with a Dirichlet boundary condition. Lin and Jiang [33] introduced an algorithm which was based on reproducing kernel theory to obtain the exact solution and numerically solve Stokes’ first problem for a heated generalized second-grade fluid.
Compared to the low-order methods based on the local category, the spectral method [35,36,37,38,39,40] is a high-order method based on the global category, which has exponential rates of convergence and a high level of accuracy. As a result, it is widely applied in the numerical computing of FDEs. Li and Xu [41] proposed Galerkin spectral methods in both temporal and spatial directions for the time fractional diffusion equation. Zeng et al. [42] investigated the 2D Riesz space fractional nonlinear reaction-diffusion equation by developing a new finite difference/spectral method which combined the Crank–Nicolson method in time and an alternating direction-implicit Galerkin–Legendre spectral method in space. Zheng et al. [43] presented a space-time spectral method for the time fractional Fokker–Planck equation and verified its high-order accuracy and efficiency with some numerical results. Lin and Xu [44] proved the stability and convergence of a finite difference/spectral method for the time-fractional diffusion equation. Lin et al. [7] constructed finite difference/Legendre spectral approximations for the fractional cable equation and analyzed their stability and convergence properties. Huang et al. [5] derived a second-order finite difference-spectral method for the space fractional diffusion equations. Similar studies were given elsewhere in the literature [45]. However, few papers have been published on the spectral method, especially for high-dimensional FDEs. This motivated us to generalize the mixed finite difference/spectral method for the 2D generalized time fractional cable equation.
The rest of this paper is arranged as follows. In Section 2, the second-order backward difference method in time and the Galerkin spectral method in space for the generalized time fractional cable Equations (1)–(3) are constructed, then the stability and error bounds of the full-discrete problem are analyzed. In Section 3, the implementation of the spectral method is presented. Some numerical results are provided in Section 4, which support the theoretical analysis and verify the effectiveness of the proposed method. Finally, our conclusions are presented in Section 5.

2. A Full Discretization and Its Error Bounds

In this section, we first construct a full-discrete scheme using the second-order backward difference method in time and the Galerkin spectral method in space, and then we analyze the stability and the error bounds of the fully discretized scheme for the 2D generalized time fractional cable Equations (1)–(3).
To simplify the symbols without losing generality, in the following discussion, we let 1 γ 1 = α , 1 γ 2 = β , u ( x , 0 ) = u 0 . The constant c denotes a generic positive constant independent of any discretization parameters, which is different for different inequalities and equations. Here we consider the case f 0 in the scheme construction and the numerical analysis of the generalized time fractional cable Equations (1)–(3).
According to the relationship between the two definitions provided by Riemann–Liouville and Caputo [34]
0 R L D t α u = 0 C D t α u + u 0 Γ ( 1 α ) t α , 0 < α < 1 ,
and considering the wide application of the Caputo definition, here we follow the construction idea used in [44] and employ some of the conclusions presented in [7]. Equation (1) can be denoted under the Caputo definition
t u = a 0 0 C D t α u a 0 u 0 Γ ( 1 α ) t α + a 1 0 C D t β Δ u + a 1 Γ ( 1 β ) t β Δ u 0 + a 2 Δ u + f .

2.1. A Finite Difference Scheme in Time

Here, we construct a temporal semi-discrete scheme using the finite difference method. Let t k = k τ , k = 0 , 1 , , K , where τ = T K is the time step size, u ( · , · , t k ) = u k , a n d t k + 1 = ( k + 1 ) τ . Then, for 0 k K 1 , the time fractional derivative term can be approximated by means of the finite difference method
0 C D t α u ( x , y , t k + 1 ) = 1 Γ ( 2 α ) j = 0 k b j u ( x , y , t k + 1 j ) u ( x , y , t k j ) τ α + r α k + 1 , 0 C D t β Δ u ( x , y , t k + 1 ) = 1 Γ ( 2 β ) j = 0 k d j Δ u ( x , y , t k + 1 j ) Δ u ( x , y , t k j ) τ β + r β k + 1 ,
where b j = ( j + 1 ) 1 α j 1 α , d j = ( j + 1 ) 1 β j 1 β , j = 0 , 1 , , k , 0 k K 1 . The Appendix of [7,46] has proven that r α k + 1 c τ 2 α with c depending only on max ( x , y ) Ω , τ I τ τ u ( x , y , τ ) , a constant measuring t t u and r β k + 1 c τ 2 β , where c is merely dependent on t t Δ u .
The first-order time derivative term is approximated using the second-order backward difference method. Thus, we obtain
t u ( x , y , t k + 1 ) = 3 u ( x , y , t k + 1 ) 4 u ( x , y , t k ) + u ( x , y , t k 1 ) 2 τ + O ( τ 2 ) , k 1 ,
t u ( x , y , t 1 ) = u ( x , y , t 1 ) u ( x , y , t 0 ) τ + O ( τ ) , k = 0 .
Then we define the difference operator as follows
L t 1 g k + 1 = g 1 g 0 τ , k = 0 , 3 g k + 1 4 g k + g k 1 2 τ , k 1 .
L t α g k + 1 = 1 Γ ( 2 α ) j = 0 k b j g k + 1 j g k j τ α , k 0 .
L t β Δ g k + 1 = 1 Γ ( 2 β ) j = 0 k d j Δ g k + 1 j Δ g k j τ β , k 0 .
According to (5)–(11), we have
L t 1 u ( x , y , t k + 1 ) = a 0 L t α u ( x , y , t k + 1 ) + a 1 L t β Δ u ( x , y , t k + 1 ) + a 2 Δ u ( x , y , t k + 1 ) a 0 Γ ( 1 α ) ( k + 1 ) α τ α u ( x , y , 0 ) + a 1 Γ ( 1 β ) ( k + 1 ) β τ β Δ u ( x , y , 0 ) + R k + 1 , k 0 ,
where R k + 1 = r 1 k + 1 a 0 r α k + 1 + a 1 r β k + 1 , r 1 k + 1 = O ( τ ) for k = 0 , and r 1 k + 1 = O ( τ 2 ) for k 1 .
Hence, we obtain the finite difference scheme for the time discretization of (5) in f = 0 as follows.
L t 1 u k + 1 = a 0 L t α u k + 1 + a 1 L t β Δ u k + 1 + a 2 Δ u k + 1 a 0 Γ ( 1 α ) ( k + 1 ) α τ α u 0 + a 1 Γ ( 1 β ) ( k + 1 ) β τ β Δ u 0 , k 0 ,
where u k = u k ( x , y ) is an approximation of u ( x , y , t k ) . Then scheme (13) has the truncation error r 1 k + 1 + r α k + 1 + r β k + 1 , and the details are as follows
u 1 u 0 τ = a 0 Γ ( 2 α ) τ α ( u 1 u 0 ) + a 1 Γ ( 2 β ) τ β Δ u 1 Δ u 0 + a 2 Δ u 1 a 0 u 0 Γ ( 1 α ) τ α + a 1 Γ ( 1 β ) τ β Δ u 0 , k = 0 ,
3 u k + 1 4 u k + u k 1 2 τ = a 0 Γ ( 2 α ) τ α u k + 1 j = 0 k 1 ( b j b j + 1 ) u k j b k u 0 + a 1 Γ ( 2 β ) τ β Δ u k + 1 j = 0 k 1 ( d j d j + 1 ) Δ u k j d k Δ u 0 + a 2 Δ u k + 1 a 0 u 0 Γ ( 1 α ) ( k + 1 ) α τ α + a 1 Γ ( 1 β ) ( k + 1 ) β τ β Δ u 0 , k 1 .
Thus, from (14) and (15), combining the initial and boundary value conditions, we get
u 0 ( x , y ) = u 0 , ( x , y ) Ω ¯ ,
u k + 1 ( x , y ) = 0 , ( x , y , t ) Ω × I , k 0 ,
which form the complete semi-discrete problem.
Next we will consider the stability and the error bounds for the full-discrete form of the generalized time fractional cable Equations (1)–(3). We assume that the problem has sufficiently smooth solution.

2.2. Stability and Error Bounds for the Full-Discrete Problem

Here we introduce several definitions of functional spaces endowed with standard norms and inner products that will be used in the following discussion.
H 1 ( Ω ) = { v L 2 ( Ω ) | x v , y v L 2 ( Ω ) } , H 0 1 ( Ω ) = { v H 1 ( Ω ) | v Ω = 0 } ,
H m ( Ω ) = { v L 2 ( Ω ) | x k v , y k v L 2 ( Ω ) for all positive integer k m } .
Here, L ( 0 , T ; H m ( Ω ) ) denotes the space of the measurable functions u : [ 0 , T ] H m ( Ω ) , such that
u L ( H m ) = ess sup t ( 0 , T ) u ( · , · , t ) m < .
To simplify the formula, we introduce the following notation:
α ˜ = 4 a 0 Γ ( 2 α ) τ α , α ˜ k + 1 = 4 a 0 Γ ( 1 α ) ( k + 1 ) α τ α ,
β ˜ = 4 a 1 Γ ( 2 β ) τ β , β ˜ k + 1 = 4 a 1 Γ ( 1 β ) ( k + 1 ) β τ β .
Then the inner products of L 2 ( Ω ) and H 1 ( Ω ) are defined as follows
( u , v ) = Ω u v d x d y , ( u , v ) 1 = ( u , v ) + 4 a 2 τ ( u , v ) ,
and the corresponding norms are
v 0 = ( v , v ) 1 2 , v 1 = ( v , v ) 1 1 2 = v 0 2 + 4 a 2 τ v 0 2 1 2 ,
and hereafter we use an H 1 -norm, differing from the standard one.
Lemma 1
(see [7,44]). The coefficients of the discrete scheme b j = ( j + 1 ) 1 α j 1 α , d j = ( j + 1 ) 1 β j 1 β , j = 0 , 1 , 2 , , satisfy
1 = b 0 > b 1 > > b j > 0 , b j 0 a s j , 1 = d 0 > d 1 > > d j > 0 , d j 0 a s j .
Lemma 2
(see [7,44]). For the coefficients of the discrete scheme α ˜ , α ˜ k + 1 , β ˜ , and β ˜ k + 1 , k = 0 , 1 , 2 , denoted in (18), (19), we have
α ˜ b k + 1 α ˜ k + 1 α ˜ b k , β ˜ d k + 1 β ˜ k + 1 β ˜ d k .
Lemma 3.
2 ( 3 u k + 1 4 u k + u k 1 , u k + 1 ) = u k + 1 0 2 u k 0 2 + 2 u k + 1 u k 0 2 2 u k u k 1 0 2 + u k + 1 2 u k + u k 1 0 2 .
Proof. 
It can directly verified. □
Then, we introduce a finite-dimensional space P N 0 ( Ω ) = H 0 1 ( Ω ) V N ( Ω ) , where V N ( Ω ) = P N ( I x ) P N ( I y ) is the polynomial space in which the degree of the polynomial is less than or equal to N with respect to x , y .
The H 1 -orthogonal projection operator π N 1 , 0 is defined as ψ H 0 1 ( Ω ) and v N P N 0 ( Ω ) , let π N 1 , 0 ψ P N 0 ( Ω ) , such that
π N 1 , 0 ψ , v N = ψ , v N ,
where = x , y . Taking into consideration the norm equivalence and the standard projection error (see Reference [47]), it is well known that the the following projection estimate holds
ψ π N 1 , 0 ψ l c N l m ψ m , ψ H m ( Ω ) H 0 1 ( Ω ) , m 1 , l = 0 , 1 ,
in which · 0 is the L 2 -norm and · 1 is the modified H 1 -norm defined in (20).
Hence, after a simple rearrangement, we can obtain the Galerkin spectral full discretization for problem (1) as follows: find u N k + 1 P N 0 ( Ω ) , such that for all v N P N 0 ( Ω )
2 ( 3 u N k + 1 4 u N k + u N k 1 , v N ) + τ α ˜ ( u N k + 1 , v N ) + τ ( β ˜ + 4 a 2 ) ( u N k + 1 , v N ) = τ α ˜ j = 0 k 1 ( b j b j + 1 ) ( u N k j , v N ) + τ β ˜ j = 0 k 1 ( d j d j + 1 ) ( u N k j , v N ) + τ ( α ˜ b k α ˜ k + 1 ) ( u N 0 , v N ) + τ ( β ˜ d k β ˜ k + 1 ) ( u N 0 , v N ) , k 1 ,
and the first step’s solution, u N 1 P N 0 ( Ω ) , is given by
( u N 1 u N 0 , v N ) + τ α ˜ 4 ( u N 1 , v N ) + τ ( β ˜ 4 + a 2 ) ( u N 1 , v N ) = τ 4 ( α ˜ b 0 α ˜ 1 ) ( u N 0 , v N ) + τ 4 ( β ˜ d 0 β ˜ 1 ) ( u N 0 , v N ) , k = 0 ,
and we take u N 0 = π N 1 u 0 as the initial condition.
Theorem 1.
The full-discrete problem (23) is unconditionally stable in the sense that for all τ > 0 , it satisfies
E ( u N k + 1 ) E ( u N k ) , 1 k K 1 ,
where
E ( u N k ) = u N k 0 2 + 2 u N k u N k 1 0 2 + τ α ˜ 2 j = 0 k b j u N k j 0 2 + τ β ˜ 2 j = 0 k d j u N k j 0 2 ,
Moreover, for k = 0 , the first step of the problem (24) holds
u N 1 0 2 + τ α ˜ 4 j = 0 1 b j u N 1 j 0 2 + τ β ˜ 4 j = 0 1 d j u N 1 j 0 2 u N 0 0 2 + τ α ˜ 4 b 0 u N 0 0 2 + τ β ˜ 4 d 0 u N 0 0 2 .
Proof. 
First, we prove (27). From (24), taking v = u N 1 , then using the triangle inequality and Lemma 2 yields
2 u N 1 0 2 u N 0 0 2 + u N 1 0 2 τ α ˜ 4 b 0 u N 1 0 2 + b 1 u N 0 0 2 2 τ a 2 u N 1 0 2 τ β ˜ 4 d 0 u N 1 0 2 + d 1 u N 0 0 2 + τ α ˜ 4 b 0 u N 0 0 2 τ α ˜ 4 b 1 u N 1 0 2 + τ β ˜ 4 d 0 u N 0 0 2 τ β ˜ 4 d 1 u N 1 0 2 ,
where b 0 = 1 , d 0 = 1 . Rearranging the above inequality, we obtain
u N 1 0 2 + τ α ˜ 4 j = 0 1 b j u N 1 j 0 2 + τ β ˜ 4 j = 0 1 d j u N 1 j 0 2 + 2 τ a 2 u N 1 0 2 + τ α ˜ 4 b 1 u N 1 0 2 + τ β ˜ 4 d 1 u N 1 0 2 u N 0 0 2 + τ α ˜ 4 b 0 u N 0 0 2 + τ β ˜ 4 d 0 u N 0 0 2 .
Removing the last three terms in LHS of the above inequality, we obtain (27).
Next, we prove (25) by taking v = u N k + 1 in (23), and using the triangle inequality, Lemmas 2 and 3 and rearranging the above inequality, we obtain
u N k + 1 0 2 u N k 0 2 + 2 u N k + 1 u N k 0 2 2 u N k u N k 1 0 2 + u N k + 1 2 u N k + u N k 1 0 2 τ α ˜ [ 1 + 1 2 j = 0 k 1 ( b j b j + 1 ) + b k 2 ] u N k + 1 0 2 τ α ˜ k + 1 2 u N k + 1 0 2 + τ 2 ( α ˜ b k α ˜ k + 1 ) u N 0 0 2 + τ α ˜ 2 j = 0 k 1 ( b j b j + 1 ) u N k j 0 2 + τ β ˜ [ 1 + 1 2 j = 0 k 1 ( d j d j + 1 ) + d k 2 ] u N k + 1 0 2 τ β ˜ k + 1 2 u N k + 1 0 2 + τ 2 ( β ˜ d k β ˜ k + 1 ) u N 0 0 2 + τ β ˜ 2 j = 0 k 1 ( d j d j + 1 ) u N k j 0 2 4 τ a 2 u N k + 1 0 2 τ α ˜ 2 j = 0 k + 1 b j u N k + 1 j 0 2 + τ α ˜ 2 j = 0 k b j u N k j 0 2 τ β ˜ 2 j = 0 k + 1 d j u N k + 1 j 0 2 + τ β ˜ 2 j = 0 k d j u N k j 0 2 τ α ˜ k + 1 2 u N k + 1 0 2 τ β ˜ k + 1 2 + 4 a 2 u N k + 1 0 2 ,
noting that j = 0 k 1 ( b j b j + 1 ) = 1 b k , 1 + 1 2 j = 0 k 1 ( b j b j + 1 ) + b k 2 = 1 2 and the term of d j have similar results.
By removing the last term of LHS and the last two terms of RHS from the above inequality, respectively, we obtain
E ( u N k + 1 ) E ( u N k ) , 1 k K 1 .
The proof is completed. □
The error bounds for the continuous problems (1)–(3) and full-discrete problems (23), (24) are given in the following theorem.
Theorem 2.
Let { u ( t k ) } k = 1 K be the solution of continuous problems (1)–(3) and { u N k } k = 1 K be the solution of the full-discrete problem (23). Assume u , 0 C D t α u , t u , t 3 u L ( 0 , T ] ; H m ( Ω ) , t 2 Δ u L ( 0 , T ] ; L 2 ( Ω ) , m 1 . Then for 1 k K , we have the error estimate, which satisfies
u ( t k ) u N k 1 c ( τ α * + N 1 m ) , 2 k K ,
when k = 1 , we obtain
u ( t k ) u N k 1 c ( τ + N 1 m ) ,
where α * = m i n { 2 α , 2 β } and c is a constant that is independent of N .
Proof. 
Let e N k = u N k u ( t k ) = u N k π N 1 , 0 u ( t k ) + π N 1 , 0 u ( t k ) u ( t k ) = ξ N k + η N k . Combining (23) and the H 1 -projection of (12) at t n + 1 yields v N P N 0 ( Ω ) ,
2 3 ξ N k + 1 4 ξ N k + ξ N k 1 , v N + τ α ˜ ξ N k + 1 , v N τ α ˜ j = 0 k 1 ( b j b j + 1 ) ξ N k j , v N τ α ˜ b k α ˜ k + 1 ξ N 0 , v N + τ ( β ˜ + 4 a 2 ) ξ N k + 1 , v N τ β ˜ j = 0 k 1 ( d j d j + 1 ) ξ N k j , v N τ ( β ˜ d k β ˜ k + 1 ) ξ N 0 ) , v N = 2 ( 3 η N k + 1 4 η N k + η N k 1 ) , v N τ α ˜ k + 1 η N 0 , v N 4 τ ( R k + 1 , v N ) τ α ˜ η N k + 1 j = 0 k 1 ( b j b j + 1 ) η N k j b k η N 0 , v N = 4 τ δ N k + 1 , v N τ α ˜ k + 1 η N 0 , v N ,
in which
δ N k + 1 = L t 1 η N k + 1 + a 0 L t α η N k + 1 + R k + 1 ,
according to the conclusions from (25) in [46], we obtain
δ N k + 1 0 L t 1 η N k + 1 1 + a 0 L t α η N k + 1 1 + R k + 1 0 c ( N 1 m + τ α * ) , k 1 ,
here R k + 1 0 c τ α * , k 1 and R k + 1 0 c τ , k = 0 , α * = m i n { 2 α , 2 β } .
Taking v N = ξ N k + 1 in (30), and then using a similar method to that in Theorem 1, we finally obtain
E ( ξ N k + 1 ) + τ α ˜ k + 1 2 ξ N k + 1 0 2 + 4 a 2 τ ξ N k + 1 0 2 E ( ξ N k ) + 4 τ δ N k + 1 , v N + τ α ˜ k + 1 η N 0 , v N .
Consequently, we have
E ( ξ N k + 1 ) + τ 2 j = 1 k + 1 α ˜ j ξ N j 0 2 + 4 a 2 τ j = 1 k + 1 ξ N j 0 2 E ( ξ N 0 ) + 4 τ j = 1 k + 1 δ N j , ξ N j + τ j = 1 k + 1 α ˜ j η N 0 , ξ N j 8 τ α ˜ j = 1 k + 1 1 b k + 1 j δ N j 0 2 + τ α ˜ 2 j = 1 k + 1 b k + 1 j ξ N j 0 2 + τ c N 2 2 m u ( t 0 ) m 2 j = 1 k + 1 α ˜ j + τ 2 j = 1 k + 1 α ˜ j ξ N j 0 2 ,
where ξ N 0 = 0 , we have 1 1 b k b k c α k α , where c α is only dependent on α . So
1 α ˜ b k Γ ( 2 α ) ( τ k ) α c α 4 a 0 c T α , j = 0 k + 1 τ α ˜ j = j = 0 k + 1 4 a 0 τ Γ ( 1 α ) t j α c 0 T 1 t α d t c T 1 α 1 α .
According to (26), (32), (34) and (35), we observe that
ξ N k + 1 1 2 c τ j = 1 k + 1 δ N j 0 2 + c T 1 α 1 α N 2 2 m u ( t 0 ) m 2 c ( N 1 m + τ α * ) , k 1 .
Finally, we obtain (28), (29) using the triangular inequality e N k 1 ξ N k 1 + η N k 1 and (22). This completes the proof. □

3. Implementation of the Difference/Spectral Method

In this section, we provide a detailed description of the implementation of the difference/spectral method. We use Lagrangian polynomials as the basis and the Gauss–Lobatto–Legendre (GLL) quadrature to compute the integrations in the space direction. We first introduce some notation.
Let P N x , 0 ( I x ) = ϕ m ( x ) , P N y , 0 ( I y ) = ψ n ( y ) be the function spaces associated with GLL quadrature formal points x m , y n where x m , y n , m = 0 , 1 , , N x , n = 0 , 1 , , N y are the points of the GLL quadrature formula defined by:
x 0 = 1 , x N x = 1 , L N x ( x m ) = 0 , m = 1 , 2 , , N x 1 , y 0 = 1 , y N y = 1 , L N y ( y n ) = 0 , n = 1 , 2 , , N y 1 ,
in which x 0 < x 1 < · · · < x N x , y 0 < y 1 < · · · < y N y . L N is the Legendre polynomial of degree N. The associated Legendre weights of the GLL quadrature formula are denoted by ω i , i = 0 , 1 , . . . , N .
That is, ϕ m ( x ) P N x , 0 ( I x ) , ψ n ( y ) P N y , 0 ( I y ) , such that ϕ m ( x p ) = δ p m , ψ n ( y q ) = δ q n , m , p = 0 , 1 , , N x , n , q = 0 , 1 , , N y , with δ denoting the Kronecker symbol. Obviously, we have the approximation function space V N 0 ( Ω ) = P N x , 0 ( I x ) P N y , 0 ( I y ) as follows
V N 0 ( Ω ) = s p a n ϕ m ( x ) ψ n ( y ) , m = 0 , 1 , , N x , n = 0 , 1 , , N y .
Then, we consider the full-discrete problem with numerical quadratures as follows: Find u N k + 1 P N 0 ( Ω ) , such that for all v N P N 0 ( Ω ) ,
3 + τ α ˜ 2 ( u N k + 1 , v N ) N + τ g 2 ( u N k + 1 , v N ) N = F ( u N 0 , u N 1 , , u N k ; v N ) , 1 k K 1 ,
in which g = β ˜ + 4 a 2 , and
F ( u N 0 , u N 1 , , u N k ; v N ) = ( 4 u N k u N k 1 , v N ) N + τ α ˜ 2 j = 0 k 1 ( b j b j + 1 ) ( u N k j , v N ) N + τ β ˜ 2 j = 0 k 1 ( d j d j + 1 ) ( u N k j , v N ) N + τ ( β ˜ d k β ˜ k + 1 ) 2 ( u N 0 , v N ) N + τ ( α ˜ b k α ˜ k + 1 ) 2 ( u N 0 , v N ) N + 2 τ ( f k + 1 , v N ) N ,
where the discrete inner product is defined by
( ϕ , φ ) N = i = 0 N ϕ ( x i ) φ ( x i ) ω i , ϕ , φ C 0 ( I ¯ x ) ,
where the discrete norm ϕ N = ( ϕ , ϕ ) N 1 1 / 2 2 is equivalent to the standard L 2 -norm in V N ( Ω ) .
The unknown function u N k + 1 P N 0 ( Ω ) has the following form:
u N k + 1 = m = 0 N x n = 0 N y u m n k + 1 ϕ m ( x ) ψ n ( y ) ,
and by considering the homogeneous boundary condition u 0 n k + 1 = u N x n k + 1 = 0 , u m 0 k + 1 = u m N y k + 1 = 0 , and choosing the test function v N = ϕ l ( x ) ψ s ( y ) , l = 1 , 2 , , N x 1 , s = 1 ,   2 , , N y 1 , the LHS of (37) can be written as
L H S = ( 3 + τ α ˜ 2 ) m = 1 N x 1 n = 1 N y 1 u m n k + 1 ϕ m ( x ) ψ n ( y ) , ϕ l ( x ) ψ s ( y ) N + τ g 2 m = 1 N x 1 n = 1 N y 1 u m n k + 1 ϕ m ( x ) ψ n ( y ) , ϕ l ( x ) ψ s ( y ) N + τ g 2 m = 1 N x 1 n = 1 N y 1 u m n k + 1 ϕ m ( x ) ψ n ( y ) , ϕ l ( x ) ψ s ( y ) N = ( 3 + τ α ˜ 2 ) u l s k + 1 ω l ω s + τ g 2 m = 1 N x 1 u m s k + 1 ω s p = 0 N y ϕ m ( x p ) ϕ l ( x p ) ω p + τ g 2 n = 1 N y 1 u l n k + 1 ω l q = 0 N x ψ n ( y q ) ψ s ( y q ) ω q , 1 k K 1 ,
where x ϕ m ( x ) = ϕ m ( x ) , y ψ n ( y ) = ψ n ( y ) .
Finally, we obtain the matrix representation of the difference/spectral method as follows:
m = 1 N x 1 n = 1 N y 1 3 + τ α ˜ 2 B l m u m n k + 1 B s n + τ g 2 C l m u m n k + 1 B s n + τ g 2 B l m u m n k + 1 C s n = F l s ,
where l = 1 , 2 , N x 1 , s = 1 , 2 , N y 1 , F l s = F ( u N 0 , u N 1 , , u N k ; ϕ l ( x ) ψ s ( y ) ) , and B l m = ω l δ l m , B s n = ω s δ s n , C lm = p = 0 N x D p l D p m ω p , C s n = q = 0 N y D q s D q n ω q , D p l = ϕ l ( x p ) , m , l = 0 , 1 , , N x , n , s = 0 , 1 , , N y . Hence, we find that (38) is equivalent to the following linear system
3 + τ α ˜ 2 B U B + τ g 2 C U B + τ g 2 B U C T = F ,
in which B is a diagonal matrix and C is a symmetric positive definite matrix. We can also rewrite (39) in the following form using the tensor product notation
3 + τ α ˜ 2 B B + τ g 2 B C + τ g 2 C T B U ¯ = F ¯ ,
where U ¯ = ( u 1 , 1 k + 1 , u 2 , 1 k + 1 , , u N y 1 , 1 k + 1 , u 1 , 2 k + 1 , u 2 , 2 k + 1 , , u N y 1 , 2 k + 1 , , u 1 , N x 1 k + 1 , u 2 , N x 1 k + 1 , ,
u N y 1 , N x 1 k + 1 ) T , U ¯ and F ¯ are vectors of length ( N y 1 ) ( N x 1 ) formed by the columns of U and F, and ⊗ denotes the tensor product of the matrices.

4. Numerical Results

In this section, we present numerical experiments to verify the theoretical analysis presented in Section 2. We shall consider two examples with homogeneous boundary conditions. To investigate the accuracy of the difference/spectral method, we compute the errors in three discrete norms, that is, L , L 2 , and H 1 . The convergence order in time is defined as
order in time = l o g e ( τ 2 , N , t k ) e ( τ 2 , N , t k ) e ( τ 1 , N , t k ) e ( τ 1 , N , t k ) l o g ( τ 2 τ 2 τ 1 τ 1 ) ,
where e ( τ , N , t k ) = u ( x , y , t k ) u N k , τ 2 τ 1 .
Example 1.
The 2D generalized time fractional cable equation:
t u = 0 D t α u + 0 D t β Δ u + Δ u + f ( x , y , t ) , x , y ( 1 , 1 ) 2 , t ( 0 , 1 ] , u ( x , y , 0 ) = sin π 2 x + π 2 sin π 2 y + π 2 , x , y [ 1 , 1 ] 2 , u ( 1 , y , t ) = u ( 1 , y , t ) = 0 , t ( 0 , 1 ] , y ( 1 , 1 ) , u ( x , 1 , t ) = u ( x , 1 , t ) = 0 , t ( 0 , 1 ] , x ( 1 , 1 ) ,
where
f ( x , y , t ) = 1 + t 3 + α + 2 β π 2 2 + 3 + α + 2 β t 2 + α + 2 β sin π 2 x + π 2 sin π 2 y + π 2 + π 2 2 sin π 2 x + π 2 sin π 2 y + π 2 { 2 t α Γ ( 1 α ) π 2 + t β Γ ( 1 β ) + Γ ( 4 + α + 2 β ) 2 t 3 + 2 β Γ ( 4 + 2 β ) π 2 + t 3 + α + β Γ ( 4 + α + β ) } .
The exact solution is u ( x , y , t ) = 1 + t 3 + α + 2 β sin π 2 x + π 2 sin π 2 y + π 2 .
We first consider the temporal errors. Table 1 displays the relationship of L , L 2 and H 1 errors with ( α , β ) = ( 0.1 , 0.9 ) , ( 0.3 , 0.7 ) , ( 0.5 , 0.5 ) , N x = N y = 8 , T = 1 for different step sizes τ . We can observe that the convergence orders in time are approximately equal to 1.1 ( α = 0.1 , β = 0.9 ) , 1.3 ( α = 0.3 , β = 0.7 ) , and 1.5 ( α = 0.5 , β = 0.5 ) , which are in agreement with the theoretical analysis min{ 2 α , 2 β }.
Next, we investigate the spatial errors. We fix a large enough value of τ = 10 4 , and let N vary. In Figure 1, we plot the errors as functions for the degree of the polynomials N x , N y with ( α , β ) = ( 0.5 , 0.5 ) , T = 1 . We can obviously observe that the convergence in space of the present method is exponential.
Finally, we analyze the relationship between the numerical results and the exact solutions. Figure 2 shows the velocity distribution of the exact solution and the numerical solution by using the difference/spectral method with τ = 0.01 , N x = N y = 20 , α = 0.3 , β = 0.7 , T = 1 . Then, the comparison between the numerical solution and the exact solution in the x direction with y = 0 and in y direction with x = 0 both at τ = 0.01 , N x = N y = 20 , α = 0.3 , β = 0.7 , T = 1 is presented in Figure 3. It can be seen that our numerical results are very consistent with the exact solutions.
Example 2.
The 2D Rayleigh–Stokes problem for a heated generalized second-grade fluid with fractional derivatives:
u t = 0 D t β Δ u + Δ u + f ( x , y , t ) , x , y ( 1 , 1 ) 2 , t ( 0 , 1 ] , u ( x , y , 0 ) = 20 sin ( π 2 x + π 2 ) sin ( π 2 y + π 2 ) , x , y [ 1 , 1 ] 2 , u ( 1 , y , t ) = u ( 1 , y , t ) = 0 , t ( 0 , 1 ] , y ( 1 , 1 ) , u ( x , 1 , t ) = u ( x , 1 , t ) = 0 , t ( 0 , 1 ] , x ( 1 , 1 ) ,
where
f ( x , y , t ) = ( 6 + β ) t 5 + β sin ( π 2 x + π 2 ) sin ( π 2 y + π 2 ) + π 2 sin ( π 2 x + π 2 ) sin ( π 2 y + π 2 ) ( 10 + 1 2 t 6 + β ) + 10 t β Γ ( 1 β ) + Γ ( 7 + β ) t 6 1440 .
The exact solution is u ( x , y , t ) = ( 20 + t 6 + β ) sin ( π 2 x + π 2 ) sin ( π 2 y + π 2 ) .
We first consider the temporal errors. We take N x = N y = 10 so that the spatial discretization errors are negligible compared with the temporal errors. In Figure 4, we plot errors as functions of the time step τ for β = 0.01 , 0.3 , and the slope of the error lines in this log-log plot also represents the convergence order in time. Secondly, we investigate the spatial errors. For a similar reason to the one mentioned above, we fix a large enough value of τ = 10 4 , and let N vary. In Figure 5 and Figure 6, we plot the errors as functions for the degree of polynomials N x , N y with β = 0.3 , T = 1 and β = 0.01 , 0.3 , 0.5 , T = 1 . We can obviously observe that the convergence in space of the present method is exponential. Moreover, we find that the error decreases as the fractional derivative decreases. The numerical results are in agreement with the theoretical analysis.

5. Conclusions

In this study, we investigated a highly accurate numerical method for the 2D generalized time fractional cable equation by combining the second-order backward difference method in temporal discretization and the Galerkin spectral method in spatial discretization. We have proven that the scheme is unconditionally stable and have analyzed the error bounds of the present method. However, the limitation of accuracy in time causes a low global convergence rate. The difference/spectral method was proven to have min { 2 α , 2 β } -order convergence in time and spectral accuracy in space for smooth solutions, where α , β are two exponents of fractional derivatives. The numerical results confirmed the theoretical analysis and the high efficiency of the presented scheme. In this study we have thus developed an efficient numerical method which can be applied to model diffusion and viscoelastic non-Newtonian fluid flow.

Author Contributions

Y.M.: Writing, editing, and methodology; L.C.: reviewing, editing, and software. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Research Foundation for Beijing University of Technology New Faculty Grant No. 006000514122521 (Y.M.), and the National Natural Science Foundation of China Grants Nos. 12131005 and U1930402 (L.C.).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors sincerely thank the reviewers for their constructive comments to improve the manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cui, M.R. Compact finite difference method for the fractional diffusion equation. J. Comput. Phys. 2009, 228, 7792–7804. [Google Scholar] [CrossRef]
  2. Miller, K.S.; Ross, B. An Introduction to the Fractional Calculus and Fractional Differential Equations; John Wily and Sons Inc.: New York, NY, USA, 1993. [Google Scholar]
  3. Metzler, R.; Klafter, J. The restaurant at the end of the random walk: Recent developments in the description of anomalous transport by fractional dynamics. J. Phys. A Math. Gen. 2004, 37, R161–R208. [Google Scholar] [CrossRef]
  4. Podlubny, I. Geometric and physical interpretation of fractional integration and fractional differentiation. Fract. Calc. Appl. Anal. 2002, 5, 367–386. [Google Scholar]
  5. Huang, J.F.; Nie, N.M.; Tang, Y.F. A second order finite difference-spectral method for space fractional diffusion equations. Sci. China Math. 2014, 57, 1303–1317. [Google Scholar] [CrossRef]
  6. Henry, B.I.; Langlands, T.A.M.; Wearne, S.L. Fractional cable models for spiny neuronal dendrites. Phys. Rev. Lett. 2008, 100, 128103. [Google Scholar] [CrossRef]
  7. Lin, Y.M.; Li, X.J.; Xu, C.J. Finite difference/spectral approximations for the fractional cable equation. Math. Comp. 2009, 80, 1369–1396. [Google Scholar] [CrossRef]
  8. Langlands, T.A.M.; Henry, B.I.; Wearne, S.L. Fractional cable equation models for anomalous electrodiffusion in nerve cells: Infinite domain solutions. J. Math. Biol. 2009, 59, 761–808. [Google Scholar] [CrossRef]
  9. Bazhlekova, E.; Jin, B.; Lazarov, R.; Zhou, Z. An analysis of the Rayleigh-Stokes problem for a generalized second-grade fluid. Numer. Math. 2015, 131, 1–31. [Google Scholar] [CrossRef]
  10. Chen, C.M.; Liu, F.; Anh, V. A Fourier method and an extrapolation technique for Stokes’ first problem for a heated generalized second grade fluid with fractional derivative. J. Comput. Appl. Math. 2009, 223, 777–789. [Google Scholar] [CrossRef]
  11. Huang, J.F.; Yang, D.D. A unified difference-spectral method for time-space fractional diffusion equations. Int. J. Comput. Math. 2017, 94, 1172–1184. [Google Scholar] [CrossRef]
  12. Shen, F.; Tan, W.C.; Zhao, Y.H.; Masuoka, T. The Rayleigh-Stokes problem for a heated generalized second grade fluid with fractional derivative model. Nonlinear Anal. RWA 2006, 7, 1072–1080. [Google Scholar] [CrossRef]
  13. Fetecau, C.; Fetecau, C. The first problem of Stokes for an Oldroyd-B fluid. Int. J. Non-Linear Mech. 2003, 38, 1539–1544. [Google Scholar] [CrossRef]
  14. Tan, W.C.; Masuoka, T. Stokes’ first problem for a second grade fluid in a porous half-space with heated boundary. Int. J. Non-Linear Mech. 2005, 40, 515–522. [Google Scholar] [CrossRef]
  15. Akyildiz, F.T. Stokes’ first problem for a Newtonian fluid in a non-Darcian porous half-space using a Laguerre-Galerkin method. Math. Methods Appl. Sci. 2007, 30, 2263–2277. [Google Scholar] [CrossRef]
  16. Yu, B.; Jiang, X.Y. Numerical identification of the fractional derivatives in the two-dimensional fractional cable equation. J. Sci. Comput. 2016, 68, 252–272. [Google Scholar] [CrossRef]
  17. Liu, Y.; Du, Y.W.; Li, H.; Wang, J.F. A two-grid finite element approximation for a nonlinear time-fractional Cable equation. Nonlinear Dyn. 2016, 85, 2535–2548. [Google Scholar] [CrossRef]
  18. Zhang, H.X.; Yang, X.H.; Han, X.L. Discrete-time orthogonal spline collocation method with application to two-dimensional fractional cable equation. Comput. Math. Appl. 2014, 68, 1710–1722. [Google Scholar] [CrossRef]
  19. Bhrawy, A.H.; Zaky, M.A. Numerical simulation for two-dimensional variable-order fractional nonlinear cable equation. Nonlinear Dyn. 2015, 80, 101–116. [Google Scholar] [CrossRef]
  20. Dehghan, M.; Abbaszadeh, M. Analysis of the element free Galerkin (EFG) method for solving fractional cable equation with Dirichlet boundary condition. Appl. Numer. Math. 2016, 109, 208–234. [Google Scholar] [CrossRef]
  21. Chen, C.M.; Liu, F.W.; Anh, V. Numerical analysis of the Rayleigh-Stokes problem for a heated generalized second grade fluid with fractional derivatives. Appl. Math. Comput. 2008, 204, 340–351. [Google Scholar] [CrossRef]
  22. Mohebbi, A.; Abbaszadeh, M.; Dehghan, M. Compact finite difference scheme and RBF meshless approach for solving 2D Rayleigh-Stokes problem for a heated generalized second grade fluid with fractional derivatives. Comput. Methods Appl. Mech. Eng. 2013, 264, 163–177. [Google Scholar] [CrossRef]
  23. Dehghan, M.; Abbaszadeh, M. A finite element method for the numerical solution of Rayleigh-Stokes problem for a heated generalized second grade fluid with fractional derivatives. Eng. Comput. Ger. 2017, 33, 587–605. [Google Scholar] [CrossRef]
  24. Abdelkawy, M.A.; Alqahtani, R.T. Shifted Jacobi collocation method for solving multi-dimensional fractional Stokes’ first problem for a heated generalized second grade fluid. Adv. Differ. Equ. 2016, 2016, 114. [Google Scholar] [CrossRef]
  25. Naz, A.; Ali, U.; Elfasakhany, A.; Ismail, K.A.; Al-Sehemi, A.G.; Al-Ghamdi, A.A. An implicit numerical approach for 2D Rayleigh Stokes problem for a heated generalized second grade fluid with fractional derivative. Fractal Fract. 2021, 5, 283. [Google Scholar] [CrossRef]
  26. Langlands, T.A.M.; Henry, B.I.; Wearne, S.L. Fractional cable equation models for anomalous electrodiffusion in nerve cells: Finite domain solutions. SIAM J. Appl. Math. 2011, 71, 1168–1203. [Google Scholar] [CrossRef]
  27. Li, C.; Deng, W.H. Analytical solutions, moments, and their asymptotic behaviors for the time-space fractional cable equation. Commun. Theor. Phys. 2014, 62, 54. [Google Scholar] [CrossRef]
  28. Liu, F.W.; Chen, Y.Q.; Turner, I. Two new implicit numerical methods for the fractional cable equation. J. Comput. Nonlinear Dyn. 2011, 6, 0110091–0110097. [Google Scholar] [CrossRef]
  29. Hu, X.L.; Zhang, L.M. Implicit compact difference schemes for the fractional cable equation. Appl. Math. Model. 2012, 36, 4027–4043. [Google Scholar] [CrossRef]
  30. Chen, C.M.; Liu, F.W. Burrage, K. Numerical analysis for a variable-order nonlinear cable equation. J. Comput. Appl. Math. 2011, 236, 209–224. [Google Scholar] [CrossRef]
  31. Zhuang, P.; Liu, F.; Turner, I.; Anh, V. Galerkin finite element method and error analysis for the fractional cable equation. Numer. Algorithms 2016, 72, 447–466. [Google Scholar] [CrossRef]
  32. Nazar, M.; Fetecau, C.; Awan, A.U. A note on the unsteady flow of a generalized second-grade fluid through a circular cylinder subject to a time dependent shear stress. Nonlinear Anal. RWA 2010, 11, 2207–2214. [Google Scholar] [CrossRef]
  33. Lin, Y.Z.; Jiang, W. Numerical method for Stokes’ first problem for a heated generalized second grade fluid with fractional derivative. Numer. Methods Partial. Differ. Equ. 2011, 27, 1599–1609. [Google Scholar] [CrossRef]
  34. Podlubny, I. Fractional Differential Equations; Academic Press: New York, NY, USA, 1999. [Google Scholar]
  35. Shen, J.; Tang, T. Spectral and High-Order Methods with Applications; Science Press: Beijing, China, 2006. [Google Scholar]
  36. Shen, J.; Tang, T.; Wang, L.L. Spectral Methods: Algorithms, Analysis and Applications; Springer Science: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
  37. Trefethen, L.N. Spectral Methods in MATLAB; SIAM: Philadelphia, PA, USA, 2000. [Google Scholar]
  38. Demmel, J.W. Applied Numerical Linear Algebra; SIAM: Philadelphia, PA, USA, 1997. [Google Scholar]
  39. Hesthaven, J.S.; Gottlieb, S.; Gottlieb, D. Spectral Methods for Time-Dependent Problems; Cambridge University Press: Cambridge, UK, 2007. [Google Scholar]
  40. Guo, B.Y. Spectral Methods and Their Applications; World Scientific: Singapore, 1998. [Google Scholar]
  41. Li, X.J.; Xu, C.J. A space-time spectral method for the time fractional diffusion equation. SIAM J. Numer. Anal. 2009, 47, 2108–2131. [Google Scholar] [CrossRef]
  42. Zeng, F.H.; Liu, F.W.; Li, C.P.; Burrage, K.; Turner, I.; Anh, V. A Crank-Nicolson ADI spectral method for a two-dimensional Riesz space fractional nonlinear reaction-diffusion equation. SIAM J. Numer. Anal. 2014, 52, 2599–2622. [Google Scholar] [CrossRef]
  43. Zheng, M.L.; Liu, F.W.; Turner, I.; Anh, V. A novel high order space-time spectral method for the time fractional Fokker-Planck equation. SIAM J. Sci. Comput. 2015, 37, A701–A724. [Google Scholar] [CrossRef]
  44. Lin, Y.M.; Xu, C.J. Finite difference/spectral approximation for the time fractional diffusion equations. J. Comput. Phys. 2007, 2, 1533–1552. [Google Scholar] [CrossRef]
  45. Zheng, M.; Liu, F.; Anh, V.; Turner, I. A high-order spectral method for the multi-term time-fractional diffusion equations. Appl. Math. Model. 2016, 40, 4970–4985. [Google Scholar] [CrossRef]
  46. Lu, C.W.; Xu, C.J. Improved error estimates of a finite difference/spectral method for time-fractional diffusion equations. Int. J. Numer. Anal. Model. 2015, 12, 384–400. [Google Scholar]
  47. Bernardi, C.; Maday, Y. Approximations Spectrales de Problemes Aux Limites Elliptiques; Springer: Berlin/Heidelberg, Germany, 1992. [Google Scholar]
Figure 1. For α = 0.5 , β = 0.5 , τ = 0.0001 , T = 1 , the L , L 2 and H 1 errors show an exponential decay with N x , N y .
Figure 1. For α = 0.5 , β = 0.5 , τ = 0.0001 , T = 1 , the L , L 2 and H 1 errors show an exponential decay with N x , N y .
Fractalfract 06 00439 g001
Figure 2. The velocity distribution of the exact solution and the numerical solution with τ = 0.01 , N x = N y = 20 , α = 0.3 , β = 0.7 , T = 1 . (a) Exact result; (b) numerical result.
Figure 2. The velocity distribution of the exact solution and the numerical solution with τ = 0.01 , N x = N y = 20 , α = 0.3 , β = 0.7 , T = 1 . (a) Exact result; (b) numerical result.
Fractalfract 06 00439 g002
Figure 3. Comparison between the numerical solution and the exact solution in two directions for τ = 0.01 , N x = N y = 20 , α = 0.3 , β = 0.7 , T = 1 . (a) x direction with y = 0 ; (b) y direction with x = 0 .
Figure 3. Comparison between the numerical solution and the exact solution in two directions for τ = 0.01 , N x = N y = 20 , α = 0.3 , β = 0.7 , T = 1 . (a) x direction with y = 0 ; (b) y direction with x = 0 .
Fractalfract 06 00439 g003
Figure 4. For T = 1 , N x = N y = 10 and different β , the errors as a function of the time step τ . (a) β = 0.01 ; (b) β = 0.3 .
Figure 4. For T = 1 , N x = N y = 10 and different β , the errors as a function of the time step τ . (a) β = 0.01 ; (b) β = 0.3 .
Fractalfract 06 00439 g004
Figure 5. For β = 0.3 , τ = 0.0001 , T = 1 , the L , L 2 and H 1 errors show an exponential decay with N x , N y .
Figure 5. For β = 0.3 , τ = 0.0001 , T = 1 , the L , L 2 and H 1 errors show an exponential decay with N x , N y .
Fractalfract 06 00439 g005
Figure 6. H 1 errors versus N x , N y when β = 0.01 , 0.3 , 0.5 .
Figure 6. H 1 errors versus N x , N y when β = 0.01 , 0.3 , 0.5 .
Fractalfract 06 00439 g006
Table 1. The L , L 2 , H 1 errors in time for three groups of ( α , β ) at N x = N y = 8 .
Table 1. The L , L 2 , H 1 errors in time for three groups of ( α , β ) at N x = N y = 8 .
( α , β ) τ L -ErrorOrder L 2 -ErrorOrder H 1 -ErrorOrder
( 0.1 , 0.9 ) 1/40 2.7896 × 10 2 1.3632 × 10 2 3.8184 × 10 2
1/80 1.2995 × 10 2 1.1021 6.3503 × 10 3 1.1021 1.7225 × 10 2 1.1485
1/160 6.0591 × 10 3 1.1008 2.9609 × 10 3 1.1008 7.7868 × 10 3 1.1454
1/320 2.8263 × 10 3 1.1002 1.3811 × 10 3 1.1002 3.5244 × 10 3 1.1436
1/640 1.3186 × 10 3 1.1000 6.4428 × 10 4 1.1000 1.5965 × 10 3 1.1425
( 0.3 , 0.7 ) 1/40 1.1014 × 10 2 5.3823 × 10 3 1.1542 × 10 2
1/80 4.4653 × 10 3 1.3025 2.1820 × 10 3 1.3026 4.3038 × 10 3 1.4232
1/160 1.8096 × 10 3 1.3030 8.8427 × 10 4 1.3031 1.6132 × 10 3 1.4157
1/320 7.3352 × 10 4 1.3028 3.5838 × 10 4 1.3030 6.0818 × 10 4 1.4074
1/640 2.9746 × 10 4 1.3022 1.4528 × 10 4 1.3026 2.3071 × 10 4 1.3984
( 0.5 , 0.5 ) 1/40 4.6711 × 10 3 2.2826 × 10 3 3.9660 × 10 3
1/80 1.6554 × 10 3 1.4966 8.0887 × 10 4 1.4967 1.2604 × 10 3 1.6538
1/160 5.8555 × 10 4 1.4993 2.8607 × 10 4 1.4995 4.0562 × 10 4 1.6356
1/320 2.0705 × 10 4 1.4998 1.0110 × 10 4 1.5005 1.3244 × 10 4 1.6148
1/640 7.3265 × 10 5 1.4988 3.5726 × 10 5 1.5008 4.3893 × 10 5 1.5933
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ma, Y.; Chen, L. Error Bounds of a Finite Difference/Spectral Method for the Generalized Time Fractional Cable Equation. Fractal Fract. 2022, 6, 439. https://doi.org/10.3390/fractalfract6080439

AMA Style

Ma Y, Chen L. Error Bounds of a Finite Difference/Spectral Method for the Generalized Time Fractional Cable Equation. Fractal and Fractional. 2022; 6(8):439. https://doi.org/10.3390/fractalfract6080439

Chicago/Turabian Style

Ma, Ying, and Lizhen Chen. 2022. "Error Bounds of a Finite Difference/Spectral Method for the Generalized Time Fractional Cable Equation" Fractal and Fractional 6, no. 8: 439. https://doi.org/10.3390/fractalfract6080439

APA Style

Ma, Y., & Chen, L. (2022). Error Bounds of a Finite Difference/Spectral Method for the Generalized Time Fractional Cable Equation. Fractal and Fractional, 6(8), 439. https://doi.org/10.3390/fractalfract6080439

Article Metrics

Back to TopTop