1.
Introduction
Fractional order partial differential equations are a generalization of classical partial differential equations [1,2,3]. The theory of fractional order calculus has a wide range of applications in mathematical physics equations, electrochemical processes, mechanics, anomalous diffusion, processing of signals and finance [4,5,6,7,8]. Since the analytical solutions of many fractional order differential equations cannot be solved exactly [9], numerical methods for fractional order differential equations have attracted a great deal of attention from an increasing number of scholars. Many researchers in domestic and foreign countries have solved many different types of fractional order partial differential equations by different methods. There are spectral methods [10,11,12,13,14,15], finite difference method [16,17,18,19], finite element method [20,21,22,23,24,25], local discontinuous Galerkin methods (LDG) [26,27,28,29,30]. etc.
In recent years, many scholars have studied the Caputo-type reaction diffusion equation. Imran and Shah etal [31] investigated unsteady time fractional natural convection flow of incompressible viscous fluid, and obtained some exact solutions for temperature and velocity fields by Caputo time fractional derivatives in dimensionless form. Mahsud, Shah and Vieru [32] studied unsteady flows of an upper-convected Maxwell fluid which is described by the fractional differential equations with time-fractional Caputo-Fabrizio derivatives. Shah etal [33] studied natural convective flows of Prabhakar-like fractional viscoelastic fluids by introducing the generalized fractional constitutive equations, and used the time-fractional Prabhakar derivative to describle the generalized memory effects. J. Shu et al. [34] studied the asymptotic behavior of the solution of the non-autonomous fractional-order stochastic reaction-diffusion equation with multiplicative noise in R. M. Stynes et al. [35] studied the reaction-diffusion problem with Caputo time derivatives, giving a new analysis of the standard finite difference method for this problem. C.B. Huang et al. [36] presented a fully discrete numerical method for computing an approximate solution of fractional reaction-diffusion initial-boundary value problems based on L1 discretization in time and direct discontinuous Galerkin (DDG) finite element in space. V.K. Baranwal et al. [37] proposed a new analytical algorithm for solving a system of highly nonlinear time-fractional order reaction-diffusion equations, a fusion of the variational iterative method and the Adomian decomposition method. S. Ali et al. [38] obtained an approximate solution of the fractional order Cauchy reaction diffusion equation using the optimal homotopy asymptotic method. New numerical schemes for solving nonlinear fractional convection-diffusion equations of order β∈[1,2] were developed by H. Safdari et al. [39]. They proposed locally discontinuous Galerkin methods by adopting linear, quadratic and cubic B-spline basis functions.
The Discontinuous Galerkin (DG) method is between a finite element and a finite volume method, and uses a discontinuous solution space and has high accuracy for any order of accuracy. The main idea of the LDG method is to transform the original higher-order partial differential equations into several equivalent systems of first-order equations by introducing auxiliary variables and then discretize the obtained systems of first-order equations using the DG method [40]. In this paper, we will consider the LDG method based on the generalized numerical flux to solve the time-fractional reaction-diffusion equation with Caputo fractional order derivatives.
in which 0<α(t)≤˙α<1, σ≥0. The F,u0 are smooth functions. In this paper, the solution is considered to be periodic or compactly supported.
The Caputo fractional derivative operator [41] is defined by
In Section 2, some notations and projections are given. In Section 3, we will propose a fully discrete LDG method for the equation (1.1), and prove that the scheme is unconditionally stable and convergent with O(hk+1+(Δt)2−˙α). The correctness of the theoretical analysis is shown in Section 4 with numerical examples. Finally, the conclusion is given in Section 5.
2.
Notations and auxiliary results
Let a=x12<x32<⋯<xN+12=b be partition of Ω=[a,b], denote Ij=[xj−12,xj+12], for j=1,⋯N, and hj=xj+12−xj−12,1≤j≤N, h=max1≤j≤Nhj.
We denote u+j+12=limt→0+u(xj+12+t) and u−j+12=limt→0+u(xj+12−t).
The piecewise-polynomial space Vkh is defined as
where k is the order of piecewise polynomial.
For any periodic function ϖ, the following projection is used to prove the error estimate. Let ωe=Pδω−ω, that is P,
Lemma 2.1. Let δ≠12. If ω∈Hs+1[a,b], there holds
where the bounding constant C>0 is independent of h and ω. Here Γh denotes the set of boundary points of all elements Ij, and
Let the scalar inner product on L2(E) be denoted by (⋅,⋅)E, and the associated norm by ‖⋅‖E. If E=Ω, we drop E. In the paper, C is a positive number that may have different values in different places.
3.
The scheme
We first construct the fully discrete LDG method for the equation (1.1).
We can rewrite the equation (1.1) into the following form:
Let tn=nΔt=nMT, Δt=tn−tn−1, we approximate the Caputo fractional derivative C0Dα(tn)tu(x,tn):
where γn is the truncation error in the time direction and ‖γn‖≤C(Δt)2−˙α.
In which, bnk=(k+1)1−α(tn)−(k)1−α(tn), and it can be seen that the coefficients have the following properties [35]
Let unh,pnh∈Vkh be the approximations of u(⋅,tn),p(⋅,tn), respectively, Fn(x)=F(x,tn). Find unh,pnh∈Vkh, such that for all test functions v,w∈Vkh,
Selecting the appropriate numerical flux will play a key role in theoretical analysis for the LDG scheme. From the practical aspect, the generalized alternating numerical fluxes have more application than the traditional numerical fluxes [42]. We consider the following generalized alternating numerical fluxes
here we consider the case δ≠12. For δ=12, the property about unique existence and approximation of the generalized Gauss-Radau projection will become complicated [43].
For the sake of convenience, we denote
Next, we give the stability analysis of the scheme (3.3).
3.1. Stability analysis
Without loss of generality, we take F=0 in the theoretical analysis. The following stability result for the scheme (3.3) can be obtained.
Theorem 3.1. For periodic or compactly supported boundary conditions, the fully-discrete LDG scheme (3.3) is unconditionally stable, and the numerical solution unh satisfies
Proof. Taking the test functions v=unh,w=pnh in the scheme (3.3), and with the fluxes choice (3.4), we obtain
In Ij=[xj−12,xj+12], we obtain
After some computations and summing (3.8) from 1 to N over j, we get
Combine (3.9) and the Cauchy-Schwarz inequality, (3.7) becomes
Use mathematical induction to prove Theorem 3.1. Let n=1 in (3.10), and we can obtain
Now we assume that the following inequality holds
We need to prove
it follows from (3.10) and (3.12) that
□
3.2. Error estimate
Theorem 3.2. Let u(x,tn) be the exact solution of the problem (1.1), which is sufficiently smooth with bounded derivatives. Let unh be the numerical solution of the fully discrete LDG scheme (3.3) with flux (3.4), and then the following error estimates holds
where C is a constant depending on u,T.
Proof.
Here ηnu and ηnp have been estimated by the inequality (2.2).
Taking the flux (3.4), we can get the following error equation.
Take the test function v=ξnu,w=ξnp, and use (3.14) in the error equation (3.15), we can get
using the projection (2.1), and after a certain amount of analysis, we can obtain
Using the Cauchy-Schwarz inequality, we could have the following equality
let ϖ=(Δt)α(tn)Γ(2−α(tn)), and ϖ<Γ(1−α(tn))Tα(tn)bn−1, we have
Using the nature of projection, and noticing the fact that
we can get
so
We use mathematical induction to prove the theorem. When n=1, from (3.20), it follows that
we assume that inequality holds
We only need to prove that the following results holds
Similar to the proof of stability, we can get the following formula
so
Let ˙α=max{α(tn)}, we have
Theorem 3.2 could be proved by using the triangle inequality and the interpolation property (2.2). □
4.
Numerical experiment
Consider the following equation (1.1)
with u(x,0)=0 for x∈(0,1), the function
is chosen such that the exact solution of the equation is u(x,t)=t2cos(2πx).
Choosing a fixed small time step Δt=11000 to avoid contamination of the temporal error, and dividing the space into N elements to form the uniform mesh. The errors in L2-norm and L∞-norm for different values α(t) and δs are demonstrated in Tables 1 and 2 where N=5,10,20,40. A uniform (k+1)-th order of accuracy for piecewise Pk polynomials can be seen.
Finally, the temporal convergence rate of the scheme (3.3) for α(t)=1+t2 by piecewise P1 polynomials are provided. Taking the spatial mesh size h=1300, and the temporal meshes Δt=15,110,120,140, respectively. One can find that the temporal convergence rate is first order in Figure 1, which is also consistent with the theoretical results.
5.
Conclusions
In this paper, a numerical method is investigated to solve the variable-order (VO) fractional reaction-diffusion equation. We obtained the scheme by using the finite difference method in time and the LDG method in space. Based on the generalized alternating numerical fluxes, we prove that the method is unconditionally stable and convergent with O(hk+1+(Δt)2−˙α). Numerical examples demonstrate the accuracy of our theoretical proofs. In the future, we will use this method to solve models for different kinds of partial differential equations.
Use of AI tools declaration
The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.
Acknowledgment
This work is supported by the Scientific and Technological Research Projects in Henan Province (212102210612).