SlideShare une entreprise Scribd logo
1  sur  8
Télécharger pour lire hors ligne
Heat Conduction Simulation with FDM
Xueer Zhang
1. Problem and Objectives
Consider a thick walled square conduit of steam. The inside wall of the conduit is maintained
at temperature Tin = 200 o
C, while the outside surface is maintained at temperature Tout = 22 o
C.
The dimensions of the conduit are shown in the diagram in terms of the outer side length a = 0.56
m and inner side length b = 0.28 m. The material of the wall has a density of ρ= 8,000 kg/m3
,
specific heat of ν= 450 J/kg-0
C, and conductivity of k = 42 W/ m-0
C . The conduction along the
axial direction of the conduit can be neglected.
Figure 1 conductor geometrics
a) Use non dimensional variables for distances, time and temperature and derive the partial
differential equation governing the transient heat conduction in this problem for times
between the initial time t = 0, when the entire conduit walls were at temperature T = 22
oC, and the time ts when steady state temperature distribution was reached. Specify the
boundary conditions, initial conditions and any non-dimensional parameters of the problem.
b) Write a program which utilizes the method of finite differences to calculate and output the
space distribution of temperature in the walls for the case of steady state, i.e. t>ts. The
solution should be obtained first with a uniform grid which places two internal nodes between
the walls. Then the solution so obtained should be checked with the solution obtained by a
grid which places 5 equidistance points between the walls.
c) Modify your program so that it can describe the transient heat distribution for times prior to
the establishment of steady state.
2. Conduction Equation Derivation
To look into a spatial medium D’s characteristic of heat conduction, we use function u (t; x; y;
z) to represent the temperature of D at position (x; y; z) and time t.
According to Fourier experimental theorem in heat transfer, the heat passes through an
infinitely small area dS along the normal direction n in an infinitely small time period dt is in
b a
proportion to the gradient of temperature along n:
dQ = −k(x,y, z)
∂u
∂n
𝑑𝑆𝑑𝑡
Where k>0 is the conductivity of D at (x, y, z). A negative sign is added because heat always
flows from hotter side to cooler side, which means dQ and ∂u/∂n should have opposite signs.
Define a region Ω closed by surface Γ in the medium D. The heat fluxes in Γ from time t1 to t2:
Q = ∫ {∬ 𝑘(𝑥, 𝑦, 𝑧)
∂u
∂n
𝑑𝑆
Γ
} 𝑑𝑡
𝑡2
𝑡1
Where
∂u
∂n
is the gradient of u along unit exterior normal n on Γ.
The heat fluxing in changes the interior temperature of the medium from u (t1, x, y, z) to u (t2,
x, y, z). The heat assumed to be absorbed is:
∭ 𝜈(𝑥, 𝑦, 𝑧)𝜌(𝑥, 𝑦, 𝑧)[𝑢(t1, x, y, z) − u(t2, x, y, z)]𝑑𝑥𝑑𝑦𝑑𝑧
𝛺
Where ν is the specific heat of D, and ρ is the density. Then have
∫ {∬ 𝑘
∂u
∂n
𝑑𝑆
Γ
} 𝑑𝑡 =
𝑡2
𝑡1
∭ 𝜈𝜌[𝑢(t1, x, y, z) − u(t2, x, y, z)]𝑑𝑥𝑑𝑦𝑑𝑧
𝛺
Assume u has second order continuous partial derivative about x, y, z and first order
continuous partial derivative about t. Applying Green formula gives
∫ ∭ [
𝜕
𝜕𝑥
(𝑘
𝜕𝑢
𝜕𝑥
) +
𝜕
𝜕𝑦
(𝑘
𝜕𝑢
𝜕𝑦
) +
𝜕
𝜕𝑧
(𝑘
𝜕𝑢
𝜕𝑧
)]𝑑𝑥𝑑𝑦𝑑𝑧
𝛺
𝑑𝑡 = ∭ 𝜈𝜌 (∫
∂u
∂t
𝑑𝑡
𝑡2
𝑡1
) 𝑑𝑥𝑑𝑦𝑑𝑧
𝛺
𝑡2
𝑡1
Rearranging the integral, have
∫ ∭ [𝜈𝜌
∂u
∂t
−
𝜕
𝜕𝑥
(𝑘
𝜕𝑢
𝜕𝑥
) −
𝜕
𝜕𝑦
(𝑘
𝜕𝑢
𝜕𝑦
) −
𝜕
𝜕𝑧
(𝑘
𝜕𝑢
𝜕𝑧
)]𝑑𝑥𝑑𝑦𝑑𝑧
𝛺
𝑑𝑡 = 0
𝑡2
𝑡1
Since t1, t2 and region Ω are arbitrary, so
𝜈𝜌
∂u
∂t
=
𝜕
𝜕𝑥
(𝑘
𝜕𝑢
𝜕𝑥
) +
𝜕
𝜕𝑦
(𝑘
𝜕𝑢
𝜕𝑦
) +
𝜕
𝜕𝑧
(𝑘
𝜕𝑢
𝜕𝑧
)
Which is the heat conduction equation for inhomogeneous isotropic medium. If the medium
is homogeneous, k, ν andρare constants. Let k/ρν=c2
,then have
𝜕𝑢
𝜕𝑡
= 𝑐2
(
𝜕2
𝑢
𝜕𝑥2
+
𝜕2
𝑢
𝜕𝑦2
+
𝜕2
𝑢
𝜕𝑧2
)
Which is the transient heat conduction equation for isotropic medium. In this case, we are
dealing with a planar problem. The equation with dimensional variables can be written as:
∂u
∂t
= 𝑐2
(
𝜕2
𝑢
𝜕𝑥2
+
𝜕2
𝑢
𝜕𝑦2
)
3. Non-dimensionalization
Substitution of non-dimensionalized u*=u/Tout, x*=x/a and y*=y/a into the conduction
equation gives
Tout
∂u∗
∂t
= 𝑐2
Tout
𝑎2
(
𝜕2
𝑢∗
𝜕𝑥∗2 +
𝜕2
𝑢∗
𝜕𝑦∗2)
For a simpler form of governing equation, let t* =t/ (a2
/c2
)= t(k/ a2
νρ), have
∂u∗
∂t∗
= (
𝜕2
𝑢∗
𝜕𝑥∗2 +
𝜕2
𝑢∗
𝜕𝑦∗2)
Boundary conditions are:
 u*(x*=0) = u*(x*=1) = u*(y*=0) = u*(y*=1) = 1
 u*(b*≤ x*≤(1+b*)/2 ∩ b*≤ y*≤(1+b*)/2) = Tin/Tout, where b*=b/a
