imex methods for advection-diffusion-reaction equations

20
IMEX Methods for Advection-Diffusion-Reaction Equations Eindhoven 2008 Speaker : Volha Shchetnikava Adviser: dr.ir.J.H.M. ten Thije Boonkk

Upload: barr

Post on 02-Feb-2016

39 views

Category:

Documents


0 download

DESCRIPTION

IMEX Methods for Advection-Diffusion-Reaction Equations. Speaker : Volha Shchetnikava Adviser: dr.ir.J.H.M. ten Thije Boonkkamp. Eindhoven 2008. Contents. 1. Introduction A-D-R equations 2. Implicit -explicit (IMEX) methods Description - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: IMEX Methods  for Advection-Diffusion-Reaction  Equations

IMEX Methods forAdvection-Diffusion-Reaction Equations

Eindhoven2008

Speaker : Volha ShchetnikavaAdviser: dr.ir.J.H.M. ten Thije Boonkkamp

Page 2: IMEX Methods  for Advection-Diffusion-Reaction  Equations

ContentsContents

1. Introduction A-D-R equations

2. Implicit-explicit (IMEX) methods Description Stability of IMEX methods Why IMEX?

3. IMEX linear multistep methodsDesign of IMEX linear multistep methodsExamples

4. Numerical Experiments

5. Conclusions

Page 3: IMEX Methods  for Advection-Diffusion-Reaction  Equations

1. Introduction1. Introduction Advection-Diffusion-Reaction Equations Advection-Diffusion-Reaction Equations

Model problem

where u(x,t) - concentration of a certain species,

a(x,t) - velocity of flowing medium,

d(x,t) - diffusion coefficient

f(u) - source, sink function

