Next Article in Journal
Numerical Performance of the Fractional Direct Spreading Cholera Disease Model: An Artificial Neural Network Approach
Next Article in Special Issue
Lp(Lq)-Maximal Regularity for Damped Equations in a Cylindrical Domain
Previous Article in Journal
Securing Bipartite Nonlinear Fractional-Order Multi-Agent Systems against False Data Injection Attacks (FDIAs) Considering Hostile Environment
Previous Article in Special Issue
Split-Step Galerkin FE Method for Two-Dimensional Space-Fractional CNLS
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Spectral Galerkin Methods for Riesz Space-Fractional Convection–Diffusion Equations

Department of Mathematics, Shanghai University, Shanghai 200444, China
*
Author to whom correspondence should be addressed.
Fractal Fract. 2024, 8(7), 431; https://doi.org/10.3390/fractalfract8070431
Submission received: 11 June 2024 / Revised: 11 July 2024 / Accepted: 19 July 2024 / Published: 22 July 2024

Abstract

:
This paper applies the spectral Galerkin method to numerically solve Riesz space-fractional convection–diffusion equations. Firstly, spectral Galerkin algorithms were developed for one-dimensional Riesz space-fractional convection–diffusion equations. The equations were solved by discretizing in space using the Galerkin–Legendre spectral approaches and in time using the Crank–Nicolson Leap-Frog (CNLF) scheme. In addition, the stability and convergence of semi-discrete and fully discrete schemes were analyzed. Secondly, we established a fully discrete form for the two-dimensional case with an additional complementary term on the left and then obtained the stability and convergence results for it. Finally, numerical simulations were performed, and the results demonstrate the effectiveness of our numerical methods.

1. Introduction

Fractional calculus theory is a generalization of traditional calculus theory that extends the order of derivatives from integers to real numbers. Compared with conventional differential equations, fractional differential equations can better simulate physical processes in nature due to the non-locality of the fractional derivatives. Fractional differential equations have been extensively researched in various fields, including mechanics, statistics, physics, biology, economics, and finance [1,2,3,4,5,6,7,8].
Fractional differential equations are typically challenging to solve due to the non-locality of fractional differential operators. Some fractional differential equations can be solved using the Fourier transform, Laplace transform, Mellin transform, or Green function [9,10,11,12]. However, these solutions typically involve complex and specialized functions that are challenging to calculate, such as Mittag-Leffler functions, Wright functions, hypergeometric functions, etc. As a matter of fact, for the vast majority of fractional differential equations, the analytical solution cannot be found. Therefore, it is crucial to develop efficient and stable numerical algorithms for them. Numerical algorithms for fractional differential equations mainly include the finite difference method, finite element method, and spectral method. The spectral method differs from the first two methods in that it utilizes trigonometric functions or orthogonal polynomials as basis functions for numerical approximation, which contributes to its high convergence. The higher the regularity of the true solution, the smaller the error of the numerical solution. If the exact solution of the equation is infinitely smooth, then the spectral method can achieve convergence accuracy of “infinite order”. In 1994, Blinova proposed the concept of spectral methods. In the 1980s, Gottlieb et al. extended the spectral method to solve a wide range of problems and conducted systematic theoretical analysis. In the 1990s, spectral methods were widely used in fluid mechanics calculations [13].
The fractional convection–diffusion equation is a significant application of fractional partial differential equations and is extensively utilized in science and engineering. Fractional differential equations can be directly used to describe anomalous diffusion phenomena [14]. The non-Gaussian diffusion process can be described using fractional derivatives, such as the Caputo fractional derivative, the Riemann–Liouville fractional derivative, or the Riesz fractional derivative [15,16]. In general, the Caputo derivative is often used in the temporal domain to represent the historical dependence in the time direction. The Riemann–Liouville derivatives or Riesz fractional derivatives are often used in the spatial direction to characterize long-distance interactions [17,18,19,20].
The Riesz fractional derivatives on a finite domain [ a , b ] are defined as follows:
γ u | x | γ = c γ D x γ a u + D b γ x u , 0 < γ < 2 , γ 1 ,
where c γ = 1 / ( 2 cos ( γ π / 2 ) ) , and for n 1 γ < n , n N , the operators D x γ a , D b γ x are
D x γ a u = 1 Γ ( n γ ) n x n a x u ( s ) ( x s ) γ n + 1 d s , D b γ x u = ( 1 ) n Γ ( n γ ) n x n x b u ( s ) ( s x ) γ n + 1 d s .
From the above definition, we can see that the Riesz fractional derivative includes both left and right Riemann–Liouville fractional derivatives. This indicates that a state depends on information not only on the left side but also on the right side. For more details, please refer to [1].
There have been numerous studies on the numerical solution of fractional-order (convection–) diffusion equations: Sun [21] used the L 1 formula to approximate the time derivative and presented a difference scheme for the Caputo time-fractional diffusion-wave equation. Liu [22] proposed a random walk model to approximate the Lévy–Feller advection–dispersion process and provided an explicit finite difference approximation of the equation. Shen [23] used the shifted Grünward–Letnikov formula to approximate the spatial-fractional derivative, and the L 1 formula to approximate the temporal fractional derivative. Shen provided explicit and implicit differences for the space–time Riesz-Caputo fractional advection–diffusion equation. Zhou [24] proposed a compact finite difference scheme for the space-fractional diffusion equation. Wang [25] proposed a fast characteristic finite difference method for solving space-fractional advection–diffusion equations. Huang [26] provided the finite element solution for the fractional advection–dispersion equation. Lai [27] obtained a space–time finite element method for linear Riesz space-fractional partial differential equations. Tang [28] proposed the discontinuous Galerkin method combined with the Runge–Kutta method for solving the spatial-fractional diffusion equation. Bhrawy [29] utilized the shifted Jacobi polynomial as the basis function to construct a matrix of fractional differential operators and proposed a Jacobi spectral collocation method for nonlinear fractional sub-diffusion equations. Afterward, Bhrawy [30] introduced the spectral tau method for the two-sided space–time Caputo fractional diffusion-wave equation. This method utilized the shifted Legendre polynomial as the basis function to construct a fractional differential matrix. Saadatmandi [31] utilized the Sinc–Legendre configuration method to provide a numerical approximation of a series of variable-coefficient fractional convection–diffusion equations.
For the convection–diffusion equation with Riesz fractional derivatives, Shen [32] utilized the Laplace transform and Fourier transform to derive the exact solution of the Riesz space-fractional convection–diffusion equation. Additionally, the finite difference formulation is provided using the Grünward–Letnikov formula. Yang [33] established the relationship between the Laplace operator and the Riesz fractional differential operator and used the eigenequation Δ ϕ = λ ϕ to derive the analytical solution of the Riesz spatial diffusion equation. Moreover, the L 1 / L 2 approximation method, the displacement Grünward formula method, and the matrix transformation method (MTM) were employed to approximate the fractional derivative. Zhang [34] proposed the Galerkin finite element approximation of the Riesz space-fractional convection–diffusion equation. Celik [35] presented the Crank–Nicolson method for solving the Riesz space-fractional diffusion equation. Zeng [36] proposed the Crank–Nicolson Alternating Direction Implicit (ADI) method for solving the Riesz nonlinear reaction–diffusion equation. Anley [37] discussed the finite difference method for a two-sided two-dimensional space-fractional convection–diffusion problem with a source term. Basha [38] derived a linearized Crank–Nicolson scheme for the two-dimensional nonlinear Riesz space-fractional convection–diffusion equation.
Recently, some researchers have been exploring numerical solutions for distribution-order differential equations. For example, Li [39,40] considered the finite volume method for the Riesz spatial distribution-order diffusion equation and the convection–diffusion equation, respectively. Ye [41] presented an implicit difference scheme for time distributed-order and Riesz space-fractional diffusion equations. Zhang [42] proposed the Crank–Nicolson ADI Galerkin–Legendre spectral method for solving the two-dimensional Riesz space distributed-order advection–diffusion equation. Hu [43] introduced a new definition of the spatial derivative and provided the implicit difference scheme for the space-fractional advection–dispersion equation.
In this paper, we consider the below Riesz space-fractional convection–diffusion equations [37,44]:
u ( x , t ) t = i = 1 d K i γ i ( 1 ) u ( x , t ) | x i | γ i ( 1 ) + i = 1 d K d + i γ i ( 2 ) u ( x , t ) | x i | γ i ( 2 ) + f ( x , t ) , ( x , t ) Ω d × I , u ( x , 0 ) = u 0 ( x ) , x Ω d , u ( x , t ) = 0 , ( x , t ) Ω d × I ,
where 0 < γ i ( 1 ) < 1 , 1 < γ i ( 2 ) < 2 , I = ( 0 , T ] is the time interval, Ω d = ( a 1 , b 1 ) × × ( a d , b d ) is the d-dimensional spatial domain, u ( x , t ) denotes the solute concentration, positive numbers of K i , i = 1 , , d denote the fluid velocities in the x i direction, positive numbers of K d + i , i = 1 , , d denote the diffusion coefficients, and f ( x , t ) is the source function.
We aim to apply the spectral Galerkin method to the above Riesz space-fractional convection–diffusion equations when d = 1 and d = 2 and derive a fast and efficient scheme for those equations. This paper is structured as follows. In Section 2, preliminaries for fractional derivatives are introduced. In Section 3 and Section 4, the spectral Galerkin methods for solving one-dimensional and two-dimensional space-fractional convection–diffusion equations are presented, together with the analysis of the stability and convergence, respectively. Several numerical examples are provided in Section 5, and the results of these examples can validate the effectiveness of the proposed algorithms. This paper is summarized in Section 6.

2. Preliminaries

