Next Article in Journal
Joint UAV Deployment and Task Offloading in Large-Scale UAV-Assisted MEC: A Multiobjective Evolutionary Algorithm
Next Article in Special Issue
Torricelli’s Law in Fractal Space–Time Continuum
Previous Article in Journal
A Secure Certificate-Based Data Integrity Auditing Protocol with Cloud Service Providers
Previous Article in Special Issue
Novel Kinds of Fractional λ–Kinetic Equations Involving the Generalized Degenerate Hypergeometric Functions and Their Solutions Using the Pathway-Type Integral
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Highly Accurate Computational Approach to Solving the Diffusion Equation of a Fractional Order

by
Haifa Bin Jebreen
Department of Mathematics, College of Science, King Saud University, P.O. Box 2455, Riyadh 11451, Saudi Arabia
Mathematics 2024, 12(13), 1965; https://doi.org/10.3390/math12131965
Submission received: 22 May 2024 / Revised: 11 June 2024 / Accepted: 18 June 2024 / Published: 25 June 2024

Abstract

:
This study aims to present and apply an effective algorithm for solving the TFDE (Time-Fractional Diffusion Equation). The Chebyshev cardinal polynomials and the operational matrix for fractional derivatives based on these bases are relied on as crucial tools to achieve this objective. By employing the pseudospectral method, the equation is transformed into an algebraic linear system. Consequently, solving this system using the GMRES method (Generalized Minimal Residual) results in obtaining the solution to the TFDE. The results obtained are very accurate, and in certain instances, the exact solution is achieved. By solving some numerical examples, the proposed method is shown to be effective and yield superior outcomes compared to existing methods for addressing this problem.

1. Introduction

Fractional calculus, a branch of mathematical analysis dealing with derivatives and integrals of non-integer orders, has diverse applications across various fields. These applications showcase the versatility and significance of fractional calculus in diverse fields, ranging from control systems and biology to economics [1,2]. By utilizing fractional calculus, researchers can create more precise models of intricate systems and detect dynamic behaviors that could be missed by conventional integer-order calculus. A wealth of information about engineering and physical processes, along with an extensive use of fractional-order derivatives, can be discovered in [3,4,5,6].
Differential equations involving non-integer-order derivatives fall under the category of FDEs (fractional differential equations). They generalize classical differential equations, which typically involve only integer-order derivatives. FDEs have become increasingly prominent recently for their capacity to represent intricate systems in various scientific and engineering domains accurately. FDEs are valuable for explaining processes in viscoelastic materials, electromagnetic fields, control systems, electrochemical reactions, porous media flow, and more [7,8,9,10]. The study of fractional differential equations has led to the development of various methods for their solution, such as wavelet method [11,12,13], Adomian decomposition [14], Kuratowski MNC technique [15], B-spline collocation method [16], least-squares finite element [17], Adaptive-grid technique [18], multi-step methods [19], Chebyshev collocation method [20,21], etc.
The diffusion equation serves as a foundational partial differential equation, outlining the process by which quantities like heat, mass, or momentum disperse throughout a medium as time progresses. The diffusion equation is a widely utilized tool in physics for turbulence [22], heat conduction [23], dissipation [24], magnetic plasma [25], and electron transportation [26]. Anomalous diffusion is notable for its exceptional traits such as long-distance interaction and history dependency, which differ from typical diffusion phenomena. The conventional model based on integer-order differential equations struggles to accurately capture these anomalous behaviors. Instead, the fractional derivative has emerged as a viable alternative modeling technique for representing these anomalous diffusion phenomena [4]. In recent years, interest has been increasing in investigating anomalous diffusion equations using fractional derivatives [27,28,29].
This paper focuses on solving the time-fractional diffusion equation
D t μ c ( w ) ( x , t ) = x q ( x ) w ( x , t ) x r ( x ) w ( x , t ) + g ( x , t ) , x [ 0 , 1 ] , t [ 0 , T ] ,
in which D t μ c with 0 < μ 1 is the Caputo fractional derivative (CFD) operator with respect to variable t, q ( x ) C 1 [ 0 , 1 ] , r ( x ) C [ 0 , 1 ] , and q ( x ) > 0 , r ( x ) 0 ( x [ 0 , 1 ] ). Moreover, w is considered to be a smooth function, and g C ( [ 0 , 1 ] × [ 0 , T ] ) . For this equation, the Dirichlet boundary and initial conditions are as follows:
w ( x , 0 ) = w 0 ( x ) , x [ 0 , 1 ] , I n i t i a l   c o n d i t i o n ,
w ( 0 , t ) = f 1 ( t ) , w ( 1 , t ) = f 2 ( t ) , t [ 0 , T ] , D i r i c h l e t   b o u n d a r y   c o n d i t i o n s ,
where the functions w 0 ( x ) C [ 0 , 1 ] , f 1 ( t ) C [ 0 , T ] , and f 2 ( t ) C [ 0 , T ] .
Analytical solutions for fractional-derivative diffusion equations are generally scarce, except for cases involving straightforward initial and boundary conditions [30]. Therefore, the numerical solution method is crucial for solving the fractional derivative diffusion equation in practical scenarios. In [31], the authors obtained the approximate solution to a fractional advection–dispersion flow equation using finite difference approximation. A numerical scheme based on the random walk method is proposed in [23] for solving the considered equation. Chen et al. [32] proposed the Kansa method for solving the considered Equation (1). A paper focused on the kernel-based scheme to solve (1) is introduced in [33] by Fardi.
The subsequent sections of this paper are structured in the following manner: Chebyshev cardinal polynomials and their properties are reviewed and introduced in Section 2. The pseudospectral method is applied to solve the TFDE (1) in Section 3. Section 4 is devoted to demonstrating the practicality and precision of the method. Section 5 of this paper provides a concise summary of the findings.