Initial conditions are:
 u*(b*≤ x*≤(1+b*)/2 ∩ b*≤ y*≤(1+b*)/2) = Tin/Tout
 u*(other) = 1
4. Meshing
1) Grid size
If Np points are inserted between adjacent inner and outer walls, the grid size would be
h =
1 − b∗
2(Np + 1)
Accordingly, there would be n=1+4(Np+1) grid points on each dimension and totally N= n2
points for this special case (a=2b).
As indicated in figure 2, subscripts i and j are utilized to locate the grid points as an n*n matrix,
which will be explained later.
Figure 2 partial diagram of grid meshing
2) Step size
For convergence, which can be ensured by a diagonally dominant coefficient matrix, we
choose step size k small enough with respect to grid size h:
k =
ℎ2
4
5. Computing and Results
For higher precision and convergence, implicit method of finite differences is chosen:
𝑇𝑖,𝑗
𝑛+1
− 𝑇𝑖,𝑗
𝑛
∆𝑡
= 𝜅 (
𝑇𝑖,𝑗+1
𝑛+1
− 2𝑇𝑖,𝑗
𝑛+1
+ 𝑇𝑖,𝑗−1
𝑛+1
∆𝑥2
+
𝑇𝑖+1,𝑗
𝑛+1
− 2𝑇𝑖,𝑗
𝑛+1
+ 𝑇𝑖−1,𝑗
𝑛+1
∆𝑦2
) +
𝑄𝑖,𝑗
𝑛
𝜌𝑐 𝑝
Where Δt=k, Δx=Δy=h, conductivity κ is non-dimensionalized to 1 and interior heat source Q=0
for this case, so
𝑇𝑖,𝑗
𝑛+1
− 𝑇𝑖,𝑗
𝑛
𝑘
=
𝑇𝑖−1,𝑗
𝑛+1
+𝑇𝑖,𝑗−1
𝑛+1
− 4𝑇𝑖,𝑗
𝑛+1
+ 𝑇𝑖,𝑗+1
𝑛+1
+ 𝑇𝑖+1,𝑗
𝑛+1
ℎ2
1) Steady
Substituting 𝑇𝑖,𝑗
𝑛+1
= 𝑇𝑖,𝑗
𝑛
, have
𝑇𝑖−1,𝑗
𝑛+1
+𝑇𝑖,𝑗−1
𝑛+1
− 4𝑇𝑖,𝑗
𝑛+1
+ 𝑇𝑖,𝑗+1
𝑛+1
+ 𝑇𝑖+1,𝑗
𝑛+1
= 0
Along with boundary conditions. To solve this system of n2
equations, we can develop a
coefficient matrix A and rearrange 𝑇𝑖,𝑗
𝑛+1
as a column array “TT”, then applying the right-hand
side of this steady equation and all the boundary conditions to another column array “rhs”,
which satisfies.
[A] 𝑁×𝑁{𝑇𝑇} 𝑁×1 = {𝑟ℎ𝑠} 𝑁×1
To uniform, define matrix {TT} as follows
TT =
[
𝑇1,1
𝑇1,2
:
𝑇1,𝑛
𝑇2,1
𝑇2,2
:
𝑇𝑛,1
:
𝑇𝑛,𝑛−1
𝑇𝑛,𝑛 ]
To specify the relationship between TT and T, introduce J = n (i-1) +j which satisfies
𝑇𝑇J = 𝑇i,j
Take Np=1 as an example. There would be N=81 grid points, which are indicated as 81
intersections in figure 3. Colored lines and characters represent different kind of boundary
conditions.
TTJ=Ti,j
TT28 TT29 TT30 TT31
TT19 TT20 TT21 TT22 TT23 TT24 TT25 TT26 TT27
TT10=T2,1 TT11=T2,2 TT12 TT13 TT14 TT15 TT16 TT17 TT18
TT1=T1,1 TT2=T1,2 TT3=T1,3 TT4=T1,4 TT5=T1,5 TT6=T1,6 TT7=T1,7 TT8=T1,8 TT9=T1,9
Figure 3 numbering scheme for a gird with Np=1
Accordingly, matrix A and array rhs would be something like
𝐴 =
[
1 0 ⋯
0 ⋱ ⋱
⋮ 0 1 0
⋯ 1 −4 1 ⋯
1 ⋯ 1 −4 1 ⋯ 1
⋯ 1 −4 1 ⋯
0 1 0 ⋮
⋱ ⋱ 0
⋯ 0 1 ]
, rhs =
[
1
⋮
1
0
⋮
𝑇𝑖𝑛
𝑇 𝑜𝑢𝑡
⋮
0
⋮
1 ]
Then we can easily get the solution for steady temperature distribution by matrix division
TT𝑠𝑡𝑒𝑎𝑑𝑦 = 𝐴𝑟ℎ𝑠
Results from MATLAB programming:
Table 1 steady temperature (2 nodes)
1 1 1 1 1 1 1 1 1 1 1 1 1
1 1.737 2.475 3.13 3.455 3.588 3.6229 3.588 3.455 3.13 2.475 1.737 1
1 2.475 4.032 5.589 6.102 6.274 6.3155 6.274 6.102 5.589 4.032 2.475 1
1 3.13 5.589 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 5.589 3.13 1
1 3.455 6.102 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 6.102 3.455 1
1 3.588 6.274 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 6.274 3.588 1
1 3.623 6.316 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 6.316 3.623 1
1 3.588 6.274 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 6.274 3.588 1
1 3.455 6.102 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 6.102 3.455 1
1 3.13 5.589 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 5.589 3.13 1
1 2.475 4.032 5.589 6.102 6.274 6.3155 6.274 6.102 5.589 4.032 2.475 1
1 1.737 2.475 3.13 3.455 3.588 3.6229 3.588 3.455 3.13 2.475 1.737 1
1 1 1 1 1 1 1 1 1 1 1 1 1
Figure 4 non-dimensional temperature distribution
2) Transient
By substituting k=h2/4 into
𝑇𝑖,𝑗
𝑛+1
− 𝑇𝑖,𝑗
𝑛
𝑘
=
𝑇𝑖−1,𝑗
𝑛+1
+𝑇𝑖,𝑗−1
𝑛+1
− 4𝑇𝑖,𝑗
𝑛+1
+ 𝑇𝑖,𝑗+1
𝑛+1
+ 𝑇𝑖+1,𝑗
𝑛+1
ℎ2
Rearranging terms, have
−𝑇𝑖−1,𝑗
𝑛+1
−𝑇𝑖,𝑗−1
𝑛+1
+ 8𝑇𝑖,𝑗
𝑛+1
− 𝑇𝑖,𝑗+1
𝑛+1
− 𝑇𝑖+1,𝑗
𝑛+1
= 4𝑇𝑖,𝑗
𝑛
Based on foregoing analysis, this transient system can be solved by interaction. Determine the
coefficient matrix A and let {TT} n be the right-hand side array, then {TT} n+1 can be computed:
TT𝑛+1 = 𝐴TT𝑛
Results from MATLAB programming:
When Np=2, the get-steady time for error < 0.01 is ts =1353.3 s.
Figure 5 transient temperature contour (Np=2)
When Np=5, the get-steady time for error < 0.01 is ts =1213.3 s.
Figure 6 transient temperature contour (Np=5)

