a radial basis function based partition of unity method

16
RBF-PU Outline An introduction to RBFs The RBF-PU method Theory Numerical results Summary A radial basis function based partition of unity method for solving PDE problems Elisabeth Larsson and Alfa Heryudono Division of Scientific Computing Department of Information Technology Uppsala University, Uppsala, Sweden and Department of Mathematics, University of Massachusetts Dartmouth Dartmouth, MA, USA October 14, SC2011 E. Larsson, SC2011 (1 : 16)

Upload: others

Post on 23-Mar-2022

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

A radial basis function based partition ofunity method for solving PDE problems

Elisabeth Larsson and Alfa Heryudono

Division of Scientific ComputingDepartment of Information Technology

Uppsala University, Uppsala, Sweden

and

Department of Mathematics,University of Massachusetts Dartmouth

Dartmouth, MA, USA

October 14, SC2011

E. Larsson, SC2011 (1 : 16)

Page 2: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Outline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

E. Larsson, SC2011 (2 : 16)

Page 3: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

RBF approximation

Basis functions: φj(x) = φ(ε‖x − x j‖). Translates of onesingle function rotated around a center point.

Example: Gaussiansφ(εr) = exp(−ε2r 2)

Approximations:uε(x ) =

∑Nj=1 λjφj(x )

Why is it a good idea to use RBFs?

I RBF methods are meshfree.

I Spectral accuracy for smooth solutions.

I Only distances between points are needed.

E. Larsson, SC2011 (3 : 16)

Page 4: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Practical challenges in RBF approximation

Conditioning for small ε and large N

I Spectral convergencewith N requires fixed ε.

I For smooth solutions,the best ε is small.

I We need to compute inthe red region.

log10(cond(A))

Computational cost

I Coefficient matrices are typically dense (for infinitelysmooth RBFs).

I Direct methods are O(N3) and known fast methodsare most efficient for larger ε.

E. Larsson, SC2011 (4 : 16)

Page 5: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Stable computation as ε → 0 and N →∞

The RBF-QR method allows stable computations forsmall ε. (Fornberg, Larsson, Flyer 2011)

Consider a finite non-periodic domain.

Theorem (Platte, Trefethen, and Kuijlaars 2010):

Exponential convergence on equispaced nodes ⇒exponential ill-conditioning.

Solution #1:

Cluster nodes towards the domain boundaries.E. Larsson, SC2011 (5 : 16)

Page 6: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Solution #2: A partition of unity RBFcollocation approach for PDEs(RBF-PU for interpolation Wendland 2002)

Global approximant:

u(x) =M∑i=1

wi (x)ui (x),

where wi (x) are weight functions.

Local RBF approximants:

ui (x) =∑Ni

j=1 λijφj(x).

Applying operators:

∆u(x) =M∑i=1

∆wiui + 2∇wi · ∇ui + wi∆ui

I Sparsity reduces memory and computational cost.

I Subdomain approach introduces parallelism.E. Larsson, SC2011 (6 : 16)

Page 7: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Approximation details

Weight functions

Generate weight functions from compactlysupported C 2 Wendland functions

ψ(ρ) = (4ρ+ 1)(1− ρ)4+

using Shepard’s method wi (x) = ψi (x)∑Mj=1 ψj (x)

.

Local RBF differentiation matricesDefine the vector of local nodal solution values ui , then

ui = Aλi , where Aij = φj(x i ).

Applying a linear operator yields

Lui = Bλi = BA−1ui , where Bij = Lφj(x i ).

E. Larsson, SC2011 (7 : 16)

Page 8: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Covering the domain

Cover Ω with boxes (practical).Retain boxes with center inside Ω.

Enlarge boxes near boundary to coverall of Ω.

Create overlapping partitions basedon the boxes.

E. Larsson, SC2011 (8 : 16)

Page 9: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Dealing with cost: Solving the linear system

Plan: Parallel software, exploiting partition structure.

Done: Weights and local RBF-matrices in parallel.

Ongoing work: Domain decomposition & iterative solverwith A. Ramage and L. von Sydow.

Original sparseunstructured matrix

After approximateminimal degree reordering

E. Larsson, SC2011 (9 : 16)

