A numerical study of a technique for shifting eigenvalues of radial basis function differentiation matrices

Similar documents
A Numerical Study of the Accuracy and Stability of Symmetric and Asymmetric RBF Collocation methods for Hyperbolic PDEs

RBF Collocation Methods and Pseudospectral Methods

Radial Basis Function methods - reduced computational expense by exploiting symmetry

MATH 590: Meshfree Methods

Recovery of high order accuracy in radial basis function approximation for discontinuous problems

arxiv:gr-qc/ v1 6 Sep 2006

MATH 590: Meshfree Methods

MATH 590: Meshfree Methods

MATH 590: Meshfree Methods

MATH 590: Meshfree Methods

MATH 590: Meshfree Methods

DIRECT ERROR BOUNDS FOR SYMMETRIC RBF COLLOCATION

Quadrature approaches to the solution of two point boundary value problems

Space-Time Localized Radial Basis Function Collocation Methods for PDEs

A Numerical Solution of the Lax s 7 th -order KdV Equation by Pseudospectral Method and Darvishi s Preconditioning

c 2005 Society for Industrial and Applied Mathematics

MATH 590: Meshfree Methods

SOLVING HYPERBOLIC PARTIAL DIFFERENTIAL EQUATIONS IN SPHERICAL GEOMETRY WITH RADIAL BASIS FUNCTIONS

H. L. Atkins* NASA Langley Research Center. Hampton, VA either limiters or added dissipation when applied to

NUMERICAL SIMULATION OF LONG WAVE RUNUP ON A SLOPING BEACH*

MATH 590: Meshfree Methods

Numerical analysis of heat conduction problems on 3D general-shaped domains by means of a RBF Collocation Meshless Method

Numerical Integration (Quadrature) Another application for our interpolation tools!

Stability constants for kernel-based interpolation processes

A Comparison between Solving Two Dimensional Integral Equations by the Traditional Collocation Method and Radial Basis Functions

Exact and Approximate Numbers:

ACCURACY AND STABILITY OF GLOBAL RADIAL BASIS FUNCTION METHODS FOR THE NUMERICAL SOLUTION OF PARTIAL DIFFERENTIAL EQUATIONS. by Rodrigo B.

A new class of highly accurate differentiation schemes based on the prolate spheroidal wave functions

Statistical Geometry Processing Winter Semester 2011/2012

MATH 590: Meshfree Methods

Interpolation by Basis Functions of Different Scales and Shapes

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations

MATH 590: Meshfree Methods

Geometric Modeling Summer Semester 2010 Mathematical Tools (1)

Application of modified Leja sequences to polynomial interpolation

Commun Nonlinear Sci Numer Simulat

Radial basis function partition of unity methods for PDEs

Name of the Student: Unit I (Solution of Equations and Eigenvalue Problems)

MATH 590: Meshfree Methods

1. Introduction. A radial basis function (RBF) interpolant of multivariate data (x k, y k ), k = 1, 2,..., n takes the form

Numerical solution of nonlinear sine-gordon equation with local RBF-based finite difference collocation method

Generalised Summation-by-Parts Operators and Variable Coefficients

MATH 590: Meshfree Methods

D. Shepard, Shepard functions, late 1960s (application, surface modelling)

Chapter 6. Nonlinear Equations. 6.1 The Problem of Nonlinear Root-finding. 6.2 Rate of Convergence

A high order adaptive finite element method for solving nonlinear hyperbolic conservation laws

Research Article A Note on the Solutions of the Van der Pol and Duffing Equations Using a Linearisation Method

Lecture 4.2 Finite Difference Approximation

Least-Squares Spectral Collocation with the Overlapping Schwarz Method for the Incompressible Navier Stokes Equations

THE RUNGE PHENOMENON AND SPATIALLY VARIABLE SHAPE PARAMETERS IN RBF INTERPOLATION

Numerical study of some nonlinear wave equations via Chebyshev collocation method

MATH 590: Meshfree Methods

A new stable basis for radial basis function interpolation

Fourier spectral methods for solving some nonlinear partial differential equations

Positive Definite Kernels: Opportunities and Challenges

Meshfree Approximation Methods with MATLAB

Krylov Subspace Spectral Methods for the Time-Dependent Schrödinger Equation with Non-Smooth Potentials

