Solving the Stochastic Steady-State Diffusion Problem Using...

40
Solving the Stochastic Steady-State Diffusion Problem Using Multigrid Tengfei Su Applied Mathematics and Scientific Computing Advisor: Howard Elman Department of Computer Science Sept. 29, 2015 Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 1 / 24

Transcript of Solving the Stochastic Steady-State Diffusion Problem Using...

Page 1: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Solving the Stochastic Steady-State DiffusionProblem Using Multigrid

Tengfei SuApplied Mathematics and Scientific Computing

Advisor: Howard ElmanDepartment of Computer Science

Sept. 29, 2015

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 1 / 24

Page 2: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Outline

1 Background

2 Approach

3 Implementation

4 Validation

5 Extension

6 Schedule

7 Deliverables

8 Bibliography

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 2 / 24

Page 3: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Background

Steady-state diffusion equation

−∇ · (c(x)∇u(x)) = f (x), x ∈ D

differential coefficient and source term subject to uncertainty(heat conductivity, material porosity)

−∇ · (c(x , ω)∇u(x , ω)) = f (x , ω), (x , ω) ∈ D × Ω

Stochastic partial differential equations (SPDEs)

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 3 / 24

Page 4: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Background

Steady-state diffusion equation

−∇ · (c(x)∇u(x)) = f (x), x ∈ D

differential coefficient and source term subject to uncertainty(heat conductivity, material porosity)

−∇ · (c(x , ω)∇u(x , ω)) = f (x , ω), (x , ω) ∈ D × Ω

Stochastic partial differential equations (SPDEs)

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 3 / 24

Page 5: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Background

Steady-state diffusion equation

−∇ · (c(x)∇u(x)) = f (x), x ∈ D

differential coefficient and source term subject to uncertainty(heat conductivity, material porosity)

−∇ · (c(x , ω)∇u(x , ω)) = f (x , ω), (x , ω) ∈ D × Ω

Stochastic partial differential equations (SPDEs)

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 3 / 24

Page 6: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Background

Stochastic partial differential equations (SPDEs)

−∇ · (c(x , ω)∇u(x , ω)) = f (x , ω), (x , ω) ∈ D × Ω

Monte Carlo Method (MCM)

large numbers of samplingdeterministic subproblem

Stochastic Finite Element Method (SFEM)

discretization of sample spacesolving large linear system

Goal: Solving stochastic PDEs efficiently

SFEM formulation

Multigrid

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 4 / 24

Page 7: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Background

Stochastic partial differential equations (SPDEs)

−∇ · (c(x , ω)∇u(x , ω)) = f (x , ω), (x , ω) ∈ D × Ω

Monte Carlo Method (MCM)

large numbers of samplingdeterministic subproblem

Stochastic Finite Element Method (SFEM)

discretization of sample spacesolving large linear system

Goal: Solving stochastic PDEs efficiently

SFEM formulation

Multigrid

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 4 / 24

Page 8: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Background

Stochastic partial differential equations (SPDEs)

−∇ · (c(x , ω)∇u(x , ω)) = f (x , ω), (x , ω) ∈ D × Ω

Monte Carlo Method (MCM)

large numbers of samplingdeterministic subproblem

Stochastic Finite Element Method (SFEM)

discretization of sample spacesolving large linear system

Goal: Solving stochastic PDEs efficiently

SFEM formulation

Multigrid

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 4 / 24

Page 9: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Boundary value problem

The stochastic steady-state diffusion equation−∇ · (c(x , ω)∇u(x , ω)) = f (x) in D × Ω

u(x , ω) = 0 on ∂D × Ω

where

stochastic coefficient c(x , ω) : D × Ω→ Rprobability space (Ω,F ,P)

random field u(x , ω) : D × Ω→ R

We seek a weak solution u(x , ω) ∈ H = H10 (D)⊗ L2(Ω) satisfying∫

Ω

∫Dc(x , ω)∇u(x , ω) · ∇v(x , ω)dxdP =

