1 lecture 24: flux limiters 2 last time… l developed a set of limiter functions l second order...
Post on 19-Dec-2015
217 views
TRANSCRIPT
![Page 1: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/1.jpg)
1
Lecture 24: Flux Limiters
![Page 2: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/2.jpg)
2
Last Time…
Developed a set of limiter functions
Second order accurate
![Page 3: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/3.jpg)
3
This Time…
Examine physical rationale for limiter functions
Application to unstructured meshes
![Page 4: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/4.jpg)
4
Recall Higher-Order Scheme for e
Consider finding face value using a second-order
scheme with the gradient found at the upwind cell:
Recall:
What is the limiter function trying to do?
( )
2P W
e P e
xr
x
E Pe
P W
r
![Page 5: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/5.jpg)
5
Limiter Functions
=2r
0 for r 0r
![Page 6: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/6.jpg)
6
Physical Interpretation
The value of r can be thought of as the ratio of two
gradients:
Limiter chooses gradient adaptively to avoid creating
extrema
E Pe
P W
r
Downwind cell gradient
Upwind cell gradient
ww
![Page 7: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/7.jpg)
7
Case (a): Linear Variation
Since:
If variation is a straight line, on a
uniform mesh, r=1
From our limiter function range,=1
for r=1
Can use either gradient and get the
right value at e
E P
P W
r
r=1
![Page 8: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/8.jpg)
8
Case (b): 2>r>1
r>1 means
If we used =1, we would not
create overshoot
In fact we can use up to r and
not create
E P P W
e E
![Page 9: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/9.jpg)
9
Case (b): 2>r>1 (Cont’d)
Consider case when re >1, i.e.,
Say we choose the =re line
When =re :
( )2
1
2
21 1
2 2
P We P e
E PP P W
P W
E PP
P E
E
xr
x
E P P W
![Page 10: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/10.jpg)
10
Case (b’): r>2
Consider case when re >2, i.e.,
For re>2, say we choose the =2 line
When =2:
( )2
1 11
P We P e
P P W
E PP
e
P Ee e
E
xr
x
r
r r
E P P W
![Page 11: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/11.jpg)
11
Case (c): 0< r<1
If r<1:
E P P W
![Page 12: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/12.jpg)
12
Case (c): 0<r<1 (Cont’d)
Consider case when 0<re <1, i.e.,
Say we choose =re
When =re :
( )2
1
2
21 1
2 2
P We P e
E PP P W
P W
E PP
P E
E
xr
x
E P P W
![Page 13: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/13.jpg)
13
Case (d): r<0
When r<0, this implies local
extremum
Our limiter has =0 for r<0
This implies e P
Defaults to first order upwind scheme
0 for r 0r
![Page 14: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/14.jpg)
14
Unstructured Meshes
Find face value using:
No easy way to define rf
0 0 0( )f f fr r
![Page 15: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/15.jpg)
15
Unstructured Meshes
1 0
00
ff
rr
• Create fictitious point U
•Find value at U by using cell gradient
•Hence define rf
![Page 16: 1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate](https://reader034.vdocuments.us/reader034/viewer/2022042821/56649d355503460f94a0d4ee/html5/thumbnails/16.jpg)
16
Closure
In this lecture, we
Considered the physical meaning of the limiter
function
Saw that it was an adaptive way to choose either an
upwind or a downwind gradient to find face value
Looked at difficulties in implementing for unstructured
meshes