Computational Fluid Dynamics : March 5
Computational Fluid Dynamics : March 5
Computational Fluid Dynamics : March 5
DYNAMICS (MKM411)
Prof. M. Sharifpur
mohsen.sharifpur@up.ac.za
March 5th
Department of Mechanical and Aeronautical Engineering
University of Pretoria
2019
Thursday Mach 7th (12:30-14:20)
Demonstrations on our licenced
CFD software packages (ANSYS
FLUENT, STAR CCM+ and
FLoEFD)
Registration for the software
packages will be after the
demonstrations
Finite Difference Method (FDM)
Computational Solution
Finding;
- Governing (Differential) Equations
- Initial & Boundary Conditions
Internal Nodes
Changing Differential Eqs. and
to Algebraic Eqs. Boundary Nodes
Differential Eqs.
Diff. Eqs. to
Algebraic Eqs.
Boundary Nodes
Boundary
Conditions
All sides
Q Egen,element 0
Algebraic equations instead of differential Eq.
For first order , , in the case of 1D d , d , d
x y z dx dy dz
df x f f x x f x
lim lim
dx x 0 x x 0 x
df x f x x f x
dx x
In the case of 3D
f ( x, y, z ) f ( x x, y, z ) f ( x, y, z )
x x
f ( x, y, z ) f ( x, y, z ) f ( x, y, z z ) f ( x, y, z )
?
z z z
d 2T ( x)
2
? for 1D
dx
d 2T ( x) T ( x x) 2T ( x) T ( x x)
dx 2
x 2
2T ( x, y, z )
?
y 2
2T ( x, y, z ) T ( x, y y, x) 2T ( x, y, z ) T ( x, y y, z )
y 2
y 2
Example:
Example: A chimney
Inside: Convection
Ti 300 oC , hi 70 W/m 2 .o C
Outside: TO , hO
Convection + Radiation
TO 20 oC , hO 21 W/m 2 .o C
Tsky
Tsky 260 K
Inside Flow Section:
20 cm x 20 cm TO , hO TO , hO
Ti , hi
Wall Thickness: 20 cm Tsky Tsky
if x y 10 cm
k 1.4 W/m. o C and 0.9
Using the advantage of TO , hO
symmetry to find:
Temp. at all Nodes by FDM Tsky
In the Representative Section:
How many internal nodes do we have?
Only one; Node 4
Therefore, Simplified by
using axis of symmetry
Simplified by using
axis of symmetry
Node 1
All sides
Q eVelement 0
Taking x y l
Node 2
All sides
Q eVelement 0
Taking x y l
x y
Node 4 : T3 T5 T7 T2 4T4 0
T
2 2T
2 T
T m 1,n Tm ,n 1 2Tm ,n Tm ,n 1
if e 0 k k T
em ,n 0
2 x 2 2 e 0
m 1, n m , n
x y y 2
Nodes 3,4 and 5 (Interior nodes)
Node 4 : T3 T5 T7 T2 4T4 0
Node 3 : T4 T4 T1 T6 4T3 0
Node 3 : 2T4 T1 T6 4T3 0
Node 5 : T4 T8 T4 T8 4T5 0
Node 5 : 2T8 2T4 4T5 0
Node 6
All sides
Q eVelement 0
Taking x y l
Nonlinear equation
(T6 273) 4
Node 7
All sides
Q eVelement 0
Taking x y l
Node 8
All sides
Q eVelement 0
Node 8
Node 9
All sides
Q eVelement 0
Taking x y l
Whenever we have radiation then the Temp.
must be in Kelvin for radiation part (T 273)
Tair = 20 ºC Tair = 20 ºC
300 ºC Tsky = -13 ºC
Tsky = -13 ºC
S 0 b0T1
Node 0 a0T0 b0T1 S 0 T0
a0
x y 10cm
All sides
Q eVelement 0
All sides
Q eVelement 0
How many terms must be included? 6 or 8
T8 T9 T14 T9 T10 T9
k y ( ) k x ( ) k y ( ) ht y 2(Tt T9 )
x y x
y 2(TSky
4
T94 ) Velement eelement 0
3
Velement x.y (1) 0.0075 m 3
4
eelement 10000( x y ) W 3 10000(2x 2y )
m
10000(0.2 0.2) 4000