∫Ω

∫Df (x)v(x , ω)dxdP

for ∀v ∈ H.

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 5 / 24

Page 10: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Boundary value problem

The stochastic steady-state diffusion equation−∇ · (c(x , ω)∇u(x , ω)) = f (x) in D × Ω

u(x , ω) = 0 on ∂D × Ω

where

stochastic coefficient c(x , ω) : D × Ω→ Rprobability space (Ω,F ,P)

random field u(x , ω) : D × Ω→ RWe seek a weak solution u(x , ω) ∈ H = H1

0 (D)⊗ L2(Ω) satisfying∫Ω

∫Dc(x , ω)∇u(x , ω) · ∇v(x , ω)dxdP =

∫Ω

∫Df (x)v(x , ω)dxdP

for ∀v ∈ H.

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 5 / 24

Page 11: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Karhunen-Loeve expansion

If c(x , ω) has continuous covariance function r(x , y), then

c(x , ω) ≈ c0(x) +m∑

k=1

√λkck(x)ξk(ω).

The eigenpair (λk , ck(x)) can be computed by∫D

r(x , y)

νck(x)dx = λkck(y).

Introducing KL expansion,∫Γp(ξ)

∫Dc(x , ξ)∇u(x , ξ) · ∇v(x , ξ)dxdξ =

∫Γp(ξ)

∫Df (x)v(x , ξ)dxdξ

where p(ξ) is the joint density function, Γ is the joint image of ξkmk=1.

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 6 / 24

Page 12: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Karhunen-Loeve expansion

If c(x , ω) has continuous covariance function r(x , y), then

c(x , ω) ≈ c0(x) +m∑

k=1

√λkck(x)ξk(ω).

The eigenpair (λk , ck(x)) can be computed by∫D

r(x , y)

νck(x)dx = λkck(y).

Introducing KL expansion,∫Γp(ξ)

∫Dc(x , ξ)∇u(x , ξ) · ∇v(x , ξ)dxdξ =

∫Γp(ξ)

∫Df (x)v(x , ξ)dxdξ

where p(ξ) is the joint density function, Γ is the joint image of ξkmk=1.

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 6 / 24

Page 13: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

SFEM formulation

Need a finite-dimensional subspace:

S = spanφ1(x), . . . , φN(x) ⊂ H10 (D)

T = spanψ1(ξ), . . . , ψM(ξ) ⊂ L2(Γ)

V h = S ⊗ T = spanφ(x)ψ(ξ), φ ∈ S , ψ ∈ T

φ(x) - piecewise linear/bilinear basis function

ψ(ξ) - m-dimensional “polynomial chaos” of order porthogonality relationship∫

ψi (ξ)ψj(ξ)p(ξ)dξ = δij

dimension of subspace T

M =(m + p)!

m!p!

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 7 / 24

Page 14: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

SFEM formulation

Need a finite-dimensional subspace:

S = spanφ1(x), . . . , φN(x) ⊂ H10 (D)

T = spanψ1(ξ), . . . , ψM(ξ) ⊂ L2(Γ)

V h = S ⊗ T = spanφ(x)ψ(ξ), φ ∈ S , ψ ∈ T

φ(x) - piecewise linear/bilinear basis function

ψ(ξ) - m-dimensional “polynomial chaos” of order porthogonality relationship∫

ψi (ξ)ψj(ξ)p(ξ)dξ = δij

dimension of subspace T

M =(m + p)!

m!p!

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 7 / 24

Page 15: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

SFEM formulation

Need a finite-dimensional subspace:

S = spanφ1(x), . . . , φN(x) ⊂ H10 (D)

T = spanψ1(ξ), . . . , ψM(ξ) ⊂ L2(Γ)

V h = S ⊗ T = spanφ(x)ψ(ξ), φ ∈ S , ψ ∈ T

φ(x) - piecewise linear/bilinear basis function