Page 10: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Theoretical convergence results: Definitions

Let Hj = diam(Ωj) and define the fill distance

hj = supx∈Ωjminy∈Xj

‖x − y‖2 = CHj

N1/dj

.

Write the exact solution as u(x ) ≡∑M

j=1 wj(x )u(x )and introduce the partition of unity interpolant

Ihu(x ) ≡∑M

j=1 wj(x )Ihuj(x ).If we have

I Ellipticity ‖u‖U ≤ CΩ‖L(u)‖F , ∀u ∈ U.

I Stability of trial space and test discretization.

I Small discrete residual ∼ κ(A)εM .

Then the crucial component affecting convergence is theapproximation properties of the trial space in the form‖L(u − Ih(u))‖ = ‖

∑Mj=1 ∆wjej +∇wj · ∇ej + wj∆ej‖

R. Schaback, Convergence of unsymmetric kernel-based meshless

collocation methods, SINUM, 2007.E. Larsson, SC2011 (10 : 16)

Page 11: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Algebraic convergence in partition size

Keeping Ni fixed while varying H leads to h = CH. Wehave the following estimates

‖wj‖ ≤ C0, ‖ej‖∞ ≤ Chmj−0− d

2j ‖u‖N (Ω),

‖∇wj‖ ≤C1

Hj, ‖∇ej‖∞ ≤ Ch

mj−1− d2

j ‖u‖N (Ω),

‖∆wj‖ ≤C2

H2j

, ‖∆ej‖∞ ≤ Chmj−2− d

2j ‖u‖N (Ω),

leading to

‖L(u − Ih(u))‖ ≤ qCHm−2− d2 ‖u‖N (Ω),

where q is max # partitions that overlap at a given point.

dim(PK ) ≤ Nj < dim(PK+1) ⇒ mj = K + 1

I A single small Ni reduces the global convergenceorder.

E. Larsson, SC2011 (11 : 16)

Page 12: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Spectral convergence with fill distance

Now, we keep Hi fixed while increasing Ni , which reduceshi . We use another form for the estimates (Rieger and

Zwicknagl 2008)

‖wj‖ ≤ C0, ‖ej‖ ≤ 2ec0 log(hj )/√

hj‖u‖N (Ω),

‖∇wj‖ ≤ C1, ‖∇ej‖ ≤ 2ec1 log(hj )/√

hj‖u‖N (Ω),

‖∆wj‖ ≤ C2, ‖∆ej‖ ≤ 2ec2 log(hj )/√

hj‖u‖N (Ω),

leading to

‖L(u − Ih(u))‖ ≤ qCec log(h)/√h‖u‖N (Ω).

I In both cases, the estimates require fixed shape,ε = ε0, leading to ill-conditioning either due toeffective shape parameter εH → 0 or N →∞.

I The RBF-QR method or an alternative is required.E. Larsson, SC2011 (12 : 16)

Page 13: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Simple Poisson test problem

Domain defined by: rb(θ) = 1 + 110 (sin(6θ) + sin(3θ)).

PDE:

∆u=f (x ), x ∈ Ω,

u=g(x ), x on ∂Ω,with u(r , θ) = 1

0.25r2+1.

log10(error) RBF-PU solution

E. Larsson, SC2011 (13 : 16)

Page 14: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Numerical convergence results with RBF-PU

Increasing the number of local points for fixed number ofpartitions ⇒ Spectral convergence.

Increasing the number of partitions for fixed nloc

(21, 28, 45, 66) ⇒ Algebraic convergence.

E. Larsson, SC2011 (14 : 16)

Page 15: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Example in 3-D

E. Larsson, SC2011 (15 : 16)

Page 16: A radial basis function based partition of unity method

RBF-PUOutline

An introduction to RBFs

The RBF-PU method

Theory

Numerical results

Summary

Summary

I RBF methods are attractive because they are easy toimplement, meshfree, and highly accurate.

I The shape parameter ε has a significant influence onthe accuracy of the methods.

I The RBF-QR method removes the ill-conditioningassociated with small ε in up to three dimensions.

I Partition of unity RBF methods provide a promisingway to reduce computational cost while maintaininghigh order of accuracy.

E. Larsson, SC2011 (16 : 16)