2. Chebyshev Cardinal Polynomials

Given N 0 , let R : = { r j : T N + 1 ( r j ) = 0 , j N } be the set of the roots of the TChebyshev polynomial T N + 1 in which N : = { 1 , 2 , , N + 1 } . Recall that the TChebyshev polynomials are defined on [ 1 , 1 ] by
T N + 1 ( cos ( θ ) ) = cos ( ( N + 1 ) θ ) , N = 0 , 1 ,
and their roots are specified by
r j : = cos ( 2 j 1 ) π 2 N + 2 , j N .
Shifted TChebyshev polynomials for generic intervals [ a , b ] are related to the TChebyshev polynomials by
T N + 1 * ( t ) : = T N + 1 2 ( t a ) b a 1 ,
and the roots of T N + 1 * in its turn are obtained by t j = ( r j + 1 ) ( b a ) 2 + a , j N .
The Chebyshev cardinal function (CCF) is one of the orthogonal polynomials’ most notable cardinal functions [34,35,36]. Considering T N + 1 , t * ( t j ) as the derivative of function T N + 1 * ( t ) with respect to the variable t, Chebyshev cardinal functions can be denoted by
ψ j ( t ) = T N + 1 * ( t ) T N + 1 , t * ( t j ) ( t t j ) , j N .
The most striking feature of these polynomials is their cardinality, i.e.,
ψ j ( t i ) = δ j i ,
in which δ j i indicates the Kronecker delta. This property is mostly important as it enables us to approximate any function w H α ( [ a , b ] ) (the Sobolev space H α ( [ a , b ] ) will be briefly introduced) easily and without integration in finding the coefficients, viz,
w ( t ) j = 1 N + 1 w ( t j ) ψ j ( t ) .
In what follows, since we need the definition of Sobolev spaces and their norm, we provide a brief definition of it. For α N , we denote by H α ( [ a , b ] ) the sobolev space of functions w ( t ) which have continuous derivatives up to order α such that D β w L 2 ( [ a , b ] ) :
H α ( [ a , b ] ) = w C α ( [ a , b ] ) : D β w L 2 ( [ a , b ] ) , N β α ,
with the norm
w H α ( [ a , b ] ) 2 = j = 0 α w ( j ) ( t ) L 2 ( [ a , b ] ) 2 ,
and the semi-norm
| f | H α , N ( [ a , b ] ) 2 = j = min { α , N } N w ( j ) ( t ) L 2 ( [ a , b ] ) 2 .
Lemma 1.
Given N 0 , if R * denotes the shifted Chebyshev nodes { t j } j N , then the error of approximation (8) can be bounded
w w N L 2 ( [ a , b ] ) C N α | w | H α , N ( [ a , b ] ) ,
where the constant C is independent of N. Furthermore, it can be verified that
w w N H l ( [ a , b ] ) C N 2 l 1 / 2 α | w | H α , N ( [ a , b ] ) , α 1 , 1 l α .

2.1. Operational Matrix of Derivative

Let Ψ ( t ) be a vector function with entries { ψ j } j N . We specify the operational matrix of derivatives for CCFs as
D ( Ψ ) ( t ) = D Ψ ( t ) .
To evaluate the elements of D, they can be obtained via the following process using the approximation (8). It follows from (8) that
D j , i = D ( ψ j ) ( t i ) .
It is worth noting that there is another presentation of CCFs [37]
ψ j ( t ) = ϱ κ = 1 , κ j N + 1 ( t t κ ) ,
where ϱ = 2 2 N + 1 / ( ( b a ) N + 1 T N + 1 , t * ( t j ) ) . When the operator D acts on both sides of (15), coming back to (14), we obtain by (8)
D ( ψ j ) ( t ) = ϱ κ = 1 κ j N + 1 D ( t t κ ) = ϱ k = 1 k j N + 1 κ = 1 κ j , κ N + 1 ( t t κ ) = k = 1 k j N + 1 T N + 1 * ( t ) ( t t j ) ( t t k ) T N + 1 , t * ( t j ) = k = 1 k j N + 1 k ( t t k ) ψ j ( t ) .
It can be shown by (14) and (16) that
D ( ψ j ) ( t i ) = k = 1 k j N + 1 1 ( t i t k ) , j = i , ϱ κ = 1 κ j , i N + 1 ( t i t κ ) , j i .

2.2. Operational Matrix of Fractional Integration