In this section, we will introduce the necessary notations and details in fractional calculus that are used throughout this paper.
Lemma 1.
If n 1 < α < n , x ^ [ 1 , 1 ] , then
D x ^ α 1 ( 1 + x ^ ) δ + α J n γ α , δ + α ( x ^ ) = Γ ( n + δ + α + 1 ) Γ ( n + δ + 1 ) ( 1 + x ) δ J n γ , δ ( x ^ ) , D 1 α x ^ ( 1 x ^ ) γ + α J n γ + α , δ α ( x ^ ) = Γ ( n + γ + α + 1 ) Γ ( n + γ + 1 ) ( 1 x ) γ J n γ , δ ( x ^ ) ,
where J n α , β ( x ^ ) ( α , β > 1 ) is the Jacobi polynomial [45].
According to Lemma 1, the chain rule, and L n ( x ^ ) = J n 0 , 0 ( x ^ ) , we have the following lemma.
Lemma 2.
If n 1 < α < n , x ^ [ 1 , 1 ] , x = ( b a ) x ^ / 2 + ( b + a ) / 2 [ a , b ] , then
D x α a L n ( x ^ ) = 1 Γ ( n α ) d n d x n a x ( x s ) n α 1 L n ( x ^ ) d s = ( b a 2 ) α Γ ( n + 1 ) Γ ( n α + 1 ) ( 1 + x ^ ) α J n α , α ( x ^ ) , x ^ [ 1 , 1 ] , D b α x L n ( x ^ ) = ( 1 ) n Γ ( n α ) d n d x n x b ( s x ) n α 1 L n ( x ^ ) d s = ( b a 2 ) α Γ ( n + 1 ) Γ ( n α + 1 ) ( 1 x ^ ) α J n α , α ( x ^ ) , x ^ [ 1 , 1 ] ,
where L n ( x ^ ) is the Legendre polynomial [45], and J n α , β ( x ^ ) ( α , β > 1 ) is the Jacobi polynomial.
Let d denote the dimensionality of the space. We choose Ω d = ( a 1 , b 1 ) × × ( a d , b d ) R d to be the space domain with d = 1 or d = 2 in this paper. Let L 2 ( Ω d ) denote the L 2 -space on Ω d , with the corresponding inner product being ( · , · ) and the L 2 -norm being · L 2 ( Ω d ) . C 0 ( Ω d ) denotes the space consisting of all infinitely many successive differentiable functions on Ω d with compact support. In the following, we present several function spaces.
Definition 1.
Define the seminorm
| u | J L μ ( Ω d ) = i = 1 d D x i μ a i u ( x ) L 2 ( Ω d ) 2 1 / 2 ,
and the norm
u J L μ ( Ω d ) = u L 2 ( Ω d ) 2 + | u | J L μ ( Ω d ) 2 1 / 2 ,
for μ > 0 . Here, J L μ ( Ω d ) ( J L , 0 μ ( Ω d ) ) denotes the closure of C ( Ω d ) ( C 0 ( Ω d ) ) with respect to · J L μ ( Ω d ) .
Definition 2.
Define the seminorm
| u | J R μ ( Ω d ) = i = 1 d D b i μ x i u ( x ) L 2 ( Ω d ) 2 1 / 2 ,
and the norm
u J R μ ( Ω d ) = u L 2 ( Ω d ) 2 + | u | J R μ ( Ω d ) 2 1 / 2 ,
for μ > 0 . Here, J R μ ( Ω d ) ( J R , 0 μ ( Ω d ) ) denotes the closure of C ( Ω d ) ( C 0 ( Ω d ) ) with respect to · J R μ ( Ω d ) .
Definition 3.
Define the seminorm
| u | J S μ ( Ω d ) = i = 1 d | ( D x i μ a i u ( x ) , D b i μ x i u ( x ) ) | 1 / 2
and the norm
u J S μ ( Ω d ) = u L 2 ( Ω d ) 2 + | u | J S μ ( Ω d ) 1 / 2 ,
for μ > 0 . Here, J S μ ( Ω d ) ( J S , 0 μ ( Ω d ) ) denotes the closure of C ( Ω d ) ( C 0 ( Ω d ) ) with respect to · J S μ ( Ω d ) .
Definition 4
([46]). Define the seminorm
| u | H μ ( Ω d ) = | ω | μ F ( u ) ( ω ) L 2 ( R d )
and the norm
u H μ ( Ω d ) = u L 2 ( Ω d ) 2 + | u | H μ ( Ω d ) 1 / 2 ,
for μ > 0 , where F ( u ) ( ω ) is the Fourier transform of the function u ( x ) . H 0 μ ( Ω d ) denotes the closure of C 0 with respect to · H μ ( Ω d ) .
Lemma 3
([42]). Let μ > 0 and Ω = ( a , b ) , u H 0 μ ( Ω ) , v H 0 μ / 2 ( Ω ) . We have
D x μ a u , v = D x μ / 2 a u , D b μ / 2 x v , D b μ x u , v = D b μ / 2 x u , D x μ / 2 a v .
Lemma 4.
Let μ > 0 , μ n 1 / 2 , n N . The spaces J L , 0 μ ( Ω d ) , J R , 0 μ ( Ω d ) , and J S , 0 μ ( Ω d ) are equivalent to H 0 μ ( Ω d ) and have equivalent norms and seminorms.
Lemma 5
([36]). Let μ > 0 and Ω = ( a , b ) for u J L , 0 μ ( Ω ) J R , 0 μ ( Ω ) ; then,
D x μ a u , D b μ x u = cos ( μ π ) D x μ u ^ L 2 ( R ) 2 = cos ( μ π ) D μ x u ^ L 2 ( R ) 2 ,
where u ^ is the extension of u by zero outside Ω. If μ n 1 / 2 , n N and u J L , 0 μ ( Ω ) , then there exists a constant C independent of u such that
| u ^ | J L μ ( R ) C | u | J L μ ( Ω ) .
Note that there are also results similar to the above lemma for the two-dimensional case. Please refer to [36].
Lemma 6
([36]). Let μ > 0 . If u H 0 μ ( Ω d ) , then there exists a constant C 1 < 1 such that
C 1 u H 0 μ ( Ω d ) | u | H 0 μ ( Ω d ) u H 0 μ ( Ω d ) .

3. Spectral Galerkin Methods for One-Dimensional Riesz Space-Fractional Convection–Diffusion Equation

In this section, we focus on the following one-dimensional Riesz space-fractional convection–diffusion equation for 0 < α 1 < 1 , 1 < α 2 < 2 :
u ( x , t ) t = K 1 α 1 u ( x , t ) | x | α 1 + K 2 α 2 u ( x , t ) | x | α 2 + f ( x , t ) , a < x < b , 0 < t T , u ( x , 0 ) = u 0 ( x ) , a < x < b , u ( a , t ) = u ( b , t ) = 0 , 0 < t T ,
where u ( x , t ) is the solute concentration, K 1 is the diffusion coefficient, K 2 is the fluid velocity, and f ( x , t ) is the source function.
Regarding problem (2), we can first obtain the semi-discrete form in time and then discretize it in space.
In the temporal direction, we utilize the CNLF scheme for discretization. The time step is taken to be τ = T / n T , t n = n τ ( n = 0 , 1 , , n T ) . Equation (2) is approximated at time t n as follows:
u ( x , t n + 1 ) u ( x , t n 1 ) 2 τ = K 1 α 1 | x | α 1 u ( x , t n + 1 ) + u ( x , t n 1 ) 2 + K 2 α 2 | x | α 2 u ( x , t n + 1 ) + u ( x , t n 1 ) 2 + f ( x , t n ) + O ( τ 2 ) ,
where the derivative with respect to time on the left is approximated by using the Leap-Frog scheme, the center average is used for u on the right, and the source function is taken at the value of t n . Let
δ t ^ u n = u n + 1 u n 1 2 τ , u n ¯ = u n + 1 + u n 1 2 ; f n = f ( x , t n ) .
Then, the semi-discrete form of Equation (2) at time t n is
δ t ^ u n = K 1 α 1 | x | α 1 u n ¯ + K 2 α 2 | x | α 2 u n ¯ + f n .
ϕ k ( x ) = L k ( x ^ ) L k + 2 ( x ^ ) , x ^ [ 1 , 1 ] ,
where x = ( b a ) x ^ / 2 + ( b + a ) / 2 [ a , b ] , and L k ( x ^ ) is the Legendre polynomial of degree k, satisfying the following triple-recurrence formula:
L k + 1 ( x ^ ) = 2 k + 1 k + 1 x ^ L k ( x ^ ) k k + 1 ( x ^ ) , x ^ [ 1 , 1 ] , L 0 ( x ^ ) = 1 .
Define V N as the function space spanned by { ϕ k ( x ) } , i.e.,
V N = span { ϕ 0 ( x ) , ϕ 1 ( x ) , ϕ 2 ( x ) , , ϕ N 2 ( x ) } ,
the numerical solution of (2) is then obtained by finding u N n V N such that v V N satisfies
( δ t ^ u N n , v ) = K 1 ( α 1 | x | α 1 u N n ¯ , v ) + K 2 ( α 2 | x | α 2 u N n ¯ , v ) + ( f n , v ) , u N 0 = Π N 1 , 0 u 0 ,
where Π N 1 , 0 is the projection operator, which is defined as follows:
Π N 1 , 0 u u , v + x ( Π N 1 , 0 u u ) , x v = 0 , v V N .
Because u N n is in the space of V N , u N n can be written as
u N n ( x ) = j = 0 N 2 u ^ j n ϕ j ( x ) .
Substituting u N n and v in (6) by the right-hand side of (7), we obtain the following system of linear equations:
( M τ S ) U n + 1 = ( M + τ S ) U n 1 + 2 τ F n ,
where
( M ) i j = ( ϕ j , ϕ i ) , ( S ) i j = K 1 c α 1 ( S α 1 + ( S α 1 ) T ) + K 2 c α 2 ( S α 2 + ( S α 2 ) T ) , ( S α k ) i j = D x α k / 2 a ϕ j , D b α k / 2 x ϕ i , U n + 1 = ( u ^ 0 n + 1 , u ^ 1 n + 1 , u ^ 2 n + 1 , , u ^ N 2 n + 1 ) T , U n 1 = ( u ^ 0 n 1 , u ^ 1 n 1 , u ^ 2 n 1 , , u ^ N 2 n 1 ) T , F n = ( F 0 n , F 1 n , F 2 n , , F N 2 n ) T , F i n = ( f ( · , t n ) , ϕ i ( · ) ) .
After solving the linear system (8), the numerical solution of u ( x , t ) at ( x k , t n ) is
u N n ( x k ) = j = 0 N 2 u ^ j n ( L j ( x ^ k ) L j + 2 ( x ^ k ) ) , k = 0 , 1 , , N .
where x ^ k , k = 0 , 1 , , N are Legendre–Gauss quadrature nodes, i.e., zeros of L N + 1 ( x ^ ) [45].

