Professional Documents
Culture Documents
10.1 INTRODUCTION
In previous chapters, the unknowns in the problem represented components of a vector
field. In a two-dimensional plate, for example, the unknown quantity is the vector field
u(x, y), where u is a (2 xl) displacement vector. On the other hand, quantities such as
temperature, pressure, and stream potentials are scalar in nature. In two-dimensional
steady-state heat conduction, for example, the temperature field T( x, y) is the unknown
to be determined.
In this chapter, the finite element method for solving such problems is discussed.
In Section 10.2, one-dimensional and two-dimensional steady-state heat conduction are
considered, as well as temperature distribution in fins. Section 10.3 deals with torsion of
solid shafts. Scalar field problems related to fluid flow, seepage, electric/magnetic fields,
and flow in ducts are defined in Section lOA.
The striking feature of scalar field problems is that they are to be found in almost
all branches of engineering and physics. Most of them can be viewed as special forms of
the general Helmholtz equation, given by
"-(k:4»
ax ax
+ "-(k, '4» + "-(k '4»
oy' ay az az Z
+ A4> + Q = 0 (\0.1)
together with boundary conditions on ljJ and its derivatives. In the Eq.l0.l,ljJ = ljJ(x, y, z)
is the field variable that is to be determined. Table 10.1 lists some of the engineering
problems described by Eq. 10.1. For example, if we set ljJ = T, k, = ky = k, and A -= 0
and consider only x and y, we get a2T jax 2 + o2T ;oy2 + Q = 0, which describes the heat-
conduction problem for temperature T, where k is the thermal conductivity and Q is
the heat source/sink. Mathematically, we can develop the finite element method for var-
ious field problems in a general manner by considering Eq.10.1. The solution to specif-
ic problems can then be obtained by suitable definition of variables. We discuss here the
heat-transfer and torsion problems in some detail. These are important in themselves,
because they provide us an opportunity to understand the physical problem and how to
handle different boundary conditions needed for modeling. Once the steps are under·
stood, extension to other areas in engineering should present no difficulty. While in other
chapters. both energy and Galerkin approaches were used to derive element matrice, by
Galerkin's approach is used here owing to its greater generality for field problems.
. 306
II...J
.
.
,
:
,
r . ~
Potential flow
(~J + ~y~-) = 0 Stream function. '" VI = ",,0
Acoustics ii P ill
(- +iJyl
p)
- +k1 p=O Pressure p Wave number,
ilXl p = Po,
(complex) k~ = &i;c 1
I 'P
---= "0
ikpc iln
~
-------------------------------------------------------------------------------------.
q ~
aT
-k- (10.2)
, ay
-- material property.
In convection heat transfer, there is transfer of energy between a fluid and a solid
surface as a result of a temperature difference. There can be free or natural convection,
such as the circulation pattern set up while boiling water in a kettle due to hot water ris-
ing and cooler water moving down, or there can be forced convection, such as when the
fluid flow is caused by a fan. The governing equation is of the form
q ~ h(T, - Toc) (103)
where q is the convective heat flux (W/m2), h is the convection heat-transfer coefficient
or film coefficient (W/m 2 • QC), and T, and Too are the surface and fluid temperatures,
respectively. The film coefficient h is a property of the flow and depends on various fac-
tor~ such as whether convection is natural or forced, whether the flow is laminar or tur-
bulent, the type of fluid, and the geometry of the body.
In addition to conduction and convection, heat transfer can also oIXur in the form
of thermal radiation. The radiation heat flux is proportional to the fourth power of the
Isotherm
FIGURE 10.1 Heat flux in two dimensions.
Section 10.2 Steady-State Heat Transfer 309
absolute temperature, which causes the problem to be nonlinear. This mode of heat
transfer is not considered here.
qA + QA dx = ( q + ~: dx )A (10.4)
l<fi Right
WaH
face
'\ v face
Heatflowq
-
qA
~A £t:
-
z~q+ dq )
dx dxA
-x
uft RIght
face face
• ·1· d'1
FIGURE 10.2 One-dimensional heat conduction.
~-----------------.
Galerkin's approach for heat conduction The element matrices will now be
derived using Galerkin's approach. The problem is
:x(k~)+Q~O
TI"o ~ To ql", ~ h(T,. - Too) (10.15)
(10.16)
for every ~ constructed from the same basis functions as those of T, with ¢J(O) = o.
<p can be thought of as a virtual temperature change that is consistent with boundary con-
ditions. Thus, cP = 0, where T is specified. Integrating the first term by parts, we have
dTi" -
</>k-
dx o
l' 0
kd</>
- -dT
dxdx
dx + l'
0
</>Qdx ~ 0 (10.17)
Now,
</>k dTi'
dx 0 ~ -</>(L)h(T, - Too) (10.18b)
Thus,Eq.1O.17 becomes
-</>(L)h(T,. - Too) -
l'
o
kd</>
- -dT
dxdx
dx + l'
0
</>Qdx ~ 0 (10.19)
We now use the isoparametric relations T = Nr, etc., defined in Eqs. 10.11-10.14. Fur-
ther, a global virtual-temperature vector is denoted as 'Ii' = ['1'1' '1'2' ... , 'I' I.lr. and the
test function within each element is interpolated as
</> ~ N'i' (10.20)
(10.21)
which should be satisfied for all "¥ with "¥ I = O. The global matrices KT and Rare
assembled from element matrices kT and rQ, as given in
rQ
_Q,t,{I}
-~-
2 1
(10.25)
When each "¥ is chosen in tum as [0, 1,0, ... ,oy, [0,0,1,0, ... , oy, ... , [0,0, ... ,0,1]T
and since T, = To, then Eq. 10.23 yields
~:: ~) [~:
][ ) [~::~) (10.26)
(KLL + h) iL = ~RL + hT=) - KL:1To
We observe that Eq.1O.26 can be solved for T2 , T3 , • •• , TL. We thus note that the Galerkin
approach naturally leads to the elimination approach for handling nonzero specified
temperature T = To at node 1. However, it is also possible to develop Galerkin's method
with a penalty approach to handle Tl = To. In this case, the equations are as given by
(K" + C) K"
K21 Kn K"
K2L ][ T,T2 ) [(R'
R2 + C7;,) )
(10.27)
[
KLl Ku ... ;K + h) ;,. ~ iR, + hT~)
H
Example 10.1
A composite wall consists of three materials, as shown in Fig. EIO.1a. The outer tempera-
ture is To = 20°C. Convection heat transfer takes place on the inner surface of the waJl with
Tx = 8(XjQC and h = 25 W1m! . dc. Detennine the temperature distribution in the wall.
kl = 2OWlm"e
k, = 30Wfm¢ e
k; = 50Wfmoe
25Wfm 2a C
, h" =
T~ = &XJoe
·IO.l5~lo.15;1
(,)
ttt T!-ll~-;(i)~l:--!;l-0"'2~;"""'0~;4
h, Toc
=20°C
(h)
FIGURE E10.1
---------------------------------------.
314 Chapter 10 Scalar Field Problems
Solution A three-element finite element model of the wall is shown in Fig. ElO.lb. The
element conductivity matrices are
(3)_~[
kr - 0.15 -1
1 -1] 1
-1 1 -14 -30 OJ
0
K = 66.7
[o0 -3
0 -5
8-5
5
Now,since convection occurs at node 1, the constant h = 25 is added to the (1,1) location
of K. This results in
K=66.7
1.3-175 -14 -3° OJ0
[ oo -30 -58-55
Since no heat generation Q occurs in this problem, the heat rate vector R consists only of
hToc in the first row. That is.
R = [25 X 800, 0, 0, Op
°
-3
8 -5
0l{r,} { 25 x800}
0 T2
T,
_
-
0
0
-5 80005 T4 10672 x 104
The solution is
Comment. The boundary condition T4 = 20u e can also be handled bv the elimination
approach. The fourth row and column of K is deleted. and R is modi'fied according to
Eq. 3.70. The resulting equations are
·""
•
Heat flux boundary condition Certain physical situations are modeled using
the boundary condition
atx = 0 (10.28)
where qo is a specified heat flux on the boundary. If q = 0, then the surface is perfectly
insulated. A nonzero value of qo occurs, for example, due to an electrical heater or pad
where one face is in contact with the wall and the other face is insulated. It is important
to note that the input heat flux qo has a sign convention associated with it: q() is input as
a positive value if heat is flowing out of the body and as a negative value if heat is flow-
ing into the body. The boundary condition in Eq. 10.28 is handled by adding ( -qo) to the
heat rate vector. The resulting equations are
(10.29)
The sign convention for specified heat flux given in Eq. 10.29 is clear if we consider the
heat transfer occurring at a boundary. Let n be the outward normal (in 1-D problems,
n = +x or - x). The heat flow in the body towards the +n direction is q = -k iJT/an,
where iJT/an < O. Thus, q is> 0 and since this heat flows out of the body. we have the
boundary condition q = qo with the stated sign convention.
Example 10,2
1
Heat is generated in a large plate (k = 0.8 W/m' cC) at the rale of 4000 W/m· • The plate
is 25 cm thick. The out~ide surfaces of the plate are exposed to ambient air at JOT with a
convective heat-transfer coefficient of 20 W/m" °C Detcnnine the temperature distribu·
tion in the wall.
Solution The prohlem is symmetric about the centerline of the plate. A two·element finite
clement model is shown in Fig. EI0.2. The left end is in~ulated (q = 0) because no heat can
flow across a line of symmetry. Noting that k/f = O.R '.0625 = 12.8. we have
~~---------------------------------------------------.
316 Chapter 10 Scalar Field Problems
I,
I Q = 4000Wlm3
q"'O---il ; ; ttt
h. T~
~6.25Cm+6.25Cm-l
k'" O.8W/m"C
h = 20W/m 2°C
T" = 30"C
fIGURE El0.2
12.8 ~ 12.8
K= -12.8 25.6 o
-12.8 ]
[
o -12.8 (12.8 + 20)
The heat rate vector is assembled from the heat source (Eq. 10.25) as well as due to
convection as
In concluding I-D heat conduction, we note that all element matrices described earlier were
derived using Galerkin's approach. It is also possible to derive these matrices using an
energy approach based on minimizing the functional
nT =
[" (dT)' dx - 10[" QTdx + ~h(TL - Toof
)0 ~k dx (!OJO) •
d( dT) + Q = 0
-
dx
k-
dx
,
Heat dissipation
c::::::::>
Hot gases
Convection
heat loss
The convection heat loss in the fin can be considered as a negative heat source
(P dx)h(T - T~)
Ph
~ --(T - T~) (10.31)
A,
where P = perimeter of fin and Ac = area of cross section. Thus, the governing
equation is
-
!«~) ~>T - T~) ~ 0 (10.32)
We present our analysis for the case when the base of the fin is held at To and the tip of
the fin is insulated (heat going out of the tip is negligible). The boundary conditions are
then given by
atx = 0 (10.33.)
atx = L (ID.33b)
The finite element method: Galerkin approach The element matrices and
heat-rate vectors for solving Eg. 10.32 with the boundary conditions in Eqs.I0.33 will
now be developed. GaJerkin's approach is attractive since we do not have to set up the
functional that is to be minimized. Element matrices can be derived directly from the dif-
ferential equation. Let cp(x) be any function satisfying cp(O) = 0 using same basis as T.
We require that
ior' ¢[~(k
dx
dT)
dx
_ Ph (T - Too)] dx
Ac
~0 (10.34)
(10.36)
We define
h, ~ _ -'
Ph<
Ac 2
l'
-1
NTNdg ~ Ph C, 2 I]
Ac 6 1
[ 2
(10.37.)
L..I
Section 10.2 Steady-State Heat Transfer 319
h ~ he,[2
3, 1 2
T
I] (1O.37b)
and
(10.380)
or
r
00
~ hToof,
1
{I}1 (10.38b)
KuTo
which can be solved for T. These equations incorporate the elimination approach for han-
dling the boundary condition T = To. Other types of boundary conditions as discussed •! I
for heat conduction can also be considered for fin problems. ,, '
'
Example 10.3
A metallic fin, with thermal conductivity k = 360 W1m' °C, 0.1 em thick, and 10 em long,
extends from a plane wan whose temperature is 235"C Determine the temperature distri-
bution and amount of heat transferred from the fin to the air at 20"C with h = 9 W1m2. "c.
I
Take the width of fin to be 1 m.
Solution Assume that the tip of the fin is insulated. Using a three-element finite ele-
ment model (Fig. ElO.3) and assembling K T , H r , R", as given previously, we find that
Eq. 10040 yields
2 -1
360 -1 2
3.33 x 10 2[ 0-1
[
320 Chapter 10 Scalar Field Problems
!i---------2!.---------3~·--------;4Ir_q=O
Tl = 235rl:~C______~3t x3 = lOcm--------~.1
I=O.lcm
w=lm
k=360W/moC
FIGURE El0.3
The solution is
[T" T" T,] ~ [209.8. 195.2. 190.5]'C
The total heat loss in the fin can now be computed as
I y
I I
I
I
I
I
I
I
1
I I
I I
I I
I I
I I
I I
I I Section a~a
,
I
I :,
FIGURE 10.7 Two·dimensional model for heat conduction in a chimney.
Section 10.2 Steady-State Heat Transfer 321
q,
dy oQ
1
1-""
.;:::
____--r-'" ,,'
S<:qn=h(T-T,J
A ttt
The triangular element The triangular element (Ftg.10.10) will be used to solve
the heat -conduction problem. Extension to quadrilateral or other isoparameteric ele-
ments follows in a similar manner as discussed earlier for stress analysis.
Consider a constant length of the body perpendicular to the x, y plane. The tem-
perature field within an element is given by
T = NITj + N2T2 + N3T.~
or (10.44)
T = NT'
whereN = [t", TJ, 1- g -1J]aretheelemenHhapefunctionsandr = [T j , Tl , T,(
Referring to Chapter 5, we also have
x = Njxj + N2x2 + N3XJ
Y = NjYl + N2 yz + N1J':l (10,45)
• T(x. y)
{=O~l~
Y e= 1
Lx
FIGURE 10.10 The linear triangular element for scalar field problems.
. .,.
323
•
aT
~~~~+~-
aTax aTay
a~ ax a~ ay a~
aT aTax aTay
~~~-+~- (10.46)
a'rJ ax d1j ay d1j
or
(10.47)
-Yn][10 01 -I]
Xl3 -I
T' (10.49b)
~~) ~ Br T'
where
! aT
ay
(10.50)
(10.51.)
(1O.5Ib)
-a
ax
(aT)
k~
ax
+ -a ( aT) + Q
By oy
k~ ~ 0 (10.52)
(10.54)
for every ~(x, y) constructed from the same basis functions as those used for T and sat-
isfying cP = 0 on ST_ Noting that
q,~(k'T) ~ ~(q,k'T)
oX ax oX oX
_k,q,'T
oX ax
we find that Eq.l0.54 gives
+ 11 q,QdA ~O (10.55)
- From the notation q" = -k(aTjax) and q, = -k(aTjay), and the divergence theorem,
the first term in Eq.l0.55 above is
where nx and ny are the direction cosines of the unit normal n to the boundary and
qn = q,n x + qyny = q' n is the normal heat flow along the unit outward normal, which
is specified by boundary conditions. Since S = ST + Sq + S,., cP = 0 on S]" q" = qo on
Sq, and qn = h(T - Tx) on Sc> Eq.1O.55 reduces to
Now, we introduce the isoparametric relations for the triangular element such as
T = NT", given in Eqs.l0.47-10.55. Further, we denote the global virtual-temperature
vector as 'It whose dimension equals number of nodes in the fittite element model. The
virtual temperature distribution within each element is interpolated as
q, ~ N", (10.580)
Moreover, just as [aTjax arjay]T = Bl'T~, we have
71=0
1)=1
1~ 2
~ = 1 ~=O
FIGURE 10.11 Specified heat flux boundary conduction on edge 2-3 of a triangular element.
r
JS q
q,q"dS ~ 2: ",Tq"NT dS
e
(10.59)
If edge 2-3 is on the boundary (Fig. 10.11), we have N = [0, 1'/, 1 - 1'/J dS = C2 _3 d1'/,
and it follows that I
where
1 1JT (10.61)
Next, consider
(10.62.)
hT ~ hf'.T[~ ~ ~]
6 0 1 2
(10.63)
1 1 J' (10.64)
326 Chapter 10 Scalar Field Problems
Next,
~ ",TkTT' (10.65c)
where
T
kr = krAeBTBr (10.66)
Finally, if Q = Qe is constant within the element,
11]' (10.67)
Other distributions of Q within the element are considered in the exercises at the end
of this chapter. Thus, Eq. 10.57 is of the fonn
(10.68)
or
'i"(R oc - R, + RQ) - 'i'T(H, + K,)T ~ 0 (10.69)
which is to hold for a111'" satisfying..p = 0 at nodes on S1 . We thus obtain
KETE = RE (10.70)
where K = LAk r + h t ), R = LAr"<C - rq + rQ)' and superscript E represents ~he
familiar modifications made to K and R to handle T = To on Sr by the eliminatlon
approach. Alternatively, the Penalty approach can also be used to handle T = To.
Example 10.4
A long bar of rectangular cross section, having thermal conductivity of 1.5 Wjm °C is sub-
jected to the boundary conditions shown in Fig. ElO.4a. Two opposite sides are maintained
at a uniform temperature of 180°C; one side is insulated, and the remaining side is subjected
to a convection process with T ~ = 25°C and h = 50 W jm 2 • 0c. Determine the tempera-
ture distribution in the bar.
Solution A five-node, three-element finite element model of the problem is shown in
Fig. ElOAb, where symmetry about the horizontal axis is used. Note that the line of sym-
mctry is shown as insulated, since no heat can flow across it.
~I
-"
Section 10.2
T= 180°C
Steady-State Heat Transfer 327
•
I
T
O.6m k = 1.5W/m"C
!!!
h ~50 Wlm'"C
T" = 25"C
-
~04m~
T = 180"C
(.)
J T= 180°C
4
(I)
(I)
3
~
III 03m
CD h, T~ 1
'X
1 2
q=O
04m---1
(b)
FIGURE El0.4
The element matrices are developed as follows. The element connectivity is defined
as in the following table:
Element 2 3 <-local
1 1 2 3 1
2 5 1 3 global
3 5 4 3 j
We have
B _ _l_[Y2-1
T - det J X32
Y.11
X13
Yl']
X:l
~
I
I[
I !I
,
I
I'
' 328 Chapter 10 Scalar Field Problems
i
For each element,
~.4]
(1) 1 [-0.15 0.15
Dr = 0.06 0 -0.4
~.3J
(2) 1 [-0.15 -0.15
Dr = 0.12 0.4 -0.4
~.41
(3) _ 2[0.15 -0.15
B]" - 0.06 0 -0.4
Then, kr = kAeB~BT yields
ktl) =
,
(1.5)(O.03)BV)'BV)
2 3
~
-~O ]
[ 0.28125 -0.28125
-0.28125 2.28125
-2.0
0
5 , 2.0
3
1'1 _ [ 1.14 -0.86 -0.28125]
kT - -0.86 1.14 -0.28125
- k''I
T
~ [
-0.28125
5
0.28125
-0.28125
-0.28125
4
-0.28125
2.28125
0.5625
3
-~o ]
0 -2.0 2.0
Now the matrices hT for elements with convection edges are developed. Since both ele-
ments 1 and 3 have edges 2-3 (in local node numbers) as convection edges, the formula
h,~h"'[~
0
~.25]
0
2.5 2.5
1.25 2.5 1.25 2.5
The matrixK = ~(kl + h r ) is now assembled. The elimination approach for handling the
boundary conditions T = 180 e at nodes 4 and 5 results in striking out these rows and
0
columns. However, these fourth and fifth rows are used subsequently for modifying the R
vector. The result is
, 2 3
K ~ [ 1.42125 -0.28125 -0.28125]
-0.28125 4.78125 -0.75
-0.28125 -0.75 9.5625
Now the heat-rate vector R is assembled from element convection contributions. The formula
.'f
Section 10.2 Steady-State Heat Transfer 329
= hTJ2_3 [0 1 lJ
" 2
results in
1 2 3
,~I ~ (50)(27(0.15) [0 1
'1
ond
4 3
(50)(25)(0.15) (
r~) =
2 0 1 1 I
Thus,
1 2 3
R ~ 93.75[0 1 2]'
It is also noted that a thermal-stress analysis can now be perfonned once the tem-
perature distribution is known, as discussed in Chapter 5.
Two-Dimensional Fins
In Fig. 10.12a, a thin plate is receiving heat from a pipe and then dissipating it to the
surrounding media (air) by convection. We may assume that the temperature gradients
are negligible in the z direction. Thus, the problem is two-dimensional. Our interest is
to detcrmine the temperature distribution T(x, y) in the plate. The plate is the fin here.
Considering a differential area dA, the convection heat loss from both lateral surfaces
of the fin is 2h(T - T"",) dA. Treating this heat loss as a negative heat source per unit vol-
ume, Q =: -2h(T - TYo)/t. where t =: thickness of the plate. Equation 10.43 yields the
differential equation for two-dimensional fins. namely.
'--(kaT)
ax ax
+ '--(kaT) _C(T - T~) + Q ~ 0
Ely Ely
(10.71)
Convection
- x •
..... Hot
gas, Tg
T(r,y)
(,j
y
pin fin
h pin hn
- t23 ,--
t23
,
, --,'
-
' x
Heat source
(bj
respectively.
property." The only thing that remains is the heat flux and convection boundary condi-
tions along the edges; for this, simply edit the data file that you have created and enter
this information as per the format of Example 10.4 that has been provided at the end
of this chapter. Note that in heat conduction each node has only one degree of freedom.
: :
10.3 TORSION
Consider a prismatic rod of arbitrary cross-sectional shape, which is subjected to a twist-
ing moment M as shown in Fig.lO.13. The problem is to determine shearing stresses T.tZ
and T y<: (Fig. 10.14) and the angle of twist per unit length, a. It can be shown that the so-
lution of such problems, with simply connected cross sections, reduces to solving the
two-dimensional equation
inA (10.73)
onS (10.74)
where A is interior and S is the boundary of the cross section. Again, we note that
Eq.l0.73 is a special case of Helmholtz's equations given in Eq. 10.1. In Eq. 10.74, 9 is ,!
called the stress function, since once 9 is known, then shearing stresses are obtained as
oe = -Ga-
ae (10.75)
Txz = Ga~ T.
ax
oy y-
where G is the shear modulus of the material. The finite element method for solving
Eqs.l0.73 and 10.74 will now be given.
r x