Discretization Discretization and Solution of and Solution of Convection Convection-
- Diffusion Problems
Discretization and Solution of and Solution of Discretization - - PowerPoint PPT Presentation
Discretization and Solution of and Solution of Discretization Convection- -Diffusion Problems Diffusion Problems Convection Howard Elman University of Maryland Overview 1. The convection-diffusion equation Introduction and examples 2.
1
2
2
d
N N D D
D N
3
2
4
2
/ 1 / ) 1 )( / 1 (
− − −
x x ε ε ε
5
6
2 * * * 2
7
− − − ε ε / 2 / ) 1 (
y 2
8
2
9
2
1 1 1 1 D E D D E N E E
N
∂ Ω Ω
10
∂ Ω Ω Ω
N
N h h h h h h h h h E h E h E h E
1 1
11
12
w
h
h S v w h
h E
∈
h
13
14
2
∂ Ω Ω ∆ Ω Ω Ω
N k
N h h h h h h k h h h h h h h h h sd
Streamline diffusion term 0 for linear/bilinear
15
h
h h
h
h
h
16
∆ Ω ∆ ∆ Ω Ω k h k h h h h k h h h h h h sd
k k k
k determined from elimination of bubble functions
17
18
h
h S v w h
h E
∈
2u
h
1/2 2 2
2 2 / 3
sd h
19
20
∆ Ω Ω
k k
h h k h h h h h h sd
k h k h k h k k k
21
j j i j j j j h h E n n n j h n j j
j j 1 1
+ + =
22
23
24
25
26
27
1 2 2 2 F F R
−
1
1+d 1+a
28
1 1
k F F k
− +
1 / 1 1 / 1 1 1 1 1 1
F k k F k k k F k k F k k F k F F k − − − − − − +
29
1F
F −
1 − 1 − F
1
1 F F R
F F F F
1 1 1 1 − − − −
30
F
F
F F F
F
31
F F
−1
F F
F F F F
h
2 2
1 1
− − λ λ λ λ
F h
2
2
2
h h F
2 F
) (
32
2 2 2 ) ( 2 2 2 2 2 2 / 2 / ) , (
2 1
y x y x jk y w x w k j
2 ) ( 1
F F
−
F
2 1 , 1 ,
ij j i y j i y ij F
− +
2 2 2 2
y x
34
2
1
1 2
2 1 1 1 2
− −
35
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
6 5 4 3 2 1
Natural ordering of grid Left-to-right, bottom-to-top Plus resulting matrix structure: Horizontal line red-black Ordering and matrix structure:
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
6 3 5 2 4 1
Young theory: spectral radii (Jacobi or Gauss-Seidel) independent of ordering Performance of GS: depends on ordering
36
2 2
y
Four solution strategies: line Gauss-Seidel iteration with natural line ordering, following the flow (bottom-to-top) natural line ordering, against the flow (top-to-bottom) red-black line ordering, with the flow red-black line ordering, against the flow
10-5 10-4 10-3 10-2 10-1 100 101 102 10 20 30 40 50 60
*
||e^(k)|| Natural with flow Red- black Natural against flow With Against
37
− 1
k F F k k k 1 1
k F F k F F k − −
/ 1 1
− ∞ →
k k F F k
k F F R
1 −
38
4 / 3 1 4 4 / 3 1 k 2 / 1 1 3 2 / 1 3/4 k 4 / 1 1 2 4 / 1 1/2 k 1 1 1/4 k + − + + + − + + + − + + − +
k k k k k k k k
Contours of stream function
39
40
41
1 1 1 2 T 1 1 i i F i F i i i h i F i F i
+ − − − −
42
43
1 1
F i F i − −
h
2
44
45
46