3.1. Stability and Convergence Analysis for Semi-Discrete and Fully Discrete Schemes

In this subsection, we perform a stability and convergence analysis of the semi-discrete scheme (4) and the fully discrete scheme (6). Let
A ( u , v ) = K 1 c α 1 A α 1 ( u , v ) + K 2 c α 2 A α 2 ( u , v ) ,
where
A α k ( u , v ) = D x α k / 2 a u , D b α k / 2 x v + D b α k / 2 x u , D x α k / 2 a v , k = 1 , 2 .
For simplicity, we use · to stand for · L 2 ( Ω ) afterwards. The seminorm | · | P , Q and the norm · P , Q are defined as
| u | P , Q = K 1 D x α 1 / 2 a u 2 + K 2 D x α 2 / 2 a u 2 1 / 2 ,
u P , Q = ( u 2 + | u | P , Q 2 ) 1 / 2 .
Lemma 7
([45]). Let s , r R , and 0 s r . Then, there exists a constant C such that for any u H 0 s H 0 r , the following inequality holds:
u Π N 1 , 0 u s C N s r u r ,
where Π N 1 , 0 is the orthogonal projection operator.
The orthogonal projection operator Π N P , Q : H 0 α 1 / 2 H 0 α 2 / 2 V N is defined as
A ( u Π N P , Q u , v ) = 0 , v V N .
Lemma 8.
Let r R , Ω = ( a , b ) . If α 1 , α 2 satisfy 0 < α 1 / 2 , α 2 / 2 < 1 < r and α 1 1 / 2 , then there exist constants C independent of N such that u H 0 α 1 ( Ω ) H 0 α 2 ( Ω ) H 0 r ( Ω ) , and the following inequality holds:
| u Π N P , Q u | P , Q C N α 1 / 2 r u r + C N α 2 / 2 r u r .
Proof. 
From the definition of the seminorm | · | P , Q , combined with the properties of the orthogonal projection operator Π N P , Q , we have
| u Π N P , Q u | P , Q 2 = A ( u Π N P , Q u , u Π N P , Q u ) = A ( u Π N P , Q u , u u N ) C | u Π N P , Q u | P , Q | u u N | P , Q .
Letting u N = Π N 1 , 0 u and using Lemma 7 leads to
| u Π N P , Q u | P , Q C | u Π N 1 , 0 | P , Q C N α 1 / 2 r u r + N α 2 / 2 r u r .
 □
To evaluate a numerical algorithm, we need to discuss its stability first. Generally speaking, a numerical method is stable if the numerical solution can be bounded from above by the data that are supplied to the problem with a constant that does not depend on the discretization parameters. In other words, the result does not “explode” numerically [47]. Next, we will present the theorem of the stability of the semi-discrete scheme (4).
Theorem 1
(Stability of semi-discrete scheme). Let u n + 1 be the solution of problem (2) in the semi-discrete scheme (4). Then, the semi-discrete scheme is stable, and there exists a positive constant C independent of n and τ such that
u n + 1 P , Q C | u 0 | P , Q 2 + 2 τ k = 1 n f k 2 1 / 2 .
Proof. 
We have the following weak form of (4) for v V N :
δ t ^ u k , v = K 1 α 1 | x | α 1 u k ¯ , v + K 2 α 2 | x | α 2 u k ¯ , v + f k , v .
Substituting v by δ t ^ u k , the above equation becomes
δ t ^ u k 2 = K 1 α 1 | x | α 1 u k ¯ , δ t ^ u k + K 2 α 2 | x | α 2 u k ¯ , δ t ^ u k + f k , δ t ^ u k .
After the application of the Cauchy–Schwarz inequality and the mean inequality chain, we have
f k , δ t ^ u k 1 2 f k 2 + δ t ^ u k 2 1 2 f k 2 + δ t ^ u k 2 ,
and hence,
0 K 1 α 1 | x | α 1 u k ¯ , δ t ^ u k + K 2 α 2 | x | α 2 u k ¯ , δ t ^ u k + 1 2 f k 2 .
According to the definition of A α k ( u , v ) , it holds that
K 1 α 1 | x | α 1 u k ¯ , δ t ^ u k = K 1 c α 1 4 τ A α 1 ( u k + 1 , u k + 1 ) A α 1 ( u k 1 , u k 1 ) = K 1 4 τ D x α 1 / 2 u ^ k 1 L 2 ( R ) 2 D x α 1 / 2 u ^ k + 1 L 2 ( R ) 2 ,
K 2 α 2 | x | α 2 u k ¯ , δ t ^ u k = K 2 c α 2 4 τ A α 2 ( u k + 1 , u k + 1 ) A α 2 ( u k 1 , u k 1 ) = K 2 4 τ D x α 2 / 2 u ^ k 1 L 2 ( R ) 2 D x α 2 / 2 u ^ k + 1 L 2 ( R ) 2 ,
where u ^ is the extension of u by zero outside Ω . Therefore,
K 1 α 1 | x | α 1 u k ¯ , δ t ^ u k + K 2 α 2 | x | α 2 u k ¯ , δ t ^ u k = 1 4 τ K 1 D x α 1 / 2 u ^ k 1 L 2 ( R ) 2 + K 2 D x α 2 / 2 u ^ k 1 L 2 ( R ) 2 1 4 τ K 1 D x α 1 / 2 u ^ k + 1 L 2 ( R ) 2 + K 2 D x α 2 / 2 u ^ k + 1 L 2 ( R ) 2 = 1 4 τ K 1 D x α 1 / 2 a u k 1 2 + K 2 D x α 2 / 2 a u k 1 2 1 4 τ K 1 D x α 1 / 2 a u k + 1 2 + K 2 D x α 2 / 2 a u k + 1 2 = 1 4 τ | u k 1 | P , Q 2 | u k + 1 | P , Q 2 .
Equation (11) hence can be reduced to
| u k + 1 | P , Q 2 | u k 1 | P , Q 2 + 2 τ f k 2 .
Letting k in (12) vary from 1 to n and adding the equations together yield
| u n | P , Q 2 + | u n + 1 | P , Q 2 | u 0 | P , Q 2 + | u 1 | P , Q 2 + 2 τ k = 0 n f k 2 .
From Lemma 6, there exists C such that C u n + 1 P , Q 2 | u n + 1 | P , Q 2 ; thus,
C u n + 1 P , Q 2 | u n + 1 | P , Q 2 < | u n | P , Q 2 + | u n + 1 | P , Q 2 | u 0 | P , Q 2 + | u 1 | P , Q 2 + 2 τ k = 0 n f k 2 | u 0 | P , Q 2 + 1 2 ( | u 0 | P , Q 2 + | u 2 | P , Q 2 ) + 2 τ k = 0 n f k 2 = 3 2 | u 0 | P , Q 2 + 1 2 | u 2 | P , Q 2 + 2 τ k = 0 n f k 2 2 | u 0 | P , Q 2 + τ f 1 2 + 2 τ k = 0 n f k 2 2 ( | u 0 | P , Q 2 + 2 τ k = 0 n f k 2 ) .
 □
According to the above theorem, when the function Ω f 2 ( x , t ) d x L 2 ( I ) , then τ k = 0 n f k 2 is finite, and hence, the semi-discrete scheme (4) is stable. In the following, the convergence of the semi-discrete scheme (4) is presented.
Theorem 2
(Convergence of semi-discrete scheme). Assume that u is the exact solution of Equation (2), and u n is the numerical solution of the semi-discrete scheme (4). Then, there exists a constant C independent of k and τ such that
u n ( · ) u ( · , t n ) P , Q C τ 2 .
Proof. 
Subtracting (3) from (4) and taking the inner product with v V n on both sides, we have
δ t ^ θ k , v = K 1 α 1 | x | α 1 θ k ¯ , v + K 2 α 2 | x | α 2 θ k ¯ , v + H 1 k , v ,
where θ k ( x ) = u k ( x ) u ( x , t k ) and H 1 k = O ( τ 2 ) .
Taking v = δ t ^ θ k and using a similar technique to that used for the proof of Theorem 1, we have
θ n + 1 P , Q C | θ 0 | P , Q 2 + 2 τ k = 1 n H 1 k 2 1 / 2 .
As can be seen from the above, there exists a constant C such that
u n ( · ) u ( · , t n ) P , Q C τ 2 .
 □
By using a similar approach to that used for the proof of Theorem 1, we can obtain the stability result of the fully discrete scheme as in the below theorem.
Theorem 3
(Stability of the fully discrete scheme). Let u N n + 1 be the numerical solution of the fully discrete scheme (6). Then, the scheme is stable, and there exists a positive constant C independent of N, n, and τ such that
u N n + 1 P , Q C | u N 0 | P , Q 2 + 2 τ k = 1 n f k 2 1 / 2 .
Theorem 4
(Convergence of the fully discrete scheme). Assume that u H 3 ( ( 0 , T ] ; H r ( ( a , b ) ) ) is the exact solution of Equation (2), and u N n is the numerical solution obtained in scheme (6). Then, there exists a positive constant C independent of n, N, and τ such that
u N n ( · ) u ( · , t n ) P , Q C τ 2 + N α 1 / 2 r + N α 2 / 2 r .
Proof. 
Taking the inner product with v V n on both sides of (3) and then subtracting (6) from it, we have
δ t ^ e k , v = K 1 α 1 | x | α 1 e k ¯ , v + K 2 α 2 | x | α 2 e k ¯ , v + H 1 k , v ,
where e k ( x ) = u ( x , t k ) u N k ( x ) and H 1 k = O ( τ 2 ) .
Let ξ k = u ( x , t k ) Π N P , Q u ( x , t k ) be the projection error and η k = Π N P , Q u ( x , t k ) u N k ( x ) be the error between the projection of the exact solution and the numerical solution; hence,
e k ( x ) = u ( x , t k ) Π N P , Q u ( x , t k ) + Π N P , Q u ( x , t k ) u N k ( x ) : = ξ k ( x ) + η k ( x ) .
Next, we need to estimate | η k | P , Q . By the definition of the orthogonal projection operator Π N P , Q , Equation (15) can be rewritten as
δ t ^ η k , v = K 1 α 1 | x | α 1 η k ¯ , v + K 2 α 2 | x | α 2 η k ¯ , v + H 2 k , v ,
where H 2 k = δ t ^ ξ k + O ( τ 2 ) .
Taking the test function v = δ t ^ η k and adding k from 1 to n in (17) yields
η n + 1 P , Q C | η 0 | P , Q 2 + 2 τ k = 1 n H 2 k 2 1 / 2 .
To show the convergence of the fully discrete scheme (6), it is only necessary to estimate the upper bounds of | η 0 | P , Q and H 2 k .
For | η 0 | P , Q , by Lemmas 7 and 8, we have
| η 0 | P , Q η 0 P , Q = Π N P , Q u 0 Π N 1 , 0 u 0 P , Q Π N P , Q u 0 u 0 P , Q + u 0 Π N 1 , 0 u 0 P , Q C N α 1 / 2 r + N α 2 / 2 r .
Since H 2 k = δ t ^ ξ k + O ( τ 2 ) , we only need to estimate δ t ^ ξ k . For δ t ^ ξ k , we have
δ t ^ ξ k P , Q C | δ t ^ ξ k | P , Q C N α 1 / 2 r + N α 2 / 2 r .
Above all, we have
u N k u ( x , t k ) P , Q C τ 2 + N α 1 / 2 r + N α 2 / 2 r .
 □

