Numerical Schemes for Advection Reaction Equation

44
Numerical Schemes for Advection Reaction Equation Ramaz Botchorishvili Faculty of Exact and Natural Sciences Tbilisi State University GGSWBS,Tbilisi, July 07-11, 2014 1

description

Numerical Schemes for Advection Reaction Equation. Ramaz Botchorishvili Faculty of Exact and Natural Sciences Tbilisi State University GGSWBS , Tbilisi , July 07 -11, 2014. Outline. Equations Operator splitting Baricentric interpolation and derivative Simple high order schemes - PowerPoint PPT Presentation

Transcript of Numerical Schemes for Advection Reaction Equation

Page 1: Numerical  Schemes for  Advection Reaction Equation

1

Numerical Schemes for Advection Reaction Equation

Ramaz Botchorishvili

Faculty of Exact and Natural Sciences

Tbilisi State University

GGSWBS,Tbilisi, July 07-11, 2014

Page 2: Numerical  Schemes for  Advection Reaction Equation

2

Outline Equations Operator splitting Baricentric interpolation and derivative Simple high order schemes Divided differences Stable high order scheme Multischeme Discretization for ODEs

Page 3: Numerical  Schemes for  Advection Reaction Equation

3

Equation

)()(),(),0( 00 BVLuxuxu

),()(

tufx

vu

t

u

v(t,x) - velocityf (u,t) โ€“ reaction smooth functions

Page 4: Numerical  Schemes for  Advection Reaction Equation

4

Operator splitting

),(),(

),,(

),(),(

,0)(

2/12/1

2/11

12/11

1

2/1

2/1

2/12/1

xtuxtu

ttttuft

u

xtuxtu

tttx

vu

t

u

nn

nn

nnn

n

nn

nn

nn

nn

Page 5: Numerical  Schemes for  Advection Reaction Equation

5

Operator splitting

),(),(

),,(

),(),(

,0)(

2/12/1

2/11

12/11

1

2/1

2/1

2/12/1

xtuxtu

ttttuft

u

xtuxtu

tttx

vu

t

u

nn

nn

nnn

n

nn

nn

nn

nn

LA -> ODE ->LA -> ODE-> โ€ฆ - first order accurate

Page 6: Numerical  Schemes for  Advection Reaction Equation

6

Operator splitting

),(),(

),,(

),(),(

,0)(

2/12/1

2/11

12/11

1

2/1

2/1

2/12/1

xtuxtu

ttttuft

u

xtuxtu

tttx

vu

t

u

nn

nn

nnn

n

nn

nn

nn

nn

LA -> ODE ->LA -> ODE-> โ€ฆ - first order accurate

LA -> ODE ->ODE->LA -> LA->ODE-> โ€ฆ - second order accurate

Page 7: Numerical  Schemes for  Advection Reaction Equation

7

Interpolation

bxxxa n 10

nyyy ,,, 10

)(,),(0 xx n

n

iii xax

0

)()(

niyx ii ,,1,0,)(

Page 8: Numerical  Schemes for  Advection Reaction Equation

8

Lagrange interpolation

n

iniin xlyxL

0, )()(

nixx

xx

xxxxxxxx

xxxxxxxxxl

n

ijj

ji

n

ijj

j

niiiiii

niini ,0,

)(

)(

)())(()(

)())(()()(

0

0

110

110,

n

jkjkj

n

jkjnikn nkyyxlyxL

00, 0,)()(

Page 9: Numerical  Schemes for  Advection Reaction Equation

9

Lagrange interpolation

n

iniin xlyxL

0, )()(

nixx

xx

xxxxxxxx

xxxxxxxxxl

n

ijj

ji

n

ijj

j

niiiiii

niini ,0,

)(

)(

)())(()(

)())(()()(

0

0

110

110,

n

jkjkj

n

jkjnikn nkyyxlyxL

00, 0,)()(

Pros & cons

Page 10: Numerical  Schemes for  Advection Reaction Equation

10

Barycentric interpolation

n

i i

iinn xxyxxL

0

)()(

n

jjn xxx

0

)()(

n

ijj

ji

ii

in

n

ijj

ji

n

ijj

j

niiiiii

niini

xxni

xxx

xx

xx

xxxxxxxx

xxxxxxxxxl

0

0

0

110

110,

)(

1,,0,)(

)(

)(

)())(()(

)())(()()(

Page 11: Numerical  Schemes for  Advection Reaction Equation

11

Barycentric interpolation

n

i i

iinn xxyxxL

0

)()(

n

jjn xxx

0

)()(

n

ijj

ji

i

xx0

)(

1

Page 12: Numerical  Schemes for  Advection Reaction Equation

12

Barycentric interpolation

Advantages

Efficient in terms of

arithmetic operations

Low cost for

introducing or

excluding new nodal

points = variable

accuracy

n

i i

iinn xxyxxL

0

)()(

n

jjn xxx

0

)()(

n

ijj

ji

i

xx0

)(

1

Page 13: Numerical  Schemes for  Advection Reaction Equation

13

Baricentric derivative

 

 

 

Page 14: Numerical  Schemes for  Advection Reaction Equation

14

Baricentric derivative

 

 

 

Advantages:

Easy for

implementing

Arithmetic

operations

High order accuracy

Page 15: Numerical  Schemes for  Advection Reaction Equation

15

High order scheme for LA

n

nii in

nnniii

nnn xx

uvuvxL

2

,02

)()(1)(

n

ijj

ji

i

xx2

0

)(

1

x

vu

)(

Approximation for

N=1, 2nd orderN=2, 4th orderN=4 , 8th orderโ€ฆ

Page 16: Numerical  Schemes for  Advection Reaction Equation

16

High order scheme for LA

0)()(1 2

,0

1

n

nii in

kn

knn

ki

kii

n

kn

kn

xx

uvuvuu

n

ijj

ji

i

xx2

0

)(

1

First order accurate in time, 2n order accurate in space

Page 17: Numerical  Schemes for  Advection Reaction Equation

17

High order scheme for LA

0)()(1 2

,0

1

n

nii in

kn

knn

ki

kii

n

kn

kn

xx

uvuvuu

n

ijj

ji

i

xx2

0

)(

1

First order accurate in time, 2n order accurate in space

Possible Problems conservation & stability

Page 18: Numerical  Schemes for  Advection Reaction Equation

18

Firs order upwind

0])()[(])()[( 1111

1

h

uvuvuvuvuu ki

ki

ki

ki

ki

ki

ki

ki

ki

ki

Page 19: Numerical  Schemes for  Advection Reaction Equation

19

Firs order upwind

0])()[(])()[( 1111

1

h

uvuvuvuvuu ki

ki

ki

ki

ki

ki

ki

ki

ki

ki

Numerical flux functions

Page 20: Numerical  Schemes for  Advection Reaction Equation

20

Firs order upwind

0])()[(])()[( 1111

1

h

uvuvuvuvuu ki

ki

ki

ki

ki

ki

ki

ki

ki

ki

Numerical flux functions

Properties1. Consistency2. Conditional stability (CFL)3. First order in space and in time4. conservative

Page 21: Numerical  Schemes for  Advection Reaction Equation

21

Firs order upwind

0])()[(])()[( 1111

1

h

uvuvuvuvuu ki

ki

ki

ki

ki

ki

ki

ki

ki

ki

Numerical flux functions

Properties1. Consistency2. Conditional stability (CFL)3. First order in space and in time4. conservative

ki

ki

ki vvv )()(

1|))(||)(|max ki

ki vv

h

i

ki

i

ki uu 1

Page 22: Numerical  Schemes for  Advection Reaction Equation

22

High order conservative discretisation

0])()[(])()[( 1111

1

h

uvuvuvuvuu ki

ki

ki

ki

ki

ki

ki

ki

ki

ki

02/12/11

h

FFuu iiki

ki

Page 23: Numerical  Schemes for  Advection Reaction Equation

23

High order conservative discretisation

0])()[(])()[( 1111

1

h

uvuvuvuvuu ki

ki

ki

ki

ki

ki

ki

ki

ki

ki

02/12/11

h

FFuu iiki

ki

Harten, Enquist, Osher, Chakravarthy:

given function in values in nodal points, how to interpolate at cell interfaces in order to get higher then 2 accuracy

Page 24: Numerical  Schemes for  Advection Reaction Equation

24

Special interpolation/reconstruction procedure

g(x)= ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅโˆ’โˆž

g(๐‘ฅ๐‘–+1 2ฮค )=ฯƒ ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘–+1 2ฮค๐‘ฅ๐‘–โˆ’1 2ฮค๐‘–๐‘—=โˆ’โˆž =ฯƒ ๐‘“าง๐‘—โˆ†๐‘ฅ๐‘—๐‘–๐‘—=โˆ’โˆž

๐‘“าง๐‘— = 1โˆ†๐‘ฅ๐‘—เถฑ ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค

P(x)-interpolation polinomial using g(๐‘ฅ๐‘–+1 2ฮค )

p(x)=Pโ€™(x)-derivative

Page 25: Numerical  Schemes for  Advection Reaction Equation

25

Special interpolation/reconstruction procedure

g(x)= ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅโˆ’โˆž

g(๐‘ฅ๐‘–+1 2ฮค )=ฯƒ ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘–+1 2ฮค๐‘ฅ๐‘–โˆ’1 2ฮค๐‘–๐‘—=โˆ’โˆž =ฯƒ ๐‘“าง๐‘—โˆ†๐‘ฅ๐‘—๐‘–๐‘—=โˆ’โˆž

๐‘“าง๐‘— = 1โˆ†๐‘ฅ๐‘—เถฑ ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค

P(x)-interpolation polinomial using g(๐‘ฅ๐‘–+1 2ฮค )

p(x)=Pโ€™(x)-derivative

Page 26: Numerical  Schemes for  Advection Reaction Equation

26

Special interpolation/reconstruction procedure

g(x)= ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅโˆ’โˆž

g(๐‘ฅ๐‘–+1 2ฮค )=ฯƒ ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘–+1 2ฮค๐‘ฅ๐‘–โˆ’1 2ฮค๐‘–๐‘—=โˆ’โˆž =ฯƒ ๐‘“าง๐‘—โˆ†๐‘ฅ๐‘—๐‘–๐‘—=โˆ’โˆž

๐‘“าง๐‘— = 1โˆ†๐‘ฅ๐‘—เถฑ ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค

P(x)-interpolation polinomial using g(๐‘ฅ๐‘–+1 2ฮค )

p(x)=Pโ€™(x)-derivative

Page 27: Numerical  Schemes for  Advection Reaction Equation

27

Special interpolation/reconstruction procedure

g(x)= ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅโˆ’โˆž

g(๐‘ฅ๐‘–+1 2ฮค )=ฯƒ ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘–+1 2ฮค๐‘ฅ๐‘–โˆ’1 2ฮค๐‘–๐‘—=โˆ’โˆž =ฯƒ ๐‘“าง๐‘—โˆ†๐‘ฅ๐‘—๐‘–๐‘—=โˆ’โˆž

๐‘“าง๐‘— = 1โˆ†๐‘ฅ๐‘—เถฑ ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค

P(x)-interpolation polinomial using g(๐‘ฅ๐‘–+1 2ฮค )

p(x)=Pโ€™(x)-derivative

Page 28: Numerical  Schemes for  Advection Reaction Equation

28

Special interpolation/reconstruction procedure

1โˆ†๐‘ฅ๐‘— ๐‘แˆบ๐‘ฅแˆป๐‘‘๐‘ฅ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค = 1โˆ†๐‘ฅ๐‘— (g(๐‘ฅ๐‘–+1 2ฮค )- g(๐‘ฅ๐‘–โˆ’1 2ฮค ))= 1โˆ†๐‘ฅ๐‘— ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค =๐‘“าง๐‘—

Pโ€™(x)=g(x)+o(โˆ†๐‘ฅ๐‘˜) p(x)=f(x)+ o(โˆ†๐‘ฅ๐‘˜)

P(x)=ฯƒ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘šโˆ’1 2เต—๏ฟฝ๐‘˜๐‘š=0 )๐‘™๐‘š(๐‘ฅ)

P(x)- ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)=ฯƒ แ‰ˆ๐‘”แ‰†๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’๐‘šโˆ’1 2เต—๏ฟฝแ‰‡โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)๐‘˜๐‘š=0 ๐‘™๐‘š(๐‘ฅ)

๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘šโˆ’1 2เต—๏ฟฝ) โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)=ฯƒ ๐‘”าง๐‘–โˆ’๐‘Ÿ+๐‘—๐‘šโˆ’1๐‘—=0 โˆ†๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘—

Page 29: Numerical  Schemes for  Advection Reaction Equation

29

Special interpolation/reconstruction procedure

1โˆ†๐‘ฅ๐‘— ๐‘แˆบ๐‘ฅแˆป๐‘‘๐‘ฅ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค = 1โˆ†๐‘ฅ๐‘— (g(๐‘ฅ๐‘–+1 2ฮค )- g(๐‘ฅ๐‘–โˆ’1 2ฮค ))= 1โˆ†๐‘ฅ๐‘— ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค =๐‘“าง๐‘—

Pโ€™(x)=g(x)+o(โˆ†๐‘ฅ๐‘˜) p(x)=f(x)+ o(โˆ†๐‘ฅ๐‘˜)

P(x)=ฯƒ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘šโˆ’1 2เต—๏ฟฝ๐‘˜๐‘š=0 )๐‘™๐‘š(๐‘ฅ)

P(x)- ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)=ฯƒ แ‰ˆ๐‘”แ‰†๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’๐‘šโˆ’1 2เต—๏ฟฝแ‰‡โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)๐‘˜๐‘š=0 ๐‘™๐‘š(๐‘ฅ)

๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘šโˆ’1 2เต—๏ฟฝ) โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)=ฯƒ ๐‘”าง๐‘–โˆ’๐‘Ÿ+๐‘—๐‘šโˆ’1๐‘—=0 โˆ†๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘—

Page 30: Numerical  Schemes for  Advection Reaction Equation

30

Special interpolation/reconstruction procedure

1โˆ†๐‘ฅ๐‘— ๐‘แˆบ๐‘ฅแˆป๐‘‘๐‘ฅ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค = 1โˆ†๐‘ฅ๐‘— (g(๐‘ฅ๐‘–+1 2ฮค )- g(๐‘ฅ๐‘–โˆ’1 2ฮค ))= 1โˆ†๐‘ฅ๐‘— ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค =๐‘“าง๐‘—

Pโ€™(x)=g(x)+o(โˆ†๐‘ฅ๐‘˜) p(x)=f(x)+ o(โˆ†๐‘ฅ๐‘˜)

P(x)=ฯƒ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘šโˆ’1 2เต—๏ฟฝ๐‘˜๐‘š=0 )๐‘™๐‘š(๐‘ฅ)

P(x)- ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)=ฯƒ แ‰ˆ๐‘”แ‰†๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’๐‘šโˆ’1 2เต—๏ฟฝแ‰‡โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)๐‘˜๐‘š=0 ๐‘™๐‘š(๐‘ฅ)

๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘šโˆ’1 2เต—๏ฟฝ) โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)=ฯƒ ๐‘”าง๐‘–โˆ’๐‘Ÿ+๐‘—๐‘šโˆ’1๐‘—=0 โˆ†๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘—

Page 31: Numerical  Schemes for  Advection Reaction Equation

31

Special interpolation/reconstruction procedure

1โˆ†๐‘ฅ๐‘— ๐‘แˆบ๐‘ฅแˆป๐‘‘๐‘ฅ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค = 1โˆ†๐‘ฅ๐‘— (g(๐‘ฅ๐‘–+1 2ฮค )- g(๐‘ฅ๐‘–โˆ’1 2ฮค ))= 1โˆ†๐‘ฅ๐‘— ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค =๐‘“าง๐‘—

Pโ€™(x)=g(x)+o(โˆ†๐‘ฅ๐‘˜) p(x)=f(x)+ o(โˆ†๐‘ฅ๐‘˜)

P(x)=ฯƒ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘šโˆ’1 2เต—๏ฟฝ๐‘˜๐‘š=0 )๐‘™๐‘š(๐‘ฅ)

P(x)- ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)=ฯƒ แ‰ˆ๐‘”แ‰†๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’๐‘šโˆ’1 2เต—๏ฟฝแ‰‡โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)๐‘˜๐‘š=0 ๐‘™๐‘š(๐‘ฅ)

๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘šโˆ’1 2เต—๏ฟฝ) โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)=ฯƒ ๐‘”าง๐‘–โˆ’๐‘Ÿ+๐‘—๐‘šโˆ’1๐‘—=0 โˆ†๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘—

Page 32: Numerical  Schemes for  Advection Reaction Equation

32

Special interpolation/reconstruction procedure

1โˆ†๐‘ฅ๐‘— ๐‘แˆบ๐‘ฅแˆป๐‘‘๐‘ฅ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค = 1โˆ†๐‘ฅ๐‘— (g(๐‘ฅ๐‘–+1 2ฮค )- g(๐‘ฅ๐‘–โˆ’1 2ฮค ))= 1โˆ†๐‘ฅ๐‘— ๐‘“แˆบ๐‘ฆแˆป๐‘‘๐‘ฆ๐‘ฅ๐‘—+1 2ฮค๐‘ฅ๐‘—โˆ’1 2ฮค =๐‘“าง๐‘—

Pโ€™(x)=g(x)+o(โˆ†๐‘ฅ๐‘˜) p(x)=f(x)+ o(โˆ†๐‘ฅ๐‘˜)

P(x)=ฯƒ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘šโˆ’1 2เต—๏ฟฝ๐‘˜๐‘š=0 )๐‘™๐‘š(๐‘ฅ)

P(x)- ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)=ฯƒ แ‰ˆ๐‘”แ‰†๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’๐‘šโˆ’1 2เต—๏ฟฝแ‰‡โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)๐‘˜๐‘š=0 ๐‘™๐‘š(๐‘ฅ)

๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘šโˆ’1 2เต—๏ฟฝ) โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)=ฯƒ ๐‘”าง๐‘–โˆ’๐‘Ÿ+๐‘—๐‘šโˆ’1๐‘—=0 โˆ†๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘—

Page 33: Numerical  Schemes for  Advection Reaction Equation

33

Special interpolation/reconstruction procedure

แ‰€P(x) โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)แ‰โ€ฒ=p(x)

๐‘“๐‘—+1 2ฮค = ๐‘“แ‰€๐‘ฅ๐‘—+1 2เต—๏ฟฝแ‰= ๐‘แ‰€๐‘ฅ๐‘—+1 2เต—๏ฟฝแ‰= เตฌ๐‘ƒแˆบ๐‘ฅแˆปโˆ’ ๐‘”แ‰€๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝแ‰เตฐแ‰š๐‘ฅ=๐‘ฅ๐‘—+1 2เต—๏ฟฝโ€ฒ

Baricentric derivative?

1โˆ†๐‘ฅ๐‘– ๐œ•๐‘“๐œ•๐‘ฅ ๐‘‘๐‘ฅ๐‘ฅ๐‘–+1 2ฮค๐‘ฅ๐‘–โˆ’1 2ฮค = 1โˆ†๐‘ฅ๐‘– (๐‘“๐‘–+1 2ฮค โˆ’ ๐‘“๐‘–โˆ’1 2ฮค )

Page 34: Numerical  Schemes for  Advection Reaction Equation

34

Special interpolation/reconstruction procedure

