3. Numerical methods in Heat Conductions Finite Difference

advertisement
3. Numerical methods in Heat Conductions
Finite Difference techniques
The analytical solution, which is considered an exact solution, of engineering heat
transfer problems is not available for all situations due to several reasons, e.g. complicated
geometries, unusual boundary conditions …etc. One is seeking approximate solutions for such
problems. Finite difference technique is a numerical technique for differential equations and
according to this technique the solution of these equations is obtained at specified discrete
position rather than the case of analytical solution, where the solution is a continuous function
valid everywhere of domain. According to this technique, the differential equation transformed
to an equivalent set of finite difference equation (set of linear algebraic equations).
3.1 Nodal mesh
Fig. (1) Two dimensional conduction, (a) Nodal network, (b) Finite difference
approximation.
The domain of interest is covered with a mesh; each node of this mesh has an identifier. For x-y
domain, every node has (m, n) identifier according to its x- and y-position. The distance (step
size) between two successive nodes in x-direction is βˆ†x and in corresponding y-direction is βˆ†y.
The first and second derivative of the temperature T at general interior node (m,n), can be
approximated as shown in Fig. (1):
πœ•π‘‡
π‘‡π‘š+1,𝑛 − π‘‡π‘š,𝑛
|
≈
πœ•π‘₯ π‘š+1/2,𝑛
βˆ†π‘₯
πœ•π‘‡
π‘‡π‘š,𝑛 − π‘‡π‘š−1,𝑛
|
≈
πœ•π‘₯ π‘š−1/2,𝑛
βˆ†π‘₯
1
πœ• 2𝑇
π‘‡π‘š+1,𝑛 + π‘‡π‘š−1,𝑛 − 2π‘‡π‘š,𝑛
|
≈
2
(βˆ†π‘₯)2
πœ•π‘₯ π‘š,𝑛
In the same manner, the second derivative in ydirection is given by:
πœ• 2𝑇
π‘‡π‘š,𝑛+1 + π‘‡π‘š,𝑛−1 − 2π‘‡π‘š,𝑛
|
≈
(βˆ†π‘₯)2
πœ•π‘¦ 2 π‘š,𝑛
The nodes of mesh lie at the boundaries of the
domain have different finite difference approximation
depending upon the kind of such boundary:
Specified temperature boundary:
Simply, each node lies at this boundary has a
temperature equal to this specified value as shown in
Fig. (2).
Fig. (2) Finite difference formulation of
specified temperature boundary conditions on
both surfaces of a plane wall.
For other expected boundary conditions, energy balance of volume element of the considered
node is carried out to determine its temperature as shown in figure:
∑ 𝑄̇ + πΊΜ‡π‘’π‘™π‘’π‘šπ‘’π‘›π‘‘ = 0
π‘Žπ‘™π‘™ 𝑠𝑖𝑑𝑒𝑠
1. Specified heat flux boundary condition
As shown in figure (3), one can carry out the energy
balance as follows;
π‘žπ‘œΜ‡ 𝐴 + π‘˜π΄
𝑇1 − 𝑇0
+ 𝑔0Μ‡ (𝐴 βˆ†π‘₯⁄2) = 0
βˆ†π‘₯
In case of specified heat flux boundary with no heat
generation (𝑔0Μ‡ = 0), the finite difference equation
of this boundary takes the form:
π‘žπ‘œΜ‡ 𝐴 + π‘˜π΄
𝑇1 − 𝑇0
=0
βˆ†π‘₯
And in case of insulated boundary ( π‘žπ‘œΜ‡ = 0), the
finite difference equation takes the form:
2
Fig. (3) Finite difference formulation
of the left boundary node of a plane.
π‘˜π΄
𝑇1 − 𝑇0
+ 𝑔0Μ‡ (𝐴 βˆ†π‘₯⁄2) = 0
βˆ†π‘₯
Moreover for insulated boundary with no heat generation (π‘žπ‘œΜ‡ = 0 & 𝑔0Μ‡ = 0)
π‘˜π΄
𝑇1 −𝑇0
βˆ†π‘₯
=0
2. Convection boundary condition
β„Žπ΄(𝑇∞ − 𝑇0 ) + π‘˜π΄
𝑇1 − 𝑇0
+ 𝑔0Μ‡ (𝐴 βˆ†π‘₯⁄2) = 0
βˆ†π‘₯
3. Radiation boundary condition
4
πœ€πœŽπ΄(π‘‡π‘ π‘’π‘Ÿπ‘Ÿ
− 𝑇04 ) + π‘˜π΄
𝑇1 − 𝑇0
+ 𝑔0Μ‡ (𝐴 βˆ†π‘₯⁄2) = 0
βˆ†π‘₯
4. Combined Convection and radiation boundary
condition
As it is clear from figure (4):
Fig.(4) Finite difference formulation of
combined convection and radiation
4
β„Žπ΄(𝑇∞ − 𝑇0 ) + πœ€πœŽπ΄(π‘‡π‘ π‘’π‘Ÿπ‘Ÿ
− 𝑇04 ) + π‘˜π΄
𝑇1 − 𝑇0
+ 𝑔0Μ‡ (𝐴 βˆ†π‘₯⁄2) = 0
βˆ†π‘₯
Or
β„Žπ‘π‘œπ‘šπ‘π‘–π‘›π‘’π‘‘ 𝐴(𝑇∞ − 𝑇0 ) + π‘˜π΄
𝑇1 − 𝑇0
+ 𝑔0Μ‡ (𝐴 βˆ†π‘₯⁄2) = 0
βˆ†π‘₯
5. Combined convection, radiation and heat flux boundary condition
4
π‘žπ‘œΜ‡ 𝐴 + β„Žπ΄(𝑇∞ − 𝑇0 ) + πœ€πœŽπ΄(π‘‡π‘ π‘’π‘Ÿπ‘Ÿ
− 𝑇04 ) + π‘˜π΄
𝑇1 − 𝑇0
+ 𝑔0Μ‡ (𝐴 βˆ†π‘₯ ⁄2) = 0
βˆ†π‘₯
6. Interface boundary condition
Two different solid media A and B are assumed to be in perfect contact, and thus at the same
temperature at the interface at node m (as shown in figure (5)):
3
Fig. (6) Finite difference formulation of
boundary node is obtained by applying
energy balance on its volume element.
Fig.(5) Finite difference formulation of
the interface boundary condition for two
mediums A and B.
For the condition of two dimensional problems the development of finite difference formulation
of boundary nodes is similar to that of one dimensional case, taking in consideration that heat
transfers in x- and y-directions as shown in figure (6).
∑ 𝑄̇ + πΊΜ‡π‘’π‘™π‘’π‘šπ‘’π‘›π‘‘ = 0
π‘Žπ‘™π‘™ 𝑠𝑖𝑑𝑒𝑠
Figure 5 fig 5-16 C
Figure 6 fig 5-16 C
3.2 Finite difference form of the steady heat conduction equation
Taking in account the one dimensional steady heat conduction problems with heat generation 𝑔̇ ,
the differential equation describing this case is as follows:
πœ• 2 𝑇 𝑔̇
+ =0
πœ•π‘₯ 2 π‘˜
Substitution in the foregoing equation with approximate second derivative of T for a general
point (m) lie on the nodal mesh, yields to:
π‘‡π‘š−1 + π‘‡π‘š+1 − 2π‘‡π‘š 𝑔̇ π‘š
+
=0
βˆ†π‘₯ 2
π‘˜
For m=1,2,3……M-1
Where M is the total number of nodes. This recursive relation represents a set of linear algebraic
equations of M-1 unknown. This set can be solved by Gauss-seidel method.
4
Download