ψ(ξ) - m-dimensional “polynomial chaos” of order porthogonality relationship∫

ψi (ξ)ψj(ξ)p(ξ)dξ = δij

dimension of subspace T

M =(m + p)!

m!p!

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 7 / 24

Page 16: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

SFEM formulation

Find uhp ∈ V h, satisfying∫Γp(ξ)

∫Dc(x , ξ)∇uhp(x , ξ) · ∇v(x , ξ)dxdξ =

∫Γp(ξ)

∫Df (x)v(x , ξ)dxdξ

for ∀v ∈ V h.

uhp(x , ξ) =N∑j=1

M∑s=1

ujlφj(x)ψs(ξ)

v(x , ξ) = φi (x)ψr (ξ), i = 1 : N, r = 1 : M

c(x , ω) = c0(x) +m∑

k=1

√λkck(x)ξk(ω)

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 8 / 24

Page 17: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Matrix formulation

Find u ∈ RMN , such thatAu = f,

where

A =

A11 A12 · · · A1M

A21 A22 · · · A2M...

.... . .

...AM1 AM2 · · · AMM

, f =

f1f2...fM

,

andu = [u11, . . . , uN1, . . . , u1M , . . . , uNM ]T

[fr ]i =

∫Γp(ξ)

∫Df (x)φi (x)ψr (ξ)dxdξ

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 9 / 24

Page 18: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Matrix formulation

The matrix block

Ars = K0

∫Γψr (ξ)ψs(ξ)p(ξ)dξ +

m∑k=1

Kk

∫Γξkψr (ξ)ψs(ξ)p(ξ)dξ,

K0(i , j) =

∫Dc0(x)∇φi (x)∇φj(x)dx ,

Kk(i , j) =

∫D

√λkck(x)∇φi (x)∇φj(x)dx .

In tensor product notation,

A = G0 ⊗ K0 +m∑

k=1

Gk ⊗ Kk .

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 10 / 24

Page 19: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Matrix formulation

The matrix block

Ars = K0

∫Γψr (ξ)ψs(ξ)p(ξ)dξ +

m∑k=1

Kk

∫Γξkψr (ξ)ψs(ξ)p(ξ)dξ,

K0(i , j) =

∫Dc0(x)∇φi (x)∇φj(x)dx ,

Kk(i , j) =

∫D

√λkck(x)∇φi (x)∇φj(x)dx .

In tensor product notation,

A = G0 ⊗ K0 +m∑

k=1

Gk ⊗ Kk .

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 10 / 24

Page 20: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Multigrid

Solving linear system Au = f, where

A is symmetric and positive definite

the choice of basis functions ensures that A is sparse

size(A) = MN ×MN

N ∼ 1

h2, M =

(m + p)!

m!p!

(for h = 2−7,m = p = 4,MN ∼ 1, 000, 000)

Multigrid method has been successfully used in solving large sparsesystems that arise from deterministic problems.

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 11 / 24

Page 21: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Multigrid

Solving linear system Au = f, where

A is symmetric and positive definite

the choice of basis functions ensures that A is sparse

size(A) = MN ×MN

N ∼ 1

h2, M =

(m + p)!

m!p!

(for h = 2−7,m = p = 4,MN ∼ 1, 000, 000)

Multigrid method has been successfully used in solving large sparsesystems that arise from deterministic problems.

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 11 / 24

Page 22: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Two-grid correction scheme

fine grid spaceV h = Sh ⊗ T , Au = f

coarse grid spaceV 2h = S2h ⊗ T , Au = f

fine grid correction space

V h = V 2h + Bh

prolongation operatorI h2h : V 2h → V h

restriction operatorI 2hh : V h → V 2h

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 12 / 24

Page 23: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Two-grid correction scheme

fine grid spaceV h = Sh ⊗ T , Au = f

coarse grid spaceV 2h = S2h ⊗ T , Au = f

fine grid correction space

V h = V 2h + Bh

prolongation operatorI h2h : V 2h → V h