Contenu connexe

Tendances

I. Antoniadis - "Introduction to Supersymmetry" 1/2
I. Antoniadis - "Introduction to Supersymmetry" 1/2I. Antoniadis - "Introduction to Supersymmetry" 1/2
I. Antoniadis - "Introduction to Supersymmetry" 1/2SEENET-MTP
 
N. Bilic - "Hamiltonian Method in the Braneworld" 2/3
N. Bilic - "Hamiltonian Method in the Braneworld" 2/3N. Bilic - "Hamiltonian Method in the Braneworld" 2/3
N. Bilic - "Hamiltonian Method in the Braneworld" 2/3SEENET-MTP
 
Öncel Akademi: İstatistiksel Sismoloji
Öncel Akademi: İstatistiksel SismolojiÖncel Akademi: İstatistiksel Sismoloji
Öncel Akademi: İstatistiksel SismolojiAli Osman Öncel
 
Unit 3 transient heat condution
Unit 3 transient heat condutionUnit 3 transient heat condution
Unit 3 transient heat condutionYashawantha K M
 
فيزياء 1 شابتر 1
فيزياء 1 شابتر 1فيزياء 1 شابتر 1
فيزياء 1 شابتر 1Feras Arafat
 
2 the first law of thermodynamic
2 the first law of thermodynamic2 the first law of thermodynamic
2 the first law of thermodynamicRanny Rolinda R
 
Etht grp 10 ,140080125005 006-007-008
Etht grp 10 ,140080125005 006-007-008Etht grp 10 ,140080125005 006-007-008
Etht grp 10 ,140080125005 006-007-008Yash Dobariya
 
Fox And Mcdonald's Introduction To Fluid Mechanics 8th Edition Pritchard Solu...
Fox And Mcdonald's Introduction To Fluid Mechanics 8th Edition Pritchard Solu...Fox And Mcdonald's Introduction To Fluid Mechanics 8th Edition Pritchard Solu...
Fox And Mcdonald's Introduction To Fluid Mechanics 8th Edition Pritchard Solu...qedobose
 
Application of Ordinary Differential Equation in civil engineering
Application of Ordinary Differential Equation in civil engineeringApplication of Ordinary Differential Equation in civil engineering
Application of Ordinary Differential Equation in civil engineeringEngr Mir Noor Ahmed Langove
 
Dynamics of structures 5th edition chopra solutions manual
Dynamics of structures 5th edition chopra solutions manualDynamics of structures 5th edition chopra solutions manual
Dynamics of structures 5th edition chopra solutions manualSchneiderxds
 
I. Cotaescu - "Canonical quantization of the covariant fields: the Dirac fiel...
I. Cotaescu - "Canonical quantization of the covariant fields: the Dirac fiel...I. Cotaescu - "Canonical quantization of the covariant fields: the Dirac fiel...
I. Cotaescu - "Canonical quantization of the covariant fields: the Dirac fiel...SEENET-MTP
 
Cap 7 relaciones termodinamica
Cap 7 relaciones termodinamicaCap 7 relaciones termodinamica
Cap 7 relaciones termodinamicasernieto
 
FIRST ORDER DIFFERENTIAL EQUATION
 FIRST ORDER DIFFERENTIAL EQUATION FIRST ORDER DIFFERENTIAL EQUATION
FIRST ORDER DIFFERENTIAL EQUATIONAYESHA JAVED
 

Tendances (18)

I. Antoniadis - "Introduction to Supersymmetry" 1/2
I. Antoniadis - "Introduction to Supersymmetry" 1/2I. Antoniadis - "Introduction to Supersymmetry" 1/2
I. Antoniadis - "Introduction to Supersymmetry" 1/2
 