3.2. Implementation of Fully Discrete Scheme

We will give the details of the computation of the matrices in the scheme (8).
  • Computation of the matrix M. The ith-row–jth-column of the matrix M is the inner product of ϕ j and ϕ i :
( M ) i , j = ( ϕ j , ϕ i ) = a b ϕ j ( x ) ϕ i ( x ) d x = a b ( L j ( x ^ ) L j + 2 ( x ^ ) ) ( L i ( x ^ ) L i + 2 ( x ^ ) ) d x = b a 2 1 1 ( L j ( x ^ ) L j + 2 ( x ^ ) ) ( L i ( x ^ ) L i + 2 ( x ^ ) ) d x ^ .
Due to the orthogonality of Legendre polynomials, we have
( M ) i j = b a 2 2 2 i + 1 + 2 2 i + 5 , i = j , b a 2 i + 1 , i = j + 2 , b a 2 i + 5 , i = j 2 , 0 , else .
  • Computation of the matrix S. The matrix S α contains important components of S. It follows that
( S α ) i j = D x α / 2 a ϕ j , D b α / 2 x ϕ i = D x α / 2 a L j ( x ^ ) , D b α / 2 x L i ( x ^ ) D x α / 2 a L j + 2 ( x ^ ) , D b α / 2 x L i ( x ^ ) D x α / 2 a L j ( x ^ ) , D b α / 2 x L i + 2 x ^ ) + D x α / 2 a L j + 2 ( x ^ ) , D b α / 2 x L i + 2 ( x ^ ) T ( j , i ) T ( j + 2 , i ) T ( j , i + 2 ) + T ( j + 2 , i + 2 ) .
According to (19), we need to calculate T ( j , i ) = D x α / 2 a L j ( x ^ ) , D b α / 2 x L i ( x ^ ) to compute ( S α ) i j . Applying Lemma 2 yields
T ( j , i ) = D x α / 2 a L j ( x ^ ) , D b α / 2 x L i ( x ^ ) = ( b a 2 ) α D x ^ α / 2 1 L j ( x ^ ) , D 1 α / 2 x ^ L i ( x ^ ) = ( b a 2 ) α a b D x ^ α / 2 1 L j ( x ^ ) D 1 α / 2 x ^ L i ( x ^ ) d x = ( b a 2 ) α G i , j α a b ( 1 + x ^ ) α / 2 ( 1 x ^ ) α / 2 J j α / 2 , α / 2 ( x ^ ) J i α / 2 , α / 2 ( x ^ ) d x = ( b a 2 ) 1 α G i , j α 1 1 ( 1 + x ^ ) α / 2 ( 1 x ^ ) α / 2 J j α / 2 , α / 2 ( x ^ ) J i α / 2 , α / 2 ( x ^ ) d x ^ ( b a 2 ) 1 α G i , j α k = 0 N ω k α / 2 , α / 2 J j α / 2 , α / 2 ( x ^ k ) J i α / 2 , α / 2 ( x ^ k ) ,
where
G i , j α = Γ ( j + 1 ) Γ ( i + 1 ) Γ ( j α / 2 + 1 ) Γ ( i α / 2 + 1 ) .
We have used the Jacobi–Gauss quadrature rule in the last step of (20), where x ^ k and ω k α / 2 , α / 2 , k = 0 , 1 , , N , are Jacobi–Gauss quadrature nodes and the corresponding weights [45].
  • Computation of the vector F n . Noting that F i n = ( f n , ϕ i ) , we have
F i n = a b f ( x , t n ) ϕ i ( x ) d x = b a 2 1 1 f ( x , t n ) ϕ i ( x ) d x ^ = b a 2 1 1 f ( x , t n ) ( L i ( x ^ ) L i + 2 ( x ^ ) ) d x ^ b a 2 k = 0 N f ( x k , t n ) ( L i ( x ^ k ) L i + 2 ( x ^ k ) ) ω k , i = 0 , . . . N 2 ,
where
x k = b a 2 x ^ k + b + a 2 [ a , b ] .
We have used the Legendre–Gauss quadrature rule in the last step of (21), where x ^ k and ω k , k = 0 , 1 , , N are Legendre–Gauss quadrature nodes and the corresponding weights [45].

4. Spectral Galerkin Methods for Two-Dimensional Riesz Space-Fractional Convection–Diffusion Equation

In this section, as an extension of the previous section, we present the spectral Galerkin method for the two-dimensional Riesz space-fractional convection–diffusion equations.
Consider the following convection–diffusion equations for 0 < α 1 , β 1 < 1 , 1 < α 2 , β 2 < 2 :
u ( x , y , t ) t = K 1 α 1 u ( x , y , t ) | x | α 1 + K 2 β 1 u ( x , y , t ) | y | β 1 + K 3 α 2 u ( x , y , t ) | x | α 2 + K 4 β 2 u ( x , y , t ) | y | β 2 + f ( x , y , t ) , ( x , y , t ) Ω 2 × I u ( x , y , 0 ) = u 0 ( x , y ) , ( x , y ) Ω 2 , u ( x , y , t ) = 0 , ( x , y , t ) Ω 2 × I ,
where I = ( 0 , T ] is the time interval, Ω 2 = ( a 1 , b 1 ) × ( a 2 , b 2 ) is the spatial domain, u ( x , y , t ) denotes the solute concentration, K 1 and K 2 denote the fluid velocities in the x- and y-directions, respectively, K 3 and K 4 denote the diffusion coefficients, and f ( x , y , t ) is the source function.
Let
F x u ( x , y , t ) = K 1 α 1 u ( x , y , t ) | x | α 1 + K 3 α 2 u ( x , y , t ) | x | α 2 , F y u ( x , y , t ) = K 2 β 1 u ( x , y , t ) | y | β 1 + K 4 β 2 u ( x , y , t ) | y | β 2 .
Then, Equation (23) can be written as
u t = F x u + F y u + f ( x , y , t ) .
We will give the fully discrete scheme for (25) in the next step.
In the time direction, applying the same technique to (25) yields
δ t ^ u n = F x + F y u n ¯ + f n .
By adding τ 2 F x F y δ t ^ u n to the left-hand side of (26), we obtain
δ t ^ u n + τ 2 F x F y δ t ^ u n = F x + F y u n ¯ + f n + O ( τ 2 ) .
The above equation can also be written as
1 τ F x 1 τ F y u n + 1 = 1 + τ F x 1 + τ F y u n 1 + 2 τ f n + O ( τ 3 ) .
Subsequently, several function spaces are introduced.
The function spaces V N x and V N y are defined as
V N x = span { ϕ i ( x ) : i = 0 , 1 , , N 2 } , V N y = span { φ j ( y ) : j = 0 , 1 , , N 2 } ,
where
ϕ i ( x ) = L i ( x ^ ) L i + 2 ( x ^ ) , x ^ [ 1 , 1 ] , x = b a 2 x ^ + a + b 2 [ a , b ] , φ j ( y ) = L j ( y ^ ) L j + 2 ( y ^ ) , y ^ [ 1 , 1 ] , y = d c 2 y ^ + c + d 2 [ c , d ] .
The function space S N on Ω is thus given by
S N = V N x V N y = span { ϕ i ( x ) φ j ( y ) , i , j = 0 , 1 , , N 2 } .
The numerical solution of (25) is obtained by finding u N n S N such that, for any v S N , the following is satisfied:
1 τ F x 1 τ F y u N n + 1 , v = 1 + τ F x 1 + τ F y u N n 1 , v + 2 τ f n , v , u N 0 = Π N 1 , 0 u 0 ,
where Π N 1 , 0 is the projection operator satisfying
Π N 1 , 0 u u , v + x ( Π N 1 , 0 u u ) , x v + y ( Π N 1 , 0 u u ) , y v = 0 , v S N .
Equation (29) is the fully discrete scheme of problem (25).
Since u N n + 1 S N , we have
u N n + 1 = i = 0 N 2 j = 0 N 2 u ^ i , j n + 1 ϕ i ( x ) φ j ( y ) .
Let v = ϕ i φ j ( i , j = 0 , 1 , , N 2 ) , and we can obtain the matrix representation of (29) as follows:
M x τ S x U n + 1 M y τ S y T = M x + τ S x U n 1 M y + τ S y T + 2 τ F n ,
where
( M x ) i j = ( ϕ j , ϕ i ) , ( M y ) i j = ( φ j , φ i ) , ( S x ) i j = K 1 c α 1 ( S x α 1 + ( S x α 1 ) T ) + K 3 c α 2 ( S x α 2 + ( S x α 2 ) T ) , ( S y ) i j = K 2 c β 1 ( S y β 1 + ( S y β 1 ) T ) + K 4 c β 2 ( S y β 2 + ( S y β 2 ) T ) , ( S x α k ) i j = D x α k / 2 a ϕ j , D b α k / 2 x ϕ i , ( S y β k ) i j = D y β k / 2 c φ j , D d β k / 2 y φ i , ( U n + 1 ) i j = u ^ i j n + 1 , ( U n 1 ) i j = u ^ i j n 1 , ( F n ) i j = ( f n , ϕ i φ j ) , i , j = 0 , 1 , , N 2 .
After solving the linear system (31), the numerical solution of u ( x , y , t ) at ( x k , y l , t n + 1 ) is given by
u N n + 1 ( x k , y l ) = k = 0 N 2 l = 0 N 2 u ^ i j n + 1 ( L i ( x ^ k ) L i + 2 ( x ^ k ) ) ( L j ( y ^ l ) L j + 2 ( y ^ l ) ) , k , l = 0 , 1 , , N ,
where x ^ k and y ^ l are the Legendre–Gauss quadrature nodes.
The computation formulas of M x , M y , S x α k , and S y β k are provided in (18)–(20) in Section 3, and ( F n ) i j can be computed by using the two-dimensional Legendre–Gauss quadrature rule.