restriction operatorI 2hh : V h → V 2h

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 12 / 24

Page 24: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Grid transfer operators

If v2h is the coefficient vector of v2h in V 2h, then the coefficientvector of v2h in V h is Pv2h. Prolongation matrix:

P = I ⊗ P.

Restriction matrix is defined as

R = I ⊗ R = I ⊗ PT.

Relations for matrix A and right-hand side f

A = RAP, f = Rf

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 13 / 24

Page 25: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Grid transfer operators

If v2h is the coefficient vector of v2h in V 2h, then the coefficientvector of v2h in V h is Pv2h. Prolongation matrix:

P = I ⊗ P.

Restriction matrix is defined as

R = I ⊗ R = I ⊗ PT.

Relations for matrix A and right-hand side f

A = RAP, f = Rf

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 13 / 24

Page 26: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Two-grid correction scheme

Smoother - reduce the fine grid component of the error

u− u(0) = e(0) = Pe(0)

V 2h + e(0)

Bh

e(k) = (I − Q−1A)ke(0) = Pe(k)

V 2h + e(k)

Bh

Stationary iteration

A = Q − Z ,Au = f ⇒ Qu = Zu + f

uk+1 = Q−1Zu(k) + Q−1f

= Q−1(Q − A)u(k) + Q−1f

= (I − Q−1A)u(k) + Q−1f

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 14 / 24

Page 27: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Two-grid correction scheme

Smoother - reduce the fine grid component of the error

u− u(0) = e(0) = Pe(0)

V 2h + e(0)

Bh

e(k) = (I − Q−1A)ke(0) = Pe(k)

V 2h + e(k)

Bh

Stationary iteration

A = Q − Z ,Au = f ⇒ Qu = Zu + f

uk+1 = Q−1Zu(k) + Q−1f

= Q−1(Q − A)u(k) + Q−1f

= (I − Q−1A)u(k) + Q−1f

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 14 / 24

Page 28: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Two-grid correction scheme

AlgorithmChoose initial guess u(0)

for i = 0 until convergencefor j = 1 : k

u(i) = (I − Q−1A)u(i) + Q−1f (smoothing)endr = R(f − Au(i)) (restrict residual)solve Ae = ru(i+1) = u(i) + P e (prolong and update)

end

For multigrid, apply the above scheme recursively

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 15 / 24

Page 29: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Implementation

Platform: Macbook Air, 1.6 GHz Intel Core i5, 4 GB 1600 MHz DDR3Language: MATLAB R2015a

IFISS & S-IFISS for producing Galerkin system(Incompressible Flow & Iterative Solver Software)

Multigrid routine

grid transfer operatorssmootheriterative method

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 16 / 24

Page 30: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Validation

Model problem: D = (−1, 1)2, f = 1. Covariance function

r(x , y) = νexp(−1

b|x1 − y1| −

1

b|x2 − y2|)

KL expansion

c(x , ω) = c0(x) +m∑

k=1

√λkck(x)ξk(ω)

Normal distribution

Ω = Rm, p(ξ) =1

(2πν)m2

e−ξ2

ν2 , Hermite polynomials

Uniform distribution

Ω = (−1, 1)m, p(ξ) =1

2m, Legendre polynomials

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 17 / 24

Page 31: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Validation

Model problem: D = (−1, 1)2, f = 1. Covariance function

r(x , y) = νexp(−1

b|x1 − y1| −

1

b|x2 − y2|)

KL expansion

c(x , ω) = c0(x) +m∑

k=1

√λkck(x)ξk(ω)

Normal distribution

Ω = Rm, p(ξ) =1

(2πν)m2

e−ξ2

ν2 , Hermite polynomials

Uniform distribution

Ω = (−1, 1)m, p(ξ) =1

2m, Legendre polynomials

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 17 / 24

Page 32: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Validation

Comparison with Monte Carlo

Multigrid analysis

textbook convergence rate, independent of hindependent of m, p

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 18 / 24