Considering the interval [ 0 , 1 ] , the fractional integral is defined as
I 0 μ ( w ) ( t ) : = 1 Γ ( μ ) 0 t ( t ζ ) μ 1 w ( ζ ) d ζ , x [ 0 , 1 ] , β R + ,
where Γ ( μ ) denotes the Gamma function.
Note that there is a square matrix I μ such that the acting of the fractional integral operator on Ψ ( x ) can be represented by it, viz,
I 0 μ ( Ψ ( t ) ) I μ Ψ ( t ) , t ( 0 , 1 ) ,
It is straightforward to show that the elements of this matrix can be obtained by
( I μ ) j , i = I 0 μ ψ j ( t i ) .
After performing some simple calculations, it can be inferred from [38] that
κ = 1 κ j N + 1 ( t t κ ) = κ = 0 N ω j , κ t N κ ,
in which
ω j , 0 = 1 , ω j , κ = 1 κ k = 0 κ χ j , k ω j , κ k , j = 1 , , N + 1 , κ = 1 , , N ,
and
χ j , κ = i = 1 i j N + 1 t i κ , j = 1 , , N + 1 , κ = 1 , , N .
Motivated by (15), the CCFs can be determined by
ψ j ( t ) = ϱ κ = 0 N ω j , κ t N κ .
Using this definition of CCFs, (19) leads to
I 0 μ ψ j ( t ) = ϱ I 0 μ ( κ = 0 N ω j , κ t N κ ) = ϱ κ = 0 N ω j , κ I 0 μ ( t N κ ) = ϱ κ = 0 N ω j , κ Γ ( N κ + 1 ) Γ ( N κ + μ + 1 ) t N κ + μ .
So, it can be concluded that
( I μ ) j , i = ϱ κ = 0 N ω j , κ Γ ( N κ + 1 ) Γ ( N κ + μ + 1 ) t i N κ + μ .

2.3. Matrix Representation of Fractional Derivative

Definition 1
([5]). Let μ R + and m : = μ N ( . denotes the ceiling function). The Caputo fractional derivative is denoted by
D t μ c ( w ) ( t ) : = 1 Γ ( m μ ) 0 t f ( m ) ( ζ ) d ζ ( t ζ ) μ m + 1 = : I 0 m μ D m ( w ) ( t ) ,
where D m : = d m d t m .
Lemma 2
(cf Corollary 2.3 (a), [5]). Let μ R + , m : = μ N and μ N 0 . Then, we have
D t μ c ( w ) C 1 Γ ( m μ ) ( m μ + 1 ) w C m .
Taking into account Definition 1 and the operational matrices D and I μ , when the Caputo derivative operator acts on Ψ ( x ) , it follows that
D t μ c ( Ψ ) ( t ) = I 0 m μ D m ( Ψ ( t ) ) D m ( I m μ ) Ψ ( t ) .
So, the operational matrix for the Caputo operator is specified by
D μ = D m ( I m μ ) .

3. Pseudospectral Method and Its Implementation

The present chapter is focused on solving the fractional diffusion equation (FDE) with the Caputo operator using an efficient and accurate scheme based on the pseudospectral method. As mentioned above, we consider the inhomogeneous TFDE
D t μ c ( w ) ( x , t ) = x q ( x ) w ( x , t ) x r ( x ) w ( x , t ) + g ( x , t ) , x [ 0 , 1 ] , t [ 0 , T ] ,
with conditions
w ( x , 0 ) = w 0 ( x ) , x [ 0 , 1 ] , I n i t i a l   c o n d i t i o n ,
w ( 0 , t ) = f 1 ( t ) , w ( 1 , t ) = f 2 ( t ) , t [ 0 , T ] , D i r i c h l e t   b o u n d a r y   c o n d i t i o n s ,
in which 0 < μ 1 , q ( x ) C 1 [ 0 , 1 ] , r ( x ) C [ 0 , 1 ] , and r ( x ) 0 , q ( x ) > 0 ( x [ 0 , 1 ] ). Also, we consider the unknown solution w to be an analytic function. Furthermore, the functions g ( x , t ) , w 0 ( x ) , f 1 ( t ) , and f 2 ( t ) belong to the spaces C ( [ 0 , 1 ] × [ 0 , T ] ) , C [ 0 , 1 ] , and C [ 0 , T ] , respectively. To simplify the analysis, hereafter, we assume that T is equal to 1.
To obtain the pseudospectral discretization of Equation (27), the solution w ( x , t ) is approximated using CCFs as follows:
w ( x , t ) i = 1 N + 1 j = 1 N + 1 w i , j ψ i ( x ) ψ j ( t ) = Ψ T ( x ) W Ψ ( t ) = w N ( x , t ) ,
where the ( N + 1 ) -dimensional square matrix W consists of the unknowns { w i , j } i , j = 1 N + 1 . Substituting w N instead of w in (27), we have
D t μ c ( w N ) ( x , t ) = x q ( x ) w N ( x , t ) x r ( x ) w N ( x , t ) + g ( x , t ) .
Now, we estimate each term in (31) as follows:
  • Taking into account the representation of CFD based on CCFs as the operational matrix D μ and (30), one can obtain
    D t μ c ( w N ) ( x , t ) = i = 1 N + 1 j = 1 N + 1 w i , j ψ i ( x ) D t μ c ( ψ j ) ( t ) Ψ T ( x ) W D μ Ψ ( t ) : = w N , μ ( x , t ) .
  • The first step in approximating the second term is to estimate w N x as
    w N ( x , t ) x = i = 1 N + 1 j = 1 N + 1 w i , j D ( ψ i ) ( x ) ψ j ( t ) Ψ T ( x ) D T W Ψ ( t ) : = w N , x ( x , t ) .
    Similarly, we can approximate 2 w N x 2 as follows:
    2 w N ( x , t ) x 2 = i = 1 N + 1 j = 1 N + 1 w i , j ψ j ( t ) D 2 ( ψ i ) ( x ) Ψ T ( x ) D T 2 W Ψ ( t ) : = w N , x , x ( x , t ) .
    Motivated by the second term, we have
    x q ( x ) w N ( x , t ) x = q ( x ) x w N ( x , t ) x + q ( x ) 2 w N ( x , t ) x 2 q ( x ) x w N , x ( x , t ) + q ( x ) w N , x , x ( x , t ) .