แ‰€P(x) โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)แ‰โ€ฒ=p(x)

๐‘“๐‘—+1 2ฮค = ๐‘“แ‰€๐‘ฅ๐‘—+1 2เต—๏ฟฝแ‰= ๐‘แ‰€๐‘ฅ๐‘—+1 2เต—๏ฟฝแ‰= เตฌ๐‘ƒแˆบ๐‘ฅแˆปโˆ’ ๐‘”แ‰€๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝแ‰เตฐแ‰š๐‘ฅ=๐‘ฅ๐‘—+1 2เต—๏ฟฝโ€ฒ

Baricentric derivative?

1โˆ†๐‘ฅ๐‘– ๐œ•๐‘“๐œ•๐‘ฅ ๐‘‘๐‘ฅ๐‘ฅ๐‘–+1 2ฮค๐‘ฅ๐‘–โˆ’1 2ฮค = 1โˆ†๐‘ฅ๐‘– (๐‘“๐‘–+1 2ฮค โˆ’ ๐‘“๐‘–โˆ’1 2ฮค )

Page 35: Numerical  Schemes for  Advection Reaction Equation

35

Special interpolation/reconstruction procedure

แ‰€P(x) โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)แ‰โ€ฒ=p(x)

๐‘“๐‘—+1 2ฮค = ๐‘“แ‰€๐‘ฅ๐‘—+1 2เต—๏ฟฝแ‰= ๐‘แ‰€๐‘ฅ๐‘—+1 2เต—๏ฟฝแ‰= เตฌ๐‘ƒแˆบ๐‘ฅแˆปโˆ’ ๐‘”แ‰€๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝแ‰เตฐแ‰š๐‘ฅ=๐‘ฅ๐‘—+1 2เต—๏ฟฝโ€ฒ

Baricentric derivative?

1โˆ†๐‘ฅ๐‘– ๐œ•๐‘“๐œ•๐‘ฅ ๐‘‘๐‘ฅ๐‘ฅ๐‘–+1 2ฮค๐‘ฅ๐‘–โˆ’1 2ฮค = 1โˆ†๐‘ฅ๐‘– (๐‘“๐‘–+1 2ฮค โˆ’ ๐‘“๐‘–โˆ’1 2ฮค )

Page 36: Numerical  Schemes for  Advection Reaction Equation

36

Special interpolation/reconstruction procedure

แ‰€P(x) โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)แ‰โ€ฒ=p(x)

๐‘“๐‘—+1 2ฮค = ๐‘“แ‰€๐‘ฅ๐‘—+1 2เต—๏ฟฝแ‰= ๐‘แ‰€๐‘ฅ๐‘—+1 2เต—๏ฟฝแ‰= เตฌ๐‘ƒแˆบ๐‘ฅแˆปโˆ’ ๐‘”แ‰€๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝแ‰เตฐแ‰š๐‘ฅ=๐‘ฅ๐‘—+1 2เต—๏ฟฝโ€ฒ

Baricentric derivative?

1โˆ†๐‘ฅ๐‘– ๐œ•๐‘“๐œ•๐‘ฅ ๐‘‘๐‘ฅ๐‘ฅ๐‘–+1 2ฮค๐‘ฅ๐‘–โˆ’1 2ฮค = 1โˆ†๐‘ฅ๐‘– (๐‘“๐‘–+1 2ฮค โˆ’ ๐‘“๐‘–โˆ’1 2ฮค )

Page 37: Numerical  Schemes for  Advection Reaction Equation

37

Special interpolation/reconstruction procedure

แ‰€P(x) โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)แ‰โ€ฒ=p(x)

๐‘“๐‘—+1 2ฮค = ๐‘“แ‰€๐‘ฅ๐‘—+1 2เต—๏ฟฝแ‰= ๐‘แ‰€๐‘ฅ๐‘—+1 2เต—๏ฟฝแ‰= เตฌ๐‘ƒแˆบ๐‘ฅแˆปโˆ’ ๐‘”แ‰€๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝแ‰เตฐแ‰š๐‘ฅ=๐‘ฅ๐‘—+1 2เต—๏ฟฝโ€ฒ

