Numerical solution of the space-time tempered fractional diffusion equation. finite differences



Similar documents
Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 10

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

Introduction to the Finite Element Method (FEM)

1 Determinants and the Solvability of Linear Systems

5.5. Solving linear systems by the elimination method

POLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS

Nonlinear Algebraic Equations Example

the points are called control points approximating curve

5 Numerical Differentiation

Introduction to the Finite Element Method

How High a Degree is High Enough for High Order Finite Elements?

Numerical Analysis An Introduction

POLYNOMIAL HISTOPOLATION, SUPERCONVERGENT DEGREES OF FREEDOM, AND PSEUDOSPECTRAL DISCRETE HODGE OPERATORS

Vector and Matrix Norms

1 Review of Least Squares Solutions to Overdetermined Systems

November 16, Interpolation, Extrapolation & Polynomial Approximation

Lecture 3: Finding integer solutions to systems of linear equations

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra:

1 Finite difference example: 1D implicit heat equation

Chebyshev Expansions

Continuous Groups, Lie Groups, and Lie Algebras

AN INTRODUCTION TO NUMERICAL METHODS AND ANALYSIS

Linear Programming. March 14, 2014

LS.6 Solution Matrices

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Partial Fractions. p(x) q(x)

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

LINEAR ALGEBRA W W L CHEN

Inner Product Spaces

INTEGRAL METHODS IN LOW-FREQUENCY ELECTROMAGNETICS

Introduction to Algebraic Geometry. Bézout s Theorem and Inflection Points

LINEAR ALGEBRA. September 23, 2010

The Basics of FEA Procedure

1 The Brownian bridge construction

To give it a definition, an implicit function of x and y is simply any relationship that takes the form:

x = + x 2 + x

An Overview of the Finite Element Analysis

Solving Systems of Linear Equations

3. INNER PRODUCT SPACES

Numerical Methods for Differential Equations

We shall turn our attention to solving linear systems of equations. Ax = b

Algebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the school year.

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Mathematics Course 111: Algebra I Part IV: Vector Spaces

ABSTRACT FOR THE 1ST INTERNATIONAL WORKSHOP ON HIGH ORDER CFD METHODS

2.2 Creaseness operator

by the matrix A results in a vector which is a reflection of the given

Integrals of Rational Functions

Solving Systems of Linear Equations Using Matrices

The Quantum Harmonic Oscillator Stephen Webb

Solving simultaneous equations using the inverse matrix

1 Introduction to Matrices

Høgskolen i Narvik Sivilingeniørutdanningen STE6237 ELEMENTMETODER. Oppgaver

EECS 556 Image Processing W 09. Interpolation. Interpolation techniques B splines

Back to Elements - Tetrahedra vs. Hexahedra

Basics of Polynomial Theory

Natural cubic splines

Finite Element Formulation for Beams - Handout 2 -

Least-Squares Intersection of Lines

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

1 Homework 1. [p 0 q i+j p i 1 q j+1 ] + [p i q j ] + [p i+1 q j p i+j q 0 ]

1 if 1 x 0 1 if 0 x 1

SOLVING LINEAR SYSTEMS

FINITE DIFFERENCE METHODS

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Logistic Regression. Jia Li. Department of Statistics The Pennsylvania State University. Logistic Regression

Linear Programming. April 12, 2005

Finite Element Formulation for Plates - Handout 3 -

4.5 Linear Dependence and Linear Independence

INTERPOLATION. Interpolation is a process of finding a formula (often a polynomial) whose graph will pass through a given set of points (x, y).

How To Prove The Dirichlet Unit Theorem

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

2.4 Real Zeros of Polynomial Functions

Linear Threshold Units

3. Interpolation. Closing the Gaps of Discretization... Beyond Polynomials

Lecture 3: Linear methods for classification

Partial Fractions. (x 1)(x 2 + 1)

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

Introduction to spectral methods

Scattered Node Compact Finite Difference-Type Formulas Generated from Radial Basis Functions

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 3: Wednesday, Feb 8

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

MATHEMATICAL METHODS OF STATISTICS

Differentiation and Integration

Several Views of Support Vector Machines

Lecture Notes 2: Matrices as Systems of Linear Equations