Substituting (33) and (35) into Equation (31) leads to the introduction of the residual function
r ( x , t ) = w N , μ ( x , t ) q ( x ) x w N , x ( x , t ) q ( x ) w N , x , x ( x , t ) + r ( x ) w N ( x , t ) g ( x , t ) .
Selecting the roots of T N + 1 * (Shifted Chebyshev polynomial) as the collocation points which are outlined in the introductory Section 2, and we denote them as ( t i , t j ) , i , j N , Equation (35) reduces to a linear system:
R i , j = r ( t i , t j ) = 0 , i , j = 1 , , N .
In order to apply the boundary and initial conditions (28) and (29), we replace some equations of (37) by
( R ) i , 1 : = w N ( t i , 0 ) w 0 ( t i ) , ( R ) 1 , j : = w N ( 0 , t j ) f 1 ( t j ) , i , j = 1 , , N , ( R ) N , j : = w N ( 1 , t j ) f 2 ( t j ) ,
This leads to a new linear system
Υ W ¯ = G ¯ ,
in which G ¯ and W ¯ are the matrix-to-vector conversion by rows of the matrices G and W whose elements are
( G ) i , j = g ( t i , t j ) , i = 2 , , N 1 , j = 2 , , N , ( G ) i , 1 = w 0 ( t i ) , i = 1 , , N , ( G ) 1 , i = f 1 ( t j ) , j = 1 , , N , ( G ) N , i = f 2 ( t j ) , j = 1 , , N .
By implementing the GMRES (generalized minimal residual) method [39], we obtain the matrix W ¯ .
The method is summarized algorithmically in the following steps:
(1)
Choose N;
(2)
Construct the Chebyshev cardinal polynomials of order N (refer to Equation (6));
(3)
Compute the CFD of Chebyshev cardinal polynomials D 0 μ c ( Ψ ) (refer to Equation (26));
(4)
Approximate w ( x , t ) using w N ( x , t ) (refer to Equation (30));
(5)
Put w N ( x , t ) back into (27) and compute the residual r ( x , t ) (refer to Equation (36));
(6)
Obtain the system Υ W ¯ = G ¯ ;
(7)
Solve the system using the GMRES method.

4. Numerical Results

By providing some numerical simulations, the effectiveness of the present method is can showcased. These examples demonstrate how the method can provide practical solutions to various problems. To provide an overview of the method’s efficiency, tables and figures report absolute error
e N = w ( x , t ) w N ( x , t ) ,
L 2 -error
L 2 e r r o r = 0 1 | w ( t ) w N ( t ) | 2 1 / 2 ,
and L -error
L e r r o r = max x [ 0 , 1 ] ( max t [ 0 , 1 ] | w ( x , t ) w N ( x , t ) | ) .
All examples were run on the combined use of Maple and Matlab software (version R2022a) with an Intel(R) Core(TM) i7-7700k CPU 4.20 GHz (RAM 32 GB). To obtain a higher precision, we increased the precision beyond 50 digits.
Example 1.
As the first example, we utilized the presented scheme for IFDE (27)
D t μ c ( w ) ( x , t ) = 2 x 2 w ( x , t ) w ( x , t ) + g ( x , t ) ,
with
g ( x , t ) = ( 1 / Γ ( 4 μ ) ) ( μ 2 + 5 μ 6 ) t 1 μ + 6 t 3 μ + ( π 2 + 1 ) t 3 + ( π 2 1 ) t Γ ( 4 μ ) sin ( π x ) .
For this equation, the initial and Dirichlet boundary conditions
w ( x , 0 ) = 0 , w ( 0 , t ) = w ( 1 , t ) = 0 , x , t [ 0 , 1 ] ,
were considered. According to [33], w ( x , t ) = sin ( π x ) ( t 3 t ) is the exact solution.
Table 1 shows the CPU time and L 2 and L errors considering different values of μ and N. The results obtained showcase the capability and effectiveness of the method. The convergence of the proposed scheme is also verified via the presented results. To provide more evidence for the capability of the presented method, the results of this work are compared with those of a kernel-based method [33] in Table 2. The approximate solution and related absolute errors for μ = 0.2 are plotted in Figure 1. The values of the L -error and L 2 -error for μ = 0.2 versus N are illustrated in Figure 2.
Example 2.
The following IFDE is solved:
D t 0.4 c ( w ) ( x , t ) = ( 1 + x 2 ) 2 x 2 w ( x , t ) ( 1 + x ) w ( x , t ) + g ( x , t ) ,
with
g ( x , t ) = t 0.6 e x 1 1 + x + Γ 1.6 x 3 4 x 2 + x 2 e x + x 2 1 t Γ 1.6
For this equation, the Dirichlet boundary and initial conditions
w ( 0 , t ) = w ( 1 , t ) = 0 , w ( x , 0 ) = 0 , x , t [ 0 , 1 ] ,
are considered. According to [33], the exact solution is w ( x , t ) = t e x 1 1 x .
Table 3 shows the CPU time, L 2 -error, and L -error for different values of N. It is worth realizing that the error tends to zero as N . Moreover, Figure 3 is depicted to showcase the method’s convergence. To compare the obtained results via the present scheme and the kernel-based method [33], Table 4 is tabulated. The L 2 -error at different times versus the number of bases N is reported in Table 5.
Example 3.
To illustrate the accuracy of the method, the following equation from [33] is considered:
D t μ c ( w ) ( x , t ) = 2 x 2 w ( x , t ) w ( x , t ) + g ( x , t ) ,
with
g ( x , t ) = t 2 x 2 + 2 t 2 x + 2 t 2 2 t 2 α x 2 + x Γ 3 α
For this equation, the initial and Dirichlet boundary conditions
w ( x , 0 ) = 0 , x [ 0 , 2 ] , w ( 0 , t ) = w ( 2 , t ) = 0 , t [ 0 , 1 ] ,
are considered. It follows from [33] that w ( x , t ) = t 2 x 2 x is the exact solution.
For this equation, the exact solution is obtained using the proposed scheme. To show this, the L 2 -error with N = 3 at different times is demonstrated in Table 6.
Example 4.
Consider the following time-fractional diffusion equation:
D t μ c ( w ) ( x , t ) = 2 x 2 w ( x , t ) w ( x , t ) + g ( x , t ) ,
with
g ( x , t ) = Γ ( 5 / 2 ) Γ ( 5 / 2 μ ) t 3 / 2 μ x ( 1 x ) t 3 / 2 ( x 2 x 2 )
For this equation, the initial and Dirichlet boundary conditions
w ( x , 0 ) = 0 , x [ 0 , 1 ] , w ( 0 , t ) = w ( 1 , t ) = 0 , t [ 0 , 1 ] ,
are considered. The exact solution is w ( x , t ) = t 3 / 2 x 1 x .
Table 7 shows the CPU time, L 2 -error, and L -error for different values of N and μ = 0.5 . This table shows the convergence of the method. The approximate solution and related absolute error for N = 14 and μ = 0.5 are plotted in Figure 4.
Example 5.
The following IFDE is solved:
D t μ c ( w ) ( x , t ) = 2 x 2 w ( x , t ) + g ( x , t ) ,
with
g ( x , t ) = sin ( π x ) π 2 t 2 + 2 Γ ( 3 μ ) t 2 μ .
For this equation, the Dirichlet boundary and initial conditions
w ( 0 , t ) = w ( 1 , t ) = 0 , w ( x , 0 ) = 0 , x , t [ 0 , 1 ] ,
are considered. Motivated by [40], the exact solution is w ( x , t ) = sin ( π x ) t 2 .
Table 8 demonstrates the CPU time, L 2 -error, and L -error for different values of N and μ . To compare the presented method and the finite difference method, Table 9 is tabulated. It can be seen that the proposed method provides a better result with a lower computational cost. The approximate solution and related absolute error for μ = 0.7 are plotted in Figure 5.