Stability and Convergence

In this subsection, we demonstrate the stability and convergence of the semi-discrete scheme (27) and the fully discrete scheme (29). Before presenting the theorem, we list a few necessary notations and lemmas first.
Let
A ( u , v ) = K 1 c α 1 A x α 1 ( u , v ) + K 2 c β 1 A y β 1 ( u , v ) + K 3 c α 2 A x α 2 ( u , v ) + K 4 c β 2 A x β 2 ( u , v ) ,
where
A x α k = D x α k / 2 a u , D b α k / 2 x v + D b α k / 2 x u , D x α k / 2 a v , A y β k = D y β k / 2 c u , D d β k / 2 y v + D d β k / 2 y u , D y β k / 2 c v .
Define the orthogonal projection operator Π N P , Q : H 0 α / 2 H 0 β / 2 S N , satisfying
A ( u Π N P , Q u , v ) = 0 , v S N ,
where α = max { α 1 , α 2 } , β = max { β 1 , β 2 } .
The seminorm | · | P , Q and the norm · P , Q are defined as
| u | P , Q = ( K 1 D x α 1 / 2 a u 2 + K 2 D y β 1 / 2 c u 2 + K 3 D x α 2 / 2 a u 2 + K 4 D y β 2 / 2 c u L 2 ( R 2 ) 2 ) 1 / 2 , u P , Q = u 2 + | u | P , Q 2 1 / 2 .
Lemma 9.
Let r R . If 0 < α k / 2 , β k / 2 < 1 < r and α k / 2 , β k / 2 1 / 2 , then there exists a constant C independent of N such that for any u H 0 α / 2 ( Ω ) H 0 β / 2 ( Ω ) H r ( Ω ) , the following inequality holds:
| u Π N P , Q u | P , Q C N α 1 / 2 r u r + N α 2 / 2 r u r + N β 1 / 2 r u r + N β 2 / 2 r u r .
Proof. 
The proof is similar to that of Lemma 8. □
Theorem 5
(Stability of the semi-discrete scheme). Let u n + 1 be the solution of the two-dimensional problem (25) in the semi-discrete scheme (27). Then, the semi-discrete scheme (27) is stable, and there exists a positive constant C independent of n and τ such that
u n + 1 P , Q C | u 0 | P , Q 2 + 2 τ k = 1 n f k 2 1 / 2 .
Theorem 6
(Convergence of the semi-discrete scheme). Assume that u is the exact solution of Equation (23), and u n is the solution of the semi-discrete scheme (27). Then, there exists a constant C independent of k and τ such that
u n u ( x , y , t n ) P , Q C τ 2 .
Theorem 7.
(Stability of the fully discrete scheme). Assume that u N n + 1 is the solution of the fully discrete scheme (29), then the scheme is stable, and there exists a positive constant C independent of N, n, and τ such that
u N n + 1 P , Q C | u N 0 | P , Q 2 + 2 τ k = 1 n f k 2 1 / 2 .
Theorem 8
(Convergence of the fully discrete scheme). Assume that u H 3 ( I ; H r ( Ω ) ) is the exact solution of Equation (23), and u N k is the numerical solution obtained in the scheme (29). Then, there exists a positive constant C independent of n, N, and τ such that
u N n u ( x , y , t n ) P , Q C τ 2 + N α 1 / 2 r + N α 2 / 2 r + N β 1 / 2 r + N β 2 / 2 r .
The approach to performing error analysis for two-dimensional problems is consistent with the one-dimensional case. However, it is worth noting that in two-dimensional problems, we need to prove F x F y δ t ^ u k , δ t ^ u k 0 . In the following, we will provide the details of the proof.
By definition, for v S N , we have
F x F y v , v = K 1 K 2 α 1 | x | α 1 β 1 | y | β 1 v , v + K 1 K 4 α 1 | x | α 1 β 2 | y | β 2 v , v + K 3 K 2 α 2 | x | α 2 β 1 | y | β 1 v , v + K 3 K 4 α 2 | x | α 2 β 2 | y | β 2 v , v ,
where
α 1 | x | α 1 β 1 | y | β 1 v , v = 2 c α 1 c β 1 D x α 1 / 2 a D y β 1 / 2 c v , D b α 1 / 2 x D d β 1 / 2 y v + 2 c α 1 c β 1 D x α 1 / 2 a D d β 1 / 2 y v , D b α 1 / 2 x D y β 1 / 2 c v .
Define a bilinear form as
A ( α , β ) ( u , v ) = D x α / 2 a D d β / 2 y u , D b α / 2 x D y β / 2 c v + D x α / 2 a D y β / 2 c u , D b α / 2 x D d β / 2 y v .
Equation (32) hence becomes
F x F y v , v = 2 K 1 K 2 c α 1 c β 1 A ( α 1 , β 1 ) ( v , v ) + 2 K 1 K 4 c α 1 c β 2 A ( α 1 , β 2 ) ( v , v ) + 2 K 3 K 2 c α 2 c β 1 A ( α 2 , β 1 ) ( v , v ) + 2 K 3 K 4 c α 2 c β 2 A ( α 2 , β 2 ) ( v , v ) .
According to Lemma 5, we have
2 c α c β A ( α , β ) = 2 c α c β D x α / 2 a D d β / 2 y v , D b α / 2 x D y β / 2 c v + D x α / 2 a D y β / 2 c v , D b α / 2 x D d β / 2 y v = 4 c α c β cos ( α π / 2 ) cos ( β π / 2 ) D x α / 2 D y β / 2 v ^ L 2 ( R 2 ) 2 = D x α / 2 D y β / 2 v ^ L 2 ( R 2 ) 2 ,
and then,
F x F y v , v = K 1 K 2 D x α 1 / 2 D y β 1 / 2 v ^ L 2 ( R 2 ) 2 + K 1 K 4 D x α 1 / 2 D y β 2 / 2 v ^ L 2 ( R 2 ) 2 + K 3 K 2 D x α 2 / 2 D y β 1 / 2 v ^ L 2 ( R 2 ) 2 + K 3 K 4 D x α 2 / 2 D y β 2 / 2 v ^ L 2 ( R 2 ) 2 ,
where v ^ is the extension of v by zero outside Ω 2 . Obviously, we have
F x F y δ t ^ u k , δ t ^ u k 0 .

5. Numerical Results

