



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
These lectures slides are from course Computational Fluid Dynamics. This lecture was delivered by Larry Caretto. Some points from the lecture are: Transient Cfd, Conduction Equation, Ftcs, Crank-Nicholson Equations, Dufort Frankel, Von Neumann Stability, Convection Equation, Transient Convection Diffusion
Typology: Slides
1 / 7
This page cannot be seen from the preview
Don't miss anything!




Larry Caretto
Mechanical Engineering 692
2
3
presentations
4
n
x i
t
2
2
[( ) ] ( )
2 ( ) 2 1 12 2
1 2 O x x
T T T x
T O t and t
T T t
T
n i
n i
n i
n
i
n i
n i
n
i
Δ Δ
− = ∂
∂
∂
∂ (^) + −
5
( ) ( ) ( )
n i
n i
n i
n i
n i
n i
n i T fT T fT x
t T T x
t T 1 2 ( )
2 1 ( )
2 1 1 2 1 1
1 ⎟⎟ = + + − ⎠
⎞ ⎜⎜ ⎝
⎛
Δ
Δ
Δ = (^) + − + −
2
α
f f
1-2f
6
( ) ( )
n i
n i
n i
n
1
7
time steps with this method
2
1
2
2 2
1 2 2 1
1
[( )] [( )]
2
2
∂
∂
−
∂
∂
n
i
n i
n i
n i
n i
n
i x
T O t t
T T O t t
T T
t
T α
8
⎥
⎥
⎥
⎥
⎥
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎢
⎢
⎢
⎢
⎢
⎢
⎣
⎡
=
⎥
⎥
⎥
⎥
⎥
⎥
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎢
⎢
⎢
⎢
⎢
⎢
⎣
⎡
⎥
⎥
⎥
⎥
⎥
⎥
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎢
⎢
⎢
⎢
⎢
⎢
⎣
⎡
− −
− −
− −
− − −
− − −
− −
−
−
−
−
n N
n N
n N
n
n
n n
n N
n N
n
n
n
R fT
R
R
R
R fT
T
T
T
T
T
f f
f f
f f
f f f
f f f
f f
1
2
3
2
1 0
1 1
1 2
1 3
1 2
1 1
0 0 0 0 21
0 0 0 0 21
0 0 21 0 0
0 21 0 0
21 0 0 0
21 0 0 0 0
M
M M
M
L
L
M M M M O M M
L
L
L
[ ]
n i
n i
n i
n Ri = fT + 1 + T − 1 + 2 ( 1 − f ) T
9
n = 6 t = 0.003 0 141.46 177.47 298.2 397.
n = 5 t = 0.0025 0 56.79 252.91 334.12 422.
n = 4 t = 0.002 0 203.86 209.57 347.52 473.
n = 3 t = 0.0015 0 25.7 320.81 439.19 533.
n = 2 t = 0.001 0 352.75 305.27 440.73 599.
n = 1 t = 0.0005 0 -73.35 423.96 690.85 834.
n = 0 t = 0+ 0 1000 1000 1000 1000
t = 0 1000 1000 1000 1000 1000
x = 0 x = .01 x = .02 x = .03 x =.
i = 0 i = 1 i = 2 i = 3 i = 4
10
Error t = 0.0125 0 0.216 0.272 0.212 0.
Exact t = 0.0125 0 50.43 100.66 150.48 199.
n = 25 t = 0.0125 0 50.21 100.93 150.27 199.
n = 24 t = 0.012 0 51.73 102.36 153.78 203.
n = 23 t = 0.0115 0 52.22 105.35 156.49 208.
n = 22 t = 0.011 0 54.19 106.68 160.64 212.
n = 21 t = 0.0105 0 54.43 110.47 163.53 217.
n = 20 t = 0.01 0 57.1 111.53 168.52 222.
n = 19 t = 0.0095 0 56.86 116.5 171.59 228.
n = 18 t = 0.009 0 60.65 117 177.71 234.
x = 0 x = .01 x = .02 x = .03 x =.
i = 0 i = 1 i = 2 i = 3 i = 4
11
[( ) ] ( )
2 ( ) 2 2
1 1 1
1 1
1
2
(^112) O x x
T T T x
T O t and t
T T t
T (^) in in in
n
i
n i
n i
n
i
Δ Δ
− = ∂
∂
∂
∂ (^) ++ −+ +
[( ),( )] 0 ( )
(^2 ) 2
1 1 1
1 1
(^11)
2
(^12)
Δ Δ = Δ
− − Δ
∂
∂ − ∂
∂
−
O t x x
T T T
t
T T
x
T t
T
n i
n i
n i
n i
n i
n
i
n
i
α α
n i
n i
n i
n
−
1 1
1 1
12
(^1 12) ( 1 1 1 1 ) 2 ( 1 1 1 1 ) ( )
(^2) + −
−
−
−
− + − − = + − − Δ
Δ i n −^ in = Tin Tin Tin Tin fTin Tin Tin Tin x
t T T
α
( 1 + 2 f ) T (^) i n +^1 = Tin −^1 ( 1 − 2 f ) + 2 f ( T (^) in + 1 + Tin − 1 )
19
2
2
2
Δ
m
m
at
Unconditionally stable
20
n i
n i
n i
n n i
1 1 1
−
2 2
Δ
at
x
u c t
u
21
2
2
x x
c t ∂
∂ φ α
φ φ
n k
n k
n k
n k
n k
n k
n k x
t
x
ct φ φ φ
α φ φ φ φ 2 2
1 1 2 1 1
1
x
ct x i x
t G β m β m
α 1 2 2 1 cos sin Δ
ij i
j
j
i ij x
u
x
u τ μ +κ− μΔ δ ⎥
j i
ij
i j
j i j B x x
p
x
uu
t
u ρ
ρ ρ τ
∂
∂
∂
∂ =− ∂
∂
∂
∂
23
x
xj yj zj
j
j j j j
x x y z
p
z
wu
y
vu
x
uu
t
u
x
yx zx
xx
z
wu
y
vu
x
uu p
t
u
24
25
6
5
4
3
2
1
() 6
5
4
3
2
1
()
2 ( )
h
h
h
h
h
h
r
uB vB wB
e V
w
v
u
K
x y z
z
y
x
K
ρ
ρ
ρ
ρ
ρ
ρ
ρ
ρ
ρ
ρ
26
6
5
4
3
2
1
() ()
2 [ ( / 2 ) ]
e
e
e
e
e
e
uW j
u e V p u v w q
wu
uv
uu p
u
K x
K
xx xy xz x
xz
xy
xx
ρ
ρ τ τ τ
ρ τ
ρ τ
ρ τ
ρ
27
6
5
4
3
2
1
() ()
2
K y
K
yx yy yz y
yz
yy
yx
28
6
5
4
3
2
1
() ()
2 [ ( / 2 ) ]
g
g
g
g
g
g
wW j
w e V p u v w q
ww p
vw
uw
w
K z
K
zx zy zz z
zz
zy
zx
29
30
( )
1
() 6
2 4
2 3
2 2 2 1 1
5
1
4
1
3
1
2
1
e
w
v
u
37
∫
∫
Δ
Δ
+Δ
V
V
Pt t Pt
S dV x x y y
dV y
v
x
u
t
( )
, ,
φ φ μ
φ μ
ρφ ρφ ρφ ρφ
[( ) ( ) ]
( )
, ,
φ
N N S S E E W W P P
Pt t Pt
38
[ ( ) ( ) ]
( )
, ,
φ
N N S S E E W W P P
Pt t Pt
()
φ aN φ (^) N aS φ S aE φ E aW φ W aPtransient φ P Stransient
t
t
a a
Pt transient
Pt t P transient P Δ
,+ Δ () () , ,
ρ φ φ ρφ
39
40
41
42