1.
Introduction
In recent decades, fractional differential equations (FDEs) have been widely considered in modelling anomalous diffusion. A class of FDEs, the distributed-order FDEs (DO-FDEs), have been applied in modelling ultraslow diffusion [1,2], mixture of delay sources [3], and dielectric induction and diffusion [4].
To solve DO-FDEs with numerical method, one may discretize the integral with certain quadrature rule, followed by applying an approximation for ordinary fractional derivative [5,6,7]. In particular, in [8], a form of DO-FDE called Riesz space distributed-order advection-diffusion equations (RSDO-ADE) is studied, with second order schemes proposed for one-dimensional and two-dimensional cases.
On the other hand, a data compression format called the Tensor-Train format (TT-format) [9] has been employed in various high dimensional problems. In particular, a TT-format iterative method called the TT-GMRES method is widely used in solving FDE related problems, especially for those which discretized linear systems possess low-rank structure [10,11,12]. Benefiting from the Toeplitz-like structure of the linear systems, many studies have been made to explore the underlying properties and to the development of preconditioners [13,14]. Another TT-format approach for solving FDE problems is the application of the alternating direction implicit (ADI) method [15,16], which reduces the linear systems into one-dimensional systems. Although this approach probably limits the classes of problems to be solved, the convergence analysis is relatively simple to perform. These results provide practical ground for the implementation of RSDO-ADE with higher dimensions, and suggest that the implementation is a trial for the latter approach.
In this work, the RSDO-ADE from [8] is considered in high dimensional form. As the concerning fractional orders are distributed over (0,1)∪(1,2) instead of subintervals of (1,2), and the derivatives are of Riesz type instead of weighted two-sided type, we consider the finite volume approximation in [16] not more suitable here than the approximation in [8]. Following the proposed discretization, we adopt the midpoint quadrature rule for the integrals, a second order approximation for the Riesz space fractional derivatives, and the Crank-Nicolson method, thus obtaining a second order scheme. Further, similar to [15] and [16], we apply the ADI method for the reduction of the dimensionality, and TT-format is adopted so that the resulting scheme can be solved in compressed form, provided that the given data possess low TT-ranks.
As compression format introduces perturbations, error analysis is performed to estimate and maintain the overall convergence order. For efficiency, consider a d-dimensional case, discretized as linear systems of size N with N time steps, and suppose the numerical solutions possess TT-ranks around r, then the proposed method requires storage of O(2N2+dr2N) and operation cost of O(dr2N3+dr3N2), provided that the Gaussian Elimination (GE) method is adopted for solving the linear systems. The analysis is testified by some numerical examples with d≤20.
The content is briefly described as follows. The d-dimensional RSDO-ADE problem is first presented in Section 2, then the implementation of the TT-format method is described in Section 3, and some numerical results are presented in Section 4.
2.
The d-dimensional RSDO-ADE
2.1. The problem
For x=[x(1),…,x(d)]⊺ and Ω=d∏k=1[x(k)a,x(k)b], we consider the d-dimensional RSDO-ADE of the following form.
where
Here, ∂αu/∂|x(k)|α and ∂βu/∂|x(k)|β denote the α-order and β-order Riesz space fractional derivatives of u(x,t) respectively, with the forms:
where
where Γ(⋅) denotes the gamma function.
We remark that in this problem form, the boundary condition is modified as described in [17].
2.2. Discretization
The discretization of Problem 2.1 is described below.
For the integrals, by taking a positive integer S, we define σ=1/S, grid points ξj=jσ for 0≤j≤S, αj=(ξj+ξj−1)/2=(j−0.5)σ for 1≤j≤S, βj=((1+ξj)+(1+ξj−1))/2=1+(j−0.5)σ for 1≤j≤S. Then we define the midpoint quadrature operators
where v can be a function or a matrix. Like the integrals, the operators are linear.
With the operators, we have
For the derivatives, take positive integers N,M, and grid points x(k)i=x(k)a+ihk and tm=mτ, where hk=(x(k)b−x(k)a)/(N+1), τ=T/M, 0≤ik≤N+1, 1≤k≤d, and 0≤m≤M. Then, denote u(m)i1,…,id=u(x(1)i1,…,x(d)id,tm),f(m)i1,…,id=f(x(1)i1,…,x(d)id,tm).
As presented in [8,18], the second-order approximations for the Riesz space fractional derivatives have the forms
where
With the notations, for k=1,…,d, define the operators
With the approximations and operators, the Crank-Nicolson method is applied to obtain the second-order implicit finite difference scheme
By complementing appropriate cross terms of O(τ2), we obtain the ADI scheme
2.3. Matrix form
Denote
I as the N×N identity matrix, and ˆA as the Toeplitz matrix
where ˜gk=IPS(1hαg(α)k)+IQS(1hβg(β)k)=˜g−k, so ˆA is symmetric.
Also, denote
Together with the extended zero boundary condition, the scheme (2.2) can be rewritten as the matrix form
while the ADI scheme (2.3) can be rewritten as
or equivalently,
where ˚A=A⊗⋯⊗A⏟d and ˚A′=A′⊗⋯⊗A′⏟d, with A=I+(τ/2)ˆA and A′=I−(τ/2)ˆA.
In [8], it is proved that ρ(A−1A′)=‖A−1A′‖2<1. With this property, we have
such that
3.
Solving process
3.1. TT-format method
Following [15] and [16], the linear system (2.4) can be solved in compressed form if u(0) and f(m−1/2) are in TT-format, or u0(x) and f(x,tm−1/2) possess functional TT-format (FTT-format).
Suppose u0(x) and f(x,tm−1/2) have FTT-formats
where Gk and Hk are of sizes rk−1×rk and r′k−1×r′k respectively for 1≤k≤d, then u(0) and f(m−1/2) can be reshaped to tensors U(0) and F(m−1/2) with TT-formats
where U(0)k and F(m−1/2)k are of sizes rk−1×N×rk and r′k−1×N×r′k respectively for 1≤k≤d.
After this, the numerical solutions can be obtained in TT-format through the following algorithm.
In the algorithm, the notation U×2A denotes the multiplication of the matrix A with U along the second dimension, or with the mode-2 fibers of U; while "Round" denotes a recompression process called rounding for TT-format, expecting to reduce TT-ranks by introducing relative error.
3.2. Computational efficiency
Here, we discuss the efficiency of Algorithm 3.1.
Suppose the GE method is adopted in line 1 to compute S, and the numerical solutions possess TT-ranks ≈r.
For storage, as the major components are the matrices and TT-cores of the numerical solutions, the GE method requires storage of O(N2+dr2N).
For operation cost, there are three major parts as shown in Algorithm 3.1. The first part is line 1, the matrix inversion; the second part is line 6 to line 10, matrix-vector multiplications in single time step; and the third part is line 11, rounding process in single time step. Thus the GE method requires totally O(N3+M(dr2N2+dr3N)) operations.
We can see that the TT-ranks r is a crucial factor affecting the efficiency. Theoretically, r may range from small numbers to powers of N, so that compressed format method may be less efficient than full storage method. With rough estimation, if the problem data possess TT-ranks ≈r′, then the numerical solutions can be computed with TT-ranks of at most O(Mr′), which is attained when rounding process does not compress at all. Numerical examples indicate a tentative form of growth that r≈O(logkN) for some k>0, which implies a possible dominance of the rounding process over the whole solving process. Further studies about the possible forms of growth of TT-ranks are to be made.
Remark 1. By virtue of the Toeplitz structure of ˆA, hence I+(τ/2)ˆA, the operation cost may be reduced to O(NlogN+M(dr2NlogN+dr3N)) in the optimal case. This may be accomplished by adopting the circulant-and-skew-circulant representation method [19], equipped with preconditioned conjugate gradient method and the Fast Fourier Transform [20].
3.3. Error analysis
For the overall convergence of the proposed method, we have the following proposition.
Proposition 1. Suppose P(α),Q(β), and the exact solution u(x,t) of Problem 2.1 satisfy the following conditions.
i. ∂2P(α)∂α2,∂2∂α2∂αu(x,t)∂|x(k)|α∈C(Ω×[0,T]×[0,1]) with respect to (x,t,α), and ∂2Q(β)∂β2,∂2∂β2∂βu(x,t)∂|x(k)|β∈C(Ω×[0,T]×[1,2]) with respect to (x,t,β).
ii. For some ρ>0, for 1≤k≤d, the mixed partial derivatives
are in C(Ω×[0,T])∩L1(Ω×[0,T]) for all γk∈[0,5+ρ],γ∗∈[0,3+ρ], and vanish at infinity for all γk∈[0,4+ρ],γ∗∈[0,2+ρ].
Then for rounding relative error ϵ, we have
where Em is the discrete 2-norm error between the exact solution in Eq (2.4) and the perturbed numerical solution at tm due to rounding, K>0 is a constant independent of m,τ,hk,σ, and ˆh=max1≤k≤dhk.
Proof. Denote u(m) as the exact solution in Problem 2.1, ˆu(m) as the scheme solution in Eq (2.4), ˜u(m) as an intermediate solution, and ˊu(m) as the perturbed numerical solution. Then they have the following relations.
∙ By similar arguments in [8] and [16], from the given conditions, we have (h1⋯hd)1/2‖u(m)‖2≤B, and
for some constants B,K0>0 independent of m,τ,hk,σ.
● ˆu(0)=ˊu(0).
● ˚Aˆu(m)=˚A′ˆu(m−1)+τf(m−12).
● ˜u(m)=˚A−1˚A′ˊu(m−1)+τ˚A−1f(m−12).
● ‖˜u(m)−ˊu(m)‖F≤ϵ‖˜u(m)‖F.
By similar arguments in [15], combining the relations with the norm property in inequality (Eq 2.5), we have
where K=max{2K0T,B}>0 is independent of m,τ,hk,σ.
This allows us to take ϵ=1/M3 such that the overall convergence is of second order.
Remark 2. In [15], the rounding perturbation analysis for a non-Crank-Nicolson scheme is demonstrated; while in [16], the ADI perturbation for a Crank-Nicolson scheme is analyzed, with the corresponding rounding perturbation analysis omitted. The above proof is supplemented for the rounding perturbation analysis for a Crank-Nicolson scheme.
4.
Results and discussion
In this section, some numerical examples are presented to test the methods described above. For simplicity, we set [x(k)a,x(k)b]=[0,1] for 1≤k≤d, [0,T]=[0,1], and S=M=N. We will show the numerical errors (Error), corresponding convergence rates (Rate), CPU times in the whole process (CPU(s)), CPU times in rounding process (rCPU(s)), and (mean, mode, maximum) of the involving TT-ranks (Mr).
The numerical examples are tested in MATLAB R2014b with the configuration: Intel(R) Core(TM) i5-8300H CPU 2.30 GHz and 8 GB RAM.
Example 1. This example is tested with a TT-ranks 1 exact solution, with
where
The performance is summarized in Table 1, with "Error'' column showing EM at tM=1.
Example 2. This example is tested with an exact solution of TT-ranks 3, with
where
for 2≤k≤d−1, y[k,ℓ]=10(x(k))ℓ(1−x(k))ℓ for 1≤k≤d,3≤ℓ≤5, and
which is defined entrywisely.
As the closed form of G′k(x(k)) is numerically unstable, each entry of G′k(x(k)) is first reduced to the following form, then the remaining integrals are approximated by the midpoint quadrature rule.
with .
The performance is summarized in Table 2, with "Error'' column showing at .
Example 3. This example is tested with uncertain exact solution, and the same and of TT-ranks as in Example 3 in [15], with
The performance is summarized in Table 3, with "Error'' column showing at , assuming the numerical solution of the finest grid as the exact solution.
In the tables, second order convergence is observed, agreeing with the perturbation analysis. In Tables 1 and 2, the illustrate that the problems with low TT-ranks exact solutions may have numerical solutions of higher TT-ranks, yet the ranks still grow steadily of about , and the rounding process occupy about one-fourth of the whole solving process. While in Table 3, there seems to be a nonlinear growth of in the TT-ranks, and the rounding process occupy about half of the whole solving process. These agree with the discussion about the effect of the TT-ranks in operation cost. Besides, the deviations of TT-ranks of the numerical solutions from the exact solutions also happen in the related works [15] and [16] where the ADI method is applied, implicating that the ADI treatment is a potential factor for this phenomenon. The growth of TT-ranks is to be furthered studied.
5.
Conclusions
In this paper, high dimensional RSDO-ADEs are discretized with a second order ADI scheme, and TT-format method is introduced to solve the scheme in compressed form. The perturbation error analysis is performed, and it is claimed that under certain conditions, with rounding relative error , Algorithm 3.1 can maintain the second order convergence of the scheme. Numerical experiments with low TT-ranks data are conducted, the results agree with the claim. Meanwhile, the TT-ranks appear to be indicating a growth of power of or other nonlinear function of , hence implying a possible dominance of the rounding process over the whole solving process. Further studies about the TT-ranks of the numerical solutions are to be made.
Acknowledgments
This work was supported by University of Macau [MYRG2020-00208-FST, MYRG2018- 00025-FST], the Science and Technology Development Fund, Macau SAR under Funding Scheme for Postdoctoral Researchers of Higher Education Institutions 2021 (File No. 0032/APD/2021).
Conflict of interest
All authors declare no conflicts of interest in this paper.