5. Conclusions

The pseudospectral method is widely recognized as a highly effective and efficient technique for solving various equations. On the other hand, according to their inherent properties, Chebyshev cardinal polynomials are highly effective and powerful bases in numerical techniques. Hence, in this study, the spectral method based on Chebyshev bases is considered to address the time-fractional diffusion equation. Using the operational matrix of fractional derivatives in the Caputo sense, the desired equation is reduced to an algebraic linear system. The GMRES method is applied to solve this system. The results obtained are very accurate, and in certain instances, the exact solution is achieved. By solving some numerical examples, it is demonstrated that the proposed method is effective and yields superior outcomes compared to existing methods for addressing this problem.
In the future, this numerical approach to solving generalized fractional models will be expanded, including the space-fractional advection–diffusion equation [41] and time-fractional diffusion equations with a time-invariant-type variable order [42], etc.

Funding

This project was supported by Researchers Supporting Project number (RSP2024R210), King Saud University, Riyadh, Saudi Arabia.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The writers state that they have no known personal relationships or competing financial interests that could have appeared to affect the work reported in this paper.

References

  1. Axtell, M.; Bise, M.E. Fractional calculus application in control systems. In Proceedings of the IEEE Conference on Aerospace and Electronics, Dayton, OH, USA, 21–25 May 1990; pp. 563–566. [Google Scholar]
  2. Rico-Ramirez, V.; Martinez-Lizardo, J.; Iglesias-Silva, G.A.; Hernandez-Castro, S.; Diwekar, U.M. A Fractional Calculus Application to Biological Reactive Systems. Comput. Aided Chem. Eng. 2012, 30, 1302–1306. [Google Scholar]
  3. Diethelm, K. The Analysis of Fractional Differential Equations; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  4. Hilfer, R. Application of Fractional Calculus in Physics; World Scientific: Singapore, 2000. [Google Scholar]
  5. Kilbas, A.; Srivastava, H.M.; Trujillo, J.J. Theory and Applications of Fractional Differential Equations; Elsevier B. V.: Amsterdam, The Netherlands, 2006. [Google Scholar]
  6. Ortigueira, M.D. Fractional Calculus for Scientists and Engineer: Lecture Notes in Electrical Engineering; Springer: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
  7. Arif, M.; Ali, F.; Khan, I.; Nisar, K.S. A time fractional model with non-singular kernel the generalized couette flow of couple stress nanofluid. IEEE Access 2020, 8, 77378–77395. [Google Scholar] [CrossRef]
  8. Chang, A.; Sun, H.; Zheng, C.; Bingqing, L.; Chengpeng, L.; Rui, M.; Yong, Z. A Time Fractional Convection-Diffusion Equation to Model Gas Transport through Heterogeneous Soil and Gas Reservoirs. Physica A 2018, 502, 356–369. [Google Scholar] [CrossRef]
  9. Tenreiro, M.; Silva, M.F.; Barbosa, R.S.; Jesus, I.S.; Reis Cecília, M.; Marcos, M.G.; Galhano, A.F. Some Applications of Fractional Calculus in Engineering. Math. Probl. Eng. 2010, 2010, 1–34. [Google Scholar] [CrossRef]
  10. Mainardi, F. Fractional Calculus and Waves in Linear Viscoelasticity; Imperial College Press: London, UK, 2010. [Google Scholar]
  11. Asadzadeh, M.; Saray, B.N. On a multiwavelet spectral element method for integral equation of a generalized Cauchy problem. BIT 2022, 62, 383–1416. [Google Scholar] [CrossRef]
  12. Gupta, A.K.; Saha Ray, S. Wavelet methods for solving fractional order differential equations. Math. Probl. Eng. 2014, 2014, 140453. [Google Scholar] [CrossRef]
  13. Thanh Toan, P.; Vo, T.N.; Razzaghi, M. Taylor wavelet method for fractional delay differential equations. Eng. Comput. 2021, 37, 231–240. [Google Scholar] [CrossRef]
  14. Daftardar-Gejji, V.; Jafari, A. Adomian decomposition: A tool for solving a system of fractional differential equations. J. Math. Anal. Appl. 2005, 301, 508–518. [Google Scholar] [CrossRef]
  15. Benkerrouche, B.; Baleanu, D.; Souid, M.S.; Hakem, A.; Inc, M. Boundary value problem for nonlinear fractional differential equations of variable order via Kuratowski MNC technique. Adv. Differ. Equ. 2021, 2021, 365. [Google Scholar] [CrossRef]
  16. Lakestani, M.; Dehghan, M. The use of Chebyshev cardinal functions for the solution of a partial differential equation with an unknown time-dependent coefficient subject to an extra measurement. J. Comput. Appl. Math. 2010, 235, 669–678. [Google Scholar] [CrossRef]
  17. Fix, G.J.; Roop, J.P. Least squares finite element solution of a fractional order two-point boundary value problem. Comput. Math. Appl. 2004, 48, 1017–1033. [Google Scholar] [CrossRef]
  18. Maji, S.; Natesan, S. Adaptive-grid technique for the numerical solution of a class of fractional boundary-value-problems. Comput. Methods Differ. Equ. 2010, 12, 338–349. [Google Scholar]
  19. Garrappa, R. On some explicit Adams multistep methods for fractional differential equations. J. Comput. Appl. Math. 2009, 229, 392–399. [Google Scholar] [CrossRef]
  20. Khader, M.M.; Saad, K.M. A numerical approach for solving the fractional Fisher equation using Chebyshev spectral collocation method. Chaos Solitons Fractals 2018, 110, 169–177. [Google Scholar] [CrossRef]
  21. Pourbabaee, M.; Saadatmandi, A. Collocation method based on Chebyshev polynomials for solving distributed order fractional differential equations. Comput. Methods Differ. Equ. 2021, 9, 858–873. [Google Scholar]
  22. Sokolov, I.M.; Klafter, J.; Blumen, A. Ballistic versus diffusive pair-dispersion in the Richardson regime. Phys. Rev. E 2000, 61, 2717–2722. [Google Scholar] [CrossRef]
  23. Gorenflo, R.; Mainardi, F.; Moretti, D.; Pagnini, G.; Paradisi, P. Discrete random walk models for space-time fractional diffusion. Chem. Phys. 2002, 284, 521–541. [Google Scholar] [CrossRef]
  24. Szabo, T.L.; Wu, J. A model for longitudinal and shear wave propagation in viscoelastic media. J. Acoust. Soc. Am. 2000, 107, 2437–2446. [Google Scholar] [CrossRef] [PubMed]
  25. Del-Castillo-Negrete, D.; Carreras, B.A.; Lynch, V.E. Front dynamics in reaction–diffusion systems with Lévy flights: A fractional diffusion approach. Phys. Rev. Lett. 2003, 91, 018301–018304. [Google Scholar] [CrossRef]
  26. Scher, H.; Montroll, E.W. Anomalous transit-time dispersion in amorphous solids. Phys. Rev. B 1975, 12, 2455–2477. [Google Scholar] [CrossRef]
  27. Chang, F.X.; Chen, J.; Huang, W. Anomalous diffusion and fractional advection–diffusion equation. Acta Phys. Sin. 2005, 54, 1113–1117. [Google Scholar] [CrossRef]
  28. Chen, W. Time-space fabric underlying anomalous diffusion. Soliton Fractal Chaos 2006, 28, 923–929. [Google Scholar] [CrossRef]
  29. Wyss, W. The fractional diffusion equation. J. Math. Phys. 1986, 27, 2782–2785. [Google Scholar] [CrossRef]
  30. Podlubny, I. Fractional Differential Equations; Academic Press: San Diego, CA, USA, 1999. [Google Scholar]
  31. Meerschaert, M.; Tadjeran, C. Finite difference approximations for fractional advection–dispersion flow equations. J. Comput. Appl. Math. 2004, 172, 65–77. [Google Scholar] [CrossRef]
  32. Chen, W.; Ye, L.; Sun, H. Fractional diffusion equations by the Kansa method. Comput. Math. Appl. 2010, 59, 1614–1620. [Google Scholar] [CrossRef]
  33. Fardi, M. A kernel-based method for solving the time-fractional diffusion equation. Numer. Methods Partial. Differ. Equ. 2023, 39, 2719–2733. [Google Scholar] [CrossRef]
  34. Afarideh, A.; Dastmalchi Saei, F.; Lakestani, M.; Saray, B.N. Pseudospectral method for solving fractional Sturm-Liouville problem using Chebyshev cardinal functions. Phys. Scr. 2021, 96, 125267. [Google Scholar] [CrossRef]
  35. Boyd, J.P. Chebyshev and Fourier Spectral Methods, Dover Publications, 2nd ed.; Revised; Dover Publications: Mineola, NY, USA, 2001. [Google Scholar]
  36. Shahriari, M.; Saray, B.N.; Mohammadalipour, B.; Saeidian, S. Pseudospectral method for solving the fractional one-dimensional Dirac operator using Chebyshev cardinal functions. Phys. Scr. 2023, 98, 055205. [Google Scholar] [CrossRef]
  37. Afarideh, A.; Dastmalchi Saei, F.; Saray, B.N. Eigenvalue problem with fractional differential operator: Chebyshev cardinal spectral method. J. Math. Model. 2021, 11, 343–355. [Google Scholar]
  38. Sayevand, K.; Arab, H. An efficient extension of the Chebyshev cardinal functions for differential equations with coordinate derivatives of non-integer order. Comput. Methods Differ. Equ. 2018, 6, 339–352. [Google Scholar]
  39. Saad, Y.; Schultz, M.H. GMRES: A generalized minimal residual method for solving nonsymmetric linear systems. SIAM J. Sci. Stat. Comput. 1986, 7, 856–869. [Google Scholar] [CrossRef]
  40. Zhang, Y.N.; Sun, Z.Z.; Liao, H.L. Finite difference methods for the time fractional diffusion equation on non-uniform meshes. J. Comput. Phys. 2014, 265, 195–210. [Google Scholar] [CrossRef]
  41. Zheng, Y.; Lia, C.; Zhaoa, Z. A note on the finite element method for the space-fractional advection diffusion equation. Comput. Math. Appl. 2010, 59, 1718–1726. [Google Scholar] [CrossRef]
  42. Gu, X.M.; Sun, H.W.; Zhao, Y.L.; Zheng, X. An implicit difference scheme for time-fractional diffusion equations with a time-invariant type variable order. Appl. Math. Lett. 2021, 120, 107270. [Google Scholar] [CrossRef]
