two-dimensional conduction: finite-difference equations ... · two-dimensional conduction:...
TRANSCRIPT
Two-Dimensional Conduction:Finite-Difference Equations
andSolutions
Chapter 4
Sections 4.4 and 4.5
Numerical methods
• analytical solutions that allow for the determination of the exact temperature distribution are only available for limited ideal cases.
• graphical solutions have been used to gain an insight into complex heat transfer problems, where analytical solutions are not available, but they have limited accuracy and are primarily used for two-dimensional problems.
• advances in numerical computing now allow for complex heat transfer problems to be solved rapidly on computers, i.e., "numerical techniques“.
• current numerical techniques include: finite-difference analysis; finite element analysis (FEA); and finite-volume analysis.
• in general, these techniques are routinely used to solve problems in heat transfer, fluid dynamics, stress analysis, electrostatics and magnetics, etc.
• We will show the use of finite-difference analysis to solve conduction heat transfer problems.
Finite-difference Analysis
• numerical techniques result in an approximate solution, however the error can be made very small.
• properties (e.g., temperature) are determined at discrete points in the region of interest-these are referred to as nodal points or nodes.
Consider the finite-difference technique for 2-D conduction heat transfer:
• in this case each node represents the temperature of a point on the surface being considered.
• the temperature at the node represents the average temperature of that region of the surface.
• algebraic expressions are used to define the relationship between adjacent nodes on the surface –usually the boundary conditions are specified.
• by increasing the number of nodes on the surface being considered it is possible to increase the spatial resolution of the solution and to potentially increase the accuracy of the numerical solution, however this increases the number of calculation is required to obtain a solution to the problem.
Finite-Difference Approximation
The Nodal Network and Finite-Difference Approximation• The nodal network identifies discrete points at which the temperature is to be
determined and uses an m,n notation to designate their location.
What is represented by the temperature determined at a nodal point,as for example, Tm,n?
How is the accuracy of the solution affected by construction of the nodalnetwork?
What are the trade-offs between selection of a fine or a coarse mesh?
Finite-Difference Method
The Finite-Difference Method
Procedure:
• Represent the physical system by a nodal network i.e., discretization of problem.
• Use the energy balance method to obtain a finite-differenceequation for each node of unknown temperature.
• Solve the resulting set of algebraic equations for the unknown nodal temperatures.
• Use the temperature field and Fourier’s Law to determine the heat transfer in the medium
Finite difference formulation of the differential equation
• numerical methods are used for solving differential equations, i.e., the DE is replaced by algebraic equations
• in the finite difference method, derivatives are replaced by differences, i.e.,
• this is based on the premise that a reasonably accurate result can be obtained by replacing differential quantities by sufficiently small differences, letting
( ) ( ) ( )d f x f x x f x
dx x
+ Δ −≈
Δ
0
( ) ( )limx
d f x f x
dx xΔ →
Δ=
Δ
x
xΔ
fΔ( )f x x+ Δ
( )f x
( )f x
x x+ Δx
Tangent line
Finite-Difference Approximation
Finite-Difference Formulation of Differential Equation
For example: Consider the 1-D steady-state heat conduction equation with internal heat generation) i.e.,
For a point m,n we approximate the first derivatives at points m-½Δx and m+ ½Δx as
2
20
T q
kx
∂+ =
∂
xΔ
Finite-Difference Formulation of Differential Equation
example: 1-D steady-state heat conduction equation with internal heat generation
For a point m we approximate the 2nd derivative as
Now the finite-difference approximation of the heat conduction equation is
This is repeated for all the modes in the region considered
1122
1 12
2
1 12
2
d T d T m m m mdx dx mm
m
m m m
T T T TT x x
x xx
T T T
x
+ −−+
+ −
− −− −∂ Δ Δ≈ ≈Δ Δ∂
− +≈
Δ
1 12
20m m m mT T T q
kx+ −− +
+ =Δ
Finite-Difference Formulation of Differential Equation
If this was a 2-D problem we could also construct a similar relationship in theboth the x and Y-direction at a point (m,n) i.e.,
Now the finite-difference approximation of the 2-D heat conduction equation is
Once again this is repeated for all the modes in the region considered. We could also derive a similar equation for the 3-D case
( )
2, 1 , , 1
2 2,
2m n m n m n
m n
T T TT
y y
− +− +∂≈
∂ Δ
( )
21, , 1,
2 2,
2m n m n m n
m n
T T TT
x x
+ −− +∂≈
∂ Δ
( ) ( )1, , 1, , 1 , , 1
2 2
2 20m n m n m n m n m n m nT T T T T T q
kx y
+ − − +− + − ++ + =
Δ Δ
Finite-Difference Formulation of Differential Equation
If Δx =Δy, then the finite-difference approximation of the 2-D heat conduction equation is
which can be reduced to
and the relationship reduces to
if there is no internal heat generation,
Which is just the average of the surrounding node’s temperatures!
( )21, , 1, , 1 , , 12 2 0m n m n m n m n m n m n
q xT T T T T T
k− + − +Δ
− + + − + + =
( )21, 1, , 1 , 1 ,4 0m n m n m n m n m n
q xT T T T T
k− + − +Δ
+ + + − + =
( )2, 1, 1, , 1 , 1
1
4m n m n m n m n m nq x
T T T T Tk− + − +
⎡ ⎤Δ⎢ ⎥= + + + +⎢ ⎥⎣ ⎦
, 1, 1, , 1 , 11
4m n m n m n m n m nT T T T T− + − +⎡ ⎤= + + +⎣ ⎦
Consider this simple case
Consider this simple case
100 100 100
50 200
50 200
50 200
300 300 300
100 100 100
50 200
50 200
50 200
300 300 300
100 100 100
50 200
50 200
50 200
300 300 300
[ ]1 3 21
100 504
T T T= + + +
[ ]2 1 41
100 2004
T T T= + + +
[ ]3 1 41
300 504
T T T= + + +
[ ]4 3 21
300 2004
T T T= + + +
What if the boundary conditions are different
Energy Balance Method
Derivation of the Finite-Difference Equations- The Energy Balance Method -
• As a convenience that eliminates the need to predetermine the direction of heatflow, assume all heat flows are into the nodal region of interest, and express allheat rates accordingly. Hence, the energy balance becomes:
0in gE E+ =i i
(4.30)
• Consider application to an interior nodal point (one that exchanges heat byconduction with four, equidistant nodal points):
( )4
( ) ( , )1
0i m ni
q q x y→=
+ Δ ⋅Δ ⋅ =∑i
where, for example,
( ) ( ) ( ) 1, ,1, ,
m n m nm n m n
T Tq k y
x−
− →
−= Δ ⋅
Δ
Is it possible for all heat flows to be into the m,n nodal region?
What feature of the analysis insures a correct form of the energy balance equation despite the assumption of conditions that are not realizable?
(4.31)
• A summary of finite-difference equations for common nodal regions is providedin Table 4.2.
Energy Balance Method (cont.)
Consider an external corner with convection heat transfer.
( ) ( ) ( ) ( ) ( ) ( )1, , , 1 , , 0m n m n m n m n m nq q q− → − → ∞ →+ + =
( ) ( )
1, , , 1 ,
, ,
2 2
x yh h 0
2 2
m n m n m n m n
m n m n
T T T Ty xk k
x y
T T T T
− −
∞ ∞
− −Δ Δ⎛ ⎞ ⎛ ⎞⋅ + ⋅⎜ ⎟ ⎜ ⎟Δ Δ⎝ ⎠ ⎝ ⎠Δ Δ⎛ ⎞ ⎛ ⎞+ ⋅ − + ⋅ − =⎜ ⎟ ⎜ ⎟
⎝ ⎠ ⎝ ⎠
or, with , x yΔ = Δ
1, , 1 ,h h
2 2 1 0m n m n m nx x
T T T Tk k− − ∞Δ Δ⎛ ⎞+ + − + =⎜ ⎟
⎝ ⎠(4.43)
e_04_02
e 04 02 03
e 04 02 02
p_04_45
fig_04_06
p_04_44
e_04_04_02
Energy Balance Method (cont.)
• Note potential utility of using thermal resistance concepts to express rateequations. E.g., conduction between adjoining dissimilar materials with an interfacial contact resistance.
( ) ( ), 1 ,
, 1 ,m n m n
m n m ntot
T Tq
R−
− →
−=
( ) ( ),/ 2 / 2t c
totA B
Ry yR
k x x k x
′′Δ Δ= + +
Δ ⋅ Δ ⋅ Δ ⋅(4.46)
p_04_38
Solution Methods
Solutions Methods• Matrix Inversion: Expression of system of N finite-difference equations for
N unknown nodal temperatures as:
[ ][ ] [ ]A T C= (4.48)
CoefficientMatrix (NxN)
Solution Vector(T1,T2, …TN)
Right-hand Side Vector of Constants(C1,C2…CN)
Solution [ ] [ ] [ ]1T A C
−=
Inverse of Coefficient Matrix (4.49)
• Gauss-Seidel Iteration: Each finite-difference equation is written in explicitform, such that its unknown nodal temperature appears alone on the left-hand side:
( ) ( )1 ( 1)
1 1
i Nij ijk k kii j j
j j iii ii ii
a aCT T T
a a a
− −
= = += − −∑ ∑
(4.51)
where i =1, 2,…, N and k is the level of iteration.
Iteration proceeds until satisfactory convergence is achieved for all nodes:( ) ( )1k k
i iT T ε−− ≤
• What measures may be taken to insure that the results of a finite-differencesolution provide an accurate prediction of the temperature field?
Problem: Finite-Difference Equations
Problem 4.39: Finite-difference equations for (a) nodal point on a diagonalsurface and (b) tip of a cutting tool.
(a) Diagonal surface (b) Cutting tool.
Schematic:
ASSUMPTIONS: (1) Steady-state, 2-D conduction, (2) Constant properties
Problem: Finite-Difference Equations (cont.)
ANALYSIS: (a) The control volume about node m,n is triangular with sides Δx and Δy and diagonal
(surface) of length 2 Δx.
The heat rates associated with the control volume are due to conduction, q1 and q2, and to convection,
qc. An energy balance for a unit depth normal to the page yields
inE 0 =
1 2 c q q q 0+ + =
( ) ( ) ( )( )m,n-1 m,n m+1,n m,nm,n
T T T Tk x 1 k y 1 h 2 x 1 T T 0.
y x ∞− −
Δ ⋅ + Δ ⋅ + Δ ⋅ − =Δ Δ
With Δx = Δy, it follows that
m,n-1 m+1,n m,nh x h x
T T 2 T 2 2 T 0.k k∞Δ Δ⎡ ⎤+ + ⋅ − + ⋅ =⎢ ⎥⎣ ⎦
(b) The control volume about node m,n is triangular with sides Δx/2 and Δy/2 and a lower diagonal
surface of length ( )2 x/2 .Δ
The heat rates associated with the control volume are due to the uniform heat flux, qa, conduction, qb,
and convection qc. An energy balance for a unit depth yields
ina b c
E =0 q q q 0+ + =
( )m+1,n m,no m,n
T Tx y xq 1 k 1 h 2 T T 0.
2 2 x 2 ∞−Δ Δ Δ⎡ ⎤ ⎡ ⎤ ⎡ ⎤′′ ⋅ ⋅ + ⋅ ⋅ + ⋅ ⋅ − =⎢ ⎥ ⎢ ⎥ ⎢ ⎥Δ⎣ ⎦ ⎣ ⎦ ⎣ ⎦
or, with Δx = Δy,
m+1,n o m,nh x x h x
T 2 T q 1 2 T 0.k k k∞Δ Δ Δ⎛ ⎞′′+ ⋅ ⋅ + ⋅ − + ⋅ =⎜ ⎟
⎝ ⎠
Problem: Cold Plate
Problem 4.76: Analysis of cold plate used to thermally control IBM multi-chip,thermal conduction module.
Features:
• Heat dissipated in the chips is transferred by conduction through spring-loaded aluminum pistons to an aluminum coldplate.
• Nominal operating conditions may beassumed to provide a uniformlydistributed heat flux of at the base of the cold plate.
5 210 W/moq′′ =
• Heat is transferred from the coldplate by water flowing throughchannels in the cold plate.
Find: (a) Cold plate temperature distribution for the prescribed conditions. (b) Options for operating at larger power levels whileremaining within a maximum cold platetemperature of 40°C.
Problem: Cold Plate (cont.)
Schematic:
ASSUMPTIONS: (1) Steady-state conditions, (2) Two-dimensional conduction, (3) Constant properties.
Problem: Cold Plate (cont.)
ANALYSIS: Finite-difference equations must be obtained for each of the 28 nodes. Applying the energy balance method to regions 1 and 5, which are similar, it follows that Node 1: ( ) ( ) ( ) ( )2 6 1 0y x T x y T y x x y T⎡ ⎤Δ Δ + Δ Δ − Δ Δ + Δ Δ =⎣ ⎦
Node 5: ( ) ( ) ( ) ( )4 10 5 0y x T x y T y x x y T⎡ ⎤Δ Δ + Δ Δ − Δ Δ + Δ Δ =⎣ ⎦
Nodal regions 2, 3 and 4 are similar, and the energy balance method yields a finite-difference equation of the form Nodes 2,3,4:
( )( ) ( ) ( ) ( )1, 1, , 1 ,2 2 0m n m n m n m ny x T T x y T y x x y T− + − ⎡ ⎤Δ Δ + + Δ Δ − Δ Δ + Δ Δ =⎣ ⎦
Energy balances applied to the remaining combinations of similar nodes yield the following finite-difference equations.
Nodes 6, 14: ( ) ( ) ( ) ( ) ( )[ ] ( )1 7 6x y T y x T x y y x h x k T h x k T∞Δ Δ + Δ Δ − Δ Δ + Δ Δ + Δ = − Δ
( ) ( ) ( ) ( ) ( )[ ] ( )19 15 14x y T y x T x y y x h x k T h x k T∞Δ Δ + Δ Δ − Δ Δ + Δ Δ + Δ = − Δ
Nodes 7, 15: ( )( ) ( ) ( ) ( ) ( )[ ] ( )6 8 2 72 2 2y x T T x y T y x x y h x k T h x k T∞Δ Δ + + Δ Δ − Δ Δ + Δ Δ + Δ = − Δ
( )( ) ( ) ( ) ( ) ( )[ ] ( )14 16 20 152 2 2y x T T x y T y x x y h x k T h x k T∞Δ Δ + + Δ Δ − Δ Δ + Δ Δ + Δ = − Δ
Problem: Cold Plate (cont.)
Nodes 8, 16: ( ) ( ) ( ) ( ) [ ( ) ( )7 9 11 32 2 3 3y x T y x T x y T x y T y x x yΔ Δ + Δ Δ + Δ Δ + Δ Δ − Δ Δ + Δ Δ
( )( )] ( )( )8h k x y T h k x y T∞+ Δ + Δ = − Δ + Δ
( ) ( ) ( ) ( ) [ ( ) ( )15 17 11 212 2 3 3y x T y x T x y T x y T y x x yΔ Δ + Δ Δ + Δ Δ + Δ Δ − Δ Δ + Δ Δ
( )( )] ( )( )16h k x y T h k x y T∞+ Δ + Δ = − Δ + Δ
Node 11: ( ) ( ) ( ) ( ) ( ) ( )[ ] ( )8 16 12 11x y T x y T 2 y x T 2 x y y x h y k T 2h y k T∞Δ Δ + Δ Δ + Δ Δ − Δ Δ + Δ Δ + Δ = − Δ
Nodes 9, 12, 17, 20, 21, 22: ( ) ( ) ( ) ( ) ( ) ( )[ ]1, 1, , 1 , 1 ,2 0m n m n m n m n m ny x T y x T x y T x y T x y y x T− + + −Δ Δ + Δ Δ + Δ Δ + Δ Δ − Δ Δ + Δ Δ =
Nodes 10, 13, 18, 23: ( ) ( ) ( ) ( ) ( )[ ]1, 1, 1, ,2 2 0n m n m m n m nx y T x y T y x T x y y x T+ − −Δ Δ + Δ Δ + Δ Δ − Δ Δ + Δ Δ =
Node 19: ( ) ( ) ( ) ( ) ( )[ ]14 24 20 192 2 0x y T x y T y x T x y y x TΔ Δ + Δ Δ + Δ Δ − Δ Δ + Δ Δ =
Nodes 24, 28: ( ) ( ) ( ) ( )[ ] ( )19 25 24 ox y T y x T x y y x T q x k′′Δ Δ + Δ Δ − Δ Δ + Δ Δ = − Δ
( ) ( ) ( ) ( )[ ] ( )23 27 28 ox y T y x T x y y x T q x k′′Δ Δ + Δ Δ − Δ Δ + Δ Δ = − Δ
Nodes 25, 26, 27: ( ) ( ) ( ) ( ) ( )[ ] ( )1, 1, , 1 ,2 2 2m n m n m n m n oy x T y x T x y T x y y x T q x k− + +
′′Δ Δ + Δ Δ + Δ Δ − Δ Δ + Δ Δ = − Δ
Problem: Cold Plate (cont.)
Evaluating the coefficients and solving the equations simultaneously, the steady-state temperature distribution (°C), tabulated according to the node locations, is:
23.77 23.91 24.27 24.61 24.74 23.41 23.62 24.31 24.89 25.07
25.70 26.18 26.33 28.90 28.76 28.26 28.32 28.35 30.72 30.67 30.57 30.53 30.52 32.77 32.74 32.69 32.66 32.65
(b) For the prescribed conditions, the maximum allowable temperature (T24 = 40°C) is reached when
oq′′ = 1.407 × 105 W/m2 (14.07 W/cm2).
Options for extending this limit could include use of a copper cold plate (k ≈ 400 W/m⋅K) and/or increasing the convection coefficient associated with the coolant.
With k = 400 W/m⋅K, a value of oq′′ = 17.37 W/cm2 may be maintained.
. With k = 400 W/m⋅K and h = 10,000 W/m2⋅K (a practical upper limit), oq′′ = 28.65 W/cm2.
Additional, albeit small, improvements may be realized by relocating the coolant channels closer to the base of the cold plate.