Professional Documents
Culture Documents
𝜕𝜕𝑞𝑞𝑥𝑥
𝑞𝑞𝑥𝑥 𝐴𝐴 𝑑𝑑𝑑𝑑 + 𝑞𝑞𝐵𝐵 (𝐴𝐴 𝑑𝑑𝑑𝑑)𝑑𝑑𝑑𝑑 = �𝑞𝑞𝑥𝑥 + 𝑑𝑑𝑑𝑑� 𝐴𝐴 𝑑𝑑𝑑𝑑 + 𝜌𝜌𝜌𝜌(𝐴𝐴 𝑑𝑑𝑑𝑑)𝑑𝑑𝑑𝑑 (7.10)
𝜕𝜕𝜕𝜕
which yields the one-dimensional transient heat conduction equation in the form:
𝜕𝜕2 𝑇𝑇 𝐵𝐵 = 𝜌𝜌𝜌𝜌
𝜕𝜕𝜕𝜕 (7.12)
𝑘𝑘𝑥𝑥 + 𝑞𝑞
𝜕𝜕𝑥𝑥2 𝜕𝜕𝜕𝜕
GOVERNING EQUATIONS FOR CONDUCTION HT
𝑞𝑞𝐵𝐵 1 𝜕𝜕𝜕𝜕
2
∇ 𝑇𝑇 + = (7.15)
𝑘𝑘 𝛼𝛼 𝜕𝜕𝜕𝜕
2 𝜕𝜕2 𝑇𝑇 𝜕𝜕2 𝑇𝑇 𝜕𝜕2 𝑇𝑇
where ∇ 𝑇𝑇 = 𝜕𝜕𝑥𝑥2
+ 𝜕𝜕𝑦𝑦2 + 𝜕𝜕𝑧𝑧2 in Cartesian coordinates and 𝛼𝛼 is the thermal diffusivity, 𝛼𝛼 = 𝑘𝑘/𝜌𝜌𝜌𝜌 .
GOVERNING EQUATIONS FOR CONDUCTION HT
Boundary Conditions:
Radiation:
𝜕𝜕𝜕𝜕
−𝑘𝑘𝑛𝑛 = 𝜀𝜀𝜀𝜀 𝑇𝑇𝑒𝑒4 − 𝑇𝑇𝑠𝑠4 on 𝑆𝑆5
𝜕𝜕𝜕𝜕
𝜕𝜕𝜕𝜕
−𝑘𝑘𝑛𝑛 = 𝜀𝜀𝜀𝜀 𝑇𝑇𝑒𝑒4 − 𝑇𝑇𝑠𝑠4 = 𝜀𝜀𝜀𝜀 𝑇𝑇𝑒𝑒2 + 𝑇𝑇𝑠𝑠2 𝑇𝑇𝑒𝑒 + 𝑇𝑇𝑠𝑠 𝑇𝑇𝑒𝑒 − 𝑇𝑇𝑠𝑠 = 𝜅𝜅 𝑇𝑇𝑒𝑒 − 𝑇𝑇𝑠𝑠
𝜕𝜕𝜕𝜕
𝑄𝑄 𝑏𝑏
= ∫𝑉𝑉 𝑁𝑁 𝑇𝑇 𝑞𝑞𝑏𝑏 𝑑𝑑𝑑𝑑 Heat flux vector due to internal heat generation
𝑄𝑄 𝑆𝑆
= ∫𝑆𝑆 𝑁𝑁 𝑆𝑆 𝑇𝑇 𝑞𝑞 𝑆𝑆 𝑑𝑑𝑑𝑑 Heat flux vector due to input surface flux
𝑄𝑄 ℎ
= ∫𝑆𝑆 𝑁𝑁 𝑆𝑆 𝑇𝑇 ℎ𝑇𝑇𝑓𝑓 𝑑𝑑𝑑𝑑 Heat flux vector due to convection B.C.
𝑄𝑄 𝑟𝑟
= ∫𝑆𝑆 𝑁𝑁 𝑆𝑆 𝑇𝑇 ℎ� 𝑇𝑇𝑟𝑟 𝑑𝑑𝑑𝑑 Heat flux vector due to radiation B.C.
Solution:
We start by choosing an approximation function in the form:
𝑇𝑇 𝑥𝑥, 𝑡𝑡 = 𝑁𝑁𝑖𝑖 𝑥𝑥 𝑇𝑇𝑖𝑖 (𝑡𝑡) (b)
FINITE ELEMENT EQUATIONS FOR CONDUCTION HT
Example-A
Solution:
We start by choosing an approximation function in the form:
𝑇𝑇 𝑥𝑥, 𝑡𝑡 = 𝑁𝑁𝑖𝑖 𝑥𝑥 𝑇𝑇𝑖𝑖 (𝑡𝑡) (b)
For simplicity, we consider a one-dimensional element with two nodes, linear shape functions, and length L. In this
case, Equation (b) takes the following form:
𝑇𝑇 𝑥𝑥, 𝑡𝑡 = 𝑁𝑁1 𝑥𝑥 𝑇𝑇1 (𝑡𝑡) + 𝑁𝑁2 (𝑥𝑥) 𝑇𝑇2 (𝑡𝑡) (c)
where 𝑇𝑇1 𝑡𝑡 and 𝑇𝑇2 𝑡𝑡 are the element nodal temperatures. The nodal shape functions may be given by:
𝑥𝑥 𝑥𝑥
𝑁𝑁1 (𝑥𝑥) = 1 − , 𝑁𝑁2 (𝑥𝑥) =
𝐿𝐿 𝐿𝐿
the Galerkin weighting functions are given by:
𝜕𝜕𝜕𝜕 𝑥𝑥,𝑡𝑡 𝜕𝜕𝜕𝜕(𝑥𝑥,𝑡𝑡) 𝜕𝜕𝜕𝜕(𝑥𝑥,𝑡𝑡)
𝑤𝑤𝑖𝑖 = = 𝑁𝑁𝑖𝑖 then 𝑤𝑤1 = = 𝑁𝑁1 and 𝑤𝑤2 = = 𝑁𝑁2 (e)
𝜕𝜕𝑇𝑇𝑖𝑖 𝜕𝜕𝑇𝑇1 𝜕𝜕𝑇𝑇2
we obtain:
𝑥𝑥 𝜕𝜕𝑇𝑇1 𝜕𝜕𝑇𝑇2 𝜕𝜕𝑁𝑁1 𝑥𝑥 𝜕𝜕𝑁𝑁1 𝑥𝑥 𝜕𝜕𝑁𝑁2 𝑥𝑥 𝜕𝜕𝜕𝜕
∫𝑥𝑥 2 𝑁𝑁1 𝑥𝑥 𝜌𝜌𝜌𝜌 𝑁𝑁1 (𝑥𝑥) + 𝑁𝑁2 (𝑥𝑥) 𝐴𝐴 𝑑𝑑𝑑𝑑 + ∫𝑥𝑥𝑥𝑥12 𝑘𝑘𝑥𝑥 𝑇𝑇1 + 𝑇𝑇2 𝐴𝐴 𝑑𝑑𝑑𝑑 = ∫𝑥𝑥𝑥𝑥12 𝑁𝑁1 𝑥𝑥 𝑞𝑞 𝐵𝐵 𝐴𝐴 𝑑𝑑𝑑𝑑 − 𝑘𝑘𝑥𝑥 𝐴𝐴 �
1 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝑥𝑥1
where 𝑇𝑇1 ≡ 𝑇𝑇1 (𝑡𝑡), 𝑇𝑇2 ≡ 𝑇𝑇2 (𝑡𝑡) and 𝑇𝑇 ≡ 𝑇𝑇(𝑥𝑥, 𝑡𝑡).
FINITE ELEMENT EQUATIONS FOR CONDUCTION HT
Example-A
Equation (k) may be expressed in the following convenient matrix form:
𝜕𝜕𝑁𝑁1 𝜕𝜕𝑁𝑁2
𝐵𝐵 = , 𝐾𝐾 = 𝑘𝑘𝑥𝑥 , 𝑄𝑄𝐵𝐵 = � 𝑁𝑁 𝑇𝑇 ⋅ 𝑞𝑞 𝐵𝐵 ⋅ 𝑑𝑑𝑑𝑑 ,
𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝑉𝑉
SOLUTION OF THE NONLINEAR FINITE ELEMENT
EQUATIONS FOR CONDUCTION HT
SOLUTION OF THE NONLINEAR & TRANSIENT FE EQUATIONS
Apply the linearization assumptions of the 𝛼𝛼-method and re-arranging terms, we get:
𝟏𝟏 (𝒊𝒊−𝟏𝟏) (𝒊𝒊−𝟏𝟏) (𝒊𝒊−𝟏𝟏)
𝒕𝒕+𝜶𝜶𝜶𝜶𝜶𝜶 𝒄𝒄 𝒉𝒉
(𝑲𝑲 + 𝑲𝑲 + 𝑲𝑲 ) + 𝒓𝒓
⋅ 𝑪𝑪 𝚫𝚫𝑻𝑻(𝒊𝒊) = 𝒕𝒕+𝜶𝜶𝜶𝜶𝜶𝜶 � 𝒉𝒉 + 𝑸𝑸
𝑸𝑸𝒃𝒃 + 𝑸𝑸𝒔𝒔 + 𝒕𝒕+𝜶𝜶𝜶𝜶𝜶𝜶 𝑸𝑸 � 𝒓𝒓 − 𝒕𝒕+𝜶𝜶𝜶𝜶𝜶𝜶 � 𝒄𝒄 + 𝒒𝒒
𝑸𝑸 �𝒄𝒄 (7.35)
𝜶𝜶𝜶𝜶𝜶𝜶
SOLUTION OF THE NONLINEAR & TRANSIENT FE EQUATIONS
Table 7.2: Definition of terms for direct integration procedures
Term Name Expression
𝑡𝑡+𝛥𝛥𝛥𝛥
𝑡𝑡+𝛥𝛥𝛥𝛥
𝐊𝐊 𝑐𝑐
(𝑖𝑖−1)
Thermal conductivity matrix 𝐊𝐊 𝑐𝑐 = � 𝐁𝐁 𝑇𝑇 𝑡𝑡+𝛥𝛥𝛥𝛥 𝐊𝐊 (𝑖𝑖−1) 𝐁𝐁 ⋅ 𝑑𝑑𝑑𝑑
𝑉𝑉
𝑡𝑡+𝛥𝛥𝛥𝛥
𝑡𝑡+𝛥𝛥𝛥𝛥
𝐂𝐂 (𝑖𝑖−1) Thermal capacity matrix 𝐶𝐶 = � 𝑡𝑡+𝛥𝛥𝛥𝛥 𝜌𝜌𝜌𝜌 𝑖𝑖−1
𝐍𝐍 𝑇𝑇 𝐍𝐍 ⋅ 𝑑𝑑𝑑𝑑
𝑉𝑉
Nodal heat flux vector due to internal 𝑡𝑡+𝛥𝛥𝛥𝛥
𝑡𝑡+𝛥𝛥𝛥𝛥
𝐐𝐐𝑏𝑏 𝐐𝐐𝑏𝑏 = � 𝐍𝐍 𝑇𝑇 𝑡𝑡+𝛥𝛥𝛥𝛥
𝑞𝑞 𝑏𝑏 ⋅ 𝑑𝑑𝑑𝑑
heat generation 𝑉𝑉
𝑡𝑡+𝛥𝛥𝛥𝛥 Nodal heat flux vector due to specified 𝑆𝑆 𝑇𝑇
𝐐𝐐𝑠𝑠 𝑡𝑡+𝛥𝛥𝛥𝛥
𝐐𝐐 = 𝑠𝑠 � 𝐍𝐍 𝑡𝑡+𝛥𝛥𝛥𝛥
𝑞𝑞 𝑠𝑠 ⋅ 𝑑𝑑𝑑𝑑
heat flux input 𝑆𝑆
Nodal heat flux contribution due to 𝑡𝑡+𝛥𝛥𝛥𝛥 � ℎ(𝑖𝑖−1) = �
𝐐𝐐 𝑡𝑡+𝛥𝛥𝛥𝛥
ℎ(𝑖𝑖−1) 𝐍𝐍 𝑆𝑆 𝐍𝐍 𝑆𝑆
𝑇𝑇 𝑡𝑡+𝛥𝛥𝛥𝛥
𝐓𝐓𝑒𝑒ℎ − 𝑡𝑡+𝛥𝛥𝛥𝛥 𝐓𝐓 (𝑖𝑖−1) ⋅ 𝑑𝑑𝑑𝑑
𝑡𝑡+𝛥𝛥𝛥𝛥 � ℎ (𝑖𝑖−1) convection B.C, nonlinear and transient 𝑆𝑆ℎ
𝐐𝐐
effects Note: ∫𝑆𝑆 𝑡𝑡+𝛥𝛥𝛥𝛥 ℎ (𝑖𝑖−1) 𝐍𝐍 𝑆𝑆𝑇𝑇 𝐍𝐍 𝑆𝑆 ⋅ 𝑑𝑑𝑑𝑑 = 𝑡𝑡+𝛥𝛥𝛥𝛥 𝐾𝐾 ℎ(𝑖𝑖−1)
ℎ
1.0
𝜶𝜶 = 𝟏𝟏
(iv) Stability and Accuracy Considerations (Backward Difference)
𝜶𝜶 = 𝟐𝟐/𝟑𝟑
To assess the stability of the 𝛼𝛼-method, we start by 0.5 (Galerkin)
𝑻𝑻� 𝒕𝒕 𝑻𝑻
0.0
𝒕𝒕+𝜶𝜶𝜶𝜶𝜶𝜶 𝑪𝑪 𝒕𝒕+𝜶𝜶𝜶𝜶𝜶𝜶
𝑻𝑻̇ + 𝒕𝒕+𝜶𝜶𝜶𝜶𝜶𝜶 𝑲𝑲 𝒕𝒕+𝜶𝜶𝜶𝜶𝜶𝜶 𝑻𝑻 = 𝟎𝟎
𝒕𝒕+𝜟𝜟𝒕𝒕
0.5 𝜶𝜶 = 𝟏𝟏/𝟐𝟐
(Crank Nicolson)
𝒕𝒕+𝜟𝜟𝜟𝜟 𝑻𝑻 𝟏𝟏−𝜟𝜟𝜟𝜟 𝟏𝟏−𝜶𝜶 𝒕𝒕+𝜶𝜶𝜶𝜶𝜶𝜶 𝝀𝝀
= = 𝒕𝒕+𝜟𝜟𝜟𝜟 𝑹𝑹 (7.39)
𝒕𝒕 𝑻𝑻 𝟏𝟏+𝜟𝜟𝜟𝜟⋅𝜶𝜶⋅ 𝒕𝒕+𝜶𝜶𝜶𝜶𝜶𝜶 𝝀𝝀 1.0
1.5 𝜶𝜶 = 𝟎𝟎
(Forward Euler)
2.0
0 1 2 3 4 5
t
SOLUTION OF THE NONLINEAR & TRANSIENT FE EQUATIONS
Remarks:
The linearized form of the general heat conduction equation is given by:
(𝑖𝑖−1)
1
𝑡𝑡+𝛥𝛥𝛥𝛥
𝑲𝑲𝑐𝑐 + 𝑲𝑲ℎ + 𝑲𝑲𝑟𝑟 + 𝑡𝑡+𝛥𝛥𝛥𝛥 𝑪𝑪 � ℎ + 𝑸𝑸
𝛥𝛥𝑻𝑻(𝑖𝑖) = 𝑡𝑡+𝛥𝛥𝛥𝛥 (𝑸𝑸𝑏𝑏 + 𝑸𝑸𝑠𝑠 ) + 𝑡𝑡+𝛥𝛥𝛥𝛥 (𝑸𝑸 � 𝑟𝑟 )(𝑖𝑖−1) − 𝑡𝑡+𝛥𝛥𝛥𝛥 (𝑸𝑸
� 𝑐𝑐 + 𝒒𝒒
�𝑐𝑐 )(𝑖𝑖−1)
𝛥𝛥𝛥𝛥
The linearized equation for the 𝛼𝛼 − 𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 takes the following similar form:
1 (𝑖𝑖−1) (𝑖𝑖−1) (𝑖𝑖−1)
𝑡𝑡+𝛼𝛼𝛼𝛼𝛼𝛼 𝑐𝑐 ℎ 𝑟𝑟
(𝑲𝑲 + 𝑲𝑲 + 𝑲𝑲 ) + ⋅ 𝑪𝑪 𝛥𝛥𝑻𝑻(𝑖𝑖) = 𝑡𝑡+𝛼𝛼𝛼𝛼𝛼𝛼 � ℎ + 𝑸𝑸
𝑸𝑸𝑏𝑏 + 𝑸𝑸𝑠𝑠 + 𝑡𝑡+𝛼𝛼𝛼𝛼𝛼𝛼 𝑸𝑸 � 𝑟𝑟 � 𝑐𝑐 + 𝒒𝒒
− 𝑡𝑡+𝛼𝛼𝛼𝛼𝛼𝛼 𝑸𝑸 �𝑐𝑐
𝛼𝛼𝛼𝛼𝛼𝛼
The choice of the 𝛼𝛼 parameter gives the specific direct integration method as follow:
𝜶𝜶 = 0 Explicit Euler forward method:
This scheme requires no assembly and no inversion of the system matrices and the equations are decoupled (for lumped
thermal capacitance matrix). However, the scheme needs a critical time step for stability that normally leads to excessive
number of steps for the solution.
𝜶𝜶 = ½ Implicit trapezoidal or Crank-Nicolson rule:
This is an implicit unconditionally stable with second order accuracy.
𝜶𝜶 = 1 Implicit Euler backward method.
This is an implicit unconditionally stable scheme with first order accuracy. The accuracy of this scheme is better than the
Euler forward scheme which is also a first order accurate scheme.
DEVELOPMENT OF HT ELEMENTS
DEVELOPMENT OF HT ELEMENTS – 2D PLANE TRIANGULAR ELEMENT
The shape functions for triangular element are given by (refer to Chapter-4, Section 6.4):
1
𝑁𝑁𝑖𝑖 = (𝑎𝑎𝑖𝑖 + 𝑏𝑏𝑖𝑖 𝑥𝑥 + 𝑐𝑐𝑖𝑖 𝑦𝑦), 𝑖𝑖 = 𝑖𝑖, 𝑗𝑗, 𝑘𝑘 (7.51a)
2𝛥𝛥
1 𝑥𝑥𝑖𝑖 𝑦𝑦𝑖𝑖
where: 2∆= 1 𝑥𝑥𝑗𝑗 𝑦𝑦𝑗𝑗 = 2(area of the traiangle) and 𝑎𝑎𝑖𝑖 , 𝑏𝑏𝑖𝑖 and 𝑐𝑐𝑖𝑖 are defined as follow:
1 𝑥𝑥𝑘𝑘 𝑦𝑦𝑘𝑘
𝑎𝑎𝑖𝑖 = 𝑥𝑥𝑗𝑗 𝑦𝑦𝑘𝑘 −𝑥𝑥𝑘𝑘 𝑦𝑦𝑗𝑗 , 𝑏𝑏𝑖𝑖 = 𝑦𝑦𝑗𝑗 − 𝑦𝑦𝑘𝑘 , 𝑐𝑐𝑖𝑖 = 𝑥𝑥𝑘𝑘 − 𝑥𝑥𝑗𝑗 (7.51b)
DEVELOPMENT OF HT ELEMENTS – 2D PLANE TRIANGULAR ELEMENT
Table 7.4 Element matrices for 3-node triangular conduction element
Consistent thermal capacity matrix: Lumped thermal capacity matrix:
𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌 2 1 1 𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌 1 0 0
𝐶𝐶 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐. = 1 2 1 𝐶𝐶 𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 = 0 1 0
12 3
1 1 2 0 0 1
Additional conductivity due to convection on element face
Thermal conductivity matrix: surface (𝑆𝑆):
𝑇𝑇 𝑆𝑆 𝑇𝑇 𝑆𝑆
ℎ𝑆𝑆 2 1 1
𝐾𝐾𝐶𝐶 = 𝑡𝑡𝑡𝑡 𝐵𝐵 𝐾𝐾 𝐵𝐵 𝐾𝐾ℎ = � ℎ 𝑁𝑁 𝑁𝑁 𝑑𝑑𝑑𝑑 = 1 2 1
𝑆𝑆 12
1 1 2
Additional conductivity due to convection on element Nodal heat flux vector due to specified heat flux input on
edge surface (𝑆𝑆𝑒𝑒 ): element edge surface (𝑆𝑆𝑒𝑒 ):
ℎ𝑆𝑆𝑒𝑒 2 1 𝑞𝑞 𝑆𝑆 𝑆𝑆𝑒𝑒 1
𝐾𝐾ℎ = � ℎ 𝑁𝑁 𝑆𝑆 𝑇𝑇 𝑁𝑁 𝑆𝑆 𝑑𝑑𝑑𝑑 = 𝑠𝑠
𝑄𝑄 = � 𝑞𝑞 𝑁𝑁 𝑆𝑆 𝑆𝑆 𝑇𝑇
𝑑𝑑𝑑𝑑 =
𝑆𝑆𝑒𝑒 6 1 2 𝑆𝑆𝑒𝑒 2 1
Nodal heat flux vector due to specified heat flux input on
Nodal heat flux vector due to internal heat generation
element face surface (𝑆𝑆):
𝑞𝑞 𝑏𝑏 𝑡𝑡𝑡𝑡 1
𝑠𝑠 𝑆𝑆 𝑆𝑆 𝑇𝑇
𝑞𝑞 𝑆𝑆 𝑆𝑆 1 𝑏𝑏 𝑏𝑏 𝑇𝑇
𝑄𝑄 = � 𝑞𝑞 𝑁𝑁 𝑡𝑡𝑡𝑡𝑡𝑡 = 1
𝑄𝑄 = � 𝑞𝑞 𝑁𝑁 𝑑𝑑𝑑𝑑 = 1 𝐴𝐴 12
𝑆𝑆 3 1
1
Heat flux vector due to convection on element face surface Heat flux vector due to convection on element edge surface
(𝑆𝑆): (𝑆𝑆𝑒𝑒 ):
ℎ 𝑇𝑇
ℎ𝑇𝑇𝑒𝑒 𝑆𝑆 1 ℎ𝑇𝑇𝑒𝑒 𝑆𝑆𝑒𝑒 1
𝑄𝑄 = � ℎ𝑇𝑇𝑒𝑒 𝑁𝑁 𝑑𝑑𝑑𝑑 = 1 𝑄𝑄 ℎ
= � ℎ𝑇𝑇 𝑁𝑁 𝑇𝑇
𝑑𝑑𝑑𝑑 =
𝑆𝑆 3 𝑒𝑒
2 1
1 𝑆𝑆𝑒𝑒
• Note that: For element face surface: S = ∆: area of the triangle; For an element edge surface: 𝑆𝑆𝑒𝑒 = 𝑡𝑡𝑙𝑙𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒
DEVELOPMENT OF HT ELEMENTS – 2D AXISYMMETRIC TRIANGULAR ELEMENT
1
𝑁𝑁𝑖𝑖 = (𝑎𝑎𝑖𝑖 + 𝑏𝑏𝑖𝑖 𝑥𝑥 + 𝑐𝑐𝑖𝑖 𝑦𝑦), 𝑖𝑖 = 𝑖𝑖, 𝑗𝑗, 𝑘𝑘 (7.51a)
2𝛥𝛥
1 𝑟𝑟𝑖𝑖 𝑧𝑧𝑖𝑖
where: 2∆= 1 𝑟𝑟𝑗𝑗 𝑧𝑧𝑗𝑗 = 2(area of the traiangle) and 𝑎𝑎𝑖𝑖 , 𝑏𝑏𝑖𝑖 and 𝑐𝑐𝑖𝑖 are defined as follow
1 𝑟𝑟𝑘𝑘 𝑧𝑧𝑘𝑘
𝑎𝑎𝑖𝑖 = 𝑟𝑟𝑗𝑗 𝑧𝑧𝑘𝑘 −𝑟𝑟𝑘𝑘 𝑧𝑧𝑗𝑗 , 𝑏𝑏𝑖𝑖 = 𝑧𝑧𝑗𝑗 − 𝑧𝑧𝑘𝑘 , 𝑐𝑐𝑖𝑖 = 𝑟𝑟𝑘𝑘 − 𝑟𝑟𝑗𝑗 (7.51b)
DEVELOPMENT OF HT ELEMENTS – 2D AXISYMMETRIC TRIANGULAR ELEMENT
Table 7.5 Element matrices for 3-node axisymmetric triangular conduction element
Consistent thermal capacity matrix: Thermal conductivity matrix:
(𝑟𝑟𝑖𝑖 + 𝑟𝑟𝑗𝑗 + 𝑟𝑟𝑘𝑘 ) 𝑇𝑇
2(3𝑟𝑟𝑖𝑖 + 𝑟𝑟𝑗𝑗 + 𝑟𝑟𝑘𝑘 ) (2𝑟𝑟𝑖𝑖 + 2𝑟𝑟𝑗𝑗 + 𝑟𝑟𝑘𝑘 ) (2𝑟𝑟𝑖𝑖 + 2𝑟𝑟𝑗𝑗 + 𝑟𝑟𝑘𝑘 ) 𝐾𝐾𝐶𝐶 = 𝛥𝛥 𝐵𝐵 𝐾𝐾 𝐵𝐵
𝜌𝜌𝜌𝜌𝜌𝜌 3
𝐶𝐶 = 2(3𝑟𝑟𝑖𝑖 + 𝑟𝑟𝑗𝑗 + 𝑟𝑟𝑘𝑘 ) (𝑟𝑟𝑖𝑖 + 2𝑟𝑟𝑗𝑗 + 2𝑟𝑟𝑘𝑘 )
12 2(3𝑟𝑟𝑖𝑖 + 𝑟𝑟𝑗𝑗 + 𝑟𝑟𝑘𝑘 )
Nodal heat flux vector due to internal heat generation: Additional conductivity due to convection on element edge
surface (𝑆𝑆𝑒𝑒 with edge 𝑙𝑙𝑖𝑖𝑖𝑖 ):
(2𝑟𝑟𝑖𝑖 + 𝑟𝑟 𝑗𝑗 + 𝑟𝑟𝑘𝑘 )
𝑞𝑞 𝑏𝑏 𝛥𝛥
𝑄𝑄 𝑏𝑏
= (𝑟𝑟𝑖𝑖 + 2𝑟𝑟 𝑗𝑗 + 𝑟𝑟𝑘𝑘 ) ℎ⋅𝑙𝑙𝑖𝑖𝑖𝑖 (3𝑟𝑟𝑖𝑖 + 𝑟𝑟𝑗𝑗 ) (𝑟𝑟𝑖𝑖 + 𝑟𝑟𝑗𝑗 )
12 𝐾𝐾ℎ =
(𝑟𝑟𝑖𝑖 + 𝑟𝑟 𝑗𝑗 + 2𝑘𝑘) 12 (𝑖𝑖 + 𝑟𝑟𝑗𝑗 ) (𝑟𝑟𝑖𝑖 + 3𝑟𝑟𝑗𝑗 )
Heat flux vector due to heat flux on element edge surface Heat flux vector due to convection on element edge surface
(𝑆𝑆𝑒𝑒 with edge 𝑙𝑙𝑖𝑖𝑖𝑖 ): (𝑆𝑆𝑒𝑒 with edge 𝑙𝑙𝑖𝑖𝑖𝑖 ):
𝑞𝑞 𝑆𝑆 𝑙𝑙𝑖𝑖𝑖𝑖 ℎ𝑇𝑇𝑒𝑒 𝑙𝑙𝑖𝑖𝑖𝑖
𝑆𝑆
𝑄𝑄 = (2𝑟𝑟𝑖𝑖 + 𝑟𝑟𝑗𝑗 ) (𝑟𝑟𝑖𝑖 + 2𝑟𝑟𝑗𝑗 ) 𝑇𝑇 𝑄𝑄 ℎ = (2𝑟𝑟𝑖𝑖 + 𝑟𝑟𝑗𝑗 ) (𝑟𝑟𝑖𝑖 + 2𝑟𝑟𝑗𝑗 ) 𝑇𝑇
6 6
𝜼𝜼
𝜼𝜼 𝝃𝝃, 𝜼𝜼 = −𝟏𝟏, 𝟏𝟏 𝝃𝝃, 𝜼𝜼 = 𝟏𝟏, 𝟏𝟏
y 𝒙𝒙, 𝒚𝒚 = 𝒙𝒙𝟑𝟑 , 𝒚𝒚𝟑𝟑
𝒙𝒙, 𝒚𝒚 = 𝒙𝒙𝟒𝟒 , 𝒚𝒚𝟒𝟒
(-1,1) (1,1)
T3
T4 qs
4 3
qb 𝝃𝝃
𝝃𝝃
1 2 T1
(1,-1) T2
(-1,-1) 𝝃𝝃, 𝜼𝜼 = −𝟏𝟏, −𝟏𝟏
𝒙𝒙, 𝒚𝒚 = 𝒙𝒙𝟏𝟏 , 𝒚𝒚𝟏𝟏 𝝃𝝃, 𝜼𝜼 = 𝟏𝟏, −𝟏𝟏
h(Ts-Te) 𝒙𝒙, 𝒚𝒚 = 𝒙𝒙𝟐𝟐 , 𝒚𝒚𝟐𝟐
x
(a) Square element in the (b) Applying linear mapping
reference (analysis) plane
Tables for shape functions are available for various types of elements: Refer to Tables 6.2-6.5.
The Jacobian transformation matrix, which is 3x3 for 3D, will be obtained from the following chain rule of differentiation:
𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕 𝜕𝜕 𝜕𝜕 𝜕𝜕 𝜕𝜕
𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕
𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕 𝜕𝜕 𝜕𝜕 𝜕𝜕 −1 𝜕𝜕
𝜕𝜕𝜕𝜕
= 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕
or 𝜕𝜕𝜕𝜕
= 𝐽𝐽 𝜕𝜕𝜕𝜕
and 𝜕𝜕𝜕𝜕
= 𝐽𝐽 𝜕𝜕𝜕𝜕
𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕 𝜕𝜕 𝜕𝜕 𝜕𝜕 𝜕𝜕
𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕 𝜕𝜕𝜕𝜕
The relations between the differential elements in the two coordinate systems are given by:
For 3D: 𝑑𝑑𝑑𝑑 𝑑𝑑𝑑𝑑 𝑑𝑑𝑑𝑑 = 𝐽𝐽 𝑑𝑑𝑑𝑑 𝑑𝑑𝑑𝑑 𝑑𝑑𝑑𝑑; For 2D: 𝑑𝑑𝑑𝑑 𝑑𝑑𝑑𝑑 = 𝐽𝐽 𝑑𝑑𝑑𝑑 𝑑𝑑𝑑𝑑 and for 1D: 𝑑𝑑𝑑𝑑 = 𝐽𝐽 𝑑𝑑𝑑𝑑
The 𝐵𝐵 matrix (for 3D) is given by:
𝜕𝜕𝑁𝑁𝑖𝑖 ⁄𝜕𝜕𝜕𝜕
𝐵𝐵 = ⋯ 𝜕𝜕𝑁𝑁𝑖𝑖 ⁄𝜕𝜕𝜕𝜕 ⋯ 𝑖𝑖 = 𝑖𝑖, 𝑛𝑛 (No. of nodes/elem)
𝜕𝜕𝑁𝑁𝑖𝑖 ⁄𝜕𝜕𝜕𝜕
The inverse Jacobian is used to transform derivatives from the natural coordinates, 𝜉𝜉, 𝜂𝜂, 𝜁𝜁, to the x,y,z; hence the final equations may
be integrated and the element heat balance equations are obtained from the formulas given in Table 7.2.
DEVELOPMENT OF HT ELEMENTS – 2D ISOPARAMETRIC ELEMENTS
Table 6.2 Shape functions for 4-9 nodes quadrilateral isoparametric element
9 0, 0 𝑁𝑁9 = (1 − 𝜉𝜉 2 )(1 − 𝜂𝜂 2 )
EXAMPLES
Example-B
Example: 2 4 6
Compute the steady state temperature distribution for the plate shown in Figure
1 4
P6. A constant temperature of 100 °C is maintained at nodes 1 and 2. Assume
1m
the thermal conductivities are kx = ky = 10 W/m°C and the plate thickness is 0.1 2 3
m (Figure P6).
1 3 5
Solution 1m 1m
The following Matlab code may be used to calculate shape function and conductivity
matrix for triangular element, by inputting the element coordinates, thickness and Figure P6
conductivities in x and y:
% Define variables
xi=0, yi=-0, xj=0, yj=0, xk=0, yk=0, th=0.0,
kx=100, ky=0, alpha=0, DTemp=0,
% Shape function
delta=[1 xi yi;1 xj yj;1 xk yk],
area=0.5*det(delta)
fac=1/(2*area)
ai=fac*(xj*yk-xk*yj), bi= fac*(yj-yk), ci= fac*(xk-xj),
aj= fac*(xk*yi-xi*yk), bj= fac*(yk-yi), cj= fac*(xi-xk),
ak= fac*(xi*yj-xj*yi), bk= fac*(yi-yj), ck= fac*(xj-xi),
Example-B
k = 10 W / (m K) T1= 400 °C
c = 800 J / (kg K)
A thick wall, as shown in Figure P3, has one side maintained at Tf=100 oC
a constant temperature (T1 = 400 oC) and the other side ρ = 30 kg/m h = 60 W m
/ (2 oK)
subjected to a convection boundary condition with a fluid
temperature of Tf = 100 oC and fluid film coefficient h =
60 W/(m2 K). It is assumed that the heat flow is only in the
direction between the two walls (i.e., one dimensional) and that
0.6 m
the initial temperature of the wall is Ti = 50 oC. The wall
material has a thermal conductivity coefficient k =
10 W / (m K), a specific heat coefficient cp = 800 J / (kg K), a
mass per unit thickness ρ = 30 kg/m3 and a wall thickness of Figure P3
0.6 m. Use three 1D heat transfer elements with two nodes per
element to model the problem and determine the transient
temperature profile for three time steps of ∆t = 10 s. Use the α-
method for the time-integration and choose α = 0.5. How does
the solution change for various combination of ∆t and α?
Example-C
Solution
The problem is linear transient analysis, and we have the following governing equations:
t+αΔt
𝐂𝐂 t+αΔt 𝐓𝐓̇ + t+αΔt 𝐊𝐊 𝑐𝑐 + 𝐊𝐊 ℎ t+αΔt
𝐓𝐓 = t+αΔt
𝐐𝐐
Applying the linearization assumptions:
1 𝑡𝑡+𝛥𝛥𝛥𝛥 1
𝑡𝑡+𝛼𝛼𝛼𝛼𝛼𝛼 𝑻𝑻̇ = ( 𝑻𝑻 − 𝑡𝑡 𝑻𝑻) = ( 𝑡𝑡+𝛼𝛼𝛼𝛼𝛼𝛼 𝑻𝑻 − 𝑡𝑡 𝑻𝑻) and 𝑻𝑻 = 𝛼𝛼 𝑡𝑡+𝛥𝛥𝛥𝛥 𝑻𝑻 + 1 − 𝛼𝛼 𝑡𝑡 𝑻𝑻
𝛥𝛥𝛥𝛥 𝛼𝛼⋅𝛥𝛥𝛥𝛥
we get:
1 𝑡𝑡+𝛥𝛥𝛥𝛥 1
𝐂𝐂 + 𝛼𝛼 𝐊𝐊 𝑐𝑐 + 𝐊𝐊 ℎ 𝐓𝐓 = 𝑡𝑡+𝛼𝛼𝛼𝛼𝛼𝛼
𝑸𝑸 + 𝐂𝐂 + 𝛼𝛼 − 1 (𝐊𝐊 𝑐𝑐 + 𝐊𝐊 ℎ ) 𝑡𝑡
𝐓𝐓 or:
𝛥𝛥𝛥𝛥 𝛥𝛥𝛥𝛥
0 0 0 0 0
0
= 0 0 0 0 𝑊𝑊
Kh , 𝑄𝑄 = 𝑊𝑊 (only at node-4 = ℎ ∗ 𝑇𝑇𝑓𝑓 )
0 0 0 0 𝐾𝐾 0
0 0 0 60 6000
400
50
BC: 𝑇𝑇1 𝑡𝑡 = 400 𝑜𝑜𝐶𝐶 , Initial conditions: at 𝑡𝑡 = 0, 0
𝑇𝑇 =
𝑜𝑜
𝐶𝐶
50
50
Example-C
Let 𝜶𝜶 = 𝟎𝟎. 𝟓𝟓, 𝜟𝜟𝜟𝜟 = 𝟏𝟏𝟏𝟏 𝒔𝒔𝒔𝒔𝒔𝒔, 𝒕𝒕 + 𝜟𝜟𝜟𝜟 = 𝟎𝟎 + 𝟏𝟏𝟏𝟏 𝒔𝒔𝒔𝒔𝒔𝒔, The equations take the following form for step-1:
185 55 0 0 59250
370 55 0 10 60750
Or 𝑇𝑇 =
370 55 24000
𝑆𝑆𝑆𝑆𝑆𝑆 215 16500
2nd Step: 𝜶𝜶 = 𝟎𝟎. 𝟓𝟓, 𝚫𝚫𝚫𝚫 = 𝟏𝟏𝟏𝟏 𝒔𝒔𝒔𝒔𝒔𝒔, 𝒕𝒕 + 𝚫𝚫𝚫𝚫 = 𝟏𝟏𝟏𝟏 + 𝟏𝟏𝟏𝟏 = 𝟐𝟐𝟐𝟐 𝒔𝒔𝒔𝒔𝒔𝒔,
185 55 0 0 0 135 105 0 0 400
370 55 0 20 0 270 105 0 98.74
𝑇𝑇 = +
370 55 0 270 105 40.31
𝑆𝑆𝑆𝑆𝑆𝑆 215 6000 𝑆𝑆𝑆𝑆𝑆𝑆 105 66.43
400
20 130.6 𝑜𝑜
Applying BC and solving, we get: 𝑇𝑇 == 𝐶𝐶
46.8
68.1
3rd Step: 𝜶𝜶 = 𝟎𝟎. 𝟓𝟓, 𝚫𝚫𝚫𝚫 = 𝟏𝟏𝟏𝟏 𝒔𝒔𝒔𝒔𝒔𝒔, 𝒕𝒕 + 𝚫𝚫𝚫𝚫 = 𝟐𝟐𝟐𝟐 + 𝟏𝟏𝟏𝟏 = 𝟑𝟑𝟑𝟑 𝒔𝒔𝒔𝒔𝒔𝒔,
185 55 0 0 0 135 105 0 0 400
370 55 0 20 0 270 105 0 130.6
𝑇𝑇 == +
370 55 0 270 105 46.8
𝑆𝑆𝑆𝑆𝑆𝑆 215 6000 𝑆𝑆𝑆𝑆𝑆𝑆 105 68.1
400
20 154.1 𝑜𝑜
Applying BC and solving, we get: 𝑇𝑇 == 𝐶𝐶
57.3
69.3
Example-C
The following is a Matlab code that may be used to give the full solution. Try various options of the value of 𝜶𝜶 and
investigate how the solution becomes unstable for 𝜶𝜶 < 𝟎𝟎. 𝟓𝟓 and for large values of 𝚫𝚫𝚫𝚫.
College of Engineering and Computer Science
Department of Mechanical Engineering
Mec 551: CFD and HT