Dual Bases and Discrete Reproducing Kernels: A Unified Framework for RBF and MLS Approximation

Numerical analysis of heat conduction problems on irregular domains by means of a collocation meshless method

Eigenvalues of Trusses and Beams Using the Accurate Element Method

MATH 590: Meshfree Methods

Spectral Collocation Method for Parabolic Partial Differential Equations with Neumann Boundary Conditions

Explicit construction of rectangular differentiation matrices

Key words. spectral method, structured matrix, low-rank property, matrix-free direct solver, linear complexity

Y m = y n e 2πi(m 1)(n 1)/N (1) Y m e 2πi(m 1)(n 1)/N (2) m=1

A RADIAL BASIS FUNCTION METHOD FOR THE SHALLOW WATER EQUATIONS ON A SPHERE

A MANIFOLD-BASED EXPONENTIALLY CONVERGENT ALGORITHM FOR SOLVING NON-LINEAR PARTIAL DIFFERENTIAL EQUATIONS

Scattered Data Interpolation with Polynomial Precision and Conditionally Positive Definite Functions

Research Article The Spectral Method for Solving Sine-Gordon Equation Using a New Orthogonal Polynomial

Equations Introduction

Using Gaussian eigenfunctions to solve boundary value problems

Evaluation of Chebyshev pseudospectral methods for third order differential equations

arxiv: v1 [math.na] 4 Nov 2015

Lecture 4b. Bessel functions. Introduction. Generalized factorial function. 4b.1. Using integration by parts it is easy to show that

Kernel B Splines and Interpolation

Multivariate Interpolation with Increasingly Flat Radial Basis Functions of Finite Smoothness

A WAVELET-TAYLOR GALERKIN METHOD FOR PARABOLIC AND HYPERBOLIC PARTIAL DIFFERENTIAL EQUATIONS

Optimal Runge Kutta Methods for First Order Pseudospectral Operators

Kernel-based Approximation. Methods using MATLAB. Gregory Fasshauer. Interdisciplinary Mathematical Sciences. Michael McCourt.

MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPARTMENT OF MECHANICAL ENGINEERING CAMBRIDGE, MASSACHUSETTS NUMERICAL FLUID MECHANICS FALL 2011

An Accurate Fourier-Spectral Solver for Variable Coefficient Elliptic Equations

Stability of Kernel Based Interpolation

1. Introduction. Consider the Navier Stokes equations ηu t ν 2 u + (u grad) u + grad p = f div u = 0 (1.1)

2 Introduction T(,t) = = L Figure..: Geometry of the prismatical rod of Eample... T = u(,t) = L T Figure..2: Geometry of the taut string of Eample..2.

A Gauss Lobatto quadrature method for solving optimal control problems

Homework 6 MA/CS 375, Fall 2005 Due December 15

Filtering in Legendre Spectral Methods

MATH 590: Meshfree Methods

Lecture 4.5 Schemes for Parabolic Type Equations

A Padé approximation to the scalar wavefield extrapolator for inhomogeneous media

Solving Boundary Value Problems (with Gaussians)

Chapter 5 HIGH ACCURACY CUBIC SPLINE APPROXIMATION FOR TWO DIMENSIONAL QUASI-LINEAR ELLIPTIC BOUNDARY VALUE PROBLEMS

Linear Equations in Linear Algebra

Least Squares Approximation

Long Time Dynamics of Forced Oscillations of the Korteweg-de Vries Equation Using Homotopy Perturbation Method

Quantum Dynamics. March 10, 2017

Nonlinear Oscillations and Chaos

NUMERICAL SOLUTION OF THE LINEARIZED EULER EQUATIONS USING HIGH ORDER FINITE DIFFERENCE OPERATORS WITH THE SUMMATION BY PARTS PROPERTY

1e N

The embedded finite difference method for the Poisson equation in a domain with an irregular boundary and Dirichlet boundary conditions

Transcription:

A numerical study of a technique for shifting eigenvalues of radial basis function differentiation matrices Scott A. Sarra Marshall University and Alfa R.H. Heryudono University of Massachusetts Dartmouth and Cheng Wang University of Massachusetts Dartmouth June 4, Abstract Radial Basis Function(RBF) collocation methods for time-dependent PDEs, in particular hyperbolic PDEs, are known to be difficult to implement in a way so that they are stable for time integration. It has been hypothesized that the instability is due to the way that boundary conditions are applied and to the relatively large errors in boundary regions. We describe a preconditioning technique that deemphasizes data in boundary regions and reformulates derivative calculations to focus on interior data. The preconditioning technique improves the eigenvalue stability of RBF methods for time-dependent PDEs. Unfortunately, the technique seems to only be applicable on domains that are simply shaped. keywords: Radial Basis Functions, Numerical Partial Differential Equations, Time-Dependent Partial Differential Equations, Eigenvalue Stability, Collocation Methods.

Introduction Eigenvalue stability of Radial Basis Function(RBF) methods for time-dependent PDEs have only recently started to be eamined. In [5] it was proven that RBF methods are eigenvalue stable in the absence of boundaries, including methods on periodic domains. Additionally, special center distributions in d were found that caused the Gaussian RBF collocation method for PDEs with boundary conditions to be stable. The method was etended to the special case of tensor product grids in d. In [6], it was shown that eigenvalue stability could be obtained in the very general setting of complely shaped domains and scattered centers by bounding the condition number of the system matri of the RBF method. For a fied set of centers, the shape parameter was selected so the the condition number of the system matri did not eceed an upper bound. The approach was successful in obtaining eigenvalue stability when the scattered centers covered the domain in a fairly uniform manner. However, a stable condition number bound was not found in all cases, e.g. the case of widely scattered random center locations. Despite the condition number bound approach being successful in achieving eigenvalue stability in many cases, the approach has the negative consequence of that in order to achieve the bound, the shape parameter must be specified to be so large that the accuracy of the RBF method is severely degraded. Numerical eperiments in [8] give further evidence that eigenvalue stability on a fied set of somewhat uniformly spaced centers can be achieved by using a sufficiently large value of the shape parameter. Ideally, RBF methods would be able to maintain eigenvalue stability when a shape parameter is used that allows the method to be most accurate. The RBF method is typically most accurate when its system matri is critically conditioned [7]. With IEEE double precision floating point arithmetic, this is when the condition number of the system matri is O(e6). RBF method for time-dependent PDEs The RBF collocation method is based on differentiating a RBF interpolant. The method is sometimes called the asymmetric RBF collocation method, to distinguish it from the symmetric RBF collocation method [6], and may also be called Kansa s method []. The RBF interpolant on a set of centers

c,...,c N in Rd is where s() = N j= r = = α j φ( c j,ε) () + + d. Many choices of the RBF φ(r,ε) eist. In all eamples we use the multiquadric (MQ) RBF φ(r,ε) = +ε r which is popular in applications and is representative of the class of RBF containing a free parameter called the shape parameter and which are theoretically spectrally accurate. The shape parameter controls both the accuracy and the conditioning of the method. The coefficients, α, are determined by enforcing the interpolation condition s( i ) = f( i ) () at a set of nodes that typically coincide with the centers. Enforcing the interpolation condition at N centers results in a N N linear system Bα = f (3) to be solved for the RBF epansion coefficients α. The matri B with entries b ij = φ( c i c j ), i,j =,...,N (4) is called the system matri. The uncertainty principle dictates that RBF methods can not be both accurate and well conditioned [8]. The conditioning of the RBF method is quantified by the matri condition number, which in the norm is κ(b) = B B = σ ma σ min (5) where σ are the singular values of B. To approimate the derivatives of a function f() the RBF interpolant () is differentiated as i s() = N j= α j i φ( c j ;ε). (6) 3

Higher order derivatives, partial derivatives, and mied partial derivatives, are handled in a similar manner. If (6) is evaluated at the centers { } c N j j= and written vector-matri notation we have s() = H α (7) i i where the evaluation matri is the N N matri i H with entries h ij = φ( c i c j ), i,j =,...,N. (8) i The notation H i indicates a matri with such entries. Likewise, H i i is used for second order derivatives. From equation (3) and (7), the differentiation matri D i = H i B (9) can be defined. We note that in (9) that D i is formed without the inverse of B being eplicitly calculated. The derivative of the function f() at the centers { j} c N can be approimated by the single matri multiplication j= i i s() = D i f. The differentiation matri is well-defined since it is known that the system matri B is invertible for a large class of RBFs including the MQ [4]. The differentiation matri may discretize a single space derivative or an entire differential operator. Recent books and monographs [3, 7, 7, 9] on RBF methods can be consulted for more detailed information. After time-dependent PDEs are discretized in space with the RBF method, the remaining system of ODEs is advanced in time with an ODE method using a methodof lines approach. Anecessary condition for themethod oflines to be stable is that the eigenvalues of the discretized spatial operator, scaled by the time step t, lie in the stability region of the ODE method. We have used a, four-stage, fourth-order, eplicit Runge-Kutta (RK4) method in all numerical eamples unless it is noted otherwise. 4