Quotient Rings and Field Extensions

Solution of Linear Systems

Lecture 2 Matrix Operations

Linearly Independent Sets and Linearly Dependent Sets

DERIVATIVES AS MATRICES; CHAIN RULE

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

1 Solving LPs: The Simplex Algorithm of George Dantzig

Unified Lecture # 4 Vectors

An important theme in this book is to give constructive definitions of mathematical objects. Thus, for instance, if you needed to evaluate.

Elasticity Theory Basics

A Brief Review of Elementary Ordinary Differential Equations

Christfried Webers. Canberra February June 2015

THE FUNDAMENTAL THEOREM OF ALGEBRA VIA PROPER MAPS

Transcription:

Numerical solution of the space-time tempered fractional diffusion equation: Alternatives to finite differences Université catholique de Louvain Belgium emmanuel.hanert@uclouvain.be Which numerical method is best suited to solve the space-time tempered fractional diffusion equation? γ,β,s t f (x, t) = d(x) α,θ,λ f (x, t) + q(x, t), where the tempered time and space fractional derivatives of order γ and α are defined as: γ,β,s t f (x, t) = f t (x, t) + βe st D γ t α,θ,λ f (x, t) = θ 2 e λx Dx α ( e st f (x, t) ) βs γ f (x, t), ( ) e λx f (x, t) λ α f (x, t) + αθλ α f (x, t), + + θ 2 eλx xd α L ( ) e λx f (x, t) where β is a capacity coefficient, s is the time truncation parameter, λ is the space truncation parameter and θ [, ] is a skewness parameter. That equation is defined for x L and t T.

OK, that s quite complicate. Let s start with something easier... We are first going to consider the space-fractional diffusion equation without tempering : where t f (x, t) = d(x) α,θ f (x, t) + q(x, t), α,θ f (x, t) = θ 2 Dx α f (x, t) + + θ 2 x DL α f (x, t). The fractional derivatives Dx α and x DL α the Riemann-Liouville or Caputo sense. can be defined either in A finite difference (FD) discretization of the diffusion term leads to a full diffusion matrix FD schemes are based on the shifted Grünwald approximation: i Dx α j= f (x i, t) w jf i j+ x α N i xdl α f (x j= i, t) w jf i+j x α where the domain has been divided in N segments of finite size x = L N and w k = for k =,, 2,... Γ(k α) Γ(k+)Γ( α) α = 2 α =.99 α =.9 e 2 e 2 e 2 e 4 e 4 2 3 4 5 6 7 8 9 k e 4 e 4 2 3 4 5 6 7 8 9 k e 4 e 4 2 3 4 5 6 7 8 9 k e 2 e 2 e 2 2 2 2

The FD stencil covers the entire domain as soon as α < 2 D 2 2 2 2 2 2 2 D.99.99.985.33.8.3.2.985.99.985.33.8.3.33.985.99.985.33.8.8.33.985.99.985.33.3.8.33.985.99.985.2.3.8.33.985.99 The computational cost of the method is thus O(N 3 ) and storage is O(N 2 ). That s of course unless something clever is done... The finite element (FE) method is a bit more flexible than the FD method but not more efficient The exact solution is approximated by an expansion in terms of low-order compact-support basis functions φ j : f (x, t) N f j (t)φ j (x). j= The discrete equations are obtained by using a Galerkin formulation, which amounts to multiply the model equation by φ i (i =,..., N) and integrate by parts on [, L]. The diffusion term is then discretized as follows: d(x) α,θ f (x, t) D ij f j (t), where the elements of the diffusion matrix D read: D ij = L d dx (dφ i) α,θ φ j dx.

The fractional derivative of a compact-support FE basis function does not have a compact support anymore φ j (x) x j φ j (x) α,θ φ j (x) The diffusion matrix is thus again a full matrix. The FE diffusion matrix can be obtained quite easily with piecewise linear basis functions Assuming that the support of the basis function φ i corresponds to [x i, x i ] [x i, x i+ ], we see that D ij = d dφ i dx [x i,x i ] = d Γ(2 α) xi [ x α,θ x i φ j dx d dφx i dx [x i,x i+ ] ] xi φ j (y) dy (x y) α x i + x i x i [ L x xi+ x i α,θ φ j dx, φ j (y) dy (y x) α x i+ x i ] xi+ x i, where we assumed that the diffusivity d is constant. More generally, by interpreting the the FE diffusion matrix as a FD diffusion matrix, we could build FD schemes of arbitrary orders on non-equidistant grids.

