1. Introduction
Fractional differential operators are more suitable than integer-order ones for describing some practical problems. At present, fractional differential equations have been widely used to model scientific problems, such as microstructural evolution [
1], image denoising [
2], etc. However, owing to the existence of fractional differential operators, analytical solutions are difficult to derive for most fractional differential equations. It is therefore necessary to construct stable and high-precision discrete schemes for the numerical approximation of nonlinear fractional differential equations. Accordingly, numerical algorithms including the finite difference method [
3,
4], finite element method [
5,
6], and spectral method [
7,
8] have been extensively adopted.
The Allen–Cahn equation is one of the equations describing the phase field model, which was proposed by Allen and Cahn [
9] in 1979 when they studied the motion of the antiphase boundary. Since the integer-order Allen–Cahn equation cannot fully describe phase transition processes in complex media, in many heterogeneous and porous media, particle motion often exhibits nonlocality and memory effects. The time fractional Allen–Cahn equation effectively describes dependency and memory effects in complex physical processes and has been extensively studied in recent years, such as in multi-phase image segmentation [
10], a description of oil pollution in water [
11], phase separation [
12], and local image inpainting [
13]. Based on cubic B-splines and the Crank–Nicolson formula, a linear scheme for the time fractional Allen–Cahn equation is proposed, and its stability and convergence are proved. The convergence order is
, where
and
h represent the time step and space step, respectively [
14]. Zheng et al. [
15] proposed the first- and second-order schemes of the time fractional Allen–Cahn equation by the Lagrange multiplier method; these two schemes preserve the maximum principle and energy stability of the equation. The orders of convergence are
and
, respectively, where
is the order of the fractional derivative with respect to time. Ghosh et al. [
16] transformed the time fractional Allen–Cahn equation into a nonlinear generalized functional equation and solved this nonlinear system using Daftardar-Gejji and Jafari methods (DGJ). The L1 scheme on graded mesh is used for time discretization, while the central difference scheme on a uniform mesh is applied spatially and the convergence order is
, where
is the grading parameter. Ji et al. [
17] proposed two fast L1 time-step methods, the backward Euler scheme and the stabilized semi-implicit scheme, to solve the time fractional Allen–Cahn equation with convergence orders of
and
, respectively.
In this paper, we consider the following time fractional Allen–Cahn equation:
where
is a known function and
represents the Caputo fractional derivative defined by
For nonlinear problems, many scholars analyze the equation based on the boundedness of the numerical solution, which requires some time-step constraints. Li et al. [
18] employed a linear L1-Galerkin finite element method for the time fractional Schrödinger equation to derive its linear scheme and established the unconditional convergence by the temporal–spatial error splitting argument. In order to solve the two-dimensional nonlinear time fractional advection–diffusion equation, Zhang et al. [
19] proposed a linear L1 Legendre–Galerkin spectral method and illustrated both unconditional stability and optimal error estimates for this numerical scheme by the temporal–spatial error splitting argument and a discrete fractional Gronwall-type inequality. For the semilinear time fractional parabolic equation, Han et al. [
20] proposed a numerical scheme by combining the transformed L1 method in time with the finite element method in space and proved unconditional optimal error estimates for the resulting scheme using a temporal–spatial error splitting argument. Thus, the temporal–spatial error splitting approach is theoretically justified to derive unconditional convergence.
This paper employs the spectral method to construct a highly accurate linear scheme for (1)–(3) and establishes its unconditional convergence. Specifically, we adopt the - scheme to approximate the Caputo fractional derivative, the Fourier spectral method for spatial discretization, and Newton linearization to formulate a linear fully discrete scheme. By the time–space error splitting argument, we present a rigorous analysis of the boundedness of the numerical solution and the convergence of the fully discrete scheme. Moreover, we derive convergence results independent of the spatial mesh size, thus eliminating the time-step restriction. Numerical experiments verify that the proposed scheme attains second-order convergence in time and spectral accuracy in space, provided that the solution is sufficiently smooth. Furthermore, there are weak singular kernels in fractional differential equations. Even with smooth source terms and smooth initial conditions, the solution of time fractional differential equations will exhibit singularity at . Then the time accuracy will be significantly reduced. Therefore, we construct a modified scheme to handle equations with non-smooth solutions in order to maintain second-order temporal accuracy around .
The paper is structured as follows: In
Section 2, some preparations are introduced, and a linear fully discrete scheme is constructed in
Section 3. In
Section 4, the boundedness of the numerical solution is analyzed, and the convergence of the proposed scheme is rigorously proved in
Section 5. In
Section 6 we propose an improved scheme for the non-smooth solution problem. Some numerical experiments are given in
Section 7 to demonstrate the theoretical results. Conclusions are given in
Section 8.
3. Fully Discrete Scheme
Let be the temporal step size, where M is a positive integer. Let , and for . We denote and . To simplify the representation, in this paper, is composed of the coefficients of the same terms obtained during the analysis, representing a constant that is independent of and N.
For the Caputo fractional derivative of order
, Alikhanov’s
approximation formula at
is as follows [
23]:
where
, and for
,
where
Lemma 3 ([
24,
25])
. For any , if , , then Lemma 4 ([
25])
. For any , then Let
be the approximation of
at time
for
. We denote
,
and
Formula (
4) is used to approximate the Caputo fractional derivative, extrapolation and Newton linearization are used to discretize the nonlinear term, and the spatial direction is discretized by the Fourier spectral method. The linearized fully discrete scheme of Equations (1)–(3) is as follows: we find
, such that
where
,
.
The fully discrete scheme (5)–(7) is a linear scheme and the well-posedness is guaranteed by the Lax–Milgram lemma.
4. Boundedness of the Numerical Solution
In this section, we analyze the boundedness of the numerical solution. Using an approach similar to the proof of Theorem 3.1 in [
26], the following discrete fractional Gronwall-type inequality can be proved:
Lemma 5. Let be a sequence of functions defined in and let be given non-negative sequences if andwhere and are positive constants. Then, there exists a positive constant such that, when ,where and is the Mittag-Leffler function. To prove the boundedness of the solution of the numerical scheme (5)–(7), we first introduce a time-discrete system
It is a linear elliptic system, and the existence and uniqueness of the solution
can be easily proved. Let
Now, we prove the error estimate of and the boundedness of the numerical solution of the time discretization scheme (8)–(11).
Theorem 1. Let u be the solution of (1)–(3)
and be the solution of the time-discrete system (8)–(11)
. Then there exists a positive constant when , Proof. Let
, using mathematical induction to prove (
14). For
, subtracting (8) from (1) yields the following error equation:
where
According to Lemma 3, (
12) and Taylor’s theorem, we have
Within the interval
I, we compute the inner product of both sides of (
16) with respect to
, arriving at
Using the Hölder inequality, the Young inequality and (
17), we have
When
, we get
Multiplying by
on both sides of (
16) and integrating over
I, by using the Hölder inequality, the Young inequality and (
17), we obtain
From the above equation, we have
When
, we can infer that
It follows from (
18) and (
19) that
Supposing that (
14) holds for
and
, by virtue of Lemma 2, when
, it holds that
Subtracting (9) from (1), we obtain the following error equation:
where
According to Lemma 3, (
12) and Taylor’s theorem, we have
Taking
in (
22), multiplying by
on both sides of (
22), and integrating over
I, we get
By using the Hölder inequality, the Young inequality, (
12) and (
21), we conclude that
By Lemma 4, Lemma 5 and (
23), there exists a positive constant
when
,
Letting
in (
22), multiplying by
on both sides of (
22) and integrating over
I, we obtain
By using the Hölder inequality, the Young inequality, (
12) and (
21), similar results can be obtained
According to Lemma 4, Lemma 5, and (
23), there is a constant number
when
,
By (
25) and (
27), we have
when
,
, and
; thus, (
14) holds for
. The induction is complete. Using Lemma 2, when
, we have
The proof of Theorem 1 is complete. □
Next, we give an error estimate for and prove the boundedness of the numerical solution .
Theorem 2. Let be the solution of the time-discrete system (8)–(11)
and be the solution of the fully discrete scheme (5)–(7)
. Then there exists a positive constant and when , where , . Proof. Let
. We prove (
29) by mathematical induction, for
, from (8) and (5), using the properties of projection operator
and
. The error equation of
is
Taking
in (
31), it holds that
By applying the Hölder inequality, the Young inequality, Lemma 1, (
12) and (
15), we can conclude that
When
, we can obtain
Suppose that (
29) holds for
, by Lemma 2, when
,
Subtracting (9) and (6) gives the following equation:
Taking
and
in (
35), we obtain
Using the Hölder inequality, the Young inequality, (15), (34) and Lemma 1, yields
Through Lemma 4 and Lemma 5, there exists a positive constant
such that when
,
where
is a positive constant. Equation (
29) holds for
; the induction is complete. Thus, using Lemma 2, when
, we obtain
Taking
, the proof is complete. □
6. An Improved Fully Discrete Scheme for Non-Smooth Solutions
Since the solution of the time fractional differential equation will show singularity at
[
27], even if the initial conditions and source terms are sufficiently smooth, this singularity will lead to a decrease in the time accuracy of the constructed fully discrete scheme. To solve this problem and obtain the desired accuracy, we follow Lubich’s approach [
28] by adding correction terms.
First, we revise the
-
scheme as follows:
where the starting weights
are chosen such that (
45) is exact for
,
,
. Specifically,
can be computed by
According to [
29], the linear system (
46) is known to be ill-conditioned. In fact, for equations with solutions of low regularity, we only need to add a few terms to significantly improve temporal accuracy. Then we can solve
effectively.
We next correct the approximation of
. Choosing the starting weight
satisfies that
is exact for
,
,
.
The fully discrete scheme for correcting Equations (1)–(3) is as follows: find
,
Scheme (
47)–(
49) is made accurate for low-regularity terms
by adding correction terms. Therefore, for equations with weakly singular points, scheme (
47)–(
49) exhibits higher temporal accuracy than scheme (5)–(7).
7. Numerical Experiments
In this section, we present numerical results to support the theoretical analysis. The maximum
norm error between the exact solution and the numerical solution, as well as the temporal error, are computed using the following formulas:
,
. Moreover, in [
30], it was first proved that the Allen–Cahn equation for time fractions satisfies the following energy laws:
, where
is the total energy defined by
, where
. And the principle of maximum values holds: if
then
.
Example 1. Consider the time fractional Allen–Cahn equation with a smooth solution :where and We first consider the temporal accuracy. To avoid the influence of spatial discretization, we take
,
and
.
Table 1 gives the maximum
norm error and time convergence rates varying different
τ and
α. The results show that the temporal accuracy is
, which is consistent with the theoretical analysis.
Next, we consider the spatial convergence rate. To eliminate the impact of temporal direction error, we set
. Taking
and
,
Figure 1 plots the maximum
norm errors with respect to polynomial degree
N in semi-log scale for
and
. The exponential decay of the maximum
norm errors indicates that spectral accuracy in space is achieved when the solution is sufficiently smooth.
Finally, we verify the maximum value principle and the law of energy dissipation. We set
,
,
, and
.
Figure 2 and
Figure 3 show the maximum norm and energy
over time for different values of
, and
. The results demonstrate that our approach is effective, satisfying both the energy dissipation law and the maximum value principle.
Next, we give an example where the solution of (1)–(3) exhibits finite regularity.
Example 2. Consider the time fractional Allen–Cahn equation with a non-smooth solution :whereand Obviously, but . We investigate the time and space accuracy. First, taking
and
,
Table 2 shows the
norm error and time convergence rates for different values of
τ and
α. The results show that the scheme has second-order temporal accuracy. Next, taking
,
and
,
Figure 4 plots the maximum
norm errors with respect to polynomial degree
N in a semi-log scale. The results indicate that the convergence rate of the numerical scheme lies between
and
, which is consistent with the theoretical analysis.
In the last example, we explore the problem of non-smooth solutions in time.
Example 3. Consider the time fractional Allen–Cahn equation with solution :where and First, we verify the principle of maximum value and the law of energy dissipation in the scheme. Taking
,
,
, and
,
Figure 5 and
Figure 6 show the maximum norm value and energy
over time for
and
. The results demonstrate that this scheme is effective for equations with weakly initial singularities, simultaneously satisfying the energy dissipation law and the maximum principle.
Taking
,
, and
,
Table 3 and
Table 4 describes the
norm errors and temporal convergence rates for
, and 0.9. In these tables,
indicates that the error and temporal convergence rates are obtained via scheme (5)–(7), meaning we do not correct the approximation of Caputo fractional derivatives.
indicates that we have added a correction term for the discrete Caputo fractional derivative, namely the error and convergence order obtained according to scheme (
47)–(
49). It should be noted that in this example, the corrections to
and the nonlinear term have a minor impact on temporal accuracy; therefore, we do not modify them.
In
Table 3,
Table 4 and
Table 5, we observe that when
, the time convergence order of the
norm errors is less than two, which is caused by the singularity of the solution. When a correction term is added to the approximated fractional derivative, the time accuracy improves to second order.
The results above demonstrate that adding appropriate correction terms is highly effective for non-smooth solutions. Not only does this ensure approximate accuracy for low-regularity terms, but it also preserves precision for high-regularity terms.