In this section, some numerical examples are presented to illustrate the theoretical analysis.
The MATLAB (R2023a) platform was used for all numerical simulations in this paper. Equations (8) and (31) were solved directly by using “/” and “∖” in MATLAB.
To begin with, we define L and L 2 errors for d = 1 and d = 2 , respectively. For d = 1 , define
err L | t = t n : = max 0 k N | u ( x k , t n ) u N n ( x k ) | , err L 2 | t = t n : = b a 2 0 k N ω k | u ( x k , t n ) u N n ( x k ) | 2 1 / 2 ;
for d = 2 , define
err L | t = t n : = max 0 k , l N | u ( x k , y j , t n ) u N n ( x k , y l ) | , err L 2 | t = t n : = ( b 1 a 1 ) ( b 2 a 2 ) 4 0 k N 0 l N ω k ω l | u ( x k , y l , t n ) u N n ( x k , y l ) | 2 1 / 2 ,
where x k , y l are defined as in (22), and ω k , ω l are the corresponding weights in the Legendre–Gauss quadrature rule.
Subsequently, we will provide four examples and plot the results of numerical simulations by using a sufficiently small time step for these examples.
Example 1.
We consider the Riesz space-fractional convection–diffusion equation as in (2):
The source function of the problem is
f ( x , t ) = f 0 ( x , t ) + f 1 ( x , t ) + f 2 ( x , t ) ,
where
f 0 ( x , t ) = t μ 1 ( μ + ν t ) e ν t x 2 ( 1 x ) 2 ,
f 1 ( x , t ) = K 1 c α 1 t μ e ν t ( 2 Γ ( 3 α 1 ) ( x 2 α 1 + ( 1 x ) 2 α 1 ) 12 Γ ( 4 α 1 ) ( x 3 α 1 + ( 1 x ) 3 α 1 ) + 24 Γ ( 5 α 1 ) ( x 4 α 1 + ( 1 x ) 4 α 1 ) ) ,
f 2 ( x , t ) = K 2 c α 2 t μ e ν t ( 2 Γ ( 3 α 2 ) ( x 2 α 2 + ( 1 x ) 2 α 2 ) 12 Γ ( 4 α 2 ) ( x 3 α 2 + ( 1 x ) 3 α 2 ) + 24 Γ ( 5 α 2 ) ( x 4 α 2 + ( 1 x ) 4 α 2 ) ) .
The exact solution of the problem is
u ( x , t ) = t μ e ν t x 2 ( 1 x ) 2 , x [ 0 , L ] , t [ 0 , T ] .
Example 1 can also be found in [37].
Example 2.
In this example, we consider the Riesz space-fractional convection–diffusion equation as in (2). The source function is
f ( x , t ) = f 0 ( x , t ) + f 1 ( x , t ) + f 2 ( x , t ) ,
where
f 0 ( x , t ) = ( 1 t ) e t sin ( π x ) ,
f 1 ( x , t ) = K 1 c α 1 t e t ( h l 1 ( x ) + h r 1 ( x ) ) , f 2 ( x , t ) = K 2 c α 2 t e t ( h l 2 ( x ) + h r 2 ( x ) ) .
The formulas for h l 1 , h r 1 , h l 2 , and h r 2 are as follows:
h l 1 ( x ) = D x α 1 0 sin ( π x ) = π ( 2 α 1 ) x 1 α 1 F 2 ( 1 ; 3 2 α 1 2 , 2 α 1 2 ; 1 4 π 2 x 2 ) Γ ( 1 α 1 ) ( α 1 2 3 α 1 + 2 ) π 3 x 3 α 1 F 2 ( 2 ; 5 2 α 1 2 , 3 α 1 2 ; 1 4 π 2 x 2 ) 2 Γ ( 1 α 1 ) ( 3 2 α 1 2 ) ( 2 α 1 2 ) ( α 1 2 3 α 1 + 2 ) ,
h r 1 ( x ) = D L α 1 x sin ( π x ) = ( L x ) α 1 ( α 1 2 ) ( α 1 1 ) Γ ( 1 α 1 ) ( ( α 1 1 ) ( ( α 1 2 ) sin ( π L ) π 2 ( L x ) 2 sin ( π x ) F 2 ( 1 α 1 2 ; 3 2 , 2 α 1 2 ; 1 4 π 2 ( L x ) 2 ) ) + π ( α 1 2 ) ( L x ) cos ( π x ) F 2 ( 1 2 α 1 2 ; 1 2 , 3 2 α 1 2 ; 1 4 π 2 ( L x ) 2 ) ) ,
h l 2 ( x ) = D x α 2 0 sin ( π x ) = π x 1 α 2 ( α 2 7 ) ( α 2 6 ) ( α 2 5 ) ( α 2 4 ) ( α 2 2 5 α 2 + 6 ) Γ ( 2 α 2 ) ( 2 π 2 x 2 ( ( 2 α 2 3 33 α 2 2 + 175 α 2 294 ) F 2 ( 2 ; 3 α 2 2 , 7 2 α 2 2 ; 1 4 π 2 x 2 ) + 4 π 2 x 2 F 2 ( 3 ; 4 α 2 2 , 9 2 α 2 2 ; 1 4 π 2 x 2 ) ) + ( α 2 6 27 α 2 5 + 295 α 2 4 1665 α 2 3 ) F 2 ( 1 ; 2 α 2 2 , 5 2 α 2 2 ; 1 4 π 2 x 2 ) + ( 5104 α 2 2 8028 α 2 + 5040 ) F 2 ( 1 ; 2 α 2 2 , 5 2 α 2 2 ; 1 4 π 2 x 2 ) ) ,
h r 2 ( x ) = D L α 2 x sin ( π x ) = ( L x ) α 2 ( α 2 3 ) ( α 2 2 ) Γ ( 2 α 2 ) ( π 3 ( α 2 2 ) ( L x ) 3 cos ( π x ) F 2 ( 3 2 α 2 2 ; 3 2 , 5 2 α 2 2 ; 1 4 π 2 ( L x ) 2 ) + ( α 2 3 ) ( π 2 ( L x ) 2 sin ( π x ) F 2 ( 1 α 2 2 ; 1 2 , 2 α 2 2 ; 1 4 π 2 ( L x ) 2 ) ( α 2 2 ) ( ( α 2 1 ) sin π L + π ( L x ) cos π L ) ) ) ,
where F 2 ( · ; · , · ; · ) is the hypergeometric function.
The exact solution of the problem is
u ( x , t ) = t e t sin ( π x ) , x [ 0 , L ] , t [ 0 , T ] .
Example 3.
We consider the Riesz space-fractional convection–diffusion equation in (23).
The source function of the problem is chosen to be
f ( x , y ) = f 0 ( x , y ) + t e t f 1 ( x , y ) + f 2 ( x , y ) + f 3 ( x , y ) + f 4 ( x , y ) ,
where
f 0 ( x , y ) = ( 1 t ) e t x 2 ( 1 x ) 2 y 2 ( 1 y ) 2 ,
and the formulas of f 1 , f 2 , f 3 , and f 4 are listed as follows:
f 1 ( x , y ) = K 1 c α 1 y 2 ( 1 y ) 2 ( 2 Γ ( 3 α 1 ) ( x 2 α 1 + ( 1 x ) 2 α 1 ) 12 Γ ( 4 α 1 ) ( x 3 α 1 + ( 1 x ) 3 α 1 ) + 24 Γ ( 5 α 1 ) ( x 4 α 1 + ( 1 x ) 4 α 1 ) ) ,
f 2 ( x , y ) = K 2 c β 1 x 2 ( 1 x ) 2 ( 2 Γ ( 3 β 1 ) ( y 2 β 1 + ( 1 y ) 2 β 1 ) 12 Γ ( 4 β 1 ) ( y 3 β 1 + ( 1 y ) 3 β 1 ) + 24 Γ ( 5 β 1 ) ( y 4 β 1 + ( 1 y ) 4 β 1 ) ) ,
f 3 ( x , y ) = K 3 c α 2 y 2 ( 1 y ) 2 ( 2 Γ ( 3 α 2 ) ( x 2 α 2 + ( 1 x ) 2 α 2 ) 12 Γ ( 4 α 2 ) ( x 3 α 2 + ( 1 x ) 3 α 2 ) + 24 Γ ( 5 α 2 ) ( x 4 α 2 + ( 1 x ) 4 α 2 ) ) ,
f 4 ( x , y ) = K 4 c β 2 x 2 ( 1 x ) 2 ( 2 Γ ( 3 β 2 ) ( y 2 β 2 + ( 1 y ) 2 β 2 ) 12 Γ ( 4 β 2 ) ( y 3 β 2 + ( 1 y ) 3 β 2 ) + 24 Γ ( 5 β 2 ) ( y 4 β 2 + ( 1 y ) 4 β 2 ) ) .
The exact solution of the problem is
u ( x , y , t ) = t e t x 2 ( 1 x ) 2 y 2 ( 1 y ) 2 , ( x , y ) [ 0 , L ] × [ 0 , L ] , t [ 0 , T ] .
Example 4.
We consider the Riesz space-fractional convection–diffusion Equation (23).
The source function of the problem is
f ( x , y , t ) = f 0 ( x , y , t ) + t e t sin ( π y ) [ K 1 c α 1 ( h l 1 ( x ) + h r 1 ( x ) ) K 3 c α 2 ( h l 2 ( x ) + h r 2 ( x ) ) ] + t e t sin ( π x ) [ K 2 c β 1 ( h l 1 ( y ) + h r 1 ( y ) ) K 4 c β 2 ( h l 2 ( y ) + h r 2 ( y ) ) ] ,
where
f 0 ( x , y , t ) = ( 1 t ) e t sin ( π x ) sin ( π y ) .
The formulas for h l 1 , h r 1 , h l 2 , and h r 2 are provided in Equations (33)–(36).
The exact solution of the problem is
u ( x , y ) = t e t sin ( π x ) sin ( π y ) , ( x , y ) [ 0 , L ] × [ 0 , L ] , t [ 0 , T ] .
The time step is chosen to be τ = 10 4 to reduce the impact of the error in the time direction in the above numerical simulations. The numerical results for the fixed time step are plotted in Figure 1, Figure 2, Figure 3, Figure 4, Figure 5, Figure 6, Figure 7 and Figure 8. The L and L 2 errors between the exact solution and the numerical solution at T = 1 are plotted in log–log scale for Examples 1–4 in Figure 1, Figure 3, Figure 5, and Figure 7, respectively. We have sketched a reference line in the figures to show the approximate convergence rate. According to these error plots, it is easy to observe that as the number of nodes increases, the errors decrease rapidly, which is consistent with the conclusion of our error analysis. We picture the absolute values of the error point by point for both time and space intervals for Examples 1 and 2 at N = 16 in Figure 2 and Figure 4, respectively. For the two-dimensional problems, we have drawn the point-wise error plot at T = 1 by taking N = 16 and N = 128 for Example 3 in Figure 6 and taking N = 16 and N = 256 for Example 4 in Figure 8. It can be observed that the point-wise error estimates at the boundary are slightly higher, which is attributed to the singular kernel of the fractional-order differential operator.
In the following, we will provide the results of numerical comparison experiments for Example 1 with the finite difference method proposed in [37]. For this analysis, the time step in the simulations is chosen to be 1 / N . The experimental results are listed in Table 1 and Table 2. From the data in the tables, one can see that our proposed method has higher accuracy and generally results in higher convergence orders. This is due to the spectral methods used in the spatial domain, which has spectral accuracy for smooth functions. The reason that the convergence order is much lower than that shown in Figure 1 is that our method results in a convergence rate of O ( τ 2 ) in the time domain, which holds the total convergence rate back.

6. Conclusions

In this paper, we studied spectral Galerkin methods for the one-dimensional and two-dimensional Riesz space-fractional convection–diffusion equations in (1).
Firstly, we developed the semi-discrete and fully discrete schemes of the one-dimensional equation in (2) using the CNLF scheme for discretization in the temporal direction and the spectral Galerkin–Legendre method for discretization in the spatial direction. We then rewrote the fully discrete form into a matrix-vector form, as in (8), and provided detailed calculation formulas for all matrices. Subsequently, we meticulously proved the theorems of stability and convergence for the semi-discrete and fully discrete schemes and showed that the schemes are stable with a convergence order of O ( τ 2 + N α 1 / 2 r + N α 2 / 2 r ) , where τ is the time step, N + 1 is the number of spatial nodes, α 1 and α 2 are the orders of fractional derivatives, and r represents the smoothness of the function.
Secondly, we established the fully discrete format for two-dimensional problems, as in (23), in a similar way. We added a supplementary term τ 2 F x F y δ t ^ u n to the left side of Equation (26), resulting in a symmetric fully discrete scheme. Next, we transformed the fully discrete form into a matrix-vector form, as in (31). Stability and convergence analyses of the semi-discrete and fully discrete schemes for two-dimensional problems were then presented, and the conclusions obtained were consistent with the one-dimensional case.
Finally, several numerical examples were designed, and the simulation results verified our theoretical study and analysis of our proposed numerical methods.
From the analysis and numerical results, we can see that the convergence rate in the temporal direction hinders the fast convergence rate in the spatial direction. In the future, we will study algorithms that apply spectral methods to both the time and space domains.

Author Contributions

