Heat Transfer PDF
Heat Transfer PDF
By Tien-Mo Shih
The University of Maryland, College Park
Bassim Hamadeh, Publisher
Christopher Foster, Vice President
Michael Simpson, Vice President of Acquisitions
Jessica Knott, Managing Editor
Stephen Milano, Creative Director
Kevin Fahey, Cognella Marketing Program Manager
Melissa Barcomb, Acquisitions Editor
Sarah Wheeler, Project Editor
Erin Escobar, Licensing Associate
Copyright 2012 by University Readers, Inc. All rights reserved. No part of this pub-
lication may be reprinted, reproduced, transmitted, or utilized in any form or by any
electronic, mechanical, or other means, now known or hereafter invented, including
photocopying, microfilming, and recording, or in any information retrieval system
without the written permission of University Readers, Inc.
First published in the United States of America in 2012 by University Readers, Inc.
15 14 13 12 11 12345
ISBN: 978-1-60927-544-0
Dedication
T o my w ife, Ti ngti ng Z hu, whos e l ov e a n d ve g e ta ri a n c o o k i n g a re th e p ri m a ry
dri v i ng force of thi s w ri ti n g e n d e a vo r.
Contents
Preface xix
4. Discussions 41
4-1 Radiation Boundary Condition 41
4-2 Sketch the Trends and Check our Speculations
with Running the Matlab Code 42
4-3 Check the Global Energy Balance 43
5. Summary 43
6. References 43
7. Exercise Problems 43
8. Appendix: A Matlab Code for Optimization 44
2. Formal Analyses 51
2-1 Governing Equation 51
2-2 A Standard Matlab Code Solving T(x) and qb for a Fin 51
2-3 Equivalent Governing Differential Equation 52
4. Summary 72
5. References 73
6. Exercise Problems 73
7. Appendix 74
A-1 Gauss-Seidel Method 74
A-2 A Standard 2-D Steady State Code 75
A-3 Optimization Problem in the Cylindrical Coordinates 77
8. Summary 120
9. References 120
10. Exercise Problems 120
11. Appendix 121
A-1 A Standard Transient 2-D Code for Readers to Modify 121
A-2. Investigation of Transient 1-D Heat Conduction for a Steel Column 122
A-3. Investigation of Transient 2-D Heat Conduction for the Concrete Column 123
Lesson 10: Forced-Convection External Flows (I) 125
1. Soup-Blowing Problem 125
2. Boundary- Layer Flows 128
3. A Cubic Velocity Prole 130
31 Determine the coefficients 130
3-2 Application of Eq. (3) 131
4. Summary 133
5. References 133
6. Exercise Problems 133
7. Appendix: Momentum Balance over an Integral Segment 136
3. The Main Difference Between Free Convection and Forced Convection 214
4. How Does Gr Number Arise? 215
5. T and in Free Convection 216
6. A Four-Cell Buoyancy-Driven Flow in a Square Enclosure 217
6-1 Description 217
6-2 Derivation of Governing Equations 218
6-3 Discussions of the Result 219
7. Does Lighting a Fire in Fireplace Gain Net Energy for the House? 219
7-1 Governing Equations 220
7-2 Nomenclature in the Code 220
7-3 Matlab Code 220
7. Summary 246
8. References 246
9. Exercise Problems 247
Heat Transfer: Lessons with Examples Solved by Matlab instructs students in heat
transfer, and cultivates independent and logical thinking ability. The book focuses on
fundamental concepts in heat transfer and can be used in courses in Heat Transfer, Heat
and Mass Transfer, and Transport Processes. It uses numerical examples and equation
solving to clarify complex, abstract concepts such as Kirchhoff s Law in Radiation.
Heat Transfer is an ideal text for students of mechanical, chemical, and aerospace
engineering. It can also be used in programs for civil and electrical engineering, and
physics. Rather than simply training students to be technicians, Heat Transfer uses
clear examples, structured exercises and application activities that train students to be
engineers. The book encourages independent and logical thinking, and gives students
the skills needed to master complex, technical subject matter.
Tien-Mo Shih received his Ph.D. from the University of California, Berkeley, and did
his post-doctoral work at Harvard University. From 1978 until his retirement in 2011 he
was an Associate Professor of Mechanical Engineering at the University of Maryland,
College Park, where he taught courses in thermo-sciences and numerical methods. He
remains active in research in these same areas. His book, Numerical Heat Transfer, was
Preface | xix
translated into Russian and Chinese, and subsequently published by both the Russian
Academy of Sciences and the Chinese Academy of Sciences. He has published numer-
ous research papers, and has been invited regularly to write survey papers for Numerical
Heat Transfer Journal since 1980s.
I n the very first lesson of this textbook, we will attempt to describe what the subject
of heat transfer is and why it is important to us. In addition, three modes of heat
transfernamely, conduction, convection, and radiationwill be briefly explained.
The structure of this textbook is outlined.
Nomenclature
cv = specific heat, J/kg-K
Q = heat transfer, J
q = heat flow rate or heat transfer rate, W
q = heat flux, W/m2
T = temperature, in C or K (only when radiation is involved, we use K).
U = internal energy of a control volume, J
V = volume of the piston-cylinder system, m3
On one occasion the author overheard a casual conversation between two students:
How did you like your heat transfer course last semester?
Well, it is OK, I guess; it is kind of old.
Lesson 1 | 1
1-1 Partially True
The students remark may be partially true. The subject of heat transfer is at least as
old as when Nicolas Carnot designed his Carnot engine in 1824, where Q, the heat
transfer in Joules, was needed for interactions between the piston-cylinder system and
the reservoirs during expansion and compression isothermal processes.
Because it is an old subject, and because the course has been traditional, many
textbooks include solution procedures that were used in old times before computers
were invented or not yet available to the general public. A notable example is Separation
of Variables, a way to solve partial differential equations. Without computers, highly
ingenious mathematical theories, assumptions, and formulations must be introduced.
Eigenvalues and Fouriers series are also included. Students are overwhelmed with such
great amount of math. It is no wonder they feel bored.
Today, with the advent of computers and associated numerical methods, not only
can these equations be solved using simple numerical methods, but also the problems
no longer need to be highly idealized to fit the restrictions imposed by the Separation
of Variables. In the authors opinion, this subject of Separation of Variables may not
belong to textbooks that are supposed to deliver heat transfer knowledge within a short
semester. At most, it should be moved to appendices, or taught in a separate math-
related course.
1-2 Modifications
On the other hand, an old subject can be different from old people, whom young college
students love, but may feel bored to play with. For example, history is an old subject.
It can become either dull or interesting depending on the materials presented. Some
possible modifications can be made for the old subject, like heat transfer, as suggested
below:
2-1 Definition
(a) It consists of three sub-topics: Conduction,
Convection, and Radiation.
(b) It contains information regarding how energy is
transferred from places to places or objects to ob-
jects, how much the quantity of this energy is, the
methods of finding this quantity, and associated
discussions.
(c) In slightly more details, we may state that the
subject is for us to attempt to find temperature
(T) distributions and histories in a system. We can
further imagine that, as soon as we have found
T(x, y, z, t), then we are home. At home, we get to
do things very leisurely and conveniently, such as
lying on the couch, watching TV, and fetching a can of beer from the refrigerator.
Similarly, after having found T(x, y, z, t), we can find other quantities related to
energy (or heat) transfer at our leisure and convenience. Therefore, let us keep in
mind that finding T(x, y, z, t) is the key in the subject of heat transfer.
U = Q + W, (1)
where Q and W denote heat transfer flowing into the system, and work done to the
system, respectively. For an ideal gas inside a piston-cylinder system undergoing an
isothermal process,
U = mcv(T2-T1) = 0,
Lesson 1 | 3
and
W = -mRT ln(V2/V1).
Therefore,
Q = mRT ln(V2 /V1). (2)
Derivation of Eq. (2) dictates that Q be found based on the first law. In other words,
the first law is already consumed by our desire to find Q. It cannot be re-used to find
other quantities.
The subject of heat transfer is to teach us how to find Q from a different resource.
The relationship between heat transfer and thermodynamics can be better understood
with the following analogy.
John lives with his parents (thermodynamics). The household has been supported
by only one source of income (the first law of thermodynamics), earned by his parents.
John (Q) has been living under the same roof with his parents, being a good student all
the way from a little cute kid in kindergarten to an adult in college. Soon it will be also
his responsibility to seek an independent source of income (heat transfer), so that he
can move out of his parents house and get married.
Example 1-1
How long does it take for a can of Coke, taken out from the refrig-
erator at 5C, to warm up to 15C in a room at 25C? Relevant data
are: m = 0.28 kg, cv = 4180 J/kg-K, and A = 0.01m2.
Sol: Let us attempt to find the answer by first writing down the
first law of thermodynamics given by Eq. (1):
U = Q, (3a)
U = mcvT.
mcvT = Q. (3b)
At this juncture, we see that there are two unknowns in Eq. (3b), T and Q. We can
scratch our heads hard, and we are still unable to find another equation. In the analogy
given above, the first law is the only income of the household. We need the second
income, which is the second equation to solve Eq. (3b). This second equation is to be
provided by the knowledge gained from the subject of heat transfer.
See Problems 1-1 and 1-2.
You are celebrating your last birthday party before you graduate with a glamorous
degree. There are candles lighted on the cake for you to make a wish on and blow
out. Candle fires can also serve as a good example to illustrate heat transfer, with wax
melting, hot air rising, and flame illuminating associated with conduction, convection,
and radiation.
Lesson 1 | 5
determine the rate. Let us count the number of variables (unknowns) and the number
of governing equations below. These two numbers should exactly be equal, no more,
no fewer.
(a) Three momentum equations govern the flow velocities in x, y, and z directions,
u, v, and w.
(b) Conservation of energy, which is essentially the first law of thermodynamics
mentioned above, governs T.
(c) Conservation of species governs mass fractions of fuel, air, and the combustion
product, including Yfuel, YO2, YN2, YCO2, and YH2O.
(d) Conservation of mass governs the density of unburned air,
(e) The equation of state, will be responsible for p = RT. Note that p and in (d)
and (e) may be switched.
The control volume can be the entire flame if a crude solution is sought; or it can be
small computational cells, xyz, for us to seek more accurate solutions. Regardless,
the essential point is that, in Eq. (4), all terms should be eventually expressed in terms
of T.
Derivation and solution of governing equations in category (a) should be learned
in your fluid mechanics course. Those in category (c) should be covered in your mass
transfer course if you study chemical engineering. Combustion is a subject that gener-
ally belongs to advanced topics offered in graduate schools.
In a sense, we may state that thermodynamics is only a part of heat transfer.
Nonetheless, it may be the most important part.
(a) Although many college students are addicted to staying up late (and therefore
getting up late, and sometimes missing classes and exams), you are different. You
are a very self-disciplined student, getting up regularly at 7:00 every morning.
As soon as you get out of bed, you feel a little chilly. Your body loses energy by
conduction from your feet at 37C to the cold floor at 20C, by convection of air
flow surrounding your body, and by radiation from your skin to the wall and
the ceiling. As soon as you open the curtain in your room, you will additionally
lose some radiation from your skin to the outer space (assuming that the sky is
cloudless). Of course, at the same time, you will also receive radiation from the
wall and the ceiling, too.
(b) At 8 am, you walk to your car, which is parked on the driveway of your house near
New York. You may see a layer of ice forming on the car windshield. Overnight
the temperature of the glass dropped to -5C.
(c) Driving down the road, you also see an airplane flying over you. Why are your
car and the airplane capable of moving? Because there is considerable amount
of heat transfer going on inside the combustors. At high temperatures, air is
pressurized and pushes the piston, or exiting the exhaust nozzle of the airplane,
creating a thrust.
(d) On the way to the classroom, you drop by a coffee shop to buy a cup of coffee.
When your hand is holding the coffee cup, it feels warm. There is heat conduc-
tion transferring from the hot coffee to your hand.
Lesson 1 | 7
4-2 Examples of Heat Transfer Problems in Industrial Applications
(a) How did humans raise fires 4,000 years ago?
(b) Manufacturing bronze marked a significant step for humans to enter civilization.
How did ancient people do that?
(c) The steam engine was first invented 2,000 years ago,
and later improved and commercialized by James
Watt in 1763.
(d) The use of the steam engine induced the industrial
revolution.
(e) We wonder how George Washington spent his sum-
mers in Maryland without air conditioning.
(f) No heat transfer, no laptops that we are using. They
require electronic cooling.
(g) No heat transfer, no electricity that we are enjoying. Turbine blades need to be
cooled, too.
(h) No heat transfer, no cars, no airplanes, etc.
6. Prerequisites
To learn heat transfer well with this textbook, we need to know: (1) the first law of ther-
modynamics for both closed systems and open systems, (2) Taylors Series Expansion,
and (3) some Matlab basics. These three subjects are briefly described in the appendices
of this lesson and next two.
This textbook is divided into seven major parts. Each part consists of three lessons.
Part 1 describes the introduction of the subject, three laws that govern three heat
transfer modes, and one of the simplest 1-D heat conduction steady state systems
without any heat generation.
In Part 2, non-zero heat generation, 1-D fins, and 2-D steady state heat conduction
are analyzed. They are slightly more advanced topics than those in Part 1.
We then consider transient heat conduction problems exclusively in Part 3. Zero-D,
1-D, and 2-D problems are presented, respectively, in Lessons 7, 8, and 9.
Part 4 enters the subject of heat convection. This part should constitute the most
important subject in heat transfer, and can be considered the peak of the heat transfer
course during the semester. In this part, external flows are studied.
In Part 5, we focus our attention on internal flows. Some internal flow problems
yield exact solutions. As in Part 4, the analyses start with hydrodynamics, and then
enter the thermal aspect.
Part 6 describes application-oriented topics, including free convection, turbulent
flows, and heat exchangers. They are also slightly more advanced than those in previ-
ous parts. Instructors may consider skip this part in their classes if time or students
understanding level does not permit.
Finally, Part 7 introduces basic knowledge of thermal radiation. In addition, some
problems combining radiation with conduction and convection are also considered.
Lesson 1 | 9
Such organization is also made with assign-
ing students exams in mind. According to the
authors teaching experience at UMCP, straight-
forward simple grading systems may be better
than complicated grading systems. The latter is
exemplified by an array of activities, such as two
midterms (30%), homework sets (10%), team
projects (10%), quizzes (15%), presentations
(5%), final exam (25%), and attendance (5%), among others.
Instead, one part is associated with one exam. Seven exams cover a semester of 14
weeks, with one exam taken every two weeks. The attendance rates tend to be high;
students burden is lowered when exams are more frequent and are of smaller scope.
Furthermore, if too much is emphasized on group work, students may have the op-
portunities to hitch a ride with their group mates. Or they end up sharing the work, and
understanding only a small fraction of the entire group work that they are responsible
for. Hence the grades become less accurate measures of their true performances in the
class.
See Problem 1-3.
8. Summary
9. References
1. Wikipedia.
2. Claus Borqnakke and Richard E. Sonntag, Fundamentals of Classical
Thermodynamics, Wiley, 7th edition, 2008
10-1 An electrical stove in the kitchen is initially at 25C. Assume that it generates Qg =
1.8 kW. At the same time, it loses energy to the air in the kitchen by a formula given as
Q_out = 3*(T-T) in Watts.
Other relevant data include: m = 1 kg, cv = 1200 J/kg-K, and T = 25C. Take t = 20
sec. For simplicity, use the explicit method during time integration.
Find T (t) of the stove, and plot T(t) vs. time for a period of 20 minutes.
11. Appendix
Matlab Basics Used in this textbook are limited to only simple operations. Frequently
used ones are described below.
Lesson 1 | 11
(A-2) Plot f(x) = x2 + sin (x) versus x between 0 and 2.
clc; clear
L=2; nx=20; dx=L/nx; nxp=nx+1; 6
for i=1:nxp
4
x(i)=(i-1)*dx; f
f(i)=x(i)*x(i)+sin(x(i)); 2
end
plot(x, f); xlabel(x); ylabel(f ); grid on 0
0 0.5 1 1.5 2
x
(A-3) Solve three linear equations simultaneously.
3x + y z = 3
x +4y +2z = 7
-x 3y + 4z = 0
clc; clear
a(1,1)=3; a(1,2)=1; a(1,3)=-1; b(1)=3;
a(2,1)=1; a(2,2)=4; a(2,3)=2; b(2)=7;
a(3,1)=-1; a(3,2)=-3; a(3,3)=4; b(3)=0;
q=a\b; q % = 1 1 1 The superscripted prime means transpose