Baricentric derivative?

1โˆ†๐‘ฅ๐‘– ๐œ•๐‘“๐œ•๐‘ฅ ๐‘‘๐‘ฅ๐‘ฅ๐‘–+1 2ฮค๐‘ฅ๐‘–โˆ’1 2ฮค = 1โˆ†๐‘ฅ๐‘– (๐‘“๐‘–+1 2ฮค โˆ’ ๐‘“๐‘–โˆ’1 2ฮค )

02/12/11

h

FFuu iiki

ki

High order accurate approximation

Page 38: Numerical  Schemes for  Advection Reaction Equation

38

Special interpolation/reconstruction procedure

แ‰€P(x) โˆ’ ๐‘”(๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝ)แ‰โ€ฒ=p(x)

๐‘“๐‘—+1 2ฮค = ๐‘“แ‰€๐‘ฅ๐‘—+1 2เต—๏ฟฝแ‰= ๐‘แ‰€๐‘ฅ๐‘—+1 2เต—๏ฟฝแ‰= เตฌ๐‘ƒแˆบ๐‘ฅแˆปโˆ’ ๐‘”แ‰€๐‘ฅ๐‘–โˆ’๐‘Ÿโˆ’1 2เต—๏ฟฝแ‰เตฐแ‰š๐‘ฅ=๐‘ฅ๐‘—+1 2เต—๏ฟฝโ€ฒ

Baricentric derivative?

1โˆ†๐‘ฅ๐‘– ๐œ•๐‘“๐œ•๐‘ฅ ๐‘‘๐‘ฅ๐‘ฅ๐‘–+1 2ฮค๐‘ฅ๐‘–โˆ’1 2ฮค = 1โˆ†๐‘ฅ๐‘– (๐‘“๐‘–+1 2ฮค โˆ’ ๐‘“๐‘–โˆ’1 2ฮค )

02/12/11

h

FFuu iiki

ki

High order accurate approximation

Page 39: Numerical  Schemes for  Advection Reaction Equation

39

Components of high order scheme

Discretization of the divergence operator โ€ข baricentric interpolation โ€ข baricentric derivativeโ€ข ENO type reconstruction procedure (Harten, Enquist, Osher, Chakravarthy): โ€ข Given fluxes in nodal pointsโ€ข Interpolate fluxes at cell interfaces in such a way

that central finite difference formula provides high order (higher then 2) approximation

โ€ข Use adaptive stencils to avoid oscillations

Page 40: Numerical  Schemes for  Advection Reaction Equation

40

Adaptation of interpolation

Use adaptive stencils to avoid oscillationsโ€ขinterpolate with high order polynomial in all cell interfaces inside of the stencil of the polynomialโ€ขIf local maximum principle is satisfied then value at this cell interface is foundโ€ขIf local maximum principle is not satisfied then change stencil and repeat interpolation procedure for such cell interfacesโ€ขIf after above procedure local maximum principle is not respected then reduce order of polynomial and repeat procedure for those interfaces only

Page 41: Numerical  Schemes for  Advection Reaction Equation

41

Convergence in one space dimension Algorithm ensures

Uniform bound of approximate solutions Uniform bound of total variation

ConclusionsApproximate solution converge a.e. to solution of the original problem

Page 42: Numerical  Schemes for  Advection Reaction Equation

42

Extension to higher spatial dimension Cartesian meshes:

strightforward Hexagonal meshes:

Directional derivates => div needs three directional derivatives in 2D

Implementation with baricentric derivatives without adaptation procedure See poster ( Tako & Natalia)

Implementation with adaptation โ€“ not yet

Page 43: Numerical  Schemes for  Advection Reaction Equation

43

Better ODE solvers

Different then polinomial basis fanctions, e.g approach B.Paternoster, R.Dโ€™Ambrosio

Page 44: Numerical  Schemes for  Advection Reaction Equation

44

Thank you