Numerical Schemes for Advection Reaction Equation Ramaz Botchorishvili Faculty of Exact and Natural...

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

Transcript of Numerical Schemes for Advection Reaction Equation Ramaz Botchorishvili Faculty of Exact and Natural...

1

Numerical Schemes for Advection Reaction Equation

Ramaz Botchorishvili

Faculty of Exact and Natural Sciences

Tbilisi State University

GGSWBS,Tbilisi, July 07-11, 2014

2

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

3

Equation

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

),()(

tufx

vu

t

u

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

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

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

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

7

Interpolation

bxxxa n 10

nyyy ,,, 10

)(,),(0 xx n

n

iii xax

0

)()(

niyx ii ,,1,0,)(

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,)()(

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

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,)(

)(

)(

)())(()(

)())(()()(

11

Barycentric interpolation

n

i i

iinn xxyxxL

0

)()(

n

jjn xxx

0

)()(

n

ijj

ji

i

xx0

)(

1

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

13

Baricentric derivative

 

 

 

14

Baricentric derivative

 

 

 

Advantages:

Easy for

implementing

Arithmetic

operations

High order accuracy

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โ€ฆ

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

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

18

Firs order upwind

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

1

h

uvuvuvuvuu ki

ki

ki

ki

ki

ki

ki

ki

ki

ki

19

Firs order upwind

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

1

h

uvuvuvuvuu ki

ki

ki

ki

ki

ki

ki

ki

ki

ki

Numerical flux functions

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

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

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

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

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

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

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

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

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 โˆ†๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘—

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 โˆ†๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘—

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 โˆ†๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘—

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 โˆ†๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘—

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 โˆ†๐‘ฅ๐‘–โˆ’๐‘Ÿ+๐‘—

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ฮค )

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ฮค )

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ฮค )

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ฮค )

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

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

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

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

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

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

43

Better ODE solvers

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

44

Thank you