Methodology, X.Z. (Xiaoyan Zeng); software, X.Z. (Xinxia Zhang), X.Z. (Xiaoyan Zeng); validation, J.W., Z.W. and Z.T.; writing—original draft preparation, X.Z. (Xinxia Zhang), X.Z. (Xiaoyan Zeng); writing—review and editing, J.W., Z.W. and Z.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 11701358, 11774218.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Saichev, A.I.; Zaslavsky, G.M. Fractional Kinetic Equations: Solutions and Applications. Chaos Interdiscip. J. Nonlinear Sci. 1997, 7, 753–764. [Google Scholar] [CrossRef] [PubMed]
  2. Mandelbrot, B.B.; Mandelbrot, B.B. The Fractal Geometry of Nature; WH Freeman: New York, NY, USA, 1982; pp. 54–96. [Google Scholar]
  3. Mainardi, F. Some Basic Problem in Continum and Statistical Mechanics. Fractals Fract. Calc. Contin. Mech. 1997, 378, 291–348. [Google Scholar]
  4. Bagley, R.L.; Torvik, P.J. A Theoretical Basis for the Application of Fractional Calculus to Viscoelasticity. J. Rheol. 1983, 27, 201–210. [Google Scholar] [CrossRef]
  5. Bagley, R.L.; Torvik, P.J. Fractional Calculus in the Transient Analysis of Viscoelastically Damped Structures. AIAA J. 1985, 23, 918–925. [Google Scholar] [CrossRef]
  6. Hilfer, R. Applications of Fractional Calculus in Physics; World Scientific: Singapore, 2000; pp. 10–25. [Google Scholar]
  7. Scalas, E.; Gorenflo, R.; Mainardi, F. Fractional Calculus and Continuous-Time Finance. Phys. A Stat. Mech. Its Appl. 2000, 284, 376–384. [Google Scholar] [CrossRef]
  8. Mainardi, F.; Raberto, M.; Gorenflo, R.; Scalas, E. Fractional Calculus and Continuous-Time Finance II: The Waiting-Time Distribution. Phys. A Stat. Mech. Its Appl. 2000, 287, 468–481. [Google Scholar] [CrossRef]
  9. Wang, S.; Xu, M. Generalized Fractional Schrödinger Equation with Space-Time Fractional Derivatives. J. Math. Phys. 2007, 48, 2–10. [Google Scholar] [CrossRef]
  10. Huang, F.; Liu, F. The Fundamental Solution of the Space-Time Fractional Advection-Dispersion Equation. J. Appl. Math. Comput. 2005, 18, 339–350. [Google Scholar]
  11. El-Sayed, A.; Behiry, S.; Raslan, W. Adomian’s Decomposition Method for Solving an Intermediate Fractional Advection-Dispersion Equation. Comput. Math. Appl. 2010, 59, 1759–1765. [Google Scholar] [CrossRef]
  12. Golbabai, A.; Sayevand, K. Analytical Modelling of Fractional Advection-Dispersion Equation Defined in a Bounded Space Domain. Math. Comput. Model. 2010, 53, 1708–1718. [Google Scholar] [CrossRef]
  13. Canuto, C.; Hussaini, M.Y.; Quarteroni, A.; Zang, T.A. Spectral Methods: Fundamentals in Single Domains; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2007; pp. 20–35. [Google Scholar]
  14. Santos, M.A.F. Analytic approaches of the anomalous diffusion: A review. Chaos Solitons Fractals 2019, 124, 86–96. [Google Scholar] [CrossRef]
  15. Benson, D.A.; Wheatcraft, S.W.; Meerschaert, M.M. Application of a Fractional Advection-Dispersion Equation. Water Resour. Res. 2000, 36, 1403–1412. [Google Scholar] [CrossRef]
  16. Benson, D.A.; Wheatcraft, S.W.; Meerschaert, M.M. The Fractional-Order Governing Equation of Lévy Motion. Water Resour. Res. 2000, 36, 1413–1423. [Google Scholar] [CrossRef]
  17. 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]
  18. 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. [Google Scholar] [CrossRef]
  19. Zaslavsky, G.M. Chaos, Fractional Kinetics and Anomalous transport. Phys. Rep. 2002, 371, 461–580. [Google Scholar] [CrossRef]
  20. Schumer, R.; Benson, D.A.; Meerschaert, M.M.; Wheatcraft, S.W. Eulerian Derivation of the Fractional Advection-Dispersion Equation. J. Contam. Hydrol. 2001, 48, 69–88. [Google Scholar] [CrossRef]
  21. Sun, Z.; Wu, X. A Fully Discrete Difference Scheme for a Diffusion-Wave System. Appl. Numer. Math. 2006, 56, 193–209. [Google Scholar] [CrossRef]
  22. Liu, Q.; Liu, F.; Turner, I.; Anh, V. Approximation of the Lévy-Feller Advection-Dispersion Process by Random Walk and Finite Difference Method. J. Comput. Phys. 2007, 222, 57–70. [Google Scholar] [CrossRef]
  23. Shen, S.; Liu, F.; Anh, V. Numerical Approximations and Solution Techniques for the Space-Time Riesz-Caputo Fractional Advection-Diffusion Equation. Numer. Algorithms 2011, 56, 383–403. [Google Scholar] [CrossRef]
  24. Zhou, H.; Tian, W.; Deng, W. Quasi-Compact Finite Difference Schemes for Space Fractional Diffusion Equations. J. Sci. Comput. 2013, 56, 45–66. [Google Scholar] [CrossRef]
  25. Wang, K.; Wang, H. A Fast Characteristic Finite Difference Method for Fractional Advection-Diffusion Equations. Adv. Water Resour. 2011, 34, 810–816. [Google Scholar] [CrossRef]
  26. Huang, Q.; Huang, G.; Zhan, H. A Finite Element Solution for the Fractional Advection-Dispersion Equation. Adv. Water Resour. 2008, 31, 1578–1589. [Google Scholar] [CrossRef]
  27. Lai, J.; Liu, F.; Anh, V.V.; Liu, Q. A space-time finite element method for solving linear Riesz space fractional partial differential equations. Numer. Algorithms 2021, 88, 499–520. [Google Scholar] [CrossRef]
  28. Tang, H.; Xia, J. High-Order Accurate Runge-Kutta (Local) Discontinuous Galerkin Methods for One- and Two-Dimensional Fractional Diffusion Equations. Numer. Math. Theory Methods Appl. 2012, 5, 333–358. [Google Scholar] [CrossRef]
  29. Bhrawy, A.H. A Jacobi Spectral Collocation Method for Solving Multi-Dimensional Nonlinear Fractional Sub-Diffusion Equations. Numer. Algorithms 2016, 73, 91–113. [Google Scholar] [CrossRef]
  30. Bhrawy, A.H.; Zaky, M.A.; Van Gorder, R.A. A Space-Time Legendre Spectral Tau Method for the Two-Sided Space-Time Caputo Fractional Diffusion-Wave Equation. Numer. Algorithms 2016, 71, 151–180. [Google Scholar] [CrossRef]
  31. Saadatmandi, A.; Dehghan, M.; Azizi, M.R. The Sinc-Legendre Collocation Method for a class of Fractional Convection-Diffusion Equations with Variable Coefficients. Commun. Nonlinear Sci. Numer. Simul. 2012, 17, 4125–4136. [Google Scholar] [CrossRef]
  32. Shen, S.; Liu, F.; Anh, V.; Turner, I. The Fundamental Solution and Numerical Solution of the Riesz Fractional Advection-Dispersion Equation. IMA J. Appl. Math. 2008, 73, 850–872. [Google Scholar] [CrossRef]
  33. Yang, Q.; Liu, F.; Turner, I. Numerical Methods for Fractional Partial Differential Equations with Riesz Space Fractional Derivatives. Appl. Math. Model. 2010, 34, 200–218. [Google Scholar] [CrossRef]
  34. Zhang, H.; Liu, F.; Anh, V. Galerkin Finite Element Approximation of Symmetric Space-Fractional Partial Differential Equations. Appl. Math. Comput. 2010, 217, 2534–2545. [Google Scholar] [CrossRef]
  35. Celik, C.; Duman, M. Crank-Nicolson Method for the Fractional Diffusion Equation with the Riesz Fractional Derivative. J. Comput. Phys. 2012, 231, 1743–1750. [Google Scholar] [CrossRef]
  36. Zeng, F.; Liu, F.; Li, C.; 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]
  37. Anley, E.F.; Zheng, Z. Finite Difference Method for Two-Sided Two Dimensional Space Fractional Convection-Diffusion Problem with Source Term. Mathematics 2020, 8, 1878. [Google Scholar] [CrossRef]
  38. Basha, M.; Anley, E.F.; Dai, B. Linearized Crank–Nicolson Scheme for the Two-Dimensional Nonlinear Riesz Space-Fractional Convection–Diffusion Equation. Fractal Fract. 2023, 7, 240. [Google Scholar] [CrossRef]
  39. Li, J.; Liu, F.; Feng, L.; Turner, I. A Novel Finite Volume Method for the Riesz Space Distributed-Order Diffusion Equation. Comput. Math. Appl. 2017, 74, 772–783. [Google Scholar] [CrossRef]
  40. Li, J.; Liu, F.; Feng, L.; Turner, I. A Novel Finite Volume Method for the Riesz Space Distributed-Order Advection-Diffusion Equation. Appl. Math. Model. 2017, 46, 536–553. [Google Scholar] [CrossRef]
  41. Ye, H.; Liu, F.; Anh, V.; Turner, I. Numerical Analysis for the Time Distributed-Order and Riesz Space Fractional Diffusions on Bounded Domains. IMA J. Appl. Math. 2015, 80, 825–838. [Google Scholar] [CrossRef]
  42. Zhang, H.; Liu, F.; Jiang, X.; Zeng, F.; Turner, I. A Crank-Nicolson ADI Galerkin-Legendre Spectral Method for the Two-Dimensional Riesz Space Distributed-Order Advection-Diffusion Equation. Comput. Math. Appl. 2018, 76, 2460–2476. [Google Scholar] [CrossRef]
  43. Hu, X.; Liu, F.; Turner, I.; Anh, V. An Implicit Numerical Method of a New Time Distributed-Order and Two-Sided Space-Fractional Advection-Dispersion Equation. Numer. Algorithms 2016, 72, 393–407. [Google Scholar] [CrossRef]
  44. Ding, H.; Zhang, Y. New numerical methods for the Riesz space fractional partial differential equations. Comput. Math. Appl. 2012, 63, 1135–1146. [Google Scholar]
  45. Shen, J.; Tang, T.; Wang, L. Spectral Methods: Algorithms, Analysis and Applications; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
  46. Ervin, V.J.; Roop, J.P. Variational solution of fractional advection dispersion equations on bounded domains in Rd. Numer. Methods Partial. Differ. Equ. Int. J. 2007, 23, 256–281. [Google Scholar] [CrossRef]
  47. Bærentzen, J.A.; Gravesen, J.; Anton, F.; Aanæs, H. Finite Difference Methods for Partial Differential Equations. In Guide to Computational Geometry Processing; Springer: London, UK, 2012; pp. 65–79. [Google Scholar]