N. Bilic - "Hamiltonian Method in the Braneworld" 2/3
N. Bilic - "Hamiltonian Method in the Braneworld" 2/3N. Bilic - "Hamiltonian Method in the Braneworld" 2/3
N. Bilic - "Hamiltonian Method in the Braneworld" 2/3
 
Öncel Akademi: İstatistiksel Sismoloji
Öncel Akademi: İstatistiksel SismolojiÖncel Akademi: İstatistiksel Sismoloji
Öncel Akademi: İstatistiksel Sismoloji
 
Unit 3 transient heat condution
Unit 3 transient heat condutionUnit 3 transient heat condution
Unit 3 transient heat condution
 
فيزياء 1 شابتر 1
فيزياء 1 شابتر 1فيزياء 1 شابتر 1
فيزياء 1 شابتر 1
 
2 the first law of thermodynamic
2 the first law of thermodynamic2 the first law of thermodynamic
2 the first law of thermodynamic
 
Etht grp 10 ,140080125005 006-007-008
Etht grp 10 ,140080125005 006-007-008Etht grp 10 ,140080125005 006-007-008
Etht grp 10 ,140080125005 006-007-008
 
Fox And Mcdonald's Introduction To Fluid Mechanics 8th Edition Pritchard Solu...
Fox And Mcdonald's Introduction To Fluid Mechanics 8th Edition Pritchard Solu...Fox And Mcdonald's Introduction To Fluid Mechanics 8th Edition Pritchard Solu...
Fox And Mcdonald's Introduction To Fluid Mechanics 8th Edition Pritchard Solu...
 
Differential Equation_Half Life
Differential Equation_Half LifeDifferential Equation_Half Life
Differential Equation_Half Life
 
I023083088
I023083088I023083088
I023083088
 
Application of Ordinary Differential Equation in civil engineering
Application of Ordinary Differential Equation in civil engineeringApplication of Ordinary Differential Equation in civil engineering
Application of Ordinary Differential Equation in civil engineering
 
PART I.2 - Physical Mathematics
PART I.2 - Physical MathematicsPART I.2 - Physical Mathematics
PART I.2 - Physical Mathematics
 
Dynamics of structures 5th edition chopra solutions manual
Dynamics of structures 5th edition chopra solutions manualDynamics of structures 5th edition chopra solutions manual
Dynamics of structures 5th edition chopra solutions manual
 
I. Cotaescu - "Canonical quantization of the covariant fields: the Dirac fiel...
I. Cotaescu - "Canonical quantization of the covariant fields: the Dirac fiel...I. Cotaescu - "Canonical quantization of the covariant fields: the Dirac fiel...
I. Cotaescu - "Canonical quantization of the covariant fields: the Dirac fiel...
 
Cap 7 relaciones termodinamica
Cap 7 relaciones termodinamicaCap 7 relaciones termodinamica
Cap 7 relaciones termodinamica
 
blasius
blasiusblasius
blasius
 
PART I.4 - Physical Mathematics
PART I.4 - Physical MathematicsPART I.4 - Physical Mathematics
PART I.4 - Physical Mathematics
 
FIRST ORDER DIFFERENTIAL EQUATION
 FIRST ORDER DIFFERENTIAL EQUATION FIRST ORDER DIFFERENTIAL EQUATION
FIRST ORDER DIFFERENTIAL EQUATION
 

Similaire à Heat Conduction Simulation with FDM

Heat conduction equation
Heat conduction equationHeat conduction equation
Heat conduction equationYashawantha K M
 
One Dimensional Steady State Heat Conduction
One Dimensional Steady State Heat ConductionOne Dimensional Steady State Heat Conduction
One Dimensional Steady State Heat ConductionBektu Dida
 
Temperature Distribution in a ground section of a double-pipe system in a dis...
Temperature Distribution in a ground section of a double-pipe system in a dis...Temperature Distribution in a ground section of a double-pipe system in a dis...
Temperature Distribution in a ground section of a double-pipe system in a dis...Paolo Fornaseri
 
heat conduction equations
heat conduction equationsheat conduction equations
heat conduction equationsZahir Baloch
 
Mathematical Modeling of Quasi Static Thermoelastic Transient behavior of thi...
Mathematical Modeling of Quasi Static Thermoelastic Transient behavior of thi...Mathematical Modeling of Quasi Static Thermoelastic Transient behavior of thi...
Mathematical Modeling of Quasi Static Thermoelastic Transient behavior of thi...IJERA Editor
 
THE TEMPERATURE PROFILE SOLUTION IN NATURAL CONVECTION SOLVED MATHEMATICALLY.pdf
THE TEMPERATURE PROFILE SOLUTION IN NATURAL CONVECTION SOLVED MATHEMATICALLY.pdfTHE TEMPERATURE PROFILE SOLUTION IN NATURAL CONVECTION SOLVED MATHEMATICALLY.pdf
THE TEMPERATURE PROFILE SOLUTION IN NATURAL CONVECTION SOLVED MATHEMATICALLY.pdfWasswaderrick3
 
THE RATE OF COOLING IN NATURAL CONVECTION EXPLAINED AND SOLVED.pdf
THE RATE OF COOLING IN NATURAL CONVECTION EXPLAINED AND SOLVED.pdfTHE RATE OF COOLING IN NATURAL CONVECTION EXPLAINED AND SOLVED.pdf
THE RATE OF COOLING IN NATURAL CONVECTION EXPLAINED AND SOLVED.pdfWasswaderrick3
 
THE COOLING CURVE SOLUTION IN NATURAL CONVECTION EXPLAINED.pdf
THE COOLING CURVE SOLUTION IN NATURAL CONVECTION EXPLAINED.pdfTHE COOLING CURVE SOLUTION IN NATURAL CONVECTION EXPLAINED.pdf
THE COOLING CURVE SOLUTION IN NATURAL CONVECTION EXPLAINED.pdfWasswaderrick3
 