The pseudo-spectral (PS) method seems better suited to global differential operators The PS method is quite similar to the FE method with the exception that basis functions φ j (x) are now global high-order functions, like Chebyshev polynomials. As a result, less degrees of freedom are required to achieve the same accuracy as with the FE method and the discrete operators are always represented by full matrices whatever the value of α. f (x, t) N f j (t)φ j (x). j= Here we use the Galerkin formulation to discretize the model equations. The diffusion matrix then reads: D ij = L φ i (x) d(x) α,θ φ j (x) w(x) dx. where w(x) is a weight function with respect to which the polynomial basis functions are orthogonal. Integer- and fractional-order derivatives of a PS basis function are global functions φ 8 (x) φ 8 (x) α,θ φ 8 (x) Going from an integer-order to a fractional-order diffusion operator does not significantly change the computational cost.

The radial basis function (RBF) method can be seen as a compromise between the FE and PS methods With the RBF method, the model solution is generally expressed as follows: N f (x, t) f j (t)φ( x x j ), j= where φ(r) is a radial function and x j its center. Here we consider the Gaussian radial functions φ(r) = e (εr)2, where the shape parameter ε controls the flatness of the function. A collocation method is usually used to derive the discrete equations. The diffusion matrix then reads: D ij = d(x i ) α,θ x φ j (x i ). It is a full matrix whatever the value of α. The RBF s are global functions that have a spatial location φ j (x) x j φ j (x) α,θ φ j (x) They can be clustered in the region where the solution is steep (like with the FE method) while preserving high-order accuracy (like with the PS method).

The fractional derivatives of RBF s can be computed analytically This can be done by expanding the Gaussian radial function in a MacLaurin series: ( 2j α,θ x e ε2 x x i 2 = ( ) j ε 2j j= j! k= (2j)!( ) k x 2j k i k!(2j k)! ) α,θ x k, and truncating the infinite sum once the terms are smaller in magnitude than machine precision. How to avoid ill conditionning? Try RBF-QR... The standard implementation of the RBF method exhibits an increasing ill conditioning when N increases and when ε decreases. This is due to the RBF basis that becomes increasingly near-linearly dependent. The RBF-QR algorithm avoids this issue by constructing a new basis spanning exactly the same function space but much better conditioned. The RBF-QR method converges towards a PS method when ε. RBF-Direct basis RBF-QR basis x x

Convergence analysis Find f (x, t) such that with f (x, t) t = d(x) D.2 x f (x, t) + q(x, t) for x [, ] and t >, d(x) = Γ(3.8)x.2 /24, q(x, t) = 2e t x 4, f (x, ) = x 4, f (, t) =, f (, t) = e t. In that case, the exact solution is: f (x, t) = e t x 4..9.8.7.6.5.4.3.2 We solve that equation until t = with the 4 numerical schemes and then compute the L 2 error between the discrete and exact solutions...2.4.6.8 The expected convergence rates are achieved log error 4 FD FE 8 RBF, ε = 5 2 RBF, ε = 4 PS N 5 5 4 The RBF solution converges towards the PS solution as ε. The FD scheme is st-order accurate and the FE scheme is 2nd-order accurate.

By carefully selecting the shape parameter ε, RBF can yield better accuracy than PS Relative max-norm error in computing C D.8 x cos(6x) with respect to ε, for several Chebyshev distributions of N nodes. Now, let s consider the fully fractional equation with space and time tempering... Just to remind you, the model equation is: γ,β,s t f (x, t) = d(x) α,θ,λ f (x, t) + q(x, t), where the time and space fractional derivatives are both tempered: γ,β,s t f (x, t) = f t (x, t) + βe st D γ t α,θ,λ f (x, t) = θ 2 e λx Dx α ( e st f (x, t) ) βs γ f (x, t), ( ) e λx f (x, t) λ α f (x, t) + αθλ α f (x, t). + + θ 2 eλx xd α L ( ) e λx f (x, t) Since the PS method seems to work quite well, let s use that method for the time discretization as well...