3 Preconditioning The technique that is the basis of our preconditioning technique was developed for use with the Chebyshev pseudospectral (CPS) method. It was first used in [] to improve the condition number of the Chebyshev pseudospectral method for second-order boundary value problems. Subsequently, is was used to improve accuracy, particularly in boundary regions, of the Chebyshev pseudospectral method in [] and [5]. However, in neither work was the effect of the technique on eigenvalue stability eamined. In a later section, we will briefly discuss the effect of preconditioning on eigenvalue stability of the CPS method. It is well-known that errors from a RBF method will be the largest in boundary regions [9]. For eample, see the left image of figure and the accompanying discussion. One technique described in [9] to alleviate boundary errors is to cluster centers more densely in boundary regions similar to the way the standard Chebyshev pseudospectral grid does. However, we avoid boundary clustering in our eamples in order to illustrate the power of the preconditioning technique and instead work with uniform center spacing in d and near uniform center spacing in d. We hypothesize that the relatively large errors near points where boundary conditions are applied are related to the instability issues with time integration for RBF methods for time-dependent PDEs. Net we summarize the method that is described in [] and then in the numerical eamples show how it can be modified and incorporated into the RBF collocation method. The domain is taken to be the interval [,] and the function u(,t) is assumed to be of the form u(,t) = τ()w(,t)+ (+)u()+ ( )u( ). () Although we are only preconditioning space derivatives, the function is written as both a function of and t as later it will be the solution of a timedependent PDE. The preconditioned form is the product of a function w(, t) and a weight τ() that vanishes on the boundary, plus a linear interpolant between the boundary points. The equation w(,t) = u(,t) [u()+u( )+(u() u( )] τ() () can be used to find w(,t) everywhere ecept at the boundary points. The reason that the linear term was added in equation () is so that at the 5

boundary points L Hospital s rule is applicable and can be used to find that ( w(±,t) = ± (u() u( )) u (±,t) ). () τ (±) Then u = τw +τ w + [u(,t) u(,t)] (3) where w is calculated by multiplication by the RBF differentiation matri, i.e. w = D w. The weight function τ is small near the boundaries and damps out the relatively large errors in calculating w that occur near the boundaries. To calculate the second derivative, (3) is differentiated to get u = τw +τ w +τ w. (4) wherew = D w. Theweightfunctionτ dampstheboundaryerrorsinw, but the boundary errors in w are no longer damped as w is now multiplied by τ which is not necessarily small near the boundaries. However, in general the boundary errors in w are much larger than in w and preconditioning the second derivative also results in better accuracy in boundary regions. It is well-known that RBF methods do not differentiate constant eactly (unless a constant term is added to the epansion ()). In the preconditioned RBF method, constants are differentiated eactly without the need to append an additional constant term to the epansion (). In equation () we see that w = if u() is a constant function, and that its first and second derivative are then eactly calculated by (3) and (4). 4 Numerical Eamples 4. Advection equation with zero Dirichlet BC First we consider the advection equation u t u = (5) on the interval Ω = [,] with the boundary condition u(,t) =. The initial condition for the eample is u(,t) = ep( 4(.4) ). The zero Dirichlet boundary condition at only one end of interval and the fact that 6

3 3 imag(λ t) imag(λ t) 3 3 real(λ t) 3 3 real(λ t) Figure : Differentiation matri eigenvalues scaled by t =.4 in the RK4 stability region with N = 4 evenly spaced centers and ε =.8. Left: standard implementation differentiation matri with ma(real(λ)) = 4.87. Right: Precondition differentiation matri spectrum. All λ have non-positive real parts. u (,t) is negligible with respect to machine precision at the boundary reduces () to u(,t) = τ()w(,t). (6) In order for the PDE in the variable w to have boundary conditions that make the problem well-posed, the weight function must only be zero at points were boundary conditions are applied. Thus for this problem, the weight τ() = is used so that in calculating the derivative u = ( )D w+w the information near the point where the boundary condition is enforced is deemphasized. To eamine the stability of the preconditioned method, we see that in the variable w, the PDE (5) becomes w t = w + ( τ τ ) w (7) with boundary condition w(, t) =. The differentiation matri for (7) is ( ) D = D +diag. (8) 7

5 6 ε =.8 standard preconditioned 4 5 proconditioned ε =.8, standard ε = 3.3 standard preconditioned 7 6 error 8 error 7 8 9 9.5.5.5.5 Figure : Accuracy of approimating the first derivative. Left: Standard (ε =.8) versus preconditioned (ε =.8) method. Right: Standard (ε = 3.3) versus preconditioned (ε =.8) method. The boundary condition is enforced by setting the last row of D to zero. We take N = 4 evenly spaced centers and use a shape parameter of ε =.8 which results in a system matri with a condition number of κ(b) = 8.4e6. In figure, the scaled eigenvalues of the standard, D (also with the last row set to zero), and preconditioned D RBF differentiation matrices for problem (5) are shown with the stability region of an eplicit fourth-order Runge-Kutta (RK4) method. The standard method is unstable using this valueoftheshapeparameter. Inanumerical studyofrbfmethodsfortimedependent PDEs [6], it was shown that the method could be stabilized in many cases by increasing the shape parameter so that the condition number of system matri has a condition number below a certain bound. In this problem, we find that shape parameters ε 3.3 result in a stable method. With ε = 3.3, the condition number of the system matri of the standard method is κ(b) = O(e). The differentiation matrices D and D differ only in their elements on the main diagonal. The diagonal elements of the two differentiation matrices are plotted in figure 3. The diagonal elements are relatively large in rows corresponding to centers close to the boundaries when compared to diagonal elements in rows corresponding to interior points. Adding the diagonal cor- 8

rect term shown in the right image of figure 3 reduces the size of the diagonal entries in rows near where the boundary condition is applied. In this eample the maimum diagonal element is 3.7 for D and is.8 for D. 4 3 standard preconditioned 4 DM diagonal element 3 4 5 6.5.5 diagonal correction 6 8 4 6 8.5.5 Figure 3: Left: Diagonal elements of the differentiation matrices D and D for problem (5). Right: The correction term that is added to the diagonal of D to get D. Before solving the PDE, we compare the accuracy of approimating a single first derivative by the standard and preconditioned methods. The function being differentiated is the eact solution to problem (5) at time t =.4. Figure 4 illustrates the results from a shape parameter of ε =.8 being used in both methods. The preconditioned method is more accurate near = where the boundary condition is to be applied and the two methods are of similar accuracy away from =. In the right image, the smallest shape parameter is used for which each method is stable for time integration. The preconditioned method is much more accurate throughout the entire interval due to its ability to use a smaller shape parameter. Both methods are used to advance the PDE solution to t =. The preconditioned method using ε =.8 has a maimum error of.4e-7 while the standard method with ε = 3.3 has a maimum error of.e-5. The pointwise errors are plotted in figure 4. The preconditioned PDE solution is more accurate over the entire domain. 9

4 5 standard preconditioned 6 error 7 8 9.5.5 Figure 4: Standard and preconditioned RBF method errors at time t = for the advection equation (5) with a zero Dirichlet boundary condition. 4. Advection with time-dependent BC Net we consider the advection equation (5) where the initial condition and time-dependent boundary condition u(, t) = g(t) are taken from the eact solution u(, t) = sin(π(t + + )). The equation is preconditioned by assuming u is of the form were τ() =. Then w is defined as u(,t) = τ()w(,t)+g(t) (9) w(,t) = u(,t) g(t) τ() () at all ecept for = where () is singular. At =, L Hospital s rule is applied to find that w(,t) = u (,t) g(t) () which is the boundary condition for the PDE in w. The derivative u is found by differentiating equation (9), u = ( )D w +w+g(t). ()

3 4 error 5 6 7 standard preconditioned 8.5.5 Figure 5: Standard versus preconditioned methods for the advection equation (5) with time-dependent boundary condition u(, t) = sin(π(t + )) at t =. The standard RBF method is stable with ε =.7, κ(b) =.5e. The problem is advanced to time t = with t =. at witch time a maimum error of 3.5e-3 is recorded. The preconditioned method remains stable if the shape parameter is lowered to ε =. for which κ(b) = 3.e5. At t = thepreconditioned methodhas a maimum error of.5e-5. The pointwise errors of the two methods are shown in figure 5. Throughout most of the domain the preconditioned method is about four decimal places more accurate. 4.3 Advection-Diffusion equation Advection-Diffusion problems which are dominated by the advection term also are challenged by eigenvalue stability. For eample, consider the advection diffusion equation u t +u = νu (3) with Dirichlet boundary conditions at = and =. To accommodate Dirichlet boundary conditions at both boundary points we assume the solution is of the form () and take the weight function to be τ() =. To eamine the stability properties of the preconditioned method we look

3 imag(λ t) 3.4.. real(λ t) Figure 6: Advection-Diffusion problem eigenvalues. Standard s and preconditioned s. at the PDE in the w variable ( ) ( ) ντ ντ τ w t = νw + w + w τ τ τ [u(,t) u(,t)] (4) with boundary conditions given by equation(). The standard RBF method has the differentiation matri D = diag(ν)d D (5) while the preconditioned method has the differentiation matri ) ( ) ντ ντ τ D = diag(ν)d +diag( D +diag. (6) τ τ We take ν =.5, zero Dirichlet boundary conditions, N = 6, and ε =.8. The eigenvalues of (5) and (6) scaled by t =.5 and the portion of the RK4 stability region near the imaginary ais are shown in figure 6. The condition number of the system matri is κ(b) =.e7. The standard method can be stabilized by increasing the shape parameter to ε = 3. for which the system matri has condition number κ(b) = 4.e5. To compare the accuracy of the methods we take the initial condition to be { when = u(,) = otherwise.

.8 standard preconditioned u(,t=).6.4. error 4 6 8.5.5.5.5 Figure 7: Left: Oscillatory standard RBF method solution of equation (3). Right: Standard versus preconditioned method errors at t =.5 for the advection-diffusion equation (3). and Dirichlet boundary conditions from the eact solution u(,t) = [ ( ] erfc(ω )+ep erfc(ω ) ν) where ω = ( t+)/( νt) and ω = (+t+)/( νt). The solution is advanced to time t =.5 with t =.. The standard method with ε = 3. has a maimum error of.e- and a RMS error of.5e-. The preconditioned method with ε =.8 has a maimum error of.e- and a RMS error of.6e-3. The standard RBF solution featuring oscillations that areemanating fromtheboundaryandthe eact solution att =.5areshown in the left image of figure 7. The solution from the preconditioned method is free of oscillations as can be seen in the error plot in the right image of the figure. The non-oscillatory behavior of the preconditioned solution my be connected to the fact, as discussed in section 3, that the preconditioned method eactly differentiates constants while the standard method does not. ThesolutionofthePDEisnotconstant, buthastworegionswerethesolution is flat. For this problem, the boundary conditions as given by equation () are w(,t) = u (,t) [u(,t) u(,t)] τ ( ) 3 (7)

and We note that u is calculated by w(,t) = u (,t) [u(,t) u(,t)]. (8) τ () u (,t) = N (D ),j u( j ) (9) j= and u (,t) = N (D ) N,j u( j ). (3) j= 4.4 Wave equation Net we consider the wave equation u tt = u (3) on [,] and boundary conditions u( ) = and u() =. The initial condition is u(,) = sin(π)+.5sin(3π). To advance the wave equation in time we use Störmer s second order method for u tt = F(u) which is u n+ = u n u n + t F(u n ). (3) In the t λ plane, the stability interval of Störmer s method is the interval [ 4,]. The solution is assumed to be of the form () and we take the weight function to be τ() =. To eamine the stability properties of the preconditioned method we look at the PDE in w and boundary conditions ( τ w tt = w + τ ) w + ( τ τ ) w (33) w(,t) = u (,t)/τ ( ) (34) and w(,t) = u (,t)/τ (). (35) 4

The standard RBF method has the differentiation matri D = D +diag( τ τ D = D (36) while the preconditioned method has the differentiation matri ) ( τ D +diag τ ). (37) WithN = 4evenlyspacedcenters, thesmallestvalueoftheshapeparameter for which the standard method is stable is ε =.7 while the preconditioned method may use a shape parameter as small as.. The scaled eigenvalues of D and D with ε =. are shown in figure 8. imag(λ t ).4.3.....3.4 4 3 real(λ t ) imag(λ t ).8.6.4...4.6.8 4 3 real(λ t ) Figure 8: Eigenvalues scaled by t, t =.33, N = 4 and ε =.. Left: standard method, maimum imaginary part of differentiation matri eigenvalues is 33.3. Right: preconditioned method, all eigenvalues are real and negative. While improving stability, the preconditioned method is only marginally more accurate than the standard method for the wave equation. This is most likely due to the formula (4) for the preconditioned second derivative. While multiplication by τ does mitigate the boundary errors in w, the boundary errors in w are not lessened by multiplication by τ =. We have tried other weights, but were unable to find any that resulted in further 5

improvements in accuracy. Another way to calculate the preconditioned second derivative is to use equation (3) recursively. In eamples, this approach was not significantly more accurate. 4.5 d Advection equation y.9.8.7.6.5.4.3....4.6.8 Figure 9: N = scattered centers used in problem 38. Finally, we consider the d advection equation u t +u +u y = (38) ontheunitsquare[,] [,]withdirichletboundaryconditions, u(,y,t) = and u(,,t) =. The scattered centers in figure 9 are distributed by the algorithm in [3] which locates the centers in a near optimal manner such that the domain is well covered but no two centers are close enough to adversely affect conditioning. The initial condition is u(, y, ) = ep( 5((.5) +(y.5) )) and the weight τ(,y) = y is used in the preconditioned method. In the variable w, the preconditioned PDE is ( ) τ +τ y w t +w +w y + w = (39) τ with boundary conditions w(,,t) = and w(,y,t) =. The differentiation matri for (39) is ) τ +τ y D = D diag( (4) τ 6

where the differentiation matri for the standard method is D = (H + H y )B. The boundary conditions are enforced by setting the rows of D and D that coincide to boundary points to zero. 3 3 imag(λ t) imag(λ t) 3 3.5.5.5.5 real(λ t) 3 3.5.5.5.5 real(λ t) Figure : Equation (38). Standard and preconditioned RBF methods with ε = 3.75, κ(b) = 4.3e7 and N = centers. The eigenvalues are scaled by t =.. Left: standard method with maimum real eigenvalue of.6. Right: preconditioned method with maimum real eigenvalue of zero. For eigenvalue stability, the standard method can not use a shape parameter smaller than ε = 6 for which κ(b) = 7.e. The preconditioned method can use a shape parameter as small as ε = 3.75 which results in κ(b) = 4.3e7. The eigenvalues of the differentiation matrices of the two methods are shown in figure. The methods are advanced in time with t =. to time t =.4 at which time the initial concentration is begining to leave the domain. The standard method maimum error is.e-4 and the preconditioned method has a maimum error of 3.3e-5 (upper images of figure ). The two methods are advanced further to t = at which time the eact solution is zero. The standard and preconditioned method errors are respectively 5.3e-5 and 5.6e-4 (lower images of figure ). 7

5 Chebyshev pseudospectral method eigenvalue stability We remarked in the introduction that the idea of preconditioning derivatives [,, 5] originated in connection with the Chebyshev pseudospectral (CPS) method [, 4, ]. The preconditioning technique was used only to enhance accuracy and its effect on eigenvalue stability was not considered. We consider the CPS method for the advection equation (5) with boundary condition u(, t) = with N = Chebyshev-Gauss-Lobatto grid points k = cos(kπ/(n )), k =,,...,N. The eigenvalues of the standard and precondition CPS differentiation matrices are shown in figure. The effect of preconditioning on eigenvalue stability of the CPS method is that it shifts some of the eigenvalues so that they have large negative real parts. Thus, if eplicit time integration is used, the preconditioned CPS method will have to use a much smaller time step than the standard method. 6 Conclusions PDEs that are discretized by the RBF collocation method often have differentiation matrices with eigenvalues that have large positive real parts and therefore can not be stably advanced in time. The preconditioning technique that we have described reduces errors near points where boundary conditions are applied and enhances the stability properties of the RBF collocation method for time-dependent PDEs. The application of the preconditioning techniques requires the specification of a weight function which is zero at points where boundary conditions are applied and then increases in value towards the interior of the domain. We have only considered uniform or near uniform center placement in order to illustrate the effectiveness of the preconditioning technique. However, preconditioning can be used in conjunction with other techniques that may reduce boundary region errors or improve stability, such as center clustering. References [] J. P. Boyd. Chebyshev and Fourier Spectral Methods. Dover, second edition,. 5 8

[] K. Breuer and R. Everson. On the errors incurred calculating derivatives using Chebyshev polynomials. Journal of Computational Physics, 99:56 67, 99. 3, 5 [3] M. D. Buhmann. Radial Basis Functions. Cambridge University Press, 3. [4] C. Canuto, M. Hussaini, A. Quarteroni, and T. Zang. Spectral Methods: Fundamentals in Single Domains. Springer, 6. 5 [5] W. S. Don and A. Solomonoff. Accuracy enhancement for higher derivatives using Chebyshev collocation and a mapping technique. SIAM Journal of Scientific Computing, 8(4):4 55, 997. 3, 5 [6] G. E. Fasshauer. Solving partial differential equations by collocation with radial basis functions. In C. Rabut A. Le Mehaute and L. L. Schumaker, editors, Surface Fitting and Multiresolution Methods, pages 3 38. Vanderbilt University Press, 997. [7] G. E. Fasshauer. Meshfree Approimation Methods with Matlab. World Scientific, 7. [8] N. Flyer and G. Wright. A radial basis function method for the shallow water equations on a sphere. Proceedings of the Royal Society, A, 465:949 976, 9. [9] B. Fornberg, T. Driscoll, G. Wright, and R. Charles. Observations on the behavior of radial basis function approimations near boundaries. Computers and Mathematics with Applications, 43:473 49,. 3 [] W. Heinrichs. Improved condition number for spectral methods. Mathematics of Computation, 53(87):3 9, 989. 3, 5 [] J. Hesthaven, S. Gottlieb, and D. Gottlieb. Spectral Methods for Time- Dependent Problems. Cambridge University Press, 7. 5 [] E. J. Kansa. Multiquadrics - a scattered data approimation scheme with applications to computational fluid dynamics II: Solutions to parabolic, hyperbolic, and elliptic partial differential equations. Computers and Mathematics with Applications, 9(8/9):47 6, 99. 9

[3] S. De Marchi, R. Schaback, and H. Wendland. Near-optimal dataindependent point locations for radial basis function interpolation. Advances in Computational Mathematics, pages 4, 4. 4.5 [4] C. Micchelli. Interpolation of scattered data: Distance matrices and conditionally positive definite functions. Constructive Approimation, :, 986. [5] R. Platte and T. Driscoll. Eigenvalue stability of radial basis functions discretizations for time-dependent problems. Computers and Mathematics with Applications, 5:5 68, 6. [6] S. A. Sarra. A numerical study of the accuracy and stability of symmetric and asymmetric RBF collocation methods for hyperbolic PDEs. Numerical Methods for Partial Differential Equations, 4():67 686, 8., 4. [7] S. A. Sarra and E. J. Kansa. Multiquadric Radial Basis Function Approimation Methods for the Numerical Solution of Partial Differential Equations, volume of Advances in Computational Mechanics. Tech Science Press, 9., [8] R. Schaback. Error estimates and condition numbers for radial basis function interpolation. Advances in Computational Mathematics, 3:5 64, 995. [9] H. Wendland. Scattered Data Approimation. Cambridge University Press, 5.

4 5.5 4 3.5.5.5.5.5 y y 5 4 6 6 4 4.5.5.5.5 y y Figure : Error plots for problem (38). Upper left: Standard method, t =.4. Upper right: Preconditioned method, t =.4. Lower left: Standard, t =. Lower right: Preconditioned, t =.

3 standard CPS preconditioned imag(λ t) 3 6 5 4 3 real(λ t) Figure : Eigenvalues scaled by t =.75 of the standard and preconditioned Chebyshev pseudospectral method for problem (5).