2012 Wire-coil insert - Argonne National Lab project report
2012 Wire-coil insert - Argonne National Lab project report2012 Wire-coil insert - Argonne National Lab project report
2012 Wire-coil insert - Argonne National Lab project reportVicky Chuqiao Yang
 
Jamuna Oil Comany Ltd recruitment question & ans (5th july 2018)
Jamuna Oil Comany Ltd recruitment question & ans (5th july 2018)Jamuna Oil Comany Ltd recruitment question & ans (5th july 2018)
Jamuna Oil Comany Ltd recruitment question & ans (5th july 2018)Alamin Md
 
A Coupled Thermoelastic Problem of A Half – Space Due To Thermal Shock on the...
A Coupled Thermoelastic Problem of A Half – Space Due To Thermal Shock on the...A Coupled Thermoelastic Problem of A Half – Space Due To Thermal Shock on the...
A Coupled Thermoelastic Problem of A Half – Space Due To Thermal Shock on the...iosrjce
 
Derivation of Laplace equation (2D Heat Equation)
Derivation of Laplace equation (2D Heat Equation)Derivation of Laplace equation (2D Heat Equation)
Derivation of Laplace equation (2D Heat Equation)Manish Khose
 
(3) heat conduction equation [compatibility mode]
(3) heat conduction equation [compatibility mode](3) heat conduction equation [compatibility mode]
(3) heat conduction equation [compatibility mode]Mandava Ramya
 
heat diffusion equation.ppt
heat diffusion equation.pptheat diffusion equation.ppt
heat diffusion equation.ppt056JatinGavel
 
heat diffusion equation.ppt
heat diffusion equation.pptheat diffusion equation.ppt
heat diffusion equation.ppt056JatinGavel
 
An introduction to inverse problems with applications
An introduction to inverse problems with applicationsAn introduction to inverse problems with applications
An introduction to inverse problems with applicationsSpringer
 
Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715HelpWithAssignment.com
 
Heat and mass transfer equation; continuity equation; momentum equation;
Heat and mass transfer equation; continuity equation; momentum equation;Heat and mass transfer equation; continuity equation; momentum equation;
Heat and mass transfer equation; continuity equation; momentum equation;Chandan
 

Similaire à Heat Conduction Simulation with FDM (20)

Heat conduction equation
Heat conduction equationHeat conduction equation
Heat conduction equation
 
One Dimensional Steady State Heat Conduction
One Dimensional Steady State Heat ConductionOne Dimensional Steady State Heat Conduction
One Dimensional Steady State Heat Conduction
 
H04525159
H04525159H04525159
H04525159
 
Temperature Distribution in a ground section of a double-pipe system in a dis...
Temperature Distribution in a ground section of a double-pipe system in a dis...Temperature Distribution in a ground section of a double-pipe system in a dis...
Temperature Distribution in a ground section of a double-pipe system in a dis...
 
heat conduction equations
heat conduction equationsheat conduction equations
heat conduction equations
 
Mathematical Modeling of Quasi Static Thermoelastic Transient behavior of thi...
Mathematical Modeling of Quasi Static Thermoelastic Transient behavior of thi...Mathematical Modeling of Quasi Static Thermoelastic Transient behavior of thi...
Mathematical Modeling of Quasi Static Thermoelastic Transient behavior of thi...
 
THE TEMPERATURE PROFILE SOLUTION IN NATURAL CONVECTION SOLVED MATHEMATICALLY.pdf
THE TEMPERATURE PROFILE SOLUTION IN NATURAL CONVECTION SOLVED MATHEMATICALLY.pdfTHE TEMPERATURE PROFILE SOLUTION IN NATURAL CONVECTION SOLVED MATHEMATICALLY.pdf
THE TEMPERATURE PROFILE SOLUTION IN NATURAL CONVECTION SOLVED MATHEMATICALLY.pdf
 
THE RATE OF COOLING IN NATURAL CONVECTION EXPLAINED AND SOLVED.pdf
THE RATE OF COOLING IN NATURAL CONVECTION EXPLAINED AND SOLVED.pdfTHE RATE OF COOLING IN NATURAL CONVECTION EXPLAINED AND SOLVED.pdf
THE RATE OF COOLING IN NATURAL CONVECTION EXPLAINED AND SOLVED.pdf
 
THE COOLING CURVE SOLUTION IN NATURAL CONVECTION EXPLAINED.pdf
THE COOLING CURVE SOLUTION IN NATURAL CONVECTION EXPLAINED.pdfTHE COOLING CURVE SOLUTION IN NATURAL CONVECTION EXPLAINED.pdf
THE COOLING CURVE SOLUTION IN NATURAL CONVECTION EXPLAINED.pdf
 
2012 Wire-coil insert - Argonne National Lab project report
2012 Wire-coil insert - Argonne National Lab project report2012 Wire-coil insert - Argonne National Lab project report
2012 Wire-coil insert - Argonne National Lab project report
 
Jamuna Oil Comany Ltd recruitment question & ans (5th july 2018)
Jamuna Oil Comany Ltd recruitment question & ans (5th july 2018)Jamuna Oil Comany Ltd recruitment question & ans (5th july 2018)
Jamuna Oil Comany Ltd recruitment question & ans (5th july 2018)
 
A Coupled Thermoelastic Problem of A Half – Space Due To Thermal Shock on the...
A Coupled Thermoelastic Problem of A Half – Space Due To Thermal Shock on the...A Coupled Thermoelastic Problem of A Half – Space Due To Thermal Shock on the...
A Coupled Thermoelastic Problem of A Half – Space Due To Thermal Shock on the...
 
Derivation of Laplace equation (2D Heat Equation)
Derivation of Laplace equation (2D Heat Equation)Derivation of Laplace equation (2D Heat Equation)
Derivation of Laplace equation (2D Heat Equation)
 
