Abstract
As a model that possesses both the potentialities of Caputo time fractional diffusion equation (Caputo-TFDE) and symmetric two-sided space fractional diffusion equation (Riesz-SFDE), time-space fractional diffusion equation (TSFDE) is widely applied in scientific and engineering fields to model anomalous diffusion phenomena including subdiffusion and superdiffusion. Due to the fact that fractional operators act on both temporal and spatial derivative terms in TSFDE, efficient solving for TSFDE is important, where the key is solving the corresponding discrete system efficiently. In this paper, we derive a Galerkin–Legendre spectral all-at-once system from the TSFDE, and then we develop a preconditioner to solve this system. Symmetry property of the coefficient matrix in this all-at-once system is destroyed so that the deduced all-at-once system is more convenient for parallel computing than the traditional timing-step scheme, and the proposed preconditioner can efficiently solve the corresponding all-at-once system from TSFDE with nonsmooth solution. Moreover, some relevant theoretical analyses are provided, and several numerical results are presented to show competitiveness of the proposed method.
Keywords:
all-at-once linear system; preconditioner; spectral distribution; time-space fractional equation; Krylov subspace method MSC:
65F08; 65F10
1. Introduction
Classical integer order diffusion equation (IDE) is usually applied to describe normal diffusion phenomena such as the diffusion of particles in liquids or gases [1]. However, with further exploration for complicated diffusion phenomena in mechanics and engineering fields [2,3], researchers have encountered challenges in accurately utilizing IDE to simulate the diffusion motion of particles in fractal media (known as anomalous diffusion) [4]. Therefore, studies about time-space fractional diffusion equation (TSFDE) of the following form [5] are particularly popular
where is the generalized diffusion coefficient, exhibits the concentration of interest at location x of time t, represents the source item and is a continuous function, is a given smooth function, and represent spatial and temporal domains, and are the Caputo fractional derivatives and the Riesz fractional derivatives defined as
where is the Gamma function, and and are fractional orders of the time and space derivatives, respectively.
For , Equation (1) is equivalent to a symmetric case of the two-sided fractional diffusion equation, which is called Riesz-space fractional diffusion equation (Riesz-SFDE) [6]. Riesz fractional operator is an effective tool to explore nonlocal effects for engineering and physics applications [7], hence Riesz-SFDE is usually applied to model complicated phenomenon with path dependency and nonlocality [8]. Equation (1) is reduced to Caputo-time fractional diffusion equation (Caputo-TFDE) if . Note that Caputo derivative is defined pointwise for continuously differentiable functions [9], so that Caputo fractional differential operator can well overcome the supersingularity [10], and then Caputo-TFDE is practical for modeling long term memory phenomenon [11]. As a model that possesses both potentialities of Caputo-TFDE and symmetric two-sided space fractional diffusion equation (Riesz-SFDE) [12], Equation (1) is usually used to describe subdiffusion phenomenon if , superdiffusion phenomenon if , and normal diffusion if . In fact, for simulating the anomalous diffusion of particles, coefficients of fractional derivative in Equation (1) are usually used to describe the competitive relationship between long waiting time and large jumps of particles [13]. Moreover, Equation (1) is usually related to the scaling limits of the continuous time random walks and extensively applied in numerous engineering and scientific fields [14]. For instance, in ocean dynamics, Equation (1) can be used to describe the anomalous transport problem that the sticky trajectories within the boundary layers of the islands, where the boundary layers of the islands is regarded as a fractal support [15], and in financial economics, by modeling prices as random variables and varying waiting times between two consecutive transactions into a stochastic fashion. The authors in Ref. [16] utilize Equation (1) to model the behavior of returns and derive a rather general phenomenological theory in financial markets. In addition, as a foundation for more complicated diffusion modeling, Equation (1) can also be developed into variable-order model [17], distributed-order model [18], random-order model [19], nonlinear model [20], and other forms [21] for better application.
Due to the nonlocality of the fractional derivatives, analytical solutions for Equation (1) are usually difficult to obtain explicitly. Accordingly, numerical schemes for their approximate solutions have received much attention [22]. As a numerical scheme that typically converges with high order [23], in recent years, spectral methods are well developed for discretizing those FDEs. For example, after applying the generalized Jacobi functions and Fourier-like basis functions on time and space of TFDE respectively, Sheng and Shen [24] obtained a space-time Petrov-Galerkin spectral method for TFDE, this method can reach spectral accuracy in both space and time. To further improve the efficiency in discretization, Li and Xu [25] proposed a new spectral method for TFDE. This method can solve the problem with long-time solution since the “global time dependence” makes the storage requirement considerably relaxed. However, Li and Xu only applied this method to a 1D problem, for the discretization of high-order TFDE, by utilizing Legendre polynomials and their variants to approximate both temporal and spatial variables. Fakhar-Izadi and Shabgard [26] derived a new time-space spectral Galerkin method. This method can be stable for a kind of fourth-order TFDE. In fact, for the inverse problem of TFDE, spectral methods can also reach an exponential convergence. Based on the work of Lin et al. [27], who applied the spectral scheme to approximate TFDE, Ye et al. [28] proposed a spectral optimization method for its inverse problem, under the assumption that the optimal initial condition is smooth. The proposed method can indeed reach the exponential convergence rate. In addition, to further exploit the stability and high convergence of spectral methods in solving different variants of Equation (1), Zaky et al. [29,30] developed a class of semi-implicit Galerkin–Legendre spectral schemes. These methods are stable for nonlinear time-space fractional Schrödinger equation and can reach spectral accuracy even for those TSFDEs with nonsmooth solutions. Discussions about spectral methods for solving other variants of Equation (1) are exploited in Refs. [31,32,33,34,35]. The methods in these works are stable and can usually reach spectral accuracy. Moreover, in order to further save the computational cost of those methods, numerous fast algorithms are also designed for solving TFDE [36], TSFDE [37], and their variants [38,39,40]. In these methods, by utilizing the sum-of-exponential technique to approximate the kernel function in the tempered Caputo fractional derivative or using the Laplace transform for time integration of a semi-discretized system, these methods are stable and usually have a low computational cost.
One may observe that with the timing-step schemes mentioned above, one should solve the discrete system on each time level sequentially since the right-hand-side vector usually depends on the solution from a previous time level, which may lead to less convenience for parallel computing in the solving of Equation (1). For this reason, people turn to studying the all-at-once technique. At first, the all-at-once technique was proposed for solving the evolutionary equation with integer order. In these works, McDonald [41], Goddard [42], Lin [43], and Wu [44] stacked all the time steps in a vector to obtain an all-at-once system in the discretization process and then solved it. The right-hand-side vectors in these corresponding all-at-once systems only rely on the solutions at the initial time, and this phenomenon is truly convenient for parallel computing. After that, with the exploration of efficient solving for Equation (1), the all-at-once technique combined with finite differential method (FDM) or finite element method (FEM) spatial discretization and uniform temporal discretization (such as L1 [45], L1-2 [46], and - [47]) has been well utilized to solve those fractional diffusion equation, and the solving of corresponding all-at-once systems are also well studied. In general, coefficient matrices in these all-at-once systems from the above scheme no longer maintain the symmetry property but turn into Toeplitz block lower triangular matrices with Toeplitz subblocks. In order to reduce the computational complexity in the solving of those kinds of all-at-once systems, Huang, et al. [48] and Jia, et al. [49] proposed two fast methods. These two methods are mainly based on the divide and conquer technique, and they are well applied to Equation (1) and TFDE with space-time-dependent variable order, respectively.
Note that the coefficient matrix in the above all-at-once system is usually ill-conditioned, so utilization of a preconditioners is necessary [50]. Block preconditioner is a straightforward method to improve the illness of the coefficient matrix [51]. Based on this idea, Chen et al. [52] proposed four block preconditioners for solving the all-at-once system originating from Equation (1). Among these four block preconditioners, the banded block triangular preconditioner usually outperforms the other three if is close to one. Besides, Zhao [53], Gu [54,55], and Zhu [56] conducted extensive research on block preconditioning strategies for solving the all-at-once system especially those with Toeplitz coefficient matrix. These block preconditioners proposed by them can effectively accelerate the matrix-vector product and can usually reach the linear computing complexity. Furthermore, for the Volterra subdiffusion problem discrete by FDM in space and with combination of graded and uniform time-steps temporal discretization, Zhao et al. [57] combined a block lower tridiagonal preconditioner and a semi-circulant preconditioner to solve the corresponding all-at-once system. This method can also be extended to solve the system arising from semilinear subdiffusion problems.
Based on the above observations, we note that solving Equation (1) using spectral methods typically yields high-order discretization accuracy. However, traditional timing-step schemes are not convenient for parallel computing, and there is limited research on combining spectral methods with the graded scheme and the all-at-once technique to solve Equation (1). Besides, the coefficient matrix of the all-at-once system obtained by spectral-method spatial discretization and graded temporal discretization in Equation (1) no longer maintains the Toeplitz structure, and the preconditioners mentioned above are not appropriate for solving the corresponding Galerkin–Legendre spectral all-at-once system. Therefore, in order to improve the efficiency of solving Equation (1), in this paper, we mainly focus on deriving and solving the corresponding Galerkin–Legendre spectral all-at-once system that arises from Equation (1). The main contribution of the present paper has two aspects: (i). This is the first study to combine the all-at-once technique with the Galerkin–Legendre spectral method and graded method to solve time-space fractional diffusion Equation (1), which is more convenient for parallel computing than the traditional timing-step spectral scheme. (ii). A new preconditioner is proposed to improve the efficiency of solving the corresponding Galerkin–Legendre spectral all-at-once system arising from Equation (1), and relevant theoretical analyses and numerical experiments are also provided to show the effectiveness of the proposed method.
The remaining part of this paper is organized as follows. In the following section, the graded -Galerkin–Legendre spectral scheme (G-GLS) is derived to approximate Equation (1) and then a Galerkin–Legendre spectral all-at-once system is obtained. In Section 3, based on the sparse pattern of the coefficient matrix, a block L-diagonal preconditioner is proposed to accelerate solving the all-at-once system and some relevant theoretical analyses are also provided. Numerical results are given in Section 4 to show the efficiency of the general block L-diagonal preconditioner, and selection of parameter in the proposed preconditioner is also discussed experimentally. Finally, concluding remarks are presented in Section 5.
2. GL1-GLS Discretization and the All-at-Once System
In this section, the graded -Galerkin–Legendre spectral (G-GLS) scheme [29] is applied to approximate Equation (1). Then, with several auxiliary symbols, a Galerkin–Legendre spectral all-at-once system is obtained.
2.1. The Time-Stepping Discretization
Notice that the solutions of Equation (1) may be non-smooth and singular near even though the initial conditions and source terms are smooth, and the graded scheme can handle this problem well. Thus, in the following, the graded scheme is utilized for the temporal discretization of Equation (1).
Lemma 1
([29]). For a positive integer M and , let be the graded mesh with grading parameter , and denote the temporal step-size of time by . Let be a sequence of functions defined on . Then the graded discrete time-fractional difference Caputo operator is given by
where
Since the spectral methods are usually with high-order discretization accuracy, in the following, the Galerkin–Legendre spectral scheme in [29] is used for the spatial discretization of Equation (1).
Lemma 2
([29]). Given a function space . Then for each , the base function of spectral methods can be given by
where and for , is the i- order Jacobi polynomial of index defined on .
Let be the discrete approximation of solution for and . Then, we take Equations (2) and (3) into Equation (1), and get the following G-GLS scheme for Equation (1).
where is an appropriate projection operator [29]. Denote
Then the G-GLS scheme can be rewritten into the matrix-vector form as
where .
According to Ref. [29], under certain assumptions about the regularity of the unique solution for Equation (1), the numerical solution obtained from above G-GLS scheme can achieve an optimal time convergence order for the optimal grading parameter , where is used to reflect the regularity of the solution. Furthermore, more detailed convergence analyses of above G-GLS scheme can be found in Ref. [29].
From Equation (4), we find that based on the above G-GLS scheme, one needs to solve the discrete system on each time level sequentially since the right-hand-side vector in Equation (4) usually depends on the solution on a previous time level and this may lead to less convenience for parallel computing in the solving of Equation (1). For this reason, in the next subsection, the all-at-once technique is considered, and then Equation (4) can be transformed into the Galerkin–Legendre spectral all-at-once system, which is more convenient for parallel computing.
2.2. The Galerkin–Legendre Spectral All-at-Once System
To simplify the derivation of the Galerkin–Legendre spectral all-at-once system, several auxiliary symbols are introduced: O and I are zero and identity matrices of suitable orders. Furthermore, denote
Then, based on Equation (4), we can get the following Galerkin–Legendre spectral all-at-once system
where , and
Note that the right-hand-side vector in Equation (5) only depends on the solution in the initial time level, and this makes Equation (5) truly convenient for parallel computing. In addition, from Equation (6), we find that although the block lower triangular coefficient matrix in Equation (5) no longer maintains the symmetry property directly like in Equation (4), each subblock of is symmetric. In addition, by “⊗”, we denote the Kronecker product. Then the coefficient matrix in Equation (5) can be written as , where
From Equation (7) and Lemma 1, we find that values of elements in matrix B are mainly affected by the grading parameter of temporal graded mesh and the fractional order of time derivative. Since , and may also affect values of elements in matrix . Besides, values of elements in matrix may also be affected by fractional order of space derivative. Details about the elements of matrix B and with variant parameters are shown in Figure 1, Figure 2, Figure 3 and Figure 4, respectively.
Figure 1.
The elements of matrix B in with , and in (a–c), is taken as , respectively.
Figure 2.
The elements of matrix B in with and in (a–c), is taken as , respectively.
Figure 3.
The elements of the coefficient matrix with , , where (a–c) are those of in , and , , , (d–f) are those of in , and , , , respectively.
Figure 4.
The elements of the coefficient matrix with , , where (a–c) are those of in , and , , , (d–f) are those of in , and , , , respectively.
To solve the linear system, Krylov subspace methods such as BICGSTAB and GMRES are usually efficient if the condition number of the coefficient matrix is small. Notice that the coefficient matrix in Equation (5) is usually ill-conditioned. Therefore, an effective preconditioner, which can reduce the condition number or make the spectral distribution of the coefficient matrix cluster around 1 should be employed [50]. In the next section, we will mainly focus on developing such an efficient preconditioner.
3. The Block L-Diagonal Preconditioner
In this section, we propose a block L-diagonal preconditioner to solve Equation (5) and some corresponding theoretical analyses will also be provided.
3.1. Derivation of the General Block L-Diagonal Preconditioner
Firstly, we focus on observing the sparsity pattern of matrix B and the coefficient matrix .
As is shown in Figure 1 and Figure 2, the diagonal entries of the coefficient matrix B are decreased. Since , as can be seen from Figure 3 and Figure 4, the main information of is gathered in the first L-nonzero diagonal blocks, where L is usually larger than 3. Based on the above observation, we can naturally propose a block L-diagonal preconditioner to solve Equation (5), where
It is obvious that if .
3.2. Theoretical Analyses of the Block L-Diagonal Preconditioner
For convenience of discussing the nonsingularity of the L-diagonal preconditioner , we present the following two lemmas.
Lemma 3
Lemma 4
([29]). The components of the stiffness matrix S are , for each , and
where is the Gamma function, is the i- order Jacobi polynomial of index defined on , is the set of Jacobi–Gauss points and weights with respect to the weight function .
Lemma 3 clarifies that is symmetric positive definite and Lemma 4 shows detailed components of matrix S. Notice that , and is a positive constant. Then, from Lemmas 3 and 4, we can see that all main diagonal blocks of the coefficient matrix in Equation (5) is symmetric and invertible. Thus the coefficient matrix and the preconditioner are nonsingular.
In order to analyze the approximation effect of block L-diagonal preconditioner on , we present the estimation for the approximate error between and in the following theorem.
Theorem 1.
Let , where and . Denote . Then we have
Proof.
Notice that
Then we have
From Lemma 3, we know that
Denote , where and . Thus we can get
This completes the proof. □
Theorem 1 gives a clear indication that will approximate to better and better as L gets larger and larger, and will be equal to if L is equal to M. In the following Figure 5 and Figure 6, we will take and depict the approximation error of to numerically.
Figure 5.
Approximation error of to with variant and N in Example 1.
Figure 6.
Approximation error of to with variant and N in Example 2.
Figure 5 and Figure 6 verify that the approximation error in Theorem 1 indeed gets smaller and smaller as L gets larger and larger. Furthermore, Figure 5 and Figure 6 also reveal the fact that even with variant and N, the error between and can always stay smaller than 1 as long as L is larger than 4.
Similar to the contents of the bi-diagonal preconditioner in Ref. [54], in order to analyze the preconditioned effect of block L-diagonal preconditioner, we consider the spectral property of the preconditioned coefficient matrix as follows.
Theorem 2.
All eigenvalues of are approximate to 1.
Proof.
Let ∗ represent the nonzero block matrix. Then we obtain
This indicates that the eigenvalues of are all approximate to 1. □
From Theorem 2 and the following Figure 7 and Figure 8, we can observe that the block L-diagonal preconditioner can indeed make the eigenvalues of the coefficient matrix cluster around 1. Besides, Figure 7 and Figure 8 further exhibit numerically that the spectral distribution of clusters closer to 1 as L gets larger and larger.
Figure 7.
Spectral distribution of the coefficient matrices, where (a) is of with , , in Example 1, and (b–f) is of with , respectively.
Figure 8.
Spectral distribution of the coefficient matrices, where (a) is of with , , in Example 2, and (b–f) is of with , respectively.
4. Numerical Examples
In this section, we present two examples to verify the effectiveness of the block L-diagonal preconditioner for solving the Galerkin–Legendre spectral all-at-once system originating from Equation (1) with nonsmooth solution in temporal space [29]. To solve the preconditioned system by the PGMRES method (right-preconditioned GMRES), we use the built-in function “∖” in MATLAB to calculate and the iterative process of PGMRES may terminate if the relative residual error satisfies or the iteration number is more than 1000. The initial guess of PGMRES is set as zero vector and for simplicity, “TS” represents that we solve the linear system in timing-step scheme by using MINRES method, “PGMRES (L = 0)” means that we use GMRES without preconditioner and “PGMRES (L = 1, 2, 5, 8, 10)” exhibit that we utilize PGMRES with preconditioner (L is equal to ) to solve the all-at-once system, respectively. Moreover, “cond” stands for the condition number of the coefficient matrix, “Its” and “Time” express the iterative time and total cost in PGMRES, and “†” represents that PGMRES can not converge within 1000 iterations. The unit of time is seconds.
All experiments are conducted in double precision arithmetic on Windows 10 and MATLAB R2017a with Intel (R) Core (TM) i7-8750H CPU@2.2GHz, using a PC with 8GB of memory.
Example 1.
Consider the Galerkin–Legendre spectral all-at-once system arising from the following fractional equation
where
In order to investigate the effect of on PGMRES, we depict the number of iterations such that with variant L for different , and N in the following Figure 9.
Figure 9.
The number of iterations for PGMRES in Example 1 with , and represents GMRES without the preconditioner.
Figure 9 indicates that even for different cases with various , and N, PGMRES can always converge faster than GMRES. In addition, PGMRES converges faster and faster as L gets larger and larger, while the improvement of convergence is no longer significant if L is larger than 8. More detailed test results are shown in Table 1.
Table 1.
Test results with different methods for Example 1, where , .
As can be seen from Table 1, for the improvement of illness in the coefficient matrix, performance of gets better and better as L increases. Additionally, Table 1 shows that GMRES cannot always converge within the specified 1000 iterations, while PGMRES can always converge, and this indicates that the preconditioner is effective for solving the all-at-once system (5). From Table 1, we can observe that PGMRES (L = 1, 2) usually converges within 60 iterations while PGMRES (L = 5) can converge within 8 iterative steps, PGMRES (L = 8) can converge within 6 iterations, and PGMRES (L = 10) can converge within 5 iterations. This informs us that reduction of the number of iterations in PGMRES is not obvious as L turns larger than 8 or smaller than 5. Accordingly, cost time of PGMRES (L = 5) and PGMRES (L = 8) are usually less than that of PGMRES with other L and this phenomenon is basically unaffected by the variance of , and N. On the other hand, Table 1 also manifests that the total cost of TS is always more than that of PGMRES (L = 5) and PGMRES (L = 8), which reveals the fact that to solve TSFDE in this example, using PGMRES with preconditioner to solve the all-at-once system is more efficient than using MINRES to solve the traditional timing-step system, and L = 5–8 is appropriate.
Next, in order to further investigate the effect of parameter L on the application of for different cases with various M, we take and show the test results in the following Table 2.
Table 2.
Test results with different methods for Example 1, where , .
Table 2 states that for different cases with various , and M, is always effective. Furthermore, is almost equally effective for the cases with different while for the case with large M, the effectiveness of is usually more significant. As can be seen from Table 2, for the effectiveness of on PGMRES (L), the selection of parameter L is not significantly affected by the temporal discrete size M, and for different cases with various M, preconditioner turns out to be more efficient as the parameter L gets around 5 and 8. Therefore, for the sake of an overall performance, L does not need to be taken too large and L = 5–8 is usually appropriate.
In addition, in order to illustrate that the numerical solution obtained from the Galerkin–Legendre spectral all-at-once system is reasonable for Equation (1), we depict the numerical solutions for Equation (8) in Figure 10. We note that analytical solution in Equation (8) is difficult to obtain, hence we here consider the numerical solution under ra efined grid as the exact solution, and we also compare the numerical solutions obtained by different methods for Equation (8). Besides, in Figure 10, TS represents solving the timing-step scheme by MINRES and AAO(L) stands for solving the all-at-once scheme by PGMRES with preconditioner . Colors from light to dark represent the graded temporal mesh divided from 0 to 1.
Figure 10.
Solutions for Equation (8), where (a) is for with , (b,c) are for with , (d) is for with , and (e,f) are for with .
As can be seen from Figure 10, the numerical solution obtained by using AAO is similar to that obtained by using TS, and they are both approximated to the numerical solution under the refined grid. Therefore, the numerical solution obtained from the Galerkin–Legendre spectral all-at-once system is reasonable for Equation (8).
Example 2.
Consider the Galerkin–Legendre spectral all-at-once system arising from the following fractional equation
where
Firstly, we take , with variant L to explore the effect of preconditioner on the number of iterations for PGMRES in the following Figure 11.
Figure 11.
The number of iterations for PGMRES in Example 2 with , and represents GMRES without the preconditioner.
Figure 11 claims that PGMRES always converges faster than GMRES, and PGMRES converges faster and faster as L gets larger and larger. Nevertheless, the number of iterations in PGMRES barely decreases as L grows larger than 8, and this phenomenon is barely affected by the variance of , and N. More detailed test results about the condition number of the coefficient matrix and total cost in the solving with different solvers are shown in Table 3.
Table 3.
Test results with different methods for Example 2, where , .
Table 3 recounts that the condition number of the coefficient matrix is reduced and the number of iterations in PGMRES (L) is always less than that in GMRES. This explicates that the preconditioner is always effective for solving the all-at-once system (5). Besides, the number of iterations in PGMRES (L) gets smaller and smaller as L gets larger and larger while the total cost in PGMRES (L) does not always decrease as L increases. This phenomenon propagates the fact that an appropriate value of L is important for the application of in PGMRES (L). Based on the test results in Table 3, we see that the total cost of PGMRES (L = 5) and PGMRES (L = 8) are far less than that of TS and other PGMRES, which suggests that L = 5–8 is appropriate.
In order to further explore the effect of L on the application of preconditioner for different cases with various M, we take and present the detailed test results in Table 4.
Table 4.
Test results with different methods for Example 2, where , .
Table 4 illustrates that for different cases with various , and M, is always effective and for the case with large M, the effectiveness of is usually significant. Besides, Table 4 also shows the effect of L on the application of for different cases with various M. As is shown in Table 4, similar to the results in Table 2 of Example 1, for the effectiveness of on PGMRES (L), the selection of parameter L is not significantly affected by the temporal discrete size M, and is more efficient as the parameter L gets around 5 and 8. Therefore, for an overall efficiency, L need not to be taken too large and L = 5–8 is usually appropriate.
In order to explore the reliability for the numerical solution obtained from the Galerkin–Legendre spectral all-at-once system, we compare the numerical solutions for Equation (9) with different methods in the following. We note that since the analytical solution in Equation (9) is difficult to obtain, here we also use the numerical solution under refined grid as the exact solution. Solutions for Equation (9) calculated by TS and AAO(L) are present in the following Figure 12.
Figure 12.
Solutions for Equation (9) with , , where N is taken to be and in (a–c), respectively.
5. Conclusions
In this paper, we mainly studied an efficient way to solve Equation (1). We combined the all-at-once technique with the Galerkin–Legendre spectral method and the graded method to solve the time-space fractional diffusion in Equation (1), and found that this scheme is more convenient for parallel computing than the traditional timing-step spectral scheme. With the observation that the coefficient matrix of the corresponding Galerkin–Legendre spectral all-at-once system is usually a block lower triangular and that the main information of the coefficient matrix is gathered in the first L-nonzero diagonal blocks, we proposed a block L-diagonal preconditioner to accelerate solving the Galerkin–Legendre spectral all-at-once system. Based on the analyses of approximation error and spectral distribution of the coefficient matrix, the proposed preconditioner can improve the illness of the coefficient matrix and usually performs better and better as L increases. Additionally, the numerical experiments further verify the effectiveness of and present the appropriate value of parameter L heuristically.
We note that the combination of the all-at-once technique with the Galerkin–Legendre spectral method and graded method is convenient for parallel computing in solving Equation (1), and the proposed block L-diagonal preconditioner can accelerate solving the corresponding Galerkin–Legendre spectral all-at-once system. However, similar to many existing works where the parameters can only be selected experimentally, in this paper, we also choose the parameter L heuristically. For future work, we will develop some adaptive techniques to set L adaptively with moderate computational cost. Furthermore, it is important to note that the time-space fractional diffusion Equation (1) considered in this paper can only be utilized to model the linear anomalous diffusion. To simulate more completed anomalous diffusion such as heterogeneous porous, non-Fickian diffusion in porous media and nonlinear diffusion in image denoising media, Equation (1) needs to be further developed into a variable-order model, distributed-order model, and nonlinear model for better application. We expect that the method proposed in this paper could be developed to handle more comprehensive models, and we plan to further explore these applications in future work.
Author Contributions
Conceptualization, M.W. and S.Z.; methodology, M.W. and S.Z.; software, M.W. and S.Z.; validation, M.W. and S.Z.; formal analysis, M.W. and S.Z.; investigation, M.W. and S.Z.; resources, M.W. and S.Z.; data curation, M.W. and S.Z.; writing—original draft preparation, M.W.; writing—review and editing, S.Z.; visualization, M.W. and S.Z.; supervision, S.Z.; project administration, M.W. and S.Z.; funding acquisition, S.Z. 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 under Grant No. 11671169.
Data Availability Statement
Data are contained within the article.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Collins, R.E. Quantum mechanics as a classical diffusion process. Found Phys. Lett. 1992, 5, 63–69. [Google Scholar] [CrossRef]
- Fan, C.; Liu, K.X.; Chen, Y.G.; Xue, Y.C.; Zhao, J.; Khudoley, A. A new modelling method of material removal profile for electrorheological polishing with a mini annular integrated electrode. J. Mater. Process. Technol. 2022, 305, 117589. [Google Scholar] [CrossRef]
- Zhao, J.; Ge, J.Y.; Khudoley, A.; Chen, H.Y. Numerical and experimental investigation on the material removal profile during polishing of inner surfaces using an abrasive rotating jet. Tribol. Int. 2024, 191, 109125. [Google Scholar] [CrossRef]
- Bouchaud, J.; Georges, A. Anomalous diffusion in disordered media: Statistical mechanisms, models and physical applications. Phys. Rep. 1990, 195, 127–293. [Google Scholar] [CrossRef]
- Sun, H.G.; Chen, W.; Li, C.P.; Chen, Y.Q. Fractional differential models for anomalous diffusion. Phys. A 2010, 389, 2719–2724. [Google Scholar] [CrossRef]
- Chaves, A.S. A fractional diffusion equation to describe Lévy flights. Phys. Lett. A 1998, 239, 13–16. [Google Scholar] [CrossRef]
- Oldham, K.B.; Spanier, J. The Fractional Calculus; Academic Press: New York, NY, USA, 1974. [Google Scholar]
- 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]
- Caputo, M. Linear models of dissipation whose Q is almost frequency independent II. Geophys. J. R. Astr. Soc. 1967, 13, 529–539. [Google Scholar] [CrossRef]
- West, B.J.; Bologna, M.; Grigolini, P. Physics of Fractal Operators; Springer: New York, NY, USA, 2003. [Google Scholar]
- Diethelm, K. The Analysis of Fractional Differential Equations: An Application-Oriented Exposition Using Differential Operators of Caputo Type; Springer Science and Business Media: New York, NY, USA, 2010. [Google Scholar]
- Gorenflo, R.; Mainardi, F.; Moretti, D.; Pagnini, G.; Paradisi, P. Discrete random walk models for space-time fractional diffusion. Chem. Phys. 2002, 284, 52–541. [Google Scholar] [CrossRef]
- 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]
- Meerschaert, M.M.; Benson, D.A.; Scheffler, H.P.; Baeumer, B. Stochastic solution of space-time fractional diffusion equations. Phys. Rev. E 2002, 65, 041103. [Google Scholar] [CrossRef] [PubMed]
- 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]
- Scalas, E.; Gorenflo, R.; Mainardi, F. Fractional calculus and continuous-time finance. Phys. A 2000, 284, 376–384. [Google Scholar] [CrossRef]
- Obembe, A.; Hossain, M.; Abu-Khamsin, S. Variable-order derivative time fractional diffusion model for heterogeneous porous media. J. Petrol. Sci. Eng. 2017, 152, 391–405. [Google Scholar] [CrossRef]
- Liang, Y.J.; Chen, W.; Xu, W.; Sun, H.G. Distributed order Hausdorff derivative diffusion model to characterize non-Fickian diffusion in porous media. Commun. Nonlinear Sci. 2019, 70, 384–393. [Google Scholar] [CrossRef]
- Sun, H.G.; Chen, Y.Q.; Chen, W. Random-order fractional differential equation models. Signal Process. 2011, 91, 525–530. [Google Scholar] [CrossRef]
- Kumar, S.; Alam, K.; Chauhan, A. Fractional derivative based nonlinear diffusion model for image denoising. SeMA 2022, 79, 355–364. [Google Scholar] [CrossRef]
- Zhang, H.; Lv, Y. Galerkin method for a backward problem of time-space fractional symmetric diffusion equation. Symmetry 2023, 15, 1057. [Google Scholar] [CrossRef]
- Guo, B.Y.; Wang, Z.Q. Legendre-Gauss collocation methods for ordinary differential equations. Adv. Comput. Math. 2009, 30, 249–280. [Google Scholar] [CrossRef]
- Shen, J.; Tang, T.; Wang, L.L. Spectral Methods, Algorithms, Analysis, and Applications; Springer: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
- Sheng, C.T.; Shen, J. A space-time Petrov-Galerkin spectral method for time fractional diffusion equation. Numer. Math. Theory Methods Appl. 2018, 11, 854–876. [Google Scholar] [CrossRef]
- Li, X.J.; Xu, X.J. A space-time spectral method for the time fractional diffusion equation. SIAM J. Numer. Anal. 2009, 47, 2108–2131. [Google Scholar] [CrossRef]
- Fakhar-Izadi, F.; Shabgard, N. Time-space spectral Galerkin method for time-fractional fourth-order partial differential equations. J. Appl. Math. Comput. 2022, 68, 4253–4272. [Google Scholar] [CrossRef]
- Lin, Y.; Xu, C. Finite difference/spectral approximations for the time-fractional diffusion equation. J. Comput. Phys. 2007, 225, 1533–1552. [Google Scholar] [CrossRef]
- Ye, X.; Xu, C. Spectral optimization methods for the time fractional diffusion inverse problem. Numer. Math. Theory Methods Appl. 2013, 6, 499–519. [Google Scholar]
- Zaky, M.A.; Hendy, A.S.; Macias-Diaz, J.E. Semi-implicit Galerkin-legendre spectral schemes for nonlinear time-space fractional diffusion-reaction equations with smooth and nonsmooth solutions. J. Sci. Comput. 2000, 82, 1–27. [Google Scholar] [CrossRef]
- Zaky, M.A.; Hendy, A.S. Convergence analysis of an L1-continuous Galerkin method for nonlinear time-space fractional Schrodinger equation. Int. J. Comput. Math. 2021, 98, 1420–1437. [Google Scholar] [CrossRef]
- Zayernouri, M.; Karniadakis, G.E. Discontinuous spectral element methods for time-and space-fractional advection equations. SIAM J. Sci. Comput. 2014, 36, B684–B707. [Google Scholar] [CrossRef]
- Hu, C.; Lv, S.J.; Chen, W.P. Spectral methods for the time fractional diffusion-wave equation in a semi-infinite channel. Comput. Math. Appl. 2016, 9, 1818–1830. [Google Scholar]
- Huang, Y.; Skandari, M.H.N.; Mohammadizadeh, F.; Tehrani, H.A.; Georgiev, S.G.; Tohidi, E.; Shateyi, S. Space-time spectral collocation method for solving Burgers equations with the convergence analysis. Symmetry 2019, 11, 1439. [Google Scholar] [CrossRef]
- Wang, Y.; Cai, M. Finite difference schemes for time-space fractional diffusion equations in one-and two-dimensions. Commun. Appl. Math. Comput. 2023, 5, 1674–1696. [Google Scholar] [CrossRef]
- Dong, J.P.; Xu, M.Y. Space-time fractional Schrödinger equation with time-independent potentials. J. Math. Anal. Appl. 2008, 344, 1005–1017. [Google Scholar] [CrossRef]
- Shen, J.; Sun, Z.; Du, R. Fast finite difference schemes for time-fractional diffusion equations with a weak singularity at initial time. East Asian J. Appl. Math. 2018, 8, 834–858. [Google Scholar] [CrossRef]
- Duo, S.W.; Ju, L.L.; Zhang, Y.Z. A fast algorithm for solving the space-time fractional diffusion equation. Comput. Math. Appl. 2018, 75, 1929–1941. [Google Scholar] [CrossRef]
- Zhou, J.F.; Gu, X.M.; Zhao, Y.L.; Li, H. A fast compact difference scheme with unequal time-steps for the tempered time-fractional Black-Scholes model. Int. J. Comput. Math. 2023. [Google Scholar] [CrossRef]
- Zhao, Y.L.; Zhu, P.Y.; Luo, W.H. A fast second-order implicit scheme for non-linear time-space fractional diffusion equation with time delay and drift term. Appl. Math. Comput. 2018, 336, 231–248. [Google Scholar] [CrossRef]
- Li, M.; Wei, Y.F.; Niu, B.Q.; Zhao, Y.L. Fast L2-1σ Galerkin FEMs for generalized nonlinear coupled Schrödinger equations with Caputo derivatives. Appl. Math. Comput. 2022, 416, 126734. [Google Scholar]
- McDonald, E.; Pestana, J.; Wathen, A. Preconditioning and iterative solution of all-at-once systems for evolutionary partial differential equations. SIAM J. Sci. Comput. 2018, 40, A1012–A1033. [Google Scholar] [CrossRef]
- Goddard, A.; Wathen, A. A note on parallel preconditioning for all-at-once evolutionary PDEs. Electron. Trans. Numer. Anal. 2019, 51, 135–150. [Google Scholar] [CrossRef]
- Lin, X.L.; Ng, M.K.; Zhi, Y. A parallel-in-time two-sided preconditioning for all-at-once system from a non-local evolutionary equation with weakly singular kernel. J. Comput. Phys. 2021, 434, 110221. [Google Scholar] [CrossRef]
- Wu, S.L.; Zhou, T.; Zhou, Z. A uniform spectral analysis for a preconditioned all-at-once system from first-order and second-order evolutionary problems. SIAM J. Matrix Anal. Appl. 2022, 43, 1331–1353. [Google Scholar] [CrossRef]
- Stynes, M. A survey of the L1 scheme in the discretisation of time-fractional problems. Numer. Math. Theory Meth. Appl. 2022, 15, 1173–1192. [Google Scholar] [CrossRef]
- Gao, G.H.; Sun, Z.Z.; Zhang, H.W. A new fractional numerical differentiation formula to approximate the Caputo fractional derivative and its applications. J. Comput. Phys. 2014, 259, 33–50. [Google Scholar] [CrossRef]
- Alikhanov, A.A. A new difference scheme for the time fractional diffusion equation. J. Comput. Phys. 2015, 280, 424–438. [Google Scholar] [CrossRef]
- Huang, Y.C.; Lei, S.L. A fast numerical method for block lower triangular Toeplitz with dense Toeplitz blocks system with applications to time-space fractional diffusion equations. Numer. Algorithm 2017, 76, 605–616. [Google Scholar] [CrossRef]
- Jia, J.; Wang, H.; Zheng, X. A fast algorithm for time-fractional diffusion equation with space-time-dependent variable order. Numer. Algorithm 2023, 94, 1705–1730. [Google Scholar] [CrossRef]
- Saad, Y. Iterative Methods for Sparse Linear Systems, 2nd ed.; SIAM: Philadelphia, PA, USA, 2003. [Google Scholar]
- Bertaccini, D.; Durastante, F. Limited memory block preconditioners for fast solution of fractional partial differential equations. J. Sci. Comput. 2018, 77, 950–970. [Google Scholar] [CrossRef]
- Chen, H.; Zhang, T.; Lv, W. Block preconditioning strategies for time-space fractional diffusion equations. Appl. Math. Comput. 2018, 337, 41–53. [Google Scholar] [CrossRef]
- Zhao, Y.L.; Gu, X.M.; Li, M.; Jian, H.Y. Preconditioners for all-at-once system from the fractional mobile/immobile advection-diffusion model. J. Appl. Math. Comput. 2021, 65, 669–691. [Google Scholar] [CrossRef]
- Zhao, Y.L.; Zhu, P.Y.; Gu, X.M.; Zhao, X.L.; Cao, J. A limited-memory block bi-diagonal Toeplitz preconditioner for block lower triangular Toeplitz system from time-space fractional diffusion equation. J. Comput. Appl. Math. 2019, 362, 99–115. [Google Scholar] [CrossRef]
- Gu, X.M.; Zhao, Y.L.; Zhao, X.L.; Carpentieri, B.; Huang, Y.Y. A Note on parallel preconditioning for the all-at-once solution of Riesz fractional diffusion equations. Numer. Math. Theory Meth. Appl. 2021, 14, 893–919. [Google Scholar]
- Zhao, Y.L.; Gu, X.M.; Hu, L. A bilateral preconditioning for an L2-type all-at-once system from time-space non-local evolution equations with a weakly singular kernel. Comput. Math. Appl. 2023, 148, 200–210. [Google Scholar] [CrossRef]
- Zhao, Y.L.; Gu, X.M.; Ostermann, A. A preconditioning technique for an all-at-once system from Volterra subdiffusion equations with graded time steps. J. Sci. Comput. 2021, 88, 11. [Google Scholar] [CrossRef]
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. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).











