Professional Documents
Culture Documents
T ( x m , t i ) 1 2 2 T ( x m , t i )
T ( x m , t i t ) T ( x m , ti ) t
t
t
2
t 2
The finite difference formulation of the time derivative at the same nodal point is expressed as
T ( xm , ti )
T ( xm , ti ) T ( xm , ti t ) T ( xm , ti ) Tmi1 Tmi
or T ( xm , ti t ) T ( xm , ti ) t
t
t
t
t
which resembles the Taylor series expansion terminated after the first two terms.
5-98
T ( xm , ti ) 1 2 2T ( xm , ti )
t
t
2
t 2
The finite difference formulation of the time derivative at the same nodal point is expressed as
T ( xm , ti )
T ( xm , ti ) T ( xm , ti t ) T ( xm , ti ) Tmi1 Tmi
or T ( xm , ti t ) T ( xm , ti ) t
t
t
t
t
which resembles the Taylor series expansion terminated after the first two terms. Therefore, the 3rd and
following terms in the Taylor series expansion represent the error involved in the finite difference
approximation. For a sufficiently small time step, these terms decay rapidly as the order of derivative
increases, and their contributions become smaller and smaller. The first term neglected in the Taylor series
expansion is proportional to ( t ) 2 , and thus the local discretization error is also proportional to ( t ) 2 .
the
The global discretization error is proportional to the step size to t itself since, at the worst case,
accumulated discretization error after I
time steps during a time period t0 is
5-99
Review Problems
5-106 Starting with an energy balance on a volume
element, the steady three-dimensional finite difference
equation for a general interior node in rectangular
coordinates for T(x, y, z) for the case of constant thermal
conductivity and uniform heat generation is to be obtained.
n+1
gxyz
m+1
go
z
r
m-1
r+1
y
x
Eelement
Q cond,left Q cond,top Q cond,right Q cond,bottom Q cond,front Q cond,back G element
0
t
for the steady case. Again assuming the temperatures between the adjacent nodes to vary linearly, the
energy balance relation above becomes
k ( y z )
Tm 1, n , r Tm ,n ,r
k ( y z )
k ( x y )
+ k ( x z )
Tm 1, n ,r Tm, n , r
x
Tm , n ,r 1 Tm, n , r
z
Tm, n 1, r Tm, n , r
y
+ k ( x z )
+ k ( x y )
Tm, n 1, r Tm ,n ,r
y
Tm, n , r 1 Tm, n , r
z
g 0 ( x y z ) 0
Tm 1, n , r 2Tm, n , r Tm 1, n , r
x
5-100
g 0 l 2
0
k
g 0 l 2
0
k
g 0
0
k
k (y z )
Tmi 1, n , r Tmi , n , r
+ k (x z )
x
Tmi , n 1, r
( x y 1)C
+ k (x z )
Tmi , n , r
n+1
m+1
z
r
m-1
y
x
Tmi , n 1, r Tmi , n , r
k ( x y )
r+1
y
Tmi , n , r 1
k ( y z )
Tmi , n , r
Tmi 1, n , r Tmi , n , r
+ k (x y )
x
Tmi , n , r 1
Tmi , n , r
Tmi , n1 Tmi , n
t
Taking a cubic mesh (x = y = z = l) and dividing each term by k gives, after simplifying,
where k / ( C ) is the thermal diffusivity of the material and t / l 2 is the dimensionless mesh
Fourier number. It can also be expressed in terms of the temperatures at the neighboring nodes in the
following easy-to-remember form:
i
i
i
i
i
i
i
Tleft
Ttop
Tright
Tbottom
Tfront
Tback
6Tnode
i 1
i
Tnode
Tnode
i 1
i
Discussion We note that setting Tnode
gives the steady finite difference formulation.
Tnode
5-101
4
A(Tsurr
T34 ) hA(T T3 ) kA
Q left
surface
Radiation
T0
Tsurr
Convection
h, T
T2 T3
g 3 ( Ax / 2) 0
x
kA
T1 T0
g 0 ( Ax / 2) 0
x
5-109 A plane wall with variable heat generation and variable thermal conductivity is subjected to
uniform heat flux q 0 and convection at the left (node 0) and radiation at the right boundary (node 2). The
explicit transient finite difference formulation of the problem using the energy balance approach method is
to be determined.
Assumptions 1 Heat transfer through the wall is given
to be transient, and the thermal conductivity and heat
generation to be variables. 2 Heat transfer is onedimensional since the plate is large relative to its
thickness. 3 Radiation from the left surface, and
convection from the right surface are negligible.
Convection
boundary
k 0i A
T1i
T0i
x
k1i A
Radiation
x
0
(node
x
C
2
T0i 1
T0i
T0i T1i
T i T1i
T i 1 T1i
k1i A 2
g 0i ( Ax) AxC 1
x
x
t
k 2i A
i 1
i
T1i T2i
x T2 T2
i
A[(Tsurr
273) 4 (T2i 273) 4 ] g 2i ( Ax / 2) A
C
x
2
t
5-102
Tsurr
q0
node
q 0 A hA(T T0i ) g 0i ( Ax / 2) A
g(x)
k(T)
h, T
0):
Convection
g(x)
k(T)
h, T
Radiation
x
0
Tsurr
q0
k 0i 1 A
i 1
i
T1i 1 T0i 1
x T0 T0
q 0 A hA(T T0i 1 ) g 0i 1 ( Ax / 2) A
C
x
2
t
Interior
k1i 1 A
T0i 1
T1i 1
x
k1i 1 A
T2i 1
node
(node
T1i 1
T1i 1
g 0i 1 ( Ax) AxC
1):
T1i
k 2i 1 A
i 1
i
T1i 1 T2i 1
x T2 T2
i 1
A[(Tsurr
273) 4 (T2i 1 273) 4 ] g 2i 1 ( Ax / 2) A
C
x
2
t
5-111 A pin fin with convection and radiation heat transfer from its tip is considered. The complete finite
difference formulation for the determination of nodal temperatures is to be obtained.
Assumptions 1 Heat transfer through the pin fin is given to be steady and one-dimensional, and the
thermal conductivity to be constant. 2 Convection heat transfer coefficient and emissivity are constant and
uniform.
Assumptions 1 Heat transfer through the wall is given to be steady and one-dimensional, and the thermal
conductivity and heat generation to be variable. 2 Convection heat transfer at the right surface is
negligible.
Analysis The nodal network consists of 3 nodes, and the base
temperature T0 at node 0 is specified. Therefore, there are two
unknowns T1 and T2, and we need two equations to determine
them. Using the energy balance approach and taking the
direction of all heat transfers to be towards the node under
consideration, the finite difference formulations become
Node 1 (at midpoint):
kA
h, T
0
Convection
Radiation
Tsurr
T0 T1
T T1
4
kA 2
h( px / 2)(T T1 ) A[Tsurr
(T1 273) 4 ] 0
x
x
kA
T1 T2
4
h( px / 2 A)(T T2 ) ( px / 2 A)[Tsurr
(T2 273) 4 ] 0
x
where A D 2 / 4
5-103
k ( y 1)
Tmi 1, n Tmi , n
x
+ k ( x 1)
Tmi , n 1 Tmi , n
y
g 0 (x y 1) (x y 1)C
Tmi , n1
k (y 1)
Tmi 1, n Tmi , n
x
+ k (x 1)
Tmi , n
t
Taking a square mesh (x = y = l) and dividing each term by k gives, after simplifying,
Tmi 1, n
Tmi 1, n
Tmi , n 1
Tmi , n 1
4Tmi , n
Tmi , n1 Tmi , n
g 0 l 2
where k / ( C ) is the thermal diffusivity of the material and t / l 2 is the dimensionless mesh
Fourier number. It can also be expressed in terms of the temperatures at the neighboring nodes in the
following easy-to-remember form:
i
i
i
i
i
Tleft
Ttop
Tright
Tbottom
4Tnode
i 1
i
g 0 l 2 Tnode
Tnode
i 1
i
Discussion We note that setting Tnode
gives the steady finite difference formulation.
Tnode
5-104
Tmi , n 1 Tmi , n
y
hA(T Tmi ) kA
Disk
Convection
h, T
m-1 m m+1
Tmi 1 Tmi
T i Tmi
T i 1 Tmi
+ kA m 1
g 0 Ax AxC m
x
x
t
Tmi 1
(2 hx /
k )Tmi
Tmi 1
g 0 x 2 (x ) 2
hx
(Tmi 1 Tmi )
k
k
t
where k / ( C ) is the thermal diffusivity of the wall material. Using the definition of the
t
dimensionless mesh Fourier number
the last equation reduces to
( x ) 2
Tmi 1
(2 hx /
k )Tmi
Tmi 1
g 0 x 2 Tmi 1 Tmi
hx
k
k
Discussion We note that setting Tmi 1 Tmi gives the steady finite difference formulation.
5-105
i
Convection
g m
x 2
i 1
i
i
i
Radiation
Tm (Tm 1 Tm 1 ) (1 2 )Tm
hi, Ti
The finite difference equations for nodes 1 and 6 subjected to convection and radiation are obtained from
an energy balance by taking the direction of all heat transfers to be towards the node under consideration:
Node 1 (convection) :
T2i T1i
x T1i 1 T1i
4
Twall
(T1i 273) 4
C
x
2
t
i
i
i
(T1 T3 ) (1 2 )T2
hi (Ti T1i ) k
Node 2 (interior) :
T2i 1
Node 3 (interior) :
Node 4 (interior) :
Node 5 (interior) :
Node 6 (convection) :
ho (T0 T6i ) k
i 1
i
T5i T6i
x T6 T6
4
Tsky
(T6i 273) 4
C
x
2
t
where k = 0.81 Btu/h.ft.F, k / C 7.4 10 6 ft 2 / s , Ti = 70F, Twall = 530 R, Tsky =445 R, hi = 0.9
Btu/h.ft2.F, ho = 2.1 Btu/h.ft 2.F, x = 1/12 ft, and t = 5 min. Also, To = 50F from 6 PM to 10 PM,
42F from 10 PM to 2 AM, and 38F from 2 AM to 6 AM. The mesh Fourier number is
t (7.4 10 6 ft 2 / s)(300s)
0.320
x 2
(1 / 12 ft ) 2
Substituting this value of and other given quantities, the inner and outer surface temperatures of the
roof after 12(60/5) = 144 time steps (12 h) are determined to be T1 = 54.75C and T6 = 40.18C
(b) The average temperature of the inner surface of the roof can be taken to be
T1 @ 6 PM T1 @ 6 AM 70 54.75
T1,ave
62.38 F
2
2
Then the average rate of heat loss through the roof that night is determined to be
4
i
4
Q
ave hi A(Ti T1, ave ) A T wall (T1 273)
5-106
g mi x 2 Tmi1 Tmi
i
g m
x 2
k
Node 0 can also be treated as an interior node by using the mirror image concept. The finite difference
equation for node 4 subjected to heat flux is obtained from an energy balance by taking the direction of all
heat transfers to be towards the node:
Node 0 (insulation) :
0 ( x ) 2 / k
T0i 1 (T1i T1i ) (1 2 )T0i g
Node 0 (insulation) :
1 ( x ) 2 / k
T1i 1 (T0i T 2i ) (1 2 )T1i g
Node 2 (interior) :
2 ( x ) 2 / k
T2i 1 (T1i T3i ) (1 2 )T 2i g
Node 3 (interior) :
3 ( x ) 2 / k
T3i 1 (T2i T 4i ) (1 2 )T3i g
Node 6 (convection) :
b k
q
T3i T 4i
T4i 1
x
4 ( x ) 2 / k
g
C
x
2
. 10 6 m 2 / s , x = 0.25
where k = 0.61 W/m.C, k / C 015
m, and t = 15 min = 900 s. Also, the mesh Fourier number is
t (015
. 10 6 m2 / s)(900 s)
2
0.002160
x
(0.25 m) 2
The values of heat generation rates at the nodal points
are determined as follows:
G 0
0.473 500 W
g 0
946 W/m 3
2
Volume
(1 m )(0.25 m)
Solar
radiation
0
1 Top layer
45
Solar pond
4 Bottom
layer
G1
[(0.473 0.061) / 2] 500 W
3
g 1
534
W/m
Volume
(1 m 2 )(0.25 m)
x
g 4
qs, W/m2
Black
G 4
0.024 500 W
48 W/m 3
2
Volume
(1 m )(0.25 m)
Also, the heat flux at the bottom surface is q b 0.379 500 W/m 2 4189.5 W/m 2 . Substituting
these values, the nodal temperatures in the pond after 4(60/15) = 16 time steps (4 h) are determined to be
T0 = 18.3C, T1 = 16.9C, T2 = 15.4C, T3 = 15.3C, and T4 = 20.2C.
5-107
g mi x 2 Tmi1 Tmi
i
i
i
Tm1 2Tm Tm1
4 Bottom
k
layer
Tmi 1 (Tmi 1 Tmi 1 ) (1 2 )Tmi
i
g m
x 2
k
Black
Node 0 can also be treated as an interior node by using the mirror image concept. The finite difference
equation for node 4 subjected to heat flux is obtained from an energy balance by taking the direction of all
heat transfers to be towards the node:
Node 0 (insulation) :
0 ( x ) 2 / k
T0i 1 (T1i T1i ) (1 2 )T0i g
Node 0 (insulation) :
1 ( x ) 2 / k
T1i 1 (T0i T 2i ) (1 2 )T1i g
Node 2 (interior) :
2 ( x ) 2 / k
T2i 1 (T1i T3i ) (1 2 )T 2i g
Node 3 (interior) :
3 ( x ) 2 / k
T3i 1 (T2i T 4i ) (1 2 )T3i g
Node 6 (convection) :
b k
q
T3i T 4i
T4i 1
x
4 ( x ) 2 / k
g
C
x
2
The absorption of solar radiation is given to be g ( x ) q s (0.859 3.415x 6.704 x 2 6.339 x 3 2.278 x 4 )
where q s is the solar flux incident on the surface of the pond in W/m 2, and x is the distance form the free
surface of the pond, in m. Then the values of heat generation rates at the nodal points are determined to be
Node
0
(x
=
0):
5-108
5-109
D
2
3
Analysis The nodal network of this problem consists of 5 nodes, and
4
the base temperature T0 at node 0 is specified. Therefore, there are 4
unknown nodal temperatures, and we need 4 equations to determine
them. Using the energy balance approach and taking the direction of
all heat transfers to be towards the node under consideration, the
explicit transient finite difference formulations become
T0 T1i
T2i T1i
T i 1 T1i
kA
kA
AxC 1
x
x
t
Node 1 (interior):
hpx(T T1i )
Node 2 (interior):
hpx(T T2i ) kA
T3i T2i
T i T2i
T i 1 T2i
kA 1
AxC 2
x
x
t
Node 3 (interior):
hpx(T T3i ) kA
T4i T3i
T i T3i
T i 1 T3i
kA 2
AxC 3
x
x
t
h( px / 2
T3i
i
A)(T T4 ) kA
T4i
T4i 1 T4i
A( x / 2)C
x
t
t (971
. 10 6 m 2 / s)(1s)
0.24275
x 2
(0.02 m) 2
Substituting these values, the nodal temperatures along the fin after 560 = 300 time steps (4 h) are
determined to be
T0 = 120C, T1 = 110.6C, T2 = 103.9C, T3 = 100.0C, and T4 = 98.5C.
Printing the temperatures after each time step and examining them, we observe that the nodal
temperatures stop changing after about 3.8 min. Thus we conclude that steady conditions are reached after
3.8 min.
5-110
= 1 and 2
qs
T0
x
0
Tm 1 2Tm Tm 1 g m
0 Tm 1 2Tm Tm 1 0
k
x 2
Tsurr
Radiation
(since g 0) , for m
The finite difference equation for node 3 on the right surface subjected to convection and solar heat flux is
obtained by applying an energy balance on the half volume element about node 3 and taking the direction
of all heat transfers to be towards the node under consideration:
Node 1 (interior) :
T0 2T1 T2 0
Node 2 (interior) :
T1 2T2 T3 0
4
s q s [Tspace
(T3 460) 4 ] k
T2 T3
0
x
where k = 1.2 Btu/h.ft.F, = 0.80, s = 0.45, q s 300 Btu / h.ft 2 , Tspace = 0 R, and = 0.1714
Btu/h.ft2.R 4 The system of 3 equations with 3 unknown temperatures constitute the finite difference
formulation of the problem.
(b) The nodal temperatures under steady conditions are determined by solving the 3 equations above
simultaneously with an equation solver to be
T1 = 62.4F = 522.4 R,
5-111
1
2
3
4
k
237 W/m C
2441 kW/m 3 C
97.1 10 6 m 2 / s
(970 kg/m 3 )(1.55 kJ/kg C) 1504 kW/m 3 C
( C p ) plate
( C p ) steak
Analysis The nodal spacing is given to be x = 0.005 m in the steaks, and r = 0.0375 m in the plate.
This problem involves 6 unknown nodal temperatures, and thus we need to have 6 equations. Nodes 2 and
3 are interior nodes in a plain wall, and thus for them we can use the general explicit finite difference
relation expressed as
Tmi1 2Tmi Tmi1
g mi x 2 Tmi1 Tmi
Tmi 1 (Tmi 1 Tmi 1 ) (1 2 )Tmi
The finite difference equations for other nodes are obtained from an energy balance by taking the direction
of all heat transfers to be towards the node under consideration:
Node
1:
T2i
T1i
x
( C ) steak
Node 2 (interior) :
Node 3 (interior) :
x
2
T1i 1
T1i
Node 4:
2
(r45
r42 ){h(T T4i ) plate [(T 273 ) 4 (T4i 273) 4 ]} k steak (r42 )
k plate (2r45 )
T3i T4i
x
T5i T4i
T i 1 T4i
2
[( C ) steak (r42 x / 2) ( C ) plate (r45
)] 4
r
t
Node 5:
T6i T5i
T i 1 T5i
( C ) plate (r52 )] 5
r
t
Node 6:
5-112
T5i T6i
T i 1 T6i
( C ) plate [2 (r56 r6 ) / 2]( r / 2) 6
r
t
3
3
where ( C p ) plate 2441 kW/m C, ( C p ) steak 1504 kW/m C,
. 10 6 m 2 / s ,
steak = 0.95, steak 0.93 10 6 m 2 / s , hif = 187 kJ/kg, kplate = 237 W/m.C, plate 971
and plate = 0.90, T = 20C, h =12 W/m2.C, = 0.01 m, x = 0.005 m, r = 0.0375 m, and t = 5 s.
Also, the mesh Fourier number for the steaks is
steak
t (0.93 10 6 m 2 / s)(5s)
0186
.
x 2
(0.005 m) 2
The various radii are r4 =0.075 m, r5 =0.1125 m, r6 =0.15 m, r45 = (0.075+0.1125)/2 m, and r56 =
(0.1125+0.15)/2 m.
The total amount of heat transfer needed to defrost the steaks is
msteak V (970 kg / m 3 )[ (0.075m) 2 (0.015 m)] 0.257 kg
Qtotal,steak Qsensible Qlatent (mCT ) steak (mhif ) steak
(0.257 kg)(1.55kJ / kg. C)[0 (18 C)] + (0.257 kg)(187kJ / kg) = 55.2kJ
The amount of heat transfer to the steak during a time step i is the sum of the heat transferred to the
steak directly from its top surface, and indirectly through the plate, and is expressed as
i
Qsteak
2r5 r{h(T T5i ) plate [(T 273 ) 4 (T5i 273) 4 ]}
The defrosting time is determined by finding the amount of heat transfer during each time step, and
adding them up until we obtain 55.2 kJ. Multiplying the number of time steps N by the time step t = 5 s
will give the defrosting time. In this case it is determined to be
tdefrost = Nt = 44(5 s) = 220 s
5-113
1
2
3
4
Analysis The nodal spacing is given to be x = 0.005 m in the steaks, and r = 0.0375 m in the plate.
This problem involves 6 unknown nodal temperatures, and thus we need to have 6 equations. Nodes 2 and
3 are interior nodes in a plain wall, and thus for them we can use the general explicit finite difference
relation expressed as
Tmi1 2Tmi Tmi1
g mi x 2 Tmi1 Tmi
Tmi 1 (Tmi 1 Tmi 1 ) (1 2 )Tmi
The finite difference equations for other nodes are obtained from an energy balance by taking the direction
of all heat transfers to be towards the node under consideration:
Node
1:
T2i
T1i
x
( C ) steak
Node 2 (interior) :
Node 3 (interior) :
x
2
T1i 1
T1i
Node 4:
2
(r45
r42 ){h(T
k plate (2r45 )
273 )
(T4i
273)
]} k steak (r42 )
T3i T4i
x
T5i T4i
T i 1 T4i
2
[( C ) steak (r42 x / 2) ( C ) plate (r45
)] 4
r
t
Node 5:
T6i T5i
T i 1 T5i
( C ) plate (r52 )] 5
r
t
Node 6:
5-114
T5i T6i
T i 1 T6i
( C ) plate [2 (r56 r6 ) / 2]( r / 2) 6
r
t
3
3
where ( C p ) plate 3439 kW/m C, ( C p ) steak 1504 kW/m C,
6
2
steak = 0.95, steak 0.93 10 6 m 2 / s , hif = 187 kJ/kg, kplate = 401 W/m.C, plate 117 10 m / s ,
and plate = 0.90, T = 20C, h =12 W/m2.C, = 0.01 m, x = 0.005 m, r = 0.0375 m, and t = 5 s.
Also, the mesh Fourier number for the steaks is
steak
t (0.93 10 6 m 2 / s)(5s)
0186
.
x 2
(0.005 m) 2
The various radii are r4 =0.075 m, r5 =0.1125 m, r6 =0.15 m, r45 = (0.075+0.1125)/2 m, and r56 =
(0.1125+0.15)/2 m.
The total amount of heat transfer needed to defrost the steaks is
msteak V (970 kg / m 3 )[ (0.075m) 2 (0.015 m)] 0.257 kg
Qtotal,steak Qsensible Qlatent (mCT ) steak (mhif ) steak
(0.257 kg)(1.55kJ / kg. C)[0 (18 C)] + (0.257 kg)(187kJ / kg) = 55.2kJ
The amount of heat transfer to the steak during a time step i is the sum of the heat transferred to the
steak directly from its top surface, and indirectly through the plate, and is expressed as
i
Qsteak
2r5 r{h(T T5i ) plate [(T 273 ) 4 (T5i 273) 4 ]}
The defrosting time is determined by finding the amount of heat transfer during each time step, and
adding them up until we obtain 55.2 kJ. Multiplying the number of time steps N by the time step t = 5 s
will give the defrosting time. In this case it is determined to be
tdefrost = Nt = 47(5 s) = 235 s
5-115