J0736367
J0736367J0736367
J0736367
 
(3) heat conduction equation [compatibility mode]
(3) heat conduction equation [compatibility mode](3) heat conduction equation [compatibility mode]
(3) heat conduction equation [compatibility mode]
 
heat diffusion equation.ppt
heat diffusion equation.pptheat diffusion equation.ppt
heat diffusion equation.ppt
 
heat diffusion equation.ppt
heat diffusion equation.pptheat diffusion equation.ppt
heat diffusion equation.ppt
 
An introduction to inverse problems with applications
An introduction to inverse problems with applicationsAn introduction to inverse problems with applications
An introduction to inverse problems with applications
 
Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715
 
Heat and mass transfer equation; continuity equation; momentum equation;
Heat and mass transfer equation; continuity equation; momentum equation;Heat and mass transfer equation; continuity equation; momentum equation;
Heat and mass transfer equation; continuity equation; momentum equation;
 

Dernier

Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfalene1
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxStephen Sitton
 
Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfDrew Moseley
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfManish Kumar
 
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptx
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptxTriangulation survey (Basic Mine Surveying)_MI10412MI.pptx
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptxRomil Mishra
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
The Satellite applications in telecommunication
The Satellite applications in telecommunicationThe Satellite applications in telecommunication
The Satellite applications in telecommunicationnovrain7111
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESkarthi keyan
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewsandhya757531
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork
 
Curve setting (Basic Mine Surveying)_MI10412MI.pptx
Curve setting (Basic Mine Surveying)_MI10412MI.pptxCurve setting (Basic Mine Surveying)_MI10412MI.pptx
Curve setting (Basic Mine Surveying)_MI10412MI.pptxRomil Mishra
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdfsahilsajad201
 
priority interrupt computer organization
priority interrupt computer organizationpriority interrupt computer organization
priority interrupt computer organizationchnrketan
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTFUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTSneha Padhiar
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptJohnWilliam111370
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptxmohitesoham12
 
A brief look at visionOS - How to develop app on Apple's Vision Pro
A brief look at visionOS - How to develop app on Apple's Vision ProA brief look at visionOS - How to develop app on Apple's Vision Pro
A brief look at visionOS - How to develop app on Apple's Vision ProRay Yuan Liu
 

Dernier (20)

Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptx
 
Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdf
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
 
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptx
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptxTriangulation survey (Basic Mine Surveying)_MI10412MI.pptx
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptx
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
The Satellite applications in telecommunication
The Satellite applications in telecommunicationThe Satellite applications in telecommunication
The Satellite applications in telecommunication
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overview
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
 
Curve setting (Basic Mine Surveying)_MI10412MI.pptx
Curve setting (Basic Mine Surveying)_MI10412MI.pptxCurve setting (Basic Mine Surveying)_MI10412MI.pptx
Curve setting (Basic Mine Surveying)_MI10412MI.pptx
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdf
 
priority interrupt computer organization
priority interrupt computer organizationpriority interrupt computer organization
priority interrupt computer organization
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTFUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
 
ASME-B31.4-2019-estandar para diseño de ductos
ASME-B31.4-2019-estandar para diseño de ductosASME-B31.4-2019-estandar para diseño de ductos
ASME-B31.4-2019-estandar para diseño de ductos
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptx
 
A brief look at visionOS - How to develop app on Apple's Vision Pro
A brief look at visionOS - How to develop app on Apple's Vision ProA brief look at visionOS - How to develop app on Apple's Vision Pro
A brief look at visionOS - How to develop app on Apple's Vision Pro
 

