EIT Agent
登录
← 校园网页目录

校园网页 · 学校官网

A space-time spectral Petrov-Galerkin spectral method for time fractional diffusion equation.pdf

A SPACE-TIME SPECTRAL PETROV-GALERKIN SPECTRAL METHOD FOR TIME FRACTIONAL DIFFUSION EQUATION Chang-Tao Sheng1 and Jie Shen 1,2,† Abstract. We develop in this paper a space-time Petrov-Galerkin spectral method for linear and nonlinear time fractional diffusion equations (TFDEs) involving either a Caputo or Riemann- Liouville derivative. Our space-time spectral method are based on generalized Jacobi functions (GJFs) in time and Fourier-like basis functions in space. A complete error analysis is carried out for both linear and nonlinear TFDEs. Numerical experiments are presented to demonstrate the effectiveness of the proposed method. 1. Introduction We consider in this paper the following time fractional diffusion equation C 0 Dα t u(x, t)− γ∆u(x, t) +N (u(x, t), t) = 0, ∀(x, t)∈ Ω = (−1, 1)× (0, T], (1.1) with the initial and boundary conditions u(x, 0) = u0(x), ∀x∈ (−1, 1), u(±1, t) = 0, ∀t∈ [0, T]. (1.2) In the above, α∈ (0, 1), γ is a diffusion constant, N is a linear or nonlinear operator, and C 0 Dα t refers to left-sided Caputo fractional derivative of order α (see the definition in (2.4)). For the sake of simplicity, we choose to concentrate on the case of one spatial dimension. However, the pro- posed method and analysis can be directly extended to the multi-dimensional case with rectangular domains thanks to the Fourier-like basis functions that we employ in this paper. The TFDEs (1.1) are frequently used to model anomalous diffusion in heterogeneous media, and its numerical solution has attracted much attention recently, including [22, 15, 29, 28] which use finite difference methods, and [26, 12, 11, 13] which use finite element methods. Two main difficulties in solving fractional PDEs such as (1.1) are (i) fractional derivatives are non-local operators and generally lead to full matrices; and (ii) their solutions are often singular so polynomial based approximations are not efficient. Since spectral methods are capable of providing exceedingly accurate numerical results with less degrees of freedoms, they have been widely used for numerical approximations [1, 9, 19, 20]. In particular, well designed spectral methods appear to be particularly attractive to deal with the difficulties associated with fractional PDEs mentioned above. Polynomial based spectral methods 1991 Mathematics Subject Classification. Primary: 26A33, 34A08, 42C10, 65N35, 65N15. Key words and phrases. fractional differential operator, generalised Jacobi functions, Fourier-like basis function, Space-time spectral method, error analysis. 1 Fujian Provincial Key Laboratory on Mathematical Modeling & High Performance Scientific Computing and School of Mathematical Sciences, Xiamen University, Xiamen, Fujian 361005, China. 2 Department of Mathematics, Purdue University, West Lafayette, IN 47907-1957, USA.. †Corresponding author. E-mail: shen7@purdue.edu (J. Shen), ctsheng@stu.xmu.edu.cn (C. Sheng). The work of J. Shen is partially supported by NSFC grants 11371298, 91630204, 11421110001 and 51661135011. 1 2 SHENG AND SHEN have been developed for TFDEs, e.g., [14, 23, 3]. However, these methods use polynomial basis functions which are not particularly suitable for TFDEs whose solutions are generally non-smooth at t = 0. Zayernouri and Karniadakis [25] first proposed to approximate the singular solutions by Jacobi poly-fractonomials, which were defined as eigenfunctions of a fractional Sturm-Liouville problem. Chen, Shen and Wang [4] constructed efficient Petrov-Galerkin methods for fractional PDEs by using the generalized Jacobi functions (GJFs) which include Jacobi poly-fractonomials as special cases. Subsequently, some authors developed spectral methods by using nodal GJFs for fractional PDEs [10, 27, 30, 24]. Most of these work are concerned with linear equations only. We recall that the method presented in [4] is very efficient and accurate for fractional differential equations in time of the kind: C 0 Dα t u(t) = f(t), u (0) = u0. On the other hand, an efficient and accurate space-time spectral method based on Fourier-like basis functions is developed in [21] for solving linear or nonlinear parabolic equations. In this paper, we combine the approaches in [4] and [21] to construct an efficient space-time spectral method for solving TFDEs. We highlight below the main contributions of this paper. • For the time variable, the choice of GJFs can be tuned to match the singularities of the underlying solutions; and for the spatial variables, we use the Fourier-like basis functions. This combination greatly improves the accuracy and simplifies the implementation. • We carry out error analysis of the proposed method for linear and nonlinear cases. The organization of this paper is as follows. In the next section, we introduce the basis functions in both time and spatial directions, present some useful properties of fractional calculus and define some functional spaces. In Section 3, we develop efficient Petrov-Galerkin methods for linear/and nonlinear TFDEs. In Section 4, we derive error estimates for linear/nonlinear problems. We present in Section 5 some illustrative numerical results. Some concluding remarks are given in the last section. 2. Preliminaries In this section, we first review basics of fractional integrals/derivatives, define some functional spaces endowed with norms and inner products, and introduce some properties of the shifted gen- eralized Jacobi functions and the shifted Legendre polynomial. 2.1. Fractional derivatives. We start with some preliminary definitions of fractional derivatives (see, e.g. [5, 17]). To fix the idea, we restrict our attentions to the interval I. For ρ∈ R+, the left-sided and right-sided Riemann-Liouville integrals are respectively defined as 0Iρ t u(t) = 1 Γ(ρ) ∫ t 0 u(s) (t− s)1−ρ ds, t ∈ I, tIρ T u(t) = 1 Γ(ρ) ∫ T t u(s) (s− t)1−ρ ds, t ∈ I, (2.1) where Γ(·) is the usual Gamma function. For ν∈ [m− 1, m) with m∈ N, the left-sided Riemann-Liouville fractional derivative of order ν is defined by 0Dν t u(t) = 1 Γ(m− ν) dm dtm ∫ t 0 u(s) (t− s)ν−m+1 ds, t ∈ I, (2.2) A SPACE-TIME PETROV-GALERKIN SPECTRAL METHOD 3 and the right-sided Riemann-Liouville fractional derivative of order ν is defined by tDν T u(t) = (−1)m Γ(m− ν) dm dtm ∫ T t u(s) (s− t)ν−m+1 ds, t ∈ I. (2.3) For ν∈ [m− 1, m) with m∈ N, the left-sided Caputo fractional derivative of order ν is defined by C 0Dν t u(t) = 1 Γ(m− ν) ∫ t 0 u(m)(s) (t− s)ν−m+1 ds, t ∈ I, (2.4) and the right-sided Caputo fractional derivative of order ν is defined by C t Dν T u(t) = (−1)m Γ(m− ν) ∫ T t u(m)(s) (s− t)ν−m+1 ds, t ∈ I, (2.5) where u(m) denotes n-th derivative of u. The following lemma shows the relationship between the Riemann-Liouville and Caputo fractional derivatives (see, e.g., [5, 17]). Lemma 2.1. For ν∈ [k− 1, k) with k∈ N, we have 0Dν t u(t) =C 0 Dν t u(t) + k−1∑ j=0 u(j)(0) Γ(1 + j− ν) tj−ν. (2.6) 2.2. Some functional spaces and their properties. We now introduce some functional spaces endowed with norms and inner products that are used hereafter. Let C∞ 0 (I) be the space of smooth functions with compact support in I, and Hs 0(I) denote the closure of C∞ 0 (I) with respect to norm ∥·∥ s,I. We also define the space 0C∞(I) ={v| v∈ C∞(I) with compact support in (0 , 1]}, r 0C∞(I) ={v| v∈ C∞(I) with compact support in [0 , 1)}. The space 0Hs(I) and r 0Hs(I) denotes the closure of 0C∞(I) and r 0C∞(I) respectively, with respect to norm∥·∥ s,I. For the Sobolev space X with norm∥·∥ X, let Hs(I; X) :={v|∥ v(·, t)∥X∈ Hs(I)}, s ≥ 0, 0Hs(I; X) :={v|∥ v(·, t)∥X∈ 0Hs(I)}, s ≥ 0, r 0Hs(I; X) :={v|∥ v(·, t)∥X∈ r 0Hs(I)}, s ≥ 0, endowed with the norm: ∥v∥Hs(I;X) :=∥∥v(·, t)∥X∥s,I . We define space Bs(Ω) := L2(I, L2(Λ))∩ Hs(I, L2(Λ))∩ L2(I, H 1 0(Λ)), equipped with the norm: ∥v∥Bs(Ω) := ( ∥v∥2 L2(I,L 2(Λ)) +∥v∥2 Hs(I,L 2(Λ)) +∥v∥2 L2(I,H 1 0(Λ)) )1/2 . It can be verified that Bs(Ω) is a Banach space. Next, we introduce following definitions (cf. [14]) Definition 2.1. Given s > 0. Let Hs l (I) be the closure of 0C∞(I) with respect to the norm ∥v∥Hs l (I) := ( ∥v∥L2(I) +|v|Hs l (I) )1 2 . (2.7) We also define the semi-norm|v|Hs l (I) :=∥0Ds t v∥L2(I). 4 SHENG AND SHEN Definition 2.2. Given s > 0. Let let Hs r(I) be the closure of r 0C∞(I) with respect to the norm ∥v∥Hsr(I) := ( ∥v∥L2(I) +|v|Hsr(I) )1 2 . (2.8) We also define the semi-norm|v|Hsr(I) :=∥tDs T v∥L2(I). Definition 2.3. Given s > 0 and s̸= n + 1/2. Let let Hs c (I) be the closure of C∞ 0 (I) with respect to the norm ∥v∥Hsc (I) := ( ∥v∥L2(I) +|v|Hsc (I) )1 2 . (2.9) We also define the semi-norm|v|Hsc (I) :=|(0Ds t v,tDs T v)I| 1 2 Lemma 2.2. For s > 0, s̸= n + 1/2, the spaces Hs l (I), Hs c (I) and Hs 0(I) are equal in the sense that their seminorms as well as norms are equivalent. Lemma 2.3. (see, e.g., [14]) For all 0 < α < 1, if w∈ 0H1(I), v∈ 0H α 2 (I), then (0Dα t v, w)I = ( 0D α 2 t v,tD α 2 T w ) I . (2.10) Using an argument similar to the proof of Theorem 2.10 in [7], we can prove the following: Lemma 2.4. (Fractional Poincar´ e-Friedrichs) Give s > 0. Then, for v∈ Hs l (I), we have ∥v∥L2(I)≲|v|Hs l (I), (2.11) and for v∈ Hs r(I), we have ∥v∥L2(I)≲|v|Hsr(I). (2.12) 2.3. Trial & test functions in time. We introduce below the Trial & test functions that we will use for the time variable. For α, β >−1, let P (α,β) n (x), x∈ Λ be the standard Jacobi polynomial of degree n, and denote the weight function χ(α,β)(x) = (1−x)α(1+ x)β. The set of Jacobi polynomials is a complete L2 χ(α,β)(Λ)-orthogonal system, i.e., ∫ 1 −1 P (α,β) l (x)P (α,β) m (x)χ(α,β)(x)dx = γ(α,β) l δl,m, (2.13) where δl,m is the Kronecker function, and γ(α,β) l = 2α+β+1 (2l + α + β + 1) Γ(l + α + 1)Γ(l + β + 1) l!Γ(l + α + β + 1) . In particular, P (α,β) 0 (x) = 1. The shifted Jacobi polynomial of degree n is defined by ˜P (α,β) n (t) = P (α,β) n (2t− T T ), t ∈ I, n ≥ 0. (2.14) Clearly, the set of{˜P (α,β) n (t)}n≥0 is a complete L2 ω(α,β)(I)-orthogonal system with the weight function ω(α,β)(t) = (T− t)αtβ, by (2.13) and (2.14) we get that ∫ I ˜P (α,β) l (t)˜P (α,β) m (t)ω(α,β)(t)dt = (T 2 )α+β+1 γ(α,β) l δl,m. (2.15) For any α, β > −1, the shifted generalized Jacobi functions on I is defined by (cf. [18]) J(α,β) n (t) = tβ˜P (α,β) n (t), t ∈ I, n ≥ 0. (2.16) A SPACE-TIME PETROV-GALERKIN SPECTRAL METHOD 5 and our approximation space on I is defined by F(α) N (I) :={tαψ(t) : ψ(t)∈P N(I)} = span{J(−α,α) n (t) = tα˜P (−α,α) n (t) : 0≤ n≤ N}, (2.17) which incorporates the homogeneous boundary conditions at t = 0. A particular case is the shifted Legendre polynomial Ln(t), t∈ I is defined by Ln(t) = P 0,0 n (2t T − 1), n = 0, 1, 2,··· . (2.18) The set of Ln(t) is a complete L2(I)−orthogonal system, namely, ∫ I Ll(t)Lm(t)dt = T 2l + 1δl,m. (2.19) Clearly, we derive from (2.16) - (2.18) and a direct calculation that (cf. [4]) 0Dα t J(−α,α) n (t) = Γ(n + α + 1) n! Ln(t). (2.20) 3. Petrov-Galerkin spectral method In this section, we will propose a Petrov-Galerkin spectral method for (1.1). We shall start by considering a special case of (1.1) with N u = βu: C 0 Dα t u(x, t)− γ∆u(x, t) + βu(x, t) = f(x, t), ∀(x, t)∈ Ω, (3.1) with the initial and boundary conditions (1.2). The algorithm we develop for (3.1) will play a key role in solving (1.1). 3.1. Petrov-Galerkin spectral method for (3.1). For the case of non-homogeneous initial con- ditions u(x, 0) = u0(x), we first decompose the solution u(x, t) into two parts as u(x, t) = uh(x, t) + u0(x), (3.2) with uh(x, 0) = 0. Hence, by (3.2) and (2.6), the equation (3.1) is equivalent to the following equation with Riemann-Liouville fractional derivative: 0Dα t uh(x, t)− γ∆uh(x, t) + βu(x, t) = g(x, t), ∀(x, t)∈ Ω, (3.3) where g(x, t) = f(x, t) + γ∂2 xu0(x)− βu0(x), with homogeneous initial and boundary conditions uh(x, 0) = 0, ∀x∈ Λ, uh(±1, t) = 0, ∀t∈ I. (3.4) For the space variable, we shall use the standard polynomial space VM ={u∈P M(Λ) : u(±1) = 0}. (3.5) For the time variable, we shall use the fractional polynomial space F(α) N (I) defined in (2.17). Then, the space-time Petrov-Galerkin spectral method for (3.3) is to seek uh L(x, t) := uh MN∈ VM⊗F (α) N , such that A(uh L, v) := (0Dα t uh L, v)Ω + γ(∂xuh L, ∂xv)Ω + β(uh L, v)Ω = (g, v)Ω, ∀v∈ VM⊗PN . (3.6) Next, we shall construct suitable basis functions of VM andF(α) N (I) so that the above system can be solved efficiently. 6 SHENG AND SHEN We consider first basis functions for the space variable. Setting hk(x) = 1√ 2(2k+3) ( Pk(x)− Pk+2(x) ) , with 0 ≤ k≤ M− 2. Denote by Mx and Sx be the spatial mass and stiffness matrix respectively. One verifies readily that Sx (with entries sx pq =−(h′′ p, hq)) is an identity matrix, and Mx (with entries mx pq = ( hp, hq)) is a symmetric positive definite penta-diagonal matrix. Next, we construct a set of basis functions which lead to diagonal stiffness and mass matrices. Let Ex := (¯y0,··· , ¯yM−2) = (epq)p,q=0,···,M−2 be the matrix formed by the orthonormal eigenvectors of the generalized eigenvalue problem Sx¯yj = λx j Mx¯yj and Λx = diag(λx 0 ,··· , λx M−2), i.e., SxEx = MxExΛ, (Ex)T SxEx = Λx, (Ex)T MxEx = IM−1. (3.7) Following [21], we set φm(x) = M−2∑ j=0 ejmhj(x), 0≤ m≤ M− 2, (3.8) which satisfying (φp, φq) = M−2∑ k,j=0 ekpejq(hk, hj) = M−2∑ k,j=0 ejq mx jk ekp = ((Ex)T MxEx)pq = δpq, −(φ′′ p, φq) =− M−2∑ k,j=0 ekpejq(h′′ k, hj) = M−2∑ k,j=0 ejq sx jk ekp = ((Ex)T SxEx)pq = λx q δpq. (3.9) Accordingly, we have VM = span{φm : 0≤ m≤ M− 2}. (3.10) For the time variable, we use the generalized Jacobi functions J(−α,α) n (t) defined in the last section: F(α) N (I) = span{J(−α,α) n (t) : 0≤ n≤ N}, (3.11) and forPN(I) in the test space, we simple use the scaled Legendre polynomials, namely: PN(I) = span { L(α) n (t) := κn,αLn(t) : 0≤ n≤ N } , with κn,α = n!(2n + 1) T· Γ(n + α + 1). (3.12) We now describe the numerical implementations for (3.6) under this set of basis functions. We write uh L(x, t) = M−2∑ m=0 N∑ n=0 ˜uh nmφm(x)J(−α,α) n (t). (3.13) Substituting (3.13) into (3.6), and taking vL = φp(x)L(α) q (t) we obtain that M−2∑ m=0 N∑ n=0 ˜uh nm { (φm, φp) (0Dα t J(−α,α) n , L(α) q )− γ(φ′′ m, φp) (J(−α,α) n , L(α) q ) + β(φm, φp) (J(−α,α) n , L(α) q ) } = (f, φpL(α) q )Ω. (3.14) Denote fnm = (f, φm(x)L(α) n (t))Ω, F = (fnm)0≤n≤N,0≤m≤M−2, st pq = ∫ I 0Dα t J(−α,α) q (t)L(α) p (t)dt, m t pq = ∫ I J(−α,α) q (t)L(α) p (t)dt, St = (st pq)0≤p,q≤N , Mt = (mt pq)0≤p,q≤N , U = (˜uh n,m)0≤n≤N,0≤m≤M−2. (3.15) A SPACE-TIME PETROV-GALERKIN SPECTRAL METHOD 7 It can be verified easily from (2.19), (2.20) and (3.12) that St = I with I being the identity matrix. On the other hand, mt pq = ∫ I J(−α,α) q (t)L(α) p (t)dt = ∫ I ˜P (−α,α) q (t)L(α) p (t)tαdt. (3.16) So Mt is not sparse but can be accurately computed by Jacobi-Gauss quadrature with index (0 , α). Then, from (3.9) and (3.15), we find that (3.6) is equivalent to the following linear system: U + γMtUΛx + βMtU = F. (3.17) Hence, the m-th column of the above matrix equation becomes: (I + (γλx m + β)Mt)uh m = fm, 0≤ m≤ M− 2, (3.18) with uh m = (˜uh 0,m,˜uh 1,m,··· ,˜uh N,m)T , fm = (f0m, f1m,··· , fNm)T . Finally, we obtain the numerical solutions of (3.1) by uL = uh L + u0. 3.2. Petrov-Galerkin spectral method for nonlinear problems (1.1). As above, we first rewrite the equation (1.1) using Riemann-Liouville fractional derivative as follows: 0Dα t uh(x, t)− γ∆uh(x, t) + ˜N (uh(x, t), t) = g(x, t), ∀(x, t)∈ Ω, (3.19) where g(x, t) = γ∆u0(x), ˜N (uh(x, t), t) =N (uh(x, t) + u0(x), t), with the initial and boundary conditions (3.4). The corresponding space-time Petrov-Galerkin spectral method for (3.19) is to find uh L(x, t)∈ VM⊗F (α) N , such that (0Dα t uh L, v)Ω + γ(∂xuh L, ∂xv)Ω + (˜N (uh L, t), v)Ω = (g, v)Ω, ∀v∈ VM⊗ S(α) N . (3.20) We set uh L(x, t) = M−2∑ m=0 N∑ n=0 ˜uh nmφm(x)J(−α,α) n (t), ˜nnm = (˜N (uh L, t), φm(x)L(α) n (t) ) . uh m = (˜uh 0,m,˜uh 1,m,··· ,˜uh N,m)T , nm = (˜n0,m,˜n1,m,··· ,˜nN,m)T , gnm = (g, φm(x)L(α) n (t))Ω, gm = (g0m,··· , gNm)T . (3.21) As in the linear case, we find that the unknown vector uh m satisfies the following system of nonlinear algebraic equations: (I + γλx mMt)uh m + nm(uh) = gm, 0≤ m≤ M− 2, (3.22) which can be solved, e.g., by a Newton-type iterative procedure that we describe below. We rewrite the above system (3.22) as Nm(uh) := (I + γλx mMt)uh m + nm(uh)− gm = 0, 0≤ m≤ M− 2. (3.23) Then, the Newton iterative algorithm applied to (3.23) is: N′ m(uh,(n))(uh,(n+1)− uh,(n)) =−Nm(uh,(n)), 0≤ m≤ M− 2, (3.24) 8 SHENG AND SHEN where N′(uh) =   ∂N0,m ∂ ˜uh 0,m . . . ∂N0,m ∂ ˜uh N,m ... ... ... ∂NN,m ∂ ˜uh 0,m . . . ∂NN,m ∂ ˜uh N,m   . We observe from (3.23) that N′ m(uh,(n))(uh,(n+1)− uh,(n)) = (IN+1 + γλx mMt)(uh,(n+1) m − uh,(n) m ) + n′ m(uh,(n))(uh,(n+1)− uh,(n)) where n′ m(uh) =   ∂n0,m ∂ ˜uh 0,m . . . ∂n0,m ∂ ˜uh N,m ... ... ... ∂nN,m ∂ ˜uh 0,m . . . ∂nN,m ∂ ˜uh N,m   . Hence, we can rewrite (3.24) as (I + γλx mMt)uh,(n+1) m + n′ m(uh,(n))uh,(n+1) m = (I + γλx mMt)uh,(n) m + n′ m(uh,(n))uh,(n) m − Nm(uh,(n)), 0≤ m≤ M− 2, (3.25) A combination of (3.23) and (3.25) yields (I + γλx mMt)uh,(n+1) m + n′ m(uh,(n))uh,(n+1) m = n′ m(uh,(n))uh,(n) m − nm(uh,(n)) + gm. (3.26) The above system (with a variable coefficient n′ m(uh,(n)) can be efficiently solved by using a precon- ditioned CG iteration with a preconditioner, based on replacing the variable coefficient n′ m(uh,(n)) by a suitable constant β, which can be applied very fast as we described in the last subsection. 4. Error estimates for Petrov-Galerkin spectral method (1.1) In this section, we conduct an error analysis for the Petrov-Galerkin method described in the previous section. Since the full error analysis for the nonlinear system in its most general form is not feasible, we shall only consider the analysis for following two special cases of (3.19). Case I: a linear case ˜N (uh) = β(uh + u0). Case II: with a Burgers-like nonlinearity ˜N (uh) = 1 2 ∂x(uh + u0)2. We start with two projection operators (in space and time direction) and the corresponding approximation results which will be used later. The first one Π 1,0 M : H1 0(Λ)→ VM is defined by ( (Π1,0 M v− v)′, φ′) Λ = 0, ∀φ∈ VM . (4.1) According to [2, 8], we have Lemma 4.5. If v∈ H1 0(Λ) and ∂k xv∈ L2 χk−1(Λ) with 1≤ k≤ r, then we have ∥∂µ x (Π1,0 M v− v)∥Λ≲ Mµ−r∥∂r xv∥Λ,χr−1 , µ ≤ r, µ = 0, 1. (4.2) A SPACE-TIME PETROV-GALERKIN SPECTRAL METHOD 9 In order to characterize the regularity of u in t, we define the following non-uniformly weighted space involving fractional derivatives Bs α,β(I) :={v∈ L2 ω(α,−β)(I) : 0Dβ+r t v∈ L2 ω(α+β+r,r)(I) for 0 ≤ r≤ s}, s ∈ N0. The second projection operator is π(−α,−α) N : L2 ω(−α,α)(I)→F (α) N (I) defined by (π(−α,α) N v− v, ψ)ω(−α,−α) = 0, ∀ψ∈F (α) N (I). (4.3) It is shown in [4] that (0Dα t (π(−α,α) N v− v), p) = 0, ∀p∈P N(I). (4.4) We recall from [18] that Lemma 4.6. Let α∈ (0, 1), for any v∈B s −α,α(I), with integer 0≤ s≤ N . Then ∥π(−α,α) N v− v∥ω(−α,−α)≲ N−(α+s)∥0Dα+s t v∥ω(s,s) . (4.5) and ∥0Dα t (π(−α,α) N v− v)∥I≲ N−s∥0Dα+s t v∥ω(s,s) . (4.6) Next, we define suitable functional spaces for our space-time approximation. We denote by Er(Ω) (respectively Gs(Ω) and Ks(Ω)) a function space consisting of measurable functions satisfying ∥u∥Er(Ω) <∞ (respectively∥u∥Gs(Ω) <∞ and∥u∥Ks(Ω) <∞), where, for integers r≥ 2 and s≥ 0, ∥u∥Er(Ω) = ( ∥∂r xv∥2 L2 χr−1(Λ,L2(I)) +∥∂r−1 x (0Dα t v)∥2 L2 χr−2(Λ,L2(I)) )1 2 , ∥u∥Gr,s(Ω) = ( ∥∂r−1 x (0Dα+s t v)∥2 L2 χr−2(Λ,L2 ω(s,s)(I)) )1 2 , ∥u∥Ks(Ω) = ( ∥0Dα+s t v∥2 L2(Λ,L2 ω(s,s)(I)) +∥∂2 x(0Dα+s t v)∥2 L2(Λ,L2 ω(s,s)(I)) )1 2 . Case I . This corresponds to (3.3) with the space-time Petrov-Galerkin approximation (3.6) considered in Subsection 3.1. Theorem 4.1. Let uh be the solution of (3.3) and uh L be the numerical solution (3.6). If uh∈ Hα(I; H1 0(Λ))∩ Er(Ω)∩ Gs(Ω)∩ Ks(Ω), there holds ∥uh− uh L∥Bα(Ω)≲ M1−r∥uh∥Er(Ω) + N−(α+s)M−r∥uh∥Gr,s(Ω) + N−s∥uh∥Ks(Ω). (4.7) Proof. Let us denote ˜uh L := π(−α,α) N Π1,0 M uh = Π 1,0 M π(−α,α) N uh and eL := ˜uh L− uh L. We derive from (3.3) and (3.6) that a(eL, v) : = ( 0Dα t eL, v ) Ω + γ ( ∂xeL, ∂xv ) Ω + β ( eL, v ) Ω = ( 0Dα t (˜uh L− uh), v ) Ω + γ ( ∂x(˜uh L− uh), ∂xv ) Ω + β ( ˜uh L− uh, vL ) Ω, (4.8) for all v∈ VM⊗ SN . Due to (4.1) and (4.4), the above equation can be simplified to a(eL, v) = ( 0Dα t (Π(1,0) M uh− uh), v ) Ω + γ ( ∂x(π(−α,α) N uh− uh), ∂xv ) Ω + β ( ˜uh L− uh, v ) Ω. (4.9) Taking v = 0Dα t eL(∈ VM⊗ SN) in above equation, we obtain that ( 0Dα t eL, 0Dα t eL ) Ω + γ ( ∂xeL, ∂x(0Dα t eL) ) Ω + β ( eL, 0Dα t eL ) Ω = ( 0Dα t (Π(1,0) M uh− uh), 0Dα t eL ) Ω + γ ( ∂x(π(−α,α) N uh− uh), ∂x(0Dα t eL) ) Ω + β ( eL, 0Dα t eL ) Ω. (4.10) We recall the following result [16]: H α 2 0 (I) = H α 2 (I) = 0H α 2 (I), for any 0 < α < 1. (4.11) 10 SHENG AND SHEN Since eL(x, 0) = 0, we derive from Lemma 2.2 - Lemma 2.4, (2.9) and (4.11) that ∥∂xeL∥2 Ω≲∥∂x0D α 2 t eL∥2 Ω∼=∥∂xeL∥2 L2(Λ;H α 2c (I)) = ( ∂x(0D α 2 t eL), ∂x(tD α 2 T eL) ) Ω = ( ∂x(0Dα t eL), ∂xeL ) Ω, (4.12) and ∥eL∥2 Ω≲∥0D α 2 t eL∥2 Ω∼=∥eL∥2 L2(Λ;H α 2c (I)) = ( 0D α 2 t eL,tD α 2 T eL ) Ω = ( 0Dα t eL, eL ) Ω. (4.13) This, along with equation (4.10), yields ∥0Dα t eL∥2 Ω +∥∂xeL∥2 Ω+∥eL∥2 Ω≲ 0Dα t (Π(1,0) M uh− uh)  Ω 0Dα t eL  Ω + ∂2 x(π(−α,α) N uh− uh)  Ω 0Dα t eL  Ω +∥˜uh L− uh∥Ω 0Dα t eL  Ω. Hence, by the definition of the norm ∥·∥ Bs(Ω) leads to ∥eL∥Bα(Ω)≲ 0Dα t (Π(1,0) M uh− uh)  Ω + ∂2 x(π(−α,α) N uh− uh)  Ω +∥˜uh L− uh∥Ω. (4.14) The two terms at the right-hand side can be bounded by using Lemma 4.5 and Lemma 4.6 as follows: ∥0Dα t (Π(1,0) M uh− uh)∥Ω≲ M1−r∥∂r−1 x (0Dα t uh)∥L2 χr−2(Λ,L2(I)), ∥∂2 x(π(−α,α) N uh− uh)∥Ω≲ N−(α+s)∥∂2 x(0Dα+s t uh)∥L2(Λ,L2 ω(s,s)(I)), and ∥˜uh L− uh∥Ω≲∥Π1,0 M (uh− π(−α,α) N uh)∥Ω +∥uh− Π1,0 M uh∥Ω ≲∥(Π1,0 M − I)(uh− π(−α,α) N uh)∥Ω +∥(uh− π(−α,α) N uh)∥Ω +∥uh− Π1,0 M uh∥Ω ≲ N−(α+s)M1−r∥∂r−1 x (0Dα+s t uh)∥L2 χr−2(Λ,L2 ω(s,s)(I)) +N−(α+s)∥0Dα+s t uh∥L2(Λ,L2 ω(s,s)(I)) + M1−r∥∂r−1 x uh∥L2 χr−2(Λ,L2(I)). (4.15) A combination of the above and (4.14) leads to ∥eL∥Bα(Ω)≲M1−r∥∂r−1 x (0Dα t uh)∥L2 χr−2(Λ,L2(I)) + N−(α+s)∥∂2 x(0Dα+s t uh)∥L2(Λ,L2 ω(s,s)(I)) + N−(α+s)M−r∥∂r−1 x (0Dα+s t uh)∥L2 χr−2(Λ,L2 ω(s,s)(I)) + N−(α+s)∥0Dα+s t uh∥L2(Λ,L2 ω(s,s)(I)) + M1−r∥∂r−1 x uh∥L2 χr−2(Λ,L2(I)). (4.16) On the other hand, we have uh− uh L = u−˜uh L + eL. Then, using Lemma 4.5 and Lemma 4.6 again yields ∥∂x(uh−˜uh L)∥Ω≲∥∂xΠ1,0 M (uh− π(−α,α) N uh)∥Ω +∥∂x(uh− Π1,0 M uh)∥Ω ≲∥∂x(uh− π(−α,α) N uh)∥Ω +∥∂x(uh− Π1,0 M uh)∥Ω ≲ N−(α+s)∥∂x(0Dα+s t uh)∥L2(Λ,L2 ω(s,s)(I)) + M1−r∥∂r xuh∥L2 χr−1(Λ,L2(I)), ∥0Dα t (uh−˜uh L)∥Ω≲  0Dα t π(−α,α) N (uh− Π1,0 M uh)  Ω +∥0Dα t (uh− π(−α,α) N uh)∥Ω ≲∥0Dα t (uh− Π1,0 M uh)∥Ω +∥0Dα t (uh− π(−α,α) N uh)∥Ω ≲ M1−r∥∂r−1 x (0Dα t uh)∥L2 χr−2(Λ,L2(I)) + N−s∥0Dα+s t uh∥L2(Λ,L2 ω(s,s)(I)). Consequently, the desired result follows from the above estimates and the triangle inequality. □ Case II. We consider (3.19) with ˜N (uh, t) = 1 2 ∂x(uh + u0)2. We first establish a stability result. A SPACE-TIME PETROV-GALERKIN SPECTRAL METHOD 11 Lemma 4.7. Let u0∈ H1 0(Λ) and uh L be the solution of (3.20) with ˜N (uh, t) = 1 2 ∂x(uh + u0)2. There holds ∥uh L∥Ω≤ 0D α 2 t uh L 2 Ω≤ K, ∥∂xuh L∥Ω≤ K, (4.17) where K is a positive constant independent uh L. Proof. Taking v = uh L+u0 in (3.20) with ˜N (uh, t) = 1 2 ∂x ( uh + u0 )2 , using the fact that (1 2 ∂x ( uh L + u0 )2 , uh L + u0 ) Ω = 0, as well as (2.10) and (4.11), we get that ( 0Dα t uh L, uh L ) Ω + γ ( ∂xuh L, ∂xuh L ) Ω =− ( 0Dα t uh L, u0 ) Ω− γ ( ∂xuh L, ∂xu0 ) Ω + γ ( ∆u0, uh L + u0 ) Ω ≤− ( 0D α 2 t uh L,tD α 2 T u0 ) Ω + γ ∂xuh L  Ω ∂xu0  Λ + γ ∂xu0  Λ (∂xuh L  Ω + T ∂xu0  Λ ) ≤ 0D α 2 t uh L  Ω tD α 2 T u0  Ω + 2γ ∂xuh L  Ω ∂xu0  Λ + γT ∂xu0 2 Λ (4.18) = 0D α 2 t uh L  Ω ∫ I t−α 2 dt u0  Λ + 2γ ∂xuh L  Ω ∂xu0  Λ + γT ∂xu0 2 Λ = T α 2 1− α 2 0D α 2 t uh L  Ω u0  Λ + 2γ ∂xuh L  Ω ∂xu0  Λ + γT ∂xu0 2 Λ ≤ 1 2 0D α 2 t uh L 2 Ω + Tα 2(1− α 2 )2 u0 2 Λ + 2γ ∂xuh L  Ω ∂xu0  Λ + γT ∂xu0 2 Λ. Then, we derive from (2.10) and (4.11) that 0D α 2 t uh L 2 Ω + γ ∂xuh L 2 Ω = ( 0D α 2 t uh L,tD α 2 T uh L ) Ω + γ ∂xuh L 2 Ω ≤ 1 2 0D α 2 t uh L 2 Ω + Tα 2(1− α 2 )2 u0 2 Λ + γ 2 ∂xuh L 2 Ω + 1 4 ∂xu0 2 Λ + γT ∂xu0 2 Λ. (4.19) or equivalently, 0D α 2 t uh L 2 Ω + ∂xuh L 2 Ω≲ u0 2 Λ + ∂xu0 2 Λ. (4.20) Thus, by using Lemma 2.4, we can derive the desired result. □ Theorem 4.2. Let uh be the solution of (3.19) and uh L be the numerical solution (3.20) with ˜N (uh, t) = 1 2 ∂x ( uh + u0 )2 . If uh∈ Hα(I; H1 0(Λ))∩ Er(Ω)∩ Ks(Ω), there holds ∥0Dα t (uh− uh L)∥Ω +∥∂x(uh− uh L)∥Ω≲ M1−r∥uh∥Er(Ω) + N−s∥uh∥Ks(Ω). (4.21) Proof. We derive from (3.19) and (3.20) that ˜a(eL, v) : = ( 0Dα t eL, v ) Ω + γ ( ∂xeL, ∂xv ) Ω = ( 0Dα t (˜uh L− uh), v ) Ω + γ ( ∂x(˜uh L− uh), ∂xv ) Ω + (˜N (uh L, t)− ˜N (˜uh L, t), v ) Ω + (˜N (˜uh L, t)− ˜N (uh, t), v ) Ω, ∀v∈ VM⊗ SN . (4.22) Thanks to (4.1) and (4.4), the above equation can be simplified to ˜a(eL, v) = ( 0Dα t (Π(1,0) M uh− uh), v ) Ω + γ ( ∂x(π(−α,α) N uh− uh), ∂xv ) Ω + (˜N (uh L, t)− ˜N (˜uh L, t), v ) Ω + (˜N (˜uh L, t)− ˜N (uh, t), v ) Ω. (4.23) 12 SHENG AND SHEN Taking v = 0Dα t eL(∈ VM⊗ SN) in the above equation, we obtain ( 0Dα t eL, 0Dα t eL ) Ω + γ ( ∂xeL, ∂x(0Dα t eL) ) Ω = ( 0Dα t (Π(1,0) M uh− uh), 0Dα t eL ) Ω + γ ( ∂x(π(−α,α) N uh− uh), ∂x(0Dα t eL) ) Ω + (˜N (uh L, t)− ˜N (˜uh L, t), 0Dα t eL ) Ω + (˜N (˜uh L, t)− ˜N (uh, t), 0Dα t eL ) Ω. (4.24) Since ˜N (uh, t) = 1 2 ∂x ( uh + u0 )2 , we derive from (4.12) and integration by parts that ∥0Dα t eL∥2 Ω +∥∂xeL∥2 Ω≲ 0Dα t (Π(1,0) M uh− uh)  Ω 0Dα t eL  Ω + ∂2 x(π(−α,α) N uh− uh)  Ω 0Dα t eL  Ω + ∂x ( uh L + u0 )2 − ∂x ( ˜uh L + u0 )2 Ω 0Dα t eL  Ω + ∂x ( ˜uh L + u0 )2 − ∂x ( uh + u0 )2 Ω 0Dα t eL  Ω, which leads to ∥0Dα t eL∥Ω+∥∂xeL∥Ω≲ 0Dα t (Π(1,0) M uh− uh)  Ω + ∂2 x(π(−α,α) N uh− uh)  Ω + ∂x ( uh L + u0 )2 − ∂x ( ˜uh L + u0 )2 Ω + ∂x ( ˜uh L + u0 )2 − ∂x ( uh + u0 )2 Ω. (4.25) The two terms at the right-hand side can be bounded by using Lemma 4.5 and Lemma 4.6 as follows: ∥0Dα t (Π(1,0) M uh− uh)∥Ω≲ M1−r∥∂r−1 x (0Dα t uh)∥L2 χr−2(Λ,L2(I)), ∥∂2 x(π(−α,α) N uh− uh)∥Ω≲ N−(α+s)∥∂2 x(0Dα+s t uh)∥L2(Λ,L2 ω(s,s)(I)), and ∂x ( uh L + u0 )2 − ∂x ( ˜uh L + u0 )2 Ω≲ uh L +˜uh L  Ω ∂xeL  Ω≲ ∂xeL  Ω,∂x ( ˜uh L + u0 )2 − ∂x ( uh + u0 )2 Ω≲ ˜uh L + uh Ω ∂x(˜uh L− uh)  Ω. A combination of the above and (4.14) leads to ∥0Dα t eL∥Ω +∥∂xeL∥Ω≲ M1−r∥∂r−1 x (0Dα t uh)∥L2 χr−2(Λ,L2(I)) + N−(α+s)∥∂2 x(0Dα+s t uh)∥L2(Λ,L2 ω(s,s)(I)) + N−(α+s)∥∂x(0Dα+s t uh)∥L2(Λ,L2 ω(s,s)(I)) + M1−r∥∂r xuh∥L2 χr−1(Λ,L2(I)). (4.26) On the other hand, we have uh− uh L = u−˜uh L + eL. Consequently, the desired result follows from the above estimates and the triangle inequality. □ 5. Numerical Results for Petrov-Galerkin method We now present some numerical results obtained by the proposed space-time spectral methods introduced in Section 3 for both linear and nonlinear cases. 5.1. Numerical Results for time fractional diffusion equation (3.1). we present below three numerical experiments to validate our algorithms and error estimates. Example 1. We consider (3.1) with the exact solution u(x, t) = sin( πx)· tα sin(πt), and non- homogeneous initial conditions u0(x) = sin( πx). The main purpose is to check the convergence behavior of numerical solutions with respect to M and N for several α. In Figure 5.1, we list the Bα(Ω)-errors in semi-log scale. Clearly, the exact solution has a singularity at t = 0, but for the weighted Sobolev spaces involving fractional derivatives Bs −α,α(I), we have u|t∈B s −α,α(I) for any large s so spectral accuracy is still expected despite the singularity at t = 0. We observe from Figure 5.1 that the numerical errors decay exponentially as M or N increases. A SPACE-TIME PETROV-GALERKIN SPECTRAL METHOD 13 Example 2 . We consider time fractional subdiffusion equation (3.1) with the exact solution u(x, t) = sin( πx)· sin(πtα), and the homogeneous initial conditions u0(x) = 0. The singularity at t = 0 is more complicated than Example 1, and its approximation in time can not achieve spectral accuracy. In Figure 5.2 (a), we list the Bα(Ω)-errors in semi-log scale against various M and α with N = 40 . We also list the Bα(Ω)-errors in log-log scale against various N and α with M = 20 in Figure 5.2 (b). We observe that the numerical errors decay exponentially as M increases since the solution is smooth in x, but only algebraically, as N increases since the GLF basis can only resolve the leading singular term of the solution. Example 3 . We consider the time fractional subdiffusion equation (3.1) with a given source function f(x, t) = sin( πx)· sin(πt), and homogeneous initial conditions. The exact solution is unknown but expected to have singularity at t = 0 due to the time fractional derivative. We compute a numerical solution with M = 40 and N = 80 as the reference solution. In Figure 5.3 (a), we list the Bα(Ω)-errors in log-log scale against various N and α with M = 20. As expected, we observe that the numerical errors in time variable decay algebraically. In Figure 5.3 (b), we list the Bα(Ω)-errors in semi-log scale against various M and α with N = 80. We observe that the errors decay exponentially. 0 5 10 15 20−15 −10 −5 0 log10(Bα(Ω)−error) M α=0.7 α=0.5 α=0.3 (a) 2 4 6 8 10 12 14−15 −10 −5 0 log10(Bα(Ω)−error) N α=0.7 α=0.5 α=0.3 (b) Figure 5.1. (a). The Bα(Ω)-error in semi-log scale against variousM andα for Example 1 with N = 20; (b). The Bα(Ω)-error in semi-log scale against various N and α for Example 1 with M = 20. 5.2. Numerical Results for nonlinear problem (1.1). Consider the following time fractional Burgers equation: C 0 Dα t u(x, t)− γ∆u(x, t) + ∂x (1 2 u2(x, t) ) = 0, ∀(x, t)∈ Ω, (5.1) with the initial data u0(x) =− sin(πx). We initially solved this problem by using the preconditioned Jacobian-free Newton-Krylov method. For the case with N = 40 , M = 60 , α = 0 .7, and γ = 0 .025, 90 iterations are needed to achieve 10−7-digit accuracy. To accelerate the convergence, we employed a two-grid approach. Namely, we use the coarse approximation solution with ˜N ≈ N/2 and ˜M ≈ M/2 as the initial data for the iteration for the fine approximation solution with N and M. This two-grid approach significantly improved the convergence, only less than 10 iterations are needed to achieve 10 −7-digit accuracy. 14 SHENG AND SHEN 2 6 10 14 16−10 −8 −6 −4 −2 0 M log10(Bα(Ω)−error) α=0.8 α=0.6 α=0.4 α=0.2 (a) 2 12 22 32 4010 −10 10 −5 10 0 N log10(Bα(Ω)−error) α=0.8 α=0.6 α=0.4 α=0.2 (b) Figure 5.2. (a). The Bα(Ω)-error in semi-log scale against variousM andα for Example 2 withN = 40; (b). The Bα(Ω)-error in log-log scale against variousN andα for Example 2 with M = 20. 10 110 −9 10 −8 10 −7 10 −6 10 −5 10 −4 10 −3 Bα(Ω)−error N α=0.7 α=0.5 α=0.3 504 (a) 0 5 10 15 20 25−10 −8 −6 −4 −2 0 M log10(Bα(Ω)−error) α=0.7 α=0.5 α=0.3 (b) Figure 5.3. (a). The Bα(Ω)-error in log-log scale against various N andα for Example 3 with M = 20; (b). The Bα(Ω)-error in semi-log scale against various M and α for Example 3 with N = 80. The numerical solutions obtained using Petrov-Galerkin spectral method with M = 40, N = 60, α = 0.7, γ = 0.025 for various time are shown in Figure 5.4 (a). We compute a numerical solution with M = 40 and N = 100 as a reference solution. In Figure 5.4 (b), we plot the Bα(Ω)-errors in log-log scale against various N and α of (5.1). We plots in Figure 5.5 (a) the numerical solution with M = 40, N = 60, α = 0.7, γ = 0.025 at t = 0, 0.1, 0.25, 0.5, 1, 1.5. We observe that, similar to the usual Burgers equation, the profile of solution become steeper as t increases to about t = 0 .25, and the solution start to relax towards zero for t > 0.25. To investigate the influence of α on the solution, we plot the numerical solution with γ = 0.025, N = 60, M = 100 at t = 0.971 for various α in Figure 5.5 (b). As a comparison, we also plot the solution with α = 1, i.e., the usual Burgers equation. We observe that, as α increases, the profile of the solution becomes steeper and dissipates faster. A SPACE-TIME PETROV-GALERKIN SPECTRAL METHOD 15 −1 0 1 0 0.5 1 −1 −0.5 0 0.5 1 t α=0.7, γ=1/40 x (a) 10 0 10 1 10 210 −6 10 −5 10 −4 10 −3 10 −2 Bα(Ω)−error N α=0.7 α=0.5 α=0.3 (b) Figure 5.4. (a). The numerical solution with α = 0.7, γ = 0.025, N = 60, M = 40; (b). The Bα(Ω)-error in log-log scale against various N and α for (5.1). −1 −0.5 0 0.5 1−1 −0.5 0 0.5 1 x Numerical solution t=0 t=0.1 t=0.25 t=0.5 t=1 t=1.5 (a) −1 −0.5 0 0.5 1−0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 x Numerical solution α=0.6 α=0.7 α=0.8 α=0.9 α=1 (b) Figure 5.5. (a). The numerical solution with α = 0.7, γ = 0.025, N = 60, M = 40; (b). The numerical solution with γ = 0.025, N = 60, M = 100 at t = 0.971. 5.3. Numerical Results for nonlinear system. In this subsection, we shall consider the follow- ing time fractional Volterra-Lotka systems with diffusion (cf. [6]):    C 0Dα t u− d1∆u− u(α1− β1u− γ1v− δ1w) = 0, x ∈ Λ, C 0Dα t v− d2∆v− v(α2− β2u− γ2v− δ2w) = 0, x ∈ Λ, C 0Dα t w− d3∆w− w(s + ε1u− ε2v) = 0, x ∈ Λ, u(x, 0) = u0(x), v (x, 0) = v0(x), w (x, 0) = w0(x), (5.2) 16 SHENG AND SHEN with homogeneous boundary conditions (1.2). Clearly, the above system can be derived in a similar fashion as in section 3.1, we obtain that    0Dα t uh− d1∆uh− (uh + u0) ( α1− β1(uh + u0)− γ1(vh + v0)− δ1(wh + w0) ) = g1, x∈ Λ, 0Dα t vh− d2∆vh− (vh + v0) ( α2− β2(uh + u0)− γ2(vh + v0)− δ2(wh + w0) ) = g2, x ∈ Λ, 0Dα t wh− d3∆wh− (wh + w0) ( s + ε1(uh + u0)− ε2(vh + v0) ) = g3, x ∈ Λ, uh(x, 0) = 0, v h(x, 0) = 0, w h(x, 0) = 0, (5.3) where g1 = d1u′′ 0, g2 = d2v′′ 0 , g3 = d2w′′ 0 . The corresponding space-time Petrov-Galerkin spectral method for (5.3) are to finduh L(x, t), vh L(x, t), wh L(x, t)∈ VM⊗F (α) N , such that    (0Dα t uh L, v)Ω + γ(∂xuh L, ∂xv)Ω + (N1(uh L, vh L, wh L, t), v)Ω = (g1, v)Ω, v ∈ VM⊗ S(α) N , (0Dα t uh L, v)Ω + γ(∂xuh L, ∂xv)Ω + (N2(uh L, vh L, wh L, , t), v)Ω = (g2, v)Ω, v ∈ VM⊗ S(α) N , (0Dα t uh L, v)Ω + γ(∂xuh L, ∂xv)Ω + (N3(uh L, vh L, wh L, , t), v)Ω = (g3, v)Ω, v ∈ VM⊗ S(α) N , (5.4) where N1(uh L, vh L, wh L, t) =−(uh + u0) ( α1− β1(uh + u0)− γ1(vh + v0)− δ1(wh + w0) ) , N2(uh L, vh L, wh L, t) =−(vh + v0) ( α2− β2(uh + u0)− γ2(vh + v0)− δ2(wh + w0) ) , N3(uh L, vh L, wh L, t) =−(wh + w0) ( s + ε1(uh + u0)− ε2(vh + v0) ) . Set uh L(x, t) = M−2∑ m=0 N∑ n=0 ˜uh nmφm(x)J(−α,α) n (t), v h L(x, t) = M−2∑ m=0 N∑ n=0 ˜vh nmφm(x)J(−α,α) n (t), wh L(x, t) = M−2∑ m=0 N∑ n=0 ˜wh nmφm(x)J(−α,α) n (t), 1˜nnm = ( N1(uh L, vh L, wh L, t), φm(x)L(α) n (t) ) , 2˜nnm = ( N2(uh L, vh L, wh L, t), φm(x)L(α) n (t) ) , 3˜nnm = ( N3(uh L, vh L, wh L, t), φm(x)L(α) n (t) ) , (5.5) uh m = (˜uh 0,m,˜uh 1,m,··· ,˜uh N,m)T , vh m = (˜vh 0,m,˜vh 1,m,··· ,˜vh N,m)T , wh m = (˜wh 0,m,˜wh 1,m,··· ,˜wh N,m)T , 1nm = (˜n1 0,m,˜n1 1,m,··· ,˜n1 N,m)T , 2nm = (˜n2 0,m,˜n2 1,m,··· ,˜n2 N,m)T , 3nm = (˜n3 0,m,˜n3 1,m,··· ,˜n3 N,m)T . Similarly, we obtain the following linear system:    (IN+1 + d1λx mMt)uh m +1nm(uh, vh, wh) = g1 m, 0≤ m≤ M− 2. (IN+1 + d2λx mMt)vh m +2nm(uh, vh, wh) = g2 m, 0≤ m≤ M− 2. (IN+1 + d3λx mMt)wh m +3nm(uh, vh, wh) = g3 m, 0≤ m≤ M− 2, (5.6) which can be solved by using the preconditioned Jacobian-free Newton-Krylov method as in the previous case. Nest, we present numerical results for the following two cases. Example 4 . We let f and the initial data be such that the equation (5.2) has the solution u(x, t) = sin(πx)(tα sin(πt) + 1), v (x, t) = sin(πx)(tα cos(πt) + 1), w (x, t) = sin(πx)(tαe−t + 1). In Figure 5.6, we list the max-errors of example 4 with α1 = 1 2 , β 1 = 1, γ 1 = 0.4, δ 1 = 0.3, α2 = 0.34, β2 = 1, γ 2 = 0.3, δ 2 = 0.1, s = 1, ε 1 = 2/3, ε 2 = 0.1, d 1 = 1 2 , d 2 = 0.7, d 3 = 1. We observe that A SPACE-TIME PETROV-GALERKIN SPECTRAL METHOD 17 the numerical errors decay exponentially as M and N increases. They indicate that our algorithm is effective for this special problem. 4 8 12 16 20 24−14 −12 −10 −8 −6 −4 −2 0 M log10(error) u,α=0.7 v,α=0.7 w,α=0.7 (a) 4 8 12 16−14 −12 −10 −8 −6 −4 −2 0 N log10(error) u,α=0.7 v,α=0.7 w,α=0.7 (b) Figure 5.6. (a). The spatial max-errors in semi-log scale against M with α = 0.7 and N = 20 for example 4; (b). The time max-errors in semi-log scale against N withα = 0.7 and M = 30 for example 4. Example 5 . We consider (5.2) with the initial data u0(x) = v0(x) = w0(x) = sin(πx). To examine the error of spatial and time direction, we fix M = 50 and N = 80 as the exact solution. Figure 5.7 (a) plot the max-errors in semi-log scale against various M. The figure clearly indicate that the error decays like O(e−cM). In Figure 5.7 (b), we plot the max-errors in log-log scale against various N. They indicate that the numerical errors decay algebraically as N increases. We also present plots of the numerical solution uL, vL, wL with α = 0.7 M = 40, M = 60 for various time in Figure 5.8. 4 8 12 16 20 M -10 -8 -6 -4 -2 0 log 10(error) u, α=0.7; v, α=0.7; w, α=0.7; (a) 10 1 10 2−4 −3.5 −3 −2.5 −2 −1.5 −1 log10(error) N u, α=0.7; v, α=0.7; w, α=0.7; 2 (b) Figure 5.7. (a). The spatial max-errors in semi-log scale against M with α = 0.7 for example 5; (b). The time max-errors in log-log scale against N with α = 0.7 for example 5. 18 SHENG AND SHEN 0 0.5 1 −1 0 1 −3 −2 −1 0 1 t numerical solution uL with M=40, N=60; x (a) 0 0.5 1 −1 0 1 −2 −1 0 1 t numerical solution vL with M=40, N=60; x (b) 0 0.5 1 −1 0 1 −1 −0.5 0 0.5 1 t numerical solution wL with M=40, N=60; x (c) Figure 5.8. (a) (b) (c): the evolution of numerical solution uL, vL, wL with α = 0.7 M = 40, M= 60 for example 5; 6. Concluding Remarks We developed a new space-time spectral method for nonlinear fractional subdiffusion equation. Our new scheme is based on a set of Fourier-like basis functions in the spatial variable and GJFs in time variable. The Fourier-like basis functions are discrete eigenfunctions of the Laplace operator, and lead to diagonal stiffness and mass matrices; The GJFs are chosen to match the leading sin- gularity of the underlying problem so that they provide better performance than polynomial basis. We also presented error analysis for typical linear and nonlinear problems, and numerical results to validate our algorithms and error estimates. Although we only dealt with one-dimensional spatial direction in this paper, the algorithm and the error analysis can be directly extended to multiple spatial dimensions of tensor product domains. References [1] C Canuto, MY Hussaini, A Quarteroni, and TA Zang. Spectral methods: Fundamentals in single domains series. 2006. [2] Claudio Canuto, M Yousuff Hussaini, Alfio Maria Quarteroni, A Thomas Jr, et al. Spectral methods in fluid dynamics. Springer Science & Business Media, 2012. [3] Feng Chen, Qinwu Xu, and Jan S Hesthaven. A multi-domain spectral method for time-fractional differential equations. Journal of Computational Physics , 293:157–172, 2015. [4] Sheng Chen, Jie Shen, and Li-Lian Wang. Generalized Jacobi functions and their applications to fractional differential equations. Mathematics of Computation , 85(300):1603–1638, 2016. [5] Kai Diethelm. The analysis of fractional differential equations: An application-oriented exposition using differ- ential operators of Caputo type . Springer, 2010. [6] SR Dunbar, KP Rybakowski, and K Schmitt. Persistence in models of predator-prey populations with diffusion. Journal of differential equations , 65(1):117–138, 1986. [7] Vincent J Ervin and John Paul Roop. Variational formulation for the stationary fractional advection dispersion equation. Numerical Methods for Partial Differential Equations , 22(3):558–576, 2006. [8] Ben-yu Guo and Li-lian Wang. Jacobi approximations in non-uniformly Jacobi-weighted sobolev spaces. Journal of Approximation Theory, 128(1):1–41, 2004. [9] Benyu Guo. Spectral methods and their applications . World Scientific, 1998. [10] Can Huang, Yujian Jiao, Li-Lian Wang, and Zhimin Zhang. Optimal fractional integration preconditioning and error analysis of fractional collocation method using nodal generalized Jacobi functions. SIAM Journal on Numerical Analysis, 54(6):3357–3387, 2016. [11] Bangti Jin, Raytcho Lazarov, Yikan Liu, and Zhi Zhou. The Galerkin finite element method for a multi-term time-fractional diffusion equation. Journal of Computational Physics , 281:825–843, 2015. A SPACE-TIME PETROV-GALERKIN SPECTRAL METHOD 19 [12] Bangti Jin, Raytcho Lazarov, Joseph Pasciak, and Zhi Zhou. Error analysis of a finite element method for the space-fractional parabolic equation. SIAM Journal on Numerical Analysis , 52(5):2272–2294, 2014. [13] Bangti Jin, Raytcho Lazarov, and Zhi Zhou. Two fully discrete schemes for fractional diffusion and diffusion-wave equations with nonsmooth data. SIAM Journal on Scientific Computing , 38(1):A146–A170, 2016. [14] Xianjuan Li and Chuanju Xu. A space-time spectral method for the time fractional diffusion equation. SIAM Journal on Numerical Analysis , 47(3):2108–2131, 2009. [15] Yumin Lin and Chuanju Xu. Finite difference/spectral approximations for the time-fractional diffusion equation. Journal of Computational Physics , 225(2):1533–1552, 2007. [16] Jacques Louis Lions and Enrico Magenes.Non-homogeneous boundary value problems and applications, volume 1. Springer Science & Business Media, 2012. [17] Igor Podlubny. Fractional differential equations: an introduction to fractional derivatives, fractional differential equations, to methods of their solution and some of their applications , volume 198. Academic press, 1998. [18] Jie Shen, Changtao Sheng, and Zhongqing Wang. Generalized Jacobi spectral-Galerkin method for nonlinear volterra integral equations with weakly singular kernels. J. Math. Study , 48(4):315–329, 2015. [19] Jie Shen and Tao Tang. Spectral and high-order methods with applications. 2006. [20] Jie Shen, Tao Tang, and Li-Lian Wang. Spectral methods: algorithms, analysis and applications , volume 41. Springer Science & Business Media, 2011. [21] Jie Shen and Li-Lian Wang. Fourierization of the Legendre-Galerkin method and a new space–time spectral method. Applied numerical mathematics, 57(5):710–720, 2007. [22] Zhi-zhong Sun and Xiaonan Wu. A fully discrete difference scheme for a diffusion-wave system.Applied Numerical Mathematics, 56(2):193–209, 2006. [23] WenYi Tian, Weihua Deng, and Yujiang Wu. Polynomial spectral collocation method for space fractional advection–diffusion equation. Numerical Methods for Partial Differential Equations , 30(2):514–535, 2014. [24] Mohsen Zayernouri, Mark Ainsworth, and George Em Karniadakis. A unified Petrov–Galerkin spectral method for fractional pdes. Computer Methods in Applied Mechanics and Engineering , 283:1545–1569, 2015. [25] Mohsen Zayernouri and George Em Karniadakis. Fractional sturm–liouville eigen-problems: theory and numerical approximation. Journal of Computational Physics , 252:495–517, 2013. [26] Fanhai Zeng, Changpin Li, Fawang Liu, and Ian Turner. The use of finite difference/element approaches for solving the time-fractional subdiffusion equation. SIAM Journal on Scientific Computing , 35(6):A2976–A3000, 2013. [27] Fanhai Zeng, Zhongqiang Zhang, and George Em Karniadakis. A generalized spectral collocation method with tunable accuracy for variable-order fractional differential equations. SIAM Journal on Scientific Computing , 37(6):A2710–A2732, 2015. [28] Fanhai Zeng, Zhongqiang Zhang, and George Em Karniadakis. Fast difference schemes for solving high- dimensional time-fractional subdiffusion equations. Journal of Computational Physics , 307:15–33, 2016. [29] Ya-nan Zhang and Zhi-zhong Sun. Alternating direction implicit schemes for the two-dimensional fractional sub-diffusion equation. Journal of Computational Physics , 230(24):8713–8728, 2011. [30] Zhongqiang Zhang, Fanhai Zeng, and George Em Karniadakis. Optimal error estimates of spectral Petrov– Galerkin and collocation methods for initial value problems of fractional differential equations. SIAM Journal on Numerical Analysis, 53(4):2074–2096, 2015.

采集于

查看校方原文 ↗