0,1Ω ,Ω)0,(

T][0,Ω),(),(

T][0,Ω),(

T][0,Ω ),()()()(

0

D

N

xxxu

txgtxu

txgu

txufduauu

D

Nn

xxxt

Page 4: IMEX Methods  for Advection-Diffusion-Reaction  Equations

1. Introduction1. Introduction Advection-Diffusion-Reaction Equations Advection-Diffusion-Reaction Equations

Fields of application

Environmental modeling (weather forecast, water flow)

Mathematical biology (bacterial growth, tumor growth)

Chemistry

Mechanics

Page 5: IMEX Methods  for Advection-Diffusion-Reaction  Equations

1. Introduction1. Introduction Advection-Diffusion-Reaction Equations Advection-Diffusion-Reaction Equations

Using numerical technique is The Method of Lines (MOL).

MOL algorithm:

1. Discretize all spatial operators

2. Obtain a system of ODEs

3. Integrate ODEs system in time

Advantages of MOL:

1. Spatial discretization and time integration are treated separately

2. Spatial discretization - easy to combine different schemes

3. Time integration - free to choose suitable method

0)0(0))(,()( wwttwtFtw

Page 6: IMEX Methods  for Advection-Diffusion-Reaction  Equations

2. Implicit-Explicit Methods2. Implicit-Explicit Methods Description Description

IMEX method - different integrators to different terms.

System of ODEs

))(,())(,())(,()( 10 twtFtwtFtwtFtw

termsdiffusion -reaction from emanates

termadvection from emanates

Often,

termstiff a is

termstiff-non a is

1

0

1

0

F

F

F

F

Page 7: IMEX Methods  for Advection-Diffusion-Reaction  Equations

2. Implicit-Explicit Methods2. Implicit-Explicit Methods Description Description

method-implicit stable-A Euler Explicit

2

1 where

),( ),( )1(),(

Method -IMEX

111101

nnnnnnnn wtFwtFwtFww

Page 8: IMEX Methods  for Advection-Diffusion-Reaction  Equations

2. Implicit-Explicit Methods2. Implicit-Explicit Methods Description Description

error.n truncatiozero a have esolution w stationaryWith

))(,()( where),()()()2

1(

errorn truncatio temporal thegives )(solution exact theInserting

02 twtFtttw

tw

nnn

Page 9: IMEX Methods  for Advection-Diffusion-Reaction  Equations

2. Implicit-Explicit Methods2. Implicit-Explicit Methods Stability of IMEX method Stability of IMEX method

1),( requiresStability

1

)1(1),(

),( ,

yields method -IMEX ofn Applicatio

scheme IMEX theofStability for method impl.Stability

for method expl.Stability

1,0,let and )()()(

equationTest

10

1

1010

101

1

0

10

zzR

z

zzzzR

zzRRRww

jztwtwtw

nn

jj

Page 10: IMEX Methods  for Advection-Diffusion-Reaction  Equations

2. 2. Implicit-explicit (IMEX) methods Implicit-explicit (IMEX) methods Stability of IMEX methodsStability of IMEX methods

0011

100

any for stable is scheme IMEX the:

any for stable is scheme IMEX the:

SzCzD

CzCzD

Page 11: IMEX Methods  for Advection-Diffusion-Reaction  Equations

2. 2. Implicit-explicit (IMEX) methods Implicit-explicit (IMEX) methods Stability of IMEX methodsStability of IMEX methods

2

2

2

210

1

10

1010

/2 and 2

1

isstability for Condition

1)1(2 and 2 iff 1

/ ,/with

)(sin4 ),2sin(

process thestabilizecan ofreatment implicit t The

obtained are resultsDifferent dependent are and If

directionsdifferent in act )(F and )( tindependen are and

ad

vR

hdhav

zivz

duauu

duauF

xxxt

zzx

Page 12: IMEX Methods  for Advection-Diffusion-Reaction  Equations

2. 2. Implicit-explicit (IMEX) methods Implicit-explicit (IMEX) methods Why IMEX?Why IMEX?

Why not fully explicit method? Stability will require very small step sizes for stiff sources

Why not fully implicit method? For advection descretizations the implicit relations are hard to solve

High computational cost

Why IMEX? IMEX show a significant computational savings due to less restricted time step size

The method remains stable for time steps much larger than those that would be possible for a purely explicit method.

Very effective in many situations

Easy to apply

Page 13: IMEX Methods  for Advection-Diffusion-Reaction  Equations

3. I3. IMEX linear multistep methodsMEX linear multistep methods Design of IMEX linear multistep methodsDesign of IMEX linear multistep methods

jkjjjnjn

k

jjjnjn

k

jjjn

qjnkn

jnjnjnjn

k

jjjn

wtFwtFw

twtFttt

F

wtFwtFw

*1

00

1

0

*k

0jj

0

k

0jj

0

100

k

0jj

with ),,(),(

method IMEX step-k the toleads This

))(,()( where),()()(

formulaion extrapolatby derived becan Explicit

)),(),((

method step-klinear impicit Fully

Page 14: IMEX Methods  for Advection-Diffusion-Reaction  Equations

3. I3. IMEX linear multistep methodsMEX linear multistep methods ExamplesExamples

.

),(),(),(2

scheme CNLF-IMEX

)),(),((

Nicolson)-(Crank rule lTrapezoida

),(2

Frog)-(Leap rulemidpoint Explicit

111111011

111111

11

nnnnnnnn

nnnnnn

nnnn

wtFwtFwtFww

wtFwtFww

wtFww

Page 15: IMEX Methods  for Advection-Diffusion-Reaction  Equations

3. I3. IMEX linear multistep methodsMEX linear multistep methods ExamplesExamples

),(),(),(22

12

2

3

scheme BDF-IMEX

22

12

2

3

BDF step-woExplicit t

2

12

2

3

BDF step-woImplicit t

111110011

111

111

nnnnnnnnn

nnnnn

nnnn

wtFwtFwtFwww

FFwww

Fwww

Page 16: IMEX Methods  for Advection-Diffusion-Reaction  Equations

3. I3. IMEX linear multistep methodsMEX linear multistep methods ExamplesExamples

rule al trapezoid- 2

12

1 if stable-A is methodimplicit The

),()2

1(),()2

2

3(

),(),(2

1),(

2

3

scheme IMEX

),(2

1),(

2

3

method AdamsExplicit

1111

11111001

111

nnnn

nnnnnnnn

nnnnnn

wtFwtF

wtFwtFwtFww

wtFwtFww

Page 17: IMEX Methods  for Advection-Diffusion-Reaction  Equations

4. 4. Numerical experimentsNumerical experiments

1,02/1)0,(

T][0,2/))sin(1(),1(

T][0,0),0(

T][0,)(0,1 ),()1(

xxu

tttu

ttu

txuuuauu

x

xxxt

Page 18: IMEX Methods  for Advection-Diffusion-Reaction  Equations

4. Numerical experiments

f0_unst2.avi

f1_unst1.avi

f0_st1.avi

f1_st2.avi

adams_5_2.avi

f1_25_2.avi

adams_25_3.avi

10,10,01.0,1 a

10,10,10,5 a

10,10,10,25 a

Page 19: IMEX Methods  for Advection-Diffusion-Reaction  Equations

5. Conclusions5. Conclusions

Significant computational saving

Stable for time steps larger then for explicit method

IMEX schemes are not universal for all problems

Very effective in many situations

IMEX BDF is more stable then IMEX -CNLF

Page 20: IMEX Methods  for Advection-Diffusion-Reaction  Equations

Thank you!