Professional Documents
Culture Documents
DYNAMICS
Tambient
d dT
kA hP T T 0
dx dx (1)
where: h: the convective heat transfer coefficient
P: the perimeter
k: the thermal conductivity of the material
T∞: the ambient temperature
2. Set up grid (node) with 5 points and generate control volume
TB = 1000C 1 2 3 4 5 q=0
δx/2 δx δx δx/2
W w P e E
d dT 2
n T T 0
dx dx (2)
© hvtinh97@gmail.com 1
ADVANCED COMPUTATIONAL FLUID DYNAMICS - HW#3
d dT
dx dx dV n2 T T dV 0
V
V
dT dT
A A n TP T A x 0
2
dx e dx w (3)
TE TP TP TW
x x n TP T x 0
2
1 1 1 1
TP TW TE n2 xT n2 xTP
x x x x (4)
Where:
aW aE aP SP Su
1/δx 1/δx aW + aE - SP -n2δx n2δxT∞
5 5 5 + 5 + 5 = 15 -5 5 . 20 = 100
TE TP TP TB
x x / 2 n TP T x 0
2
1 2 1 2T
n2 x TP TE n2 xT B
x x x x (5)
© hvtinh97@gmail.com 2
ADVANCED COMPUTATIONAL FLUID DYNAMICS - HW#3
Where:
aW aE aP SP Su
2 2
0 1/δx aW + aE - SP - n δx - (2/δx) n δxT∞ + (2TB/ δx)
0 5 0 + 5 + 15 = 20 - 5 - 10 = -15 5 . 20 + 10.100 = 1100
TP TW
0 x n TP T x 0
2
1 1
n2 x TP TW n2 xT
x x (6)
Where:
aW aE aP SP Su
2 2
1/δx 0 aW + aE - SP - n δx n δxT∞
5 0 5 + 0 + 5 = 10 -5 5 . 20 = 100
Hence: 10T5 = 5T4 + 100 (***)
From (*), (**) and (***):
5 15 5 0 0 T1 100
0 5 15 5
0 T2 100
0 0 5 15 5 T3 100
20 5 0 0 0 T4 1100
0 0 0 5 10 T5 100
© hvtinh97@gmail.com 3
ADVANCED COMPUTATIONAL FLUID DYNAMICS - HW#3
The resulting matrix equation can be solved with MATLAB software. Input
with this code:
T1 64.23
36.91
T2
T3 26.50
T4 22.60
T 21.30
5
Comparison the finite volume solution with analytical expression. The
maximum percentage error is around 6%. The analytical solution given by
T T cosh n L x
TB T cosh(nL) (7)
Table 1
Nod Finite volume Analytical
Distance Percentage error
e solution solution
1 0.1 64.23 68.52 6.27
2 0.3 36.91 37.86 2.51
3 0.5 26.50 26.61 0.41
4 0.7 22.60 22.53 -0.31
5 0.9 21.30 21.21 -0.42
© hvtinh97@gmail.com 4
ADVANCED COMPUTATIONAL FLUID DYNAMICS - HW#3
© hvtinh97@gmail.com 5
ADVANCED COMPUTATIONAL FLUID DYNAMICS - HW#3
BIBLIOGRAPHY
[1] H K Versteeg and W Malalasekera, 2007. An Introduction to Computational
Fluid Dynamics (The Finite Volume Method). Second Edition. Pearson Education
Limited.
© hvtinh97@gmail.com 6