Page 33: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Extension

Galerkin solution

u = [u11, . . . , uN1, . . . , u1M , . . . , uNM ]T

U =

u11 u12 · · · u1M

u21 u22 · · · u2M...

.... . .

...uN1 uN2 · · · uNM

Matrix form

Au = f, A = G0 ⊗ K0 +m∑

k=1

Gk ⊗ Kk

⇒ K0UG0 +m∑

k=1

KkUGK = F

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 19 / 24

Page 34: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Extension

Galerkin solution

u = [u11, . . . , uN1, . . . , u1M , . . . , uNM ]T

U =

u11 u12 · · · u1M

u21 u22 · · · u2M...

.... . .

...uN1 uN2 · · · uNM

Matrix form

Au = f, A = G0 ⊗ K0 +m∑

k=1

Gk ⊗ Kk

⇒ K0UG0 +m∑

k=1

KkUGK = F

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 19 / 24

Page 35: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Extension

Seek low-rank approximation

U ≈ Uk = VkWTk , Vk ∈ RN×k ,Wk ∈ RM×k , k N,M

which significantly reduce the computational cost.

Compute Uk with iterative methods

Richardson, conjugate gradient(CG), Biconjugate gradient stabilizedmethod(BiCGstab)

Multigrid

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 20 / 24

Page 36: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Extension

Seek low-rank approximation

U ≈ Uk = VkWTk , Vk ∈ RN×k ,Wk ∈ RM×k , k N,M

which significantly reduce the computational cost.

Compute Uk with iterative methods

Richardson, conjugate gradient(CG), Biconjugate gradient stabilizedmethod(BiCGstab)

Multigrid

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 20 / 24

Page 37: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Schedule

10/15 Generate Galerkin system from IFISS/S-IFISSWrite the multigrid routine

11/15 Validation with multigrid analysis and Monte Carlo

12/15 Mid-year presentation

02/16 Implement multigrid for low-rank approximate solutions

03/16 Implement BiCGstab for low-rank approximate solutions (iftime permitting)

04/16 Collect computational results.

05/16 Final presentation

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 21 / 24

Page 38: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

Deliverables

Multigrid routine for Stochastic Galerkin system

Multigrid routine for Low-rank approximation

Documented code

Reports and presentations

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 22 / 24

Page 39: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

References

1 Ghanem, R. G. & Spanos, P. D. (1991) Stochastic Finite Elements: A SpectralApproach. New York: Springer.

2 Elman, H. & Furnival D. (2007) Solving the stochastic steady-state diffusionproblem using multigrid. IMA Journal of Numerical Analysis 27, 675–688.

3 Powell, C. & Elman H. (2009) Block-diagonal preconditioning for spectralstochastic finite-element systems. IMA Journal of Numerical Analysis 29, 350–375.

4 Kressner D. & Tobler C. (2011) Low-rank tensor Krylov subspace methods forparametrized linear systems. SIAM Journal of Matrix Analysis and Applications32.4, 1288–1316.

5 Xiu, D. & Karniadakis G. M. (2003) Modeling uncertainty in flow simulations viageneralized polynomial chaos. Journal of Computational Physics 187, 137–167.

6 Elman, H., Silvester, D. & Wathen, A. (2014) Finite Elements and Fast IterativeSolvers: with Applications in Incompressible Fluid Dynamics. Oxford: OxfordUniversity Press.

7 Silvester, D., Elman, H. & Ramage, A. Incompressible Flow and Iterative SolverSoftware, http://www.cs.umd.edu/˜elman/ifiss/index.html.

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 23 / 24

Page 40: Solving the Stochastic Steady-State Diffusion Problem Using ...rvbalan/TEACHING/AMSC663Fall2015...Solving the Stochastic Steady-State Di usion Problem Using Multigrid Tengfei Su Applied

The End

Thank you!

Questions?

Tengfei Su Solving stochastic steady-state diffusion problem using multigrid 24 / 24