




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An outline for a lecture on the navier-stokes equations and finite volume methods in computational fluid dynamics (me 692). Topics covered include finite-volume convection algorithms, false diffusion, solving the navier-stokes equations, conservative and transportive schemes, and the staggered grid method. The document also includes a review of the integrated pde, example problem, and upwind differences.
Typology: Slides
1 / 8
This page cannot be seen from the preview
Don't miss anything!





Larry Caretto Mechanical Engineering 692 Computational Fluid Dynamics
2
Homework for March 3
3
Outline
Review Algorithm Properties
5
Review Algorithm Properties II
Review Convection Terms
d dx
d dx
d u ϕ = Γ ρϕ
= 0 ρ dx
dV dx
d dx
d dV dx
du ∫ ∫
ϕ = Γ ρ ϕ = 0 ρ ∫ (^) dxdV
du
7
aW ϕ W − aP ϕ P + aE ϕ E = 0 8
dx
d dx
d dx
ud dx
d dx
d dx
ϕ Γ
ρ ⇒ ϕ = Γ ρϕ
1
1 0
0 −
= − ϕ −ϕ
ϕ −ϕ Γ
ρ
Γ
ρ
uL
ux
L e
x e
Pe = ρuL/Γ Pecell = ρuδx/Γ = F/D
9
Exact Solution
0
0.
0.
0.
0.
0.
0.
0.
0.
0.
1
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 x
( ξ
-^ ξ^0
)/( ξ L
-^ ξ^0 )^ Pe = - Pe = - Pe = - Pe = - Pe = 1 Pe = 2 Pe = 5 Pe = 10
10
⎜ ⎞ ⎝
⎟ϕ − ϕ +⎛^ − ⎠
⎜ ⎞ ⎝
ϕ − ϕ + ϕ =⎛^ + W W PP E E W P E
D F F D a a a F
⎟ϕ =− + ϕ ⎠
ϕ+⎛^ − ⎟ ⎠
1 2
⎠
⎜ ⎞ ⎝
⎟ϕ −⎛^ − ⎠
⎜ ⎞ ⎝
⎛ (^) + 2 −^232 −^12
| -----●----- | -----●----- | -----●----- | -----●----- | -----●----- | -----●----- | left 1 2 3 4 5 6 right
11
| ----------●---------- | ----------●---------- | ----------●---------- | W w P e E
aW *^ = 2 Dw +max( Fw , 0 )
a * E^ = 2 De +max(− Fe , 0 )
12
⎥ ⎦
⎤ ⎢ ⎣
⎡ ⎟ ⎠
⎜ ⎞ ⎝
= − ⎛^ + ⎥ ⎦
⎤ ⎢ ⎣
⎡ ⎟ ⎠
⎜ ⎞ ⎝
= ⎛^ + , 0 2 , 0 max , 2 W max^ w , w w E e e e
F a F D F a F D aP = aE + aW + Fe − Fw
TVD Flux Limiters
0
1
2
3
0 1 2 3 4 5 6 7 8 r
ψ (r)
Van Leer Van Albada min-mod SUPERBEE UMIST^20
False Diffusion
21
Navier-Stokes Equations
= 0 ∂
∂
∂
∂
∂
∂
∂
∂ z
w y
v x
u t
ρ ρ ρ ρ
S ( u^ ) z
u y z
u x y
u x x
z
wu y
vu x
uu t
u
⎥⎦
⎤ ⎢⎣
⎡ (^) − Δ ∂
∂
∂
∂ ∂
∂
∂
∂ ∂
∂
∂
∂ ∂
∂ = + ) 3
2 () ρ μ μ μ (κ μ x x
w x z
v x y
u x S u Bx
22
y-momentum Equation
S ( v^ ) z
v y z
v x y
v y x
z
wv y
vv x
uv t
v
()
μ κ μ
ρ μ μ
y y
w z
y
v y y
u x
S v By
23
z-momentum Equation
S (^ w^ ) z
w y z
w x y
w z x
z
ww y
vw x
uw t
w
()
μ κ μ
ρ μ μ
z z
w z
z
v z y
u x
S w Bz
24
Navier-Stokes Equations
25
Navier-Stokes Equations II
Navier-Stokes Equations III
27
Finding Pressure and Density
Incompressible Flows
29
Navier-Stokes Problems
The Steady 2D Problem
= 0 ∂
∂ρ
∂
∂ρ y
v x
u
S ( u^ ) y
u x y
u x x
y
vu x
uu
∂
μ ∂
μ ∂
∂ρ
∂
∂ρ
S ( v^ ) y
v x y
v y x
y
vv x
uv
∂
μ ∂
μ ∂
∂ρ
∂
∂ρ
37
Finite Volume Equations II
( p p ) A ( p p )( y y ) z
x x A x x
p p dV x
p
IJ I J iJ IJ I J j j
I I iJ I I
IJ I J V iJ = − = − − Δ
− −
− ⎟⎟ ≈ ⎠
⎞ ⎜
⎜ ⎝
⎛ ∂
∂
− − +
− −
− Δ
∫
1 1 1
1 1
1
y y A y y
p p dV y
p
IJ IJ Ij IJ I J i i
J J Ij J J
IJ IJ V Ij = − = − − Δ
− −
− ⎟⎟ ≈ ⎠
⎞ ⎜
⎜ ⎝
⎛ ∂
∂
− − +
− −
− Δ
∫
1 1 1
1 1
1
38
Finite Volume Equations III
( 1 ) ()
1 1 1 1 u iJ i J iJ iJ
N iJ S iJ E i J W i J P iJ
−
( 1 ) ()
1 1 1 1 v Ij Ij Ij Ij
N Ij SiJ E I j W I j P Ij
−
1
( ) iJ +
u
1
( ) Ij +
v
39
Control Volume for u (e face) PIJ+
vIj
uiJ
PIJ ui+1J
vIj+
vI-1j
vI-1j+
uiJ-
ui-1J
equations for e face at IJ
⎥ ⎦
⎤ ⎟ ⎠
⎜ ⎞ ⎝
+⎛^ ρ +ρ
⎢ ⎣
⎡ ⎟ ⎠
⎞ ⎜ ⎝
⎛ ρ +ρ
= + =
−
iJ I J IJ
IJ I J i J
e l J iJ
u
u
F F F
2
2 2
1
2
1
(^11)
1
i i
e De (^) x − x
uiJ+
40
Control Volume for u (w face) PIJ+
vIj
uiJ
PIJ ui+1J
vIj+
vI-1j
vI-1j+
uiJ-
ui-1J
equations for w face at I-1J
⎥ ⎦
⎤ ⎟ ⎠
⎜ ⎞ ⎝
+⎛^ ρ +ρ
⎢ ⎣
⎡ ⎟ ⎠
⎞ ⎜ ⎝
⎛ ρ +ρ
= + =
−
− − −
−
iJ I J IJ
I J I J i J
w l J iJ
u
u
F F F
2
2 2
1
2
1
(^211)
1
1
1 −
− −
i i
I J Dw (^) x x
uiJ+
41
Control Volume for u (n face) PIJ+
vIj
uiJ
PIJ ui+1J
vIj+
vI-1j
vI-1j+
uiJ-
ui-1J
equations for n face at yj+
⎥ ⎦
⎤ ⎟ ⎠
⎞ ⎜ ⎝
⎛ ρ +ρ
⎢⎣
⎡ ⎟ + ⎠
⎜ ⎞ ⎝
⎛ ρ +ρ
=
=
− − + − +
−+
(^11111)
1 1
1 1 1
2
2 2
1
2
I J I J I j
Ij IJ IJ
Ij I j n
v
v
F F F
( (^) J J )
I J I J IJ IJ Dn (^) y − y
− − + + 1
1 1 1 1 4
uiJ+
42
Control Volume for u (s face) PIJ+
vIj
uiJ
PIJ ui+1J
vIj+
vI-1j
vI-1j+
uiJ-
ui-1J
equations for n face at yj+
⎥ ⎦
⎤ ⎟ ⎠
⎞ ⎜ ⎝
⎛ ρ +ρ
⎢⎣
⎡ ⎟ + ⎠
⎜ ⎞ ⎝
⎛ ρ +ρ
=
=
− − − −
−
−
(^1111)
1
1
2
2 2
1
2
I J I J I
Ij IJ IJ
Ij I j s
v
v
F F F
( 1 )
1 1 1 1 (^4) −
− − − − −
J J
I J I J IJ IJ Ds (^) y y
uiJ+
43
Where to Next