For the space discretization, we leave it open... The discrete solution is expressed in terms of a matrix of unknown nodal values F jk as follows: f (x, t) f (x, t) = N x N t j= k= φ x j (x)f jk φ t k (t), where φ t k (t) is a Chebyshev polynomial of order k and φx j (x) could be either a FE, PS or radial basis function. We also introduce the following three intermediate variables and assume that they have the same discretization as the model solution: N x N t g(x, t) e st f (x, t) g(x, t) = φ x j (x)g jk φ t k(t), j= k= N x N t h l (x, t) e λx f (x, t) h l (x, t) = φ x j (x)h l jkφ t k(t), j= k= h r (x, t) e λx f (x, t) h N x N t r (x, t) = φ x j (x)h r jkφ t k(t), j= k= To derive the discrete equations, we use a Galerkin formulation in space and time The discrete equations read: φ x i γ,β,s t f (x, t)φ t l = φx i d(x) α,θ,λ f (x, t)φ t l + φx i q(x, t)φ t l, for i N x and l N t. The time derivative term can be expressed as follows: φ x i γ,β,s t = φ x i f φ t l f t φt l + β φ x i e st D γ t g φ t l βs γ φ x i f φ t l = φ x i φ x j x F jk dφt k dt φt l t + β φ x i φ x j x G jk e st D γ t φ t k φ t l t βs γ φ x i φ x j x F jk φ t kφ t l t = M ij F jk T kl + β M ij G jk T γ kl βs γ M ij F jk N kl, That s almost OK but we still have to express G jk in terms of F jk...

Tempering is easily handled with a L 2 projection The following L 2 projection can be used to express G jk in terms of F jk : φ x i g(x, t)φ t l = φx i e st f (x, t)φ t l, or φ x i φ x j x G jk φ t k φt l t = φ x i φ x j x F jk e st φ t k φt l t, which amounts to say that G = FE p N, where the matrix E p is such that E p kl = e st φ t k φt l t. The PS Galerkin discretization of the tempered fractional derivative can then be expressed as a product of 3 matrices: φ x i γ,β,s t f (x, t)φ t l = (MFT) il, where T T + β E p N T γ βs γ N. The same can be done for the tempered space derivative φ x i d α,θ,λ f φ t l = θ 2 φx i d e λx Dx α h l φ t l + + θ 2 φx i d e λx xdl α h r φ t l λ α φ x i d f φ t l + αθλ α φ x i d f φt l, = θ 2 φx i d e λx D α x φ x j x H l jk φ t kφ t l t + + θ 2 φx i d e λx xd α L φ x j x H r jk φ t kφ t l t λ α φ x i d φ x j x F jk φ t kφ t l t + αθλ α φ x i = D l ijh l jkn kl + D r ijh r jkn kl R ij F jk N kl + A ij F jk N kl, dφ x j dx x F jk φ t kφ t l t

Spatial tempering can again be handled with a L 2 -projection The L 2 projection leads to φ x i φ x j x H l jk φt k φt l t = φ x i e λx φ x j x F jk φ t k φt l t, φ x i φ x j x H r jk φt k φt l t = φ x i e λx φ x j x F jk φ t k φt l t. and by introducing the matrices E l ij = φx i eλx φ x j x and E r ij = φx i e λx φ x j x, we can express H l = M E l F and H r = M E r F. The PS Galerkin discretization of the tempered fractional diffusion term can then be expressed as the product of 3 matrices: φ x i d(x) α,θ,λ f (x, t)φ t l = (DFN) il, where D D l M E l + D r M E r R + A. Finally, the discrete equations have a very simple expression By putting everything together, we can express the discrete equations in matrix form: MFT = DFN + Q, where F is the matrix of unknown coefficients and where Q is the reaction matrix whose entries are Q il = φ x i q(x, t)φt l. That equation can be vectorized by using the Kronecker product (represented by ): ( ) T T M N T D vec(f) = vec(q), () where vec(f) is the vector obtained by stacking the columns of F on top of one another.