Figure 1. Approximate solution and absolute errors (Example 1).
Figure 1. Approximate solution and absolute errors (Example 1).
Mathematics 12 01965 g001
Figure 2. Plot of L 2 -error and L -error for different values of N (convergence confirmation) (Example 1).
Figure 2. Plot of L 2 -error and L -error for different values of N (convergence confirmation) (Example 1).
Mathematics 12 01965 g002
Figure 3. Plot of L 2 -error and L -error versus the number of bases N (convergence confirmation) (Example 2).
Figure 3. Plot of L 2 -error and L -error versus the number of bases N (convergence confirmation) (Example 2).
Mathematics 12 01965 g003
Figure 4. Approximate solution and L -error for N = 14 (Example 4).
Figure 4. Approximate solution and L -error for N = 14 (Example 4).
Mathematics 12 01965 g004
Figure 5. Approximate solution and absolute errors, taking μ = 0.7 for Example 5.
Figure 5. Approximate solution and absolute errors, taking μ = 0.7 for Example 5.
Mathematics 12 01965 g005
Table 1. CPU time, L 2 -error, and L -error for different values of μ and N (Example 1).
Table 1. CPU time, L 2 -error, and L -error for different values of μ and N (Example 1).
N579111315
μ = 0.2 L 2 -error 7.66 × 10 04 8.17 × 10 06 5.51 × 10 08 2.55 × 10 10 8.57 × 10 13 2.19 × 10 15
L -error 1.50 × 10 03 1.46 × 10 05 5.72 × 10 08 4.50 × 10 10 1.40 × 10 12 4.48 × 10 15
CPU   time 0.109 0.250 0.679 0.906 2.890 6.563
μ = 0.6 L 2 -error 7.83 × 10 04 8.36 × 10 06 5.54 × 10 08 2.56 × 10 10 8.62 × 10 13 2.20 × 10 15
L -error 1.50 × 10 03 1.48 × 10 05 8.72 × 10 08 4.53 × 10 10 1.40 × 10 12 4.49 × 10 15
CPU   time 0.109 0.164 0.219 1.203 2.250 5.515
μ = 0.9 L 2 -error 8.01 × 10 04 8.43 × 10 06 5.67 × 10 08 2.62 × 10 10 8.82 × 10 13 2.26 × 10 15
L -error 1.50 × 10 03 1.50 × 10 05 8.97 × 10 08 4.60 × 10 10 1.41 × 10 12 4.53 × 10 15
CPU   time 0.063 0.125 0.235 1.062 2.796 6.250
Table 2. Comparison between the kernel-based method versus the proposed scheme (Example 1).
Table 2. Comparison between the kernel-based method versus the proposed scheme (Example 1).
Proposed Method [33]
N = 10 N = 15 N = 20 N = 100
μ = 0.2 L 2 -error 2.20 × 10 09 4.60 × 10 16 8.30 × 10 04 8.85 × 10 05
L -error 2.89 × 10 09 6.11 × 10 16 1.20 × 10 04 1.94 × 10 05
μ = 0.6 L 2 -error 3.77 × 10 09 8.95 × 10 16 8.90 × 10 03 1.01 × 10 03
L -error 5.91 × 10 09 1.10 × 10 15 1.96 × 10 03 2.23 × 10 04
μ = 0.9 L 2 -error 1.09 × 10 08 1.09 × 10 15 3.61 × 10 02 5.63 × 10 03
L -error 1.70 × 10 08 1.65 × 10 15 7.97 × 10 03 1.25 × 10 03
Table 3. CPU time, L 2 –error, and L –error for different values of N (Example 2).
Table 3. CPU time, L 2 –error, and L –error for different values of N (Example 2).
N579111315
L 2 -error 3.81 × 10 05 7.98 × 10 08 8.98 × 10 11 6.27 × 10 14 2.99 × 10 17 1.03 × 10 20
L -error 1.44 × 10 04 2.34 × 10 07 2.05 × 10 10 1.72 × 10 13 8.36 × 10 17 3.64 × 10 20
CPU   time 0.375 0.515 3.469 8.844 27.015 99.766
Table 4. Comparison between the kernel-based method versus the proposed scheme (Example 2).
Table 4. Comparison between the kernel-based method versus the proposed scheme (Example 2).
Proposed Method [33]
N = 10 N = 15 N = 20 N = 100
L 2 -error 3.52 × 10 12 1.03 × 10 20 5.53 × 10 04 2.33 × 10 05
L -error 8.46 × 10 12 3.64 × 10 20 1.26 × 10 04 1.94 × 10 05
Table 5. L -error for different choices of N at different times (Example 2).
Table 5. L -error for different choices of N at different times (Example 2).
t N 579111315
0.2 1.30 × 10 05 2.74 × 10 08 3.08 × 10 11 2.15 × 10 14 1.03 × 10 17 3.53 × 10 21
0.4 2.62 × 10 05 5.49 × 10 08 6.19 × 10 11 4.32 × 10 14 2.06 × 10 17 7.10 × 10 21
0.6 3.93 × 10 05 8.28 × 10 08 9.30 × 10 11 6.51 × 10 14 3.10 × 10 17 1.07 × 10 20
0.8 4.59 × 10 05 1.10 × 10 07 1.24 × 10 10 8.69 × 10 14 4.13 × 10 17 1.43 × 10 20
1.0 5.97 × 10 05 1.42 × 10 07 1.60 × 10 10 1.12 × 10 13 5.36 × 10 17 1.85 × 10 20
Table 6. L 2 -error and L -error at different times with N = 3 (Example 3).
Table 6. L 2 -error and L -error at different times with N = 3 (Example 3).
t 0.2 0.4 0.6 0.8 0.9 1.0
L 2 -error 7.17 × 10 50 6.37 × 10 50 9.58 × 10 50 3.91 × 10 49 6.27 × 10 49 8.71 × 10 49
L -error 6.98 × 10 50 2.33 × 10 49 2.00 × 10 50 6.40 × 10 49 1.67 × 10 48 2.30 × 10 48
Table 7. CPU time, L 2 -error, and L -error for different values of N (Example 4).
Table 7. CPU time, L 2 -error, and L -error for different values of N (Example 4).
N101112131415
L 2 -error 8.21 × 10 04 5.30 × 10 04 2.85 × 10 04 9.52 × 10 05 6.33 × 10 05 1.25 × 10 05
L -error 9.68 × 10 04 6.48 × 10 04 4.65 × 10 04 1.72 × 10 04 8.87 × 10 05 3.91 × 10 05
CPU   time 0.625 1.204 1.875 2.922 5.312 11.209
Table 8. CPU time, L 2 -error, and L -error for different values of N (Example 5).
Table 8. CPU time, L 2 -error, and L -error for different values of N (Example 5).
N789101112
μ = 0.7 L 2 -error 1.32 × 10 05 5.25 × 10 06 8.92 × 10 08 3.76 × 10 08 4.13 × 10 10 1.81 × 10 10
L -error 3.83 × 10 05 1.67 × 10 05 2.32 × 10 07 1.22 × 10 07 1.19 × 10 09 5.15 × 10 10
CPU   time 0.359 0.203 0.250 0.562 0.813 1.500
μ = 0.9 L 2 -error 1.29 × 10 05 5.13 × 10 06 8.69 × 10 08 2.67 × 10 08 4.02 × 10 10 1.76 × 10 10
L -error 3.80 × 10 05 1.64 × 10 05 2.28 × 10 07 1.20 × 10 07 1.17 × 10 09 5.04 × 10 10
CPU   time 0.125 0.188 0.563 0.750 1.062 1.609
Table 9. Comparison between the finite difference method and the proposed scheme (Example 5).
Table 9. Comparison between the finite difference method and the proposed scheme (Example 5).
Proposed Method Finite Difference Method
N = 7 N = 9 Δ x = 0 . 01 , Δ t = 1 / 90 Δ x = 0 . 01 , Δ t = 1 / 270
μ = 0.7 L -error 3.83 × 10 05 2.32 × 10 07 1.83 × 10 04 4.41 × 10 05
CPU   time 0.359 0.250 7.9142 71.6312
μ = 0.9 L -error 3.80 × 10 05 2.28 × 10 07 6.21 × 10 04 1.86 × 10 04
CPU   time 0.125 0.563 8.0382 72.5664
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Bin Jebreen, H. A Highly Accurate Computational Approach to Solving the Diffusion Equation of a Fractional Order. Mathematics 2024, 12, 1965. https://doi.org/10.3390/math12131965

AMA Style

Bin Jebreen H. A Highly Accurate Computational Approach to Solving the Diffusion Equation of a Fractional Order. Mathematics. 2024; 12(13):1965. https://doi.org/10.3390/math12131965

Chicago/Turabian Style

Bin Jebreen, Haifa. 2024. "A Highly Accurate Computational Approach to Solving the Diffusion Equation of a Fractional Order" Mathematics 12, no. 13: 1965. https://doi.org/10.3390/math12131965

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