Heat Conduction Simulation with FDM

  • 1. Heat Conduction Simulation with FDM Xueer Zhang 1. Problem and Objectives Consider a thick walled square conduit of steam. The inside wall of the conduit is maintained at temperature Tin = 200 o C, while the outside surface is maintained at temperature Tout = 22 o C. The dimensions of the conduit are shown in the diagram in terms of the outer side length a = 0.56 m and inner side length b = 0.28 m. The material of the wall has a density of ρ= 8,000 kg/m3 , specific heat of ν= 450 J/kg-0 C, and conductivity of k = 42 W/ m-0 C . The conduction along the axial direction of the conduit can be neglected. Figure 1 conductor geometrics a) Use non dimensional variables for distances, time and temperature and derive the partial differential equation governing the transient heat conduction in this problem for times between the initial time t = 0, when the entire conduit walls were at temperature T = 22 oC, and the time ts when steady state temperature distribution was reached. Specify the boundary conditions, initial conditions and any non-dimensional parameters of the problem. b) Write a program which utilizes the method of finite differences to calculate and output the space distribution of temperature in the walls for the case of steady state, i.e. t>ts. The solution should be obtained first with a uniform grid which places two internal nodes between the walls. Then the solution so obtained should be checked with the solution obtained by a grid which places 5 equidistance points between the walls. c) Modify your program so that it can describe the transient heat distribution for times prior to the establishment of steady state. 2. Conduction Equation Derivation To look into a spatial medium D’s characteristic of heat conduction, we use function u (t; x; y; z) to represent the temperature of D at position (x; y; z) and time t. According to Fourier experimental theorem in heat transfer, the heat passes through an infinitely small area dS along the normal direction n in an infinitely small time period dt is in b a
  • 2. proportion to the gradient of temperature along n: dQ = −k(x,y, z) ∂u ∂n 𝑑𝑆𝑑𝑡 Where k>0 is the conductivity of D at (x, y, z). A negative sign is added because heat always flows from hotter side to cooler side, which means dQ and ∂u/∂n should have opposite signs. Define a region Ω closed by surface Γ in the medium D. The heat fluxes in Γ from time t1 to t2: Q = ∫ {∬ 𝑘(𝑥, 𝑦, 𝑧) ∂u ∂n 𝑑𝑆 Γ } 𝑑𝑡 𝑡2 𝑡1 Where ∂u ∂n is the gradient of u along unit exterior normal n on Γ. The heat fluxing in changes the interior temperature of the medium from u (t1, x, y, z) to u (t2, x, y, z). The heat assumed to be absorbed is: ∭ 𝜈(𝑥, 𝑦, 𝑧)𝜌(𝑥, 𝑦, 𝑧)[𝑢(t1, x, y, z) − u(t2, x, y, z)]𝑑𝑥𝑑𝑦𝑑𝑧 𝛺 Where ν is the specific heat of D, and ρ is the density. Then have ∫ {∬ 𝑘 ∂u ∂n 𝑑𝑆 Γ } 𝑑𝑡 = 𝑡2 𝑡1 ∭ 𝜈𝜌[𝑢(t1, x, y, z) − u(t2, x, y, z)]𝑑𝑥𝑑𝑦𝑑𝑧 𝛺 Assume u has second order continuous partial derivative about x, y, z and first order continuous partial derivative about t. Applying Green formula gives ∫ ∭ [ 𝜕 𝜕𝑥 (𝑘 𝜕𝑢 𝜕𝑥 ) + 𝜕 𝜕𝑦 (𝑘 𝜕𝑢 𝜕𝑦 ) + 𝜕 𝜕𝑧 (𝑘 𝜕𝑢 𝜕𝑧 )]𝑑𝑥𝑑𝑦𝑑𝑧 𝛺 𝑑𝑡 = ∭ 𝜈𝜌 (∫ ∂u ∂t 𝑑𝑡 𝑡2 𝑡1 ) 𝑑𝑥𝑑𝑦𝑑𝑧 𝛺 𝑡2 𝑡1 Rearranging the integral, have ∫ ∭ [𝜈𝜌 ∂u ∂t − 𝜕 𝜕𝑥 (𝑘 𝜕𝑢 𝜕𝑥 ) − 𝜕 𝜕𝑦 (𝑘 𝜕𝑢 𝜕𝑦 ) − 𝜕 𝜕𝑧 (𝑘 𝜕𝑢 𝜕𝑧 )]𝑑𝑥𝑑𝑦𝑑𝑧 𝛺 𝑑𝑡 = 0 𝑡2 𝑡1 Since t1, t2 and region Ω are arbitrary, so 𝜈𝜌 ∂u ∂t = 𝜕 𝜕𝑥 (𝑘 𝜕𝑢 𝜕𝑥 ) + 𝜕 𝜕𝑦 (𝑘 𝜕𝑢 𝜕𝑦 ) + 𝜕 𝜕𝑧 (𝑘 𝜕𝑢 𝜕𝑧 ) Which is the heat conduction equation for inhomogeneous isotropic medium. If the medium is homogeneous, k, ν andρare constants. Let k/ρν=c2 ,then have 𝜕𝑢 𝜕𝑡 = 𝑐2 ( 𝜕2 𝑢 𝜕𝑥2 + 𝜕2 𝑢 𝜕𝑦2 + 𝜕2 𝑢 𝜕𝑧2 ) Which is the transient heat conduction equation for isotropic medium. In this case, we are dealing with a planar problem. The equation with dimensional variables can be written as: ∂u ∂t = 𝑐2 ( 𝜕2 𝑢 𝜕𝑥2 + 𝜕2 𝑢 𝜕𝑦2 )
  • 3. 3. Non-dimensionalization Substitution of non-dimensionalized u*=u/Tout, x*=x/a and y*=y/a into the conduction equation gives Tout ∂u∗ ∂t = 𝑐2 Tout 𝑎2 ( 𝜕2 𝑢∗ 𝜕𝑥∗2 + 𝜕2 𝑢∗ 𝜕𝑦∗2) For a simpler form of governing equation, let t* =t/ (a2 /c2 )= t(k/ a2 νρ), have ∂u∗ ∂t∗ = ( 𝜕2 𝑢∗ 𝜕𝑥∗2 + 𝜕2 𝑢∗ 𝜕𝑦∗2) Boundary conditions are:  u*(x*=0) = u*(x*=1) = u*(y*=0) = u*(y*=1) = 1  u*(b*≤ x*≤(1+b*)/2 ∩ b*≤ y*≤(1+b*)/2) = Tin/Tout, where b*=b/a Initial conditions are:  u*(b*≤ x*≤(1+b*)/2 ∩ b*≤ y*≤(1+b*)/2) = Tin/Tout  u*(other) = 1 4. Meshing 1) Grid size If Np points are inserted between adjacent inner and outer walls, the grid size would be h = 1 − b∗ 2(Np + 1) Accordingly, there would be n=1+4(Np+1) grid points on each dimension and totally N= n2 points for this special case (a=2b). As indicated in figure 2, subscripts i and j are utilized to locate the grid points as an n*n matrix, which will be explained later.
  • 4. Figure 2 partial diagram of grid meshing 2) Step size For convergence, which can be ensured by a diagonally dominant coefficient matrix, we choose step size k small enough with respect to grid size h: k = ℎ2 4 5. Computing and Results For higher precision and convergence, implicit method of finite differences is chosen: 𝑇𝑖,𝑗 𝑛+1 − 𝑇𝑖,𝑗 𝑛 ∆𝑡 = 𝜅 ( 𝑇𝑖,𝑗+1 𝑛+1 − 2𝑇𝑖,𝑗 𝑛+1 + 𝑇𝑖,𝑗−1 𝑛+1 ∆𝑥2 + 𝑇𝑖+1,𝑗 𝑛+1 − 2𝑇𝑖,𝑗 𝑛+1 + 𝑇𝑖−1,𝑗 𝑛+1 ∆𝑦2 ) + 𝑄𝑖,𝑗 𝑛 𝜌𝑐 𝑝 Where Δt=k, Δx=Δy=h, conductivity κ is non-dimensionalized to 1 and interior heat source Q=0 for this case, so 𝑇𝑖,𝑗 𝑛+1 − 𝑇𝑖,𝑗 𝑛 𝑘 = 𝑇𝑖−1,𝑗 𝑛+1 +𝑇𝑖,𝑗−1 𝑛+1 − 4𝑇𝑖,𝑗 𝑛+1 + 𝑇𝑖,𝑗+1 𝑛+1 + 𝑇𝑖+1,𝑗 𝑛+1 ℎ2 1) Steady Substituting 𝑇𝑖,𝑗 𝑛+1 = 𝑇𝑖,𝑗 𝑛 , have 𝑇𝑖−1,𝑗 𝑛+1 +𝑇𝑖,𝑗−1 𝑛+1 − 4𝑇𝑖,𝑗 𝑛+1 + 𝑇𝑖,𝑗+1 𝑛+1 + 𝑇𝑖+1,𝑗 𝑛+1 = 0 Along with boundary conditions. To solve this system of n2 equations, we can develop a coefficient matrix A and rearrange 𝑇𝑖,𝑗 𝑛+1 as a column array “TT”, then applying the right-hand side of this steady equation and all the boundary conditions to another column array “rhs”, which satisfies. [A] 𝑁×𝑁{𝑇𝑇} 𝑁×1 = {𝑟ℎ𝑠} 𝑁×1
  • 5. To uniform, define matrix {TT} as follows TT = [ 𝑇1,1 𝑇1,2 : 𝑇1,𝑛 𝑇2,1 𝑇2,2 : 𝑇𝑛,1 : 𝑇𝑛,𝑛−1 𝑇𝑛,𝑛 ] To specify the relationship between TT and T, introduce J = n (i-1) +j which satisfies 𝑇𝑇J = 𝑇i,j Take Np=1 as an example. There would be N=81 grid points, which are indicated as 81 intersections in figure 3. Colored lines and characters represent different kind of boundary conditions. TTJ=Ti,j TT28 TT29 TT30 TT31 TT19 TT20 TT21 TT22 TT23 TT24 TT25 TT26 TT27 TT10=T2,1 TT11=T2,2 TT12 TT13 TT14 TT15 TT16 TT17 TT18 TT1=T1,1 TT2=T1,2 TT3=T1,3 TT4=T1,4 TT5=T1,5 TT6=T1,6 TT7=T1,7 TT8=T1,8 TT9=T1,9 Figure 3 numbering scheme for a gird with Np=1 Accordingly, matrix A and array rhs would be something like
  • 6. 𝐴 = [ 1 0 ⋯ 0 ⋱ ⋱ ⋮ 0 1 0 ⋯ 1 −4 1 ⋯ 1 ⋯ 1 −4 1 ⋯ 1 ⋯ 1 −4 1 ⋯ 0 1 0 ⋮ ⋱ ⋱ 0 ⋯ 0 1 ] , rhs = [ 1 ⋮ 1 0 ⋮ 𝑇𝑖𝑛 𝑇 𝑜𝑢𝑡 ⋮ 0 ⋮ 1 ] Then we can easily get the solution for steady temperature distribution by matrix division TT𝑠𝑡𝑒𝑎𝑑𝑦 = 𝐴𝑟ℎ𝑠 Results from MATLAB programming: Table 1 steady temperature (2 nodes) 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1.737 2.475 3.13 3.455 3.588 3.6229 3.588 3.455 3.13 2.475 1.737 1 1 2.475 4.032 5.589 6.102 6.274 6.3155 6.274 6.102 5.589 4.032 2.475 1 1 3.13 5.589 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 5.589 3.13 1 1 3.455 6.102 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 6.102 3.455 1 1 3.588 6.274 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 6.274 3.588 1 1 3.623 6.316 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 6.316 3.623 1 1 3.588 6.274 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 6.274 3.588 1 1 3.455 6.102 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 6.102 3.455 1 1 3.13 5.589 9.091 9.091 9.091 9.0909 9.091 9.091 9.091 5.589 3.13 1 1 2.475 4.032 5.589 6.102 6.274 6.3155 6.274 6.102 5.589 4.032 2.475 1 1 1.737 2.475 3.13 3.455 3.588 3.6229 3.588 3.455 3.13 2.475 1.737 1 1 1 1 1 1 1 1 1 1 1 1 1 1
  • 7. Figure 4 non-dimensional temperature distribution 2) Transient By substituting k=h2/4 into 𝑇𝑖,𝑗 𝑛+1 − 𝑇𝑖,𝑗 𝑛 𝑘 = 𝑇𝑖−1,𝑗 𝑛+1 +𝑇𝑖,𝑗−1 𝑛+1 − 4𝑇𝑖,𝑗 𝑛+1 + 𝑇𝑖,𝑗+1 𝑛+1 + 𝑇𝑖+1,𝑗 𝑛+1 ℎ2 Rearranging terms, have −𝑇𝑖−1,𝑗 𝑛+1 −𝑇𝑖,𝑗−1 𝑛+1 + 8𝑇𝑖,𝑗 𝑛+1 − 𝑇𝑖,𝑗+1 𝑛+1 − 𝑇𝑖+1,𝑗 𝑛+1 = 4𝑇𝑖,𝑗 𝑛 Based on foregoing analysis, this transient system can be solved by interaction. Determine the coefficient matrix A and let {TT} n be the right-hand side array, then {TT} n+1 can be computed: TT𝑛+1 = 𝐴TT𝑛 Results from MATLAB programming: When Np=2, the get-steady time for error < 0.01 is ts =1353.3 s.
  • 8. Figure 5 transient temperature contour (Np=2) When Np=5, the get-steady time for error < 0.01 is ts =1213.3 s. Figure 6 transient temperature contour (Np=5)