Figure 1. The L and L 2 errors at T = 1 for Example 1 when K 1 = K 2 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.6 , 1.8 ) , μ = 1 , ν = 1 , τ = 0.0001 , and N = [ 4 , 8 , 16 , 32 , 46 , 128 ] .
Figure 1. The L and L 2 errors at T = 1 for Example 1 when K 1 = K 2 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.6 , 1.8 ) , μ = 1 , ν = 1 , τ = 0.0001 , and N = [ 4 , 8 , 16 , 32 , 46 , 128 ] .
Fractalfract 08 00431 g001
Figure 2. The point-wise error for Example 1 when K 1 = K 2 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.6 , 1.8 ) , μ = 1 , ν = 1 , τ = 0.0001 , and N = 16 .
Figure 2. The point-wise error for Example 1 when K 1 = K 2 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.6 , 1.8 ) , μ = 1 , ν = 1 , τ = 0.0001 , and N = 16 .
Fractalfract 08 00431 g002
Figure 3. The L and L 2 errors at T = 1 for Example 2 when K 1 = K 2 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.6 , 1.8 ) , τ = 0.0001 , and N = [ 8 , 16 , 32 , 46 , 128 , 256 ] .
Figure 3. The L and L 2 errors at T = 1 for Example 2 when K 1 = K 2 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.6 , 1.8 ) , τ = 0.0001 , and N = [ 8 , 16 , 32 , 46 , 128 , 256 ] .
Fractalfract 08 00431 g003
Figure 4. The point-wise error for Example 2 when K 1 = K 2 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.6 , 1.8 ) , τ = 0.0001 , and N = 16 .
Figure 4. The point-wise error for Example 2 when K 1 = K 2 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.6 , 1.8 ) , τ = 0.0001 , and N = 16 .
Fractalfract 08 00431 g004
Figure 5. The L and L 2 errors at T = 1 for Example 3 when K 1 = K 2 = K 3 = K 4 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.6 , 1.6 ) , ( β 1 , β 2 ) = ( 0.6 , 1.8 ) , τ = 0.0001 , and N = [ 8 , 16 , 32 , 46 , 128 ] .
Figure 5. The L and L 2 errors at T = 1 for Example 3 when K 1 = K 2 = K 3 = K 4 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.6 , 1.6 ) , ( β 1 , β 2 ) = ( 0.6 , 1.8 ) , τ = 0.0001 , and N = [ 8 , 16 , 32 , 46 , 128 ] .
Fractalfract 08 00431 g005
Figure 6. The point-wise error at T = 1 for Example 3 when K 1 = K 2 = K 3 = K 4 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.6 , 1.6 ) , ( β 1 , β 2 ) = ( 0.6 , 1.8 ) , and τ = 0.0001 . (Left): N = 16 ; (Right): N = 128 .
Figure 6. The point-wise error at T = 1 for Example 3 when K 1 = K 2 = K 3 = K 4 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.6 , 1.6 ) , ( β 1 , β 2 ) = ( 0.6 , 1.8 ) , and τ = 0.0001 . (Left): N = 16 ; (Right): N = 128 .
Fractalfract 08 00431 g006
Figure 7. The L and L 2 errors at T = 1 for Example 4 when K 1 = K 2 = K 3 = K 4 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.2 , 1.8 ) , ( β 1 , β 2 ) = ( 0.6 , 1.8 ) , τ = 0.0001 , and N = [ 8 , 16 , 32 , 46 , 128 , 256 ] .
Figure 7. The L and L 2 errors at T = 1 for Example 4 when K 1 = K 2 = K 3 = K 4 = 1 , L = 1 , ( α 1 , α 2 ) = ( 0.2 , 1.8 ) , ( β 1 , β 2 ) = ( 0.6 , 1.8 ) , τ = 0.0001 , and N = [ 8 , 16 , 32 , 46 , 128 , 256 ] .
Fractalfract 08 00431 g007
Figure 8. The point-wise error at T = 1 for Example 4 when K 1 = K 2 = K 3 = K 4 , L = 1 , ( α 1 , α 2 ) = ( 0.2 , 1.8 ) , ( β 1 , β 2 ) = ( 0.6 , 1.8 ) , and τ = 0.0001 . (Left): N = 16 ; (Right): N = 256 .
Figure 8. The point-wise error at T = 1 for Example 4 when K 1 = K 2 = K 3 = K 4 , L = 1 , ( α 1 , α 2 ) = ( 0.2 , 1.8 ) , ( β 1 , β 2 ) = ( 0.6 , 1.8 ) , and τ = 0.0001 . (Left): N = 16 ; (Right): N = 256 .
Fractalfract 08 00431 g008
Table 1. Convergence order and maximum error for Example 1, which is convection-dominant at T = 1 when ν = α 1 , μ = α 2 , K 1 = 2 , and K 2 = 0.25 .
Table 1. Convergence order and maximum error for Example 1, which is convection-dominant at T = 1 when ν = α 1 , μ = α 2 , K 1 = 2 , and K 2 = 0.25 .
α 1 = 0.1 α 1 = 0.45 α 1 = 0.85
N ( 1 / τ ) err L | t = 1 Order err L | t = 1 Order err L | t = 1 Order
10 1.7575 × 10 4 7.6952 × 10 4 2.3088 × 10 3
20 3.3515 × 10 5 2.3906 1.7774 × 10 4 2.1142 5.3559 × 10 4 2.1080
α 2 = 1.25 40 5.1936 × 10 6 2.6900 4.2000 × 10 5 2.0813 1.2951 × 10 4 2.0481
80 1.0632 × 10 6 2.2883 9.6456 × 10 6 2.1224 3.1667 × 10 5 2.0320
160 6.5589 × 10 7 0.6969 2.0735 × 10 6 2.2178 7.7614 × 10 6 2.0286
10 6.6256 × 10 4 1.6599 × 10 3 4.0506 × 10 3
20 1.6206 × 10 4 2.0316 3.9472 × 10 4 2.0722 9.3815 × 10 4 2.1103
α 2 = 1.85 40 4.0207 × 10 5 2.0110 9.6426 × 10 5 2.0333 2.2591 × 10 4 2.0541
80 9.9963 × 10 6 2.0080 2.3816 × 10 5 2.0175 5.5400 × 10 5 2.0278
160 2.4873 × 10 6 2.0068 5.9151 × 10 6 2.0094 1.3715 × 10 5 2.0141
Table 2. Convergence order and maximum error for Example 1, which is diffusion-dominant at T = 1 when ν = α 1 , μ = α 2 , K 1 = 0.25 , and K 2 = 2 .
Table 2. Convergence order and maximum error for Example 1, which is diffusion-dominant at T = 1 when ν = α 1 , μ = α 2 , K 1 = 0.25 , and K 2 = 2 .
α 1 = 0.1 α 1 = 0.45 α 1 = 0.85
N ( 1 / τ ) err L | t = 1 Order err L | t = 1 Order err L | t = 1 Order
10 2.1908 × 10 4 8.4270 × 10 4 2.4135 × 10 3
20 4.9719 × 10 5 2.1396 1.9674 × 10 4 2.0987 5.5850 × 10 4 2.1115
α 2 = 1.25 40 1.2464 × 10 5 1.9960 4.8421 × 10 5 2.0226 1.3554 × 10 4 2.0428
80 3.0933 × 10 6 2.0106 1.1983 × 10 5 2.0146 3.3352 × 10 5 2.0229
160 7.6035 × 10 7 2.0244 2.9711 × 10 6 2.0119 8.2632 × 10 6 2.0130
10 7.2807 × 10 4 1.8363 × 10 3 4.4266 × 10 3
20 1.6902 × 10 4 2.1069 4.2649 × 10 4 2.1063 1.0152 × 10 3 2.1244
α 2 = 1.85 40 4.2081 × 10 5 2.0059 1.0427 × 10 4 2.0322 2.4453 × 10 4 2.0537
80 1.0500 × 10 5 2.0028 2.5777 × 10 5 2.0162 5.9981 × 10 5 2.0274
160 2.6225 × 10 6 2.0014 6.4080 × 10 6 2.0081 1.4852 × 10 5 2.0139
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

Zhang, X.; Wang, J.; Wu, Z.; Tang, Z.; Zeng, X. Spectral Galerkin Methods for Riesz Space-Fractional Convection–Diffusion Equations. Fractal Fract. 2024, 8, 431. https://doi.org/10.3390/fractalfract8070431

AMA Style

Zhang X, Wang J, Wu Z, Tang Z, Zeng X. Spectral Galerkin Methods for Riesz Space-Fractional Convection–Diffusion Equations. Fractal and Fractional. 2024; 8(7):431. https://doi.org/10.3390/fractalfract8070431

Chicago/Turabian Style

Zhang, Xinxia, Jihan Wang, Zhongshu Wu, Zheyi Tang, and Xiaoyan Zeng. 2024. "Spectral Galerkin Methods for Riesz Space-Fractional Convection–Diffusion Equations" Fractal and Fractional 8, no. 7: 431. https://doi.org/10.3390/fractalfract8070431

APA Style

Zhang, X., Wang, J., Wu, Z., Tang, Z., & Zeng, X. (2024). Spectral Galerkin Methods for Riesz Space-Fractional Convection–Diffusion Equations. Fractal and Fractional, 8(7), 431. https://doi.org/10.3390/fractalfract8070431

Article Metrics

Back to TopTop