Dirichlet/Neumann boundary conditions can easily be imposed For instance, the left boundary condition f c d f (, t) + c n (, t) = f l (t) can be discretized as follows: ( c d φ x dφ x ) j j () + c n dx () F jk φ t k φt l t = f l (t)φ t l t. In matrix form, it translates to: ( N T (c d Φ x () T dφ x )) + c n dx ()T vec(f) = f l (t)φ t (t) t. The discretization of the right boundary condition, c d f (L, t) + c n f (L, t) = f r (t), is similar. Convergence analysis Let s consider a PS discretization in both space and time and evaluate the convergence rate. We take α =.8, γ =.8, β =, θ =, and the following diffusivity and reaction functions : d(x) = x where p and q R, and α Γ(p + α), Γ(p + ) q(x, t) = x p e λx e st (q γ,β,s (t) t q q α,λ (x)), q γ,β,s (t) = qt q st q Γ(q + ) + β Γ(q + γ) tq γ βs γ t q, q α,λ (x) = Γ(p + α) Γ(p + ) In that case, the exact solution is ( λ α x α + αλ α (px α λx α ) ). f (x, t) = x p t q e λx e st.

When p and q take integer values, the error convergence is exponential p = 3 and q = 3 When the polynomial powers p and q take integer values, the exact solution is C and convergence is exponential. When there is no truncation (i.e. when λ = s = ), only 4 modes in space and time are necessary to exactly represent the solution. When p and/or q take non-integer values, the error convergence is algebraic p = 2.8 and q = 2.6 Convergence is only algebraic since the exact solution has a singularity t = and x =. According to Darboux s principle, the algebraic rate of convergence is controlled by the gravest singularity, which here is due to t q since q < p. Numerical results are in agreement with a theoretical convergence rate of 2q + = 6.2.

Diffusion of a Gaussian hill This more qualitative test case just looks at the diffusion of a Gaussian hills. The initial and boundary conditions are: f (x) = f (x, ) = exp( (x L/2) 2 ), f l (t) = f (, t) =, f r (t) = f (L, t) =, for L = and T = 2. To account for the change of dimension of the diffusivity and capacity coefficients when changing the values of α and γ, we define them as d(x) = DL α T and β = T γ, where L and T are characteristic length and time scale, respectively, and where D is a dimensionless constant. We still consider a PS expansion in both space and time. Because of the steepness of the initial solution, we had to use a Chebyshev polynomial expansion with 9 modes in space and modes in time. Diffusion patterns for different values of α and γ without truncation α = 2 γ = α =.2 γ = α = 2 γ =.6 α =.2 γ =.6 f (x, t) f (x, t) 4 4 x x

Final solution for different values of the truncation parameters and for α =.2 and γ =.6 As the value of λ increases, the truncation length decreases and the diffusion process becomes subdiffusive. As the value of s increases, the truncation time decreases and the diffusion process becomes superdiffusive. Conclusions Different strokes for different folks Non-local differential operators are best discretized with non-local numerical methods that naturally take the global behavior of the solution into account. Unlike the FD and FE methods, the PS and RBF methods do not result in an extra computational cost when going from integer-order to fractional-order differential operators. The PS and RBF methods achieve exponential convergence rates and thus require a much less degrees of freedom than the FD and FE methods when the solution is smooth enough. Numerical methods that discretize the model solution (like the FE, PS and RBF methods) and not the differential operator (like the FD method) can easily handle tempered fractional derivatives.

References Hanert E. (2) A comparison of 3 Eulerian numerical methods for fractional-order transport models, Environmental Fluid Mechanics,, 7-2. Hanert E. (2) On the numerical solution of space-time fractional diffusion models, Computers and Fluids, 46, 33-39. Piret C. and E. Hanert (23) A radial basis functions method for fractional diffusion equations, Journal of Computational Physics, 238, 7-8. Hanert E. and C. Piret (23) A Chebyshev pseudo-spectral method to solve the space-time tempered fractional diffusion equation, Journal of Computational Physics (in limbo). Hanert E. and C. Piret (23) Discretization of the fractional diffusion equation: Local vs global numerical methods (in preparation).