Beruflich Dokumente
Kultur Dokumente
(2)
The control volume integration of the equation (2) yields;
(3)
1.0 One dimensional steady state diffusion
The steady state diffusion of a property φ in 1D domain as shown in Figure 1 is
governed by
𝑑 𝑑𝜑
(𝛤 ) + 𝑆 = 0
𝑑𝑥 𝑑𝑥
Where Γ is the diffusion coefficient and S is the source term.
φB=constant
D
C E
A B
There are three steps to solve the problem using finite volume method (FVM);
1. Grid generation
2. Discretisation
3. Solution of equations
FVM – Diffusion problems | Dr Mohd Faizal Mohamad
∆𝑥 = 𝛿𝑥𝐶′𝐸′
C’ D E’
C E
𝛿𝑥𝐶′𝐷 𝛿𝑥𝐷𝐸′
𝛿𝑥𝐶𝐷 𝛿𝑥𝐷𝐸
Figure 2 shows the developed control volume between two nodal points C and E with
point D is the general nodal point. C’ and E’ are the control volume faces located on
the left and right sides of the general nodal point D, respectively.
Step 2: Discretisation
For the control volume defined in the Figure 2, the discretised equation at nodal point
D is given by;
𝑑 𝑑𝜑 𝑑𝜑 𝑑𝜑
∫ (𝛤 ) 𝑑𝑉 + ∫ 𝑆𝑑𝑉 = (𝛤𝐴 ) − (𝛤𝐴 ) + 𝑆̅∆𝑉 = 0
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝐸′ 𝑑𝑥 𝐶′
∆𝑉 ∆𝑉
(4)
Here,
A = cross-sectional area of control volume face
ΔV = volume
𝑆̅ = average value of source S over the control volume
In order to derive useful forms of the discretised equations, the interface diffusion
coefficient 𝛤 and the gradient 𝑑𝜑⁄𝑑𝑥 are required. Linear approximations so called
FVM – Diffusion problems | Dr Mohd Faizal Mohamad
central differencing in uniform grid gives the value for interface values and gradients
as below;
𝛤𝐶 + 𝛤𝐷
𝛤𝐶′ =
2
(5a)
𝛤𝐷 + 𝛤𝐸
𝛤𝐸′ =
2
(5b)
𝑑𝜑 𝜑𝐸 − 𝜑𝐷
(𝛤𝐴 ) = 𝛤𝐸′ 𝐴𝐸′ ( )
𝑑𝑥 𝐸′ 𝛿𝑥𝐷𝐸
(6)
𝑑𝜑 𝜑𝐷 − 𝜑𝐶
(𝛤𝐴 ) = 𝛤𝐶′ 𝐴𝐶′ ( )
𝑑𝑥 𝐶′ 𝛿𝑥𝐶𝐷
(7)
𝑆̅∆𝑉 = 𝑆𝑢 + 𝑆𝐷 𝜑𝐷
(8)
Source term may be a function of the dependent variable (linear form).
Substitute of equations (6), (7) and (8) into (4) gives;
𝜑 𝐸 − 𝜑𝐷 𝜑𝐷 − 𝜑𝐶
𝛤𝐸′ 𝐴𝐸′ ( ) − 𝛤𝐶 ′ 𝐴𝐶 ′ ( ) + (𝑆𝑢 + 𝑆𝐷 𝜑𝐷 ) = 0
𝛿𝑥𝐷𝐸 𝛿𝑥𝐶𝐷
(9)
Re-written the equation (9) yields;
𝜑𝐸 𝜑𝐷 𝜑𝐷 𝜑𝐶
𝛤𝐸′ 𝐴𝐸′ − 𝛤𝐸′ 𝐴𝐸′ − 𝛤𝐶 ′ 𝐴𝐶 ′ + 𝛤𝐶 ′ 𝐴𝐶 ′ + 𝑆𝑢 + 𝑆𝐷 𝜑𝐷 = 0
𝛿𝑥𝐷𝐸 𝛿𝑥𝐷𝐸 𝛿𝑥𝐶𝐷 𝛿𝑥𝐶𝐷
𝛤𝐸′ 𝛤𝐶′ 𝛤𝐶′ 𝛤𝐸′
( 𝐴𝐸′ + 𝐴𝐶′ − 𝑆𝐷 ) 𝜑𝐷 = ( 𝐴𝐶′ ) 𝜑𝐶 + ( 𝐴 ) 𝜑 + 𝑆𝑢
𝛿𝑥𝐷𝐸 𝛿𝑥𝐶𝐷 𝛿𝑥𝐶𝐷 𝛿𝑥𝐷𝐸 𝐸′ 𝐸
(10)
Let’s coefficients of 𝜑𝐶 and 𝜑𝐸 as 𝑎𝐶 and 𝑎𝐸 and the coefficient of 𝜑𝐷 as 𝑎𝐷 . Therefore,
equation (10) becomes;
𝑎𝐷 𝜑𝐷 = 𝑎𝐶 𝜑𝐶 + 𝑎𝐸 𝜑𝐸 + 𝑆𝑢
(11)
FVM – Diffusion problems | Dr Mohd Faizal Mohamad
Where,
𝑎𝐶 𝑎𝐸 𝑎𝐷
𝛤𝐶′ 𝛤𝐸′
𝛿𝑥𝐶𝐷 𝛿𝑐𝐷𝐸 𝑎𝐶 + 𝑎𝐸 − 𝑆𝐷
Example 1
Consider the problem of source-free heat conduction in an insulated rod whose ends
are maintained at constant temperatures of 100 °C and 500 °C. The one-dimensional
problem sketched in Figure 3 is governed by
𝑑 𝑑𝑇
(𝑘 ) = 0
𝑑𝑥 𝑑𝑥
Calculate the steady state temperature distribution in the rod. Thermal conductivity k
equals 1000 W/m·K, cross-sectional area A is 10 x 10-3 m2.
0.5 m
A B
1 2 3 4 5
TA TB
C’ E’ F’ G’
1 𝛿𝑥 𝛿𝑥 1
𝛿𝑥 𝛿𝑥
2 2
𝑎1 = 𝑎2 = 𝑎3 = 𝑎𝐶 𝑎3 = 𝑎4 = 𝑎 5 = 𝑎𝐸 𝑎2 = 𝑎3 = 𝑎4 = 𝑎𝐷
𝑘 𝑘 𝑎𝐶 + 𝑎𝐸
𝐴 𝐴
𝛿𝑥 𝛿𝑥
𝑑 𝑑𝑇 𝑑𝑇 𝑑𝑇
∫ (𝑘 ) 𝑑𝑉 = (𝑘𝐴 ) − (𝑘𝐴 ) =0
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝐶 ′ 𝑑𝑥 𝑏𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝐴
∆𝑉
𝑇2 − 𝑇1 𝑇1 − 𝑇𝑏𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝐴
𝑘𝐴 ( ) − 𝑘𝐴 ( )=0
𝛿𝑥 𝛿𝑥⁄2
𝑘 𝑘 𝑘 𝑘
𝐴𝑇2 − 𝐴𝑇1 − 𝐴𝑇1 + 𝐴𝑇 =0
𝛿𝑥 𝛿𝑥 (𝛿𝑥⁄2) (𝛿𝑥⁄2) 𝑏𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝐴
Re-arrange the above equation gives
𝑘 2𝑘 𝑘 2𝑘
( 𝐴+ 𝐴) 𝑇1 = 0𝑇𝑐 + ( 𝐴) 𝑇2 + ( 𝐴) 𝑇𝑏𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝐴
𝛿𝑥 𝛿𝑥 𝛿𝑥 𝛿𝑥
If we compare the above equation with equation (10), the fixed temperature boundary
condition enters the calculation as a source term (𝑆𝑢 + 𝑆𝐷 𝑇𝐷 ). Therefore,
2𝑘
𝑆𝑢 = ( 𝐴) 𝑇𝑏𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝐴
𝛿𝑥
2𝑘
𝑆𝐷 = − ( 𝐴)
𝛿𝑥
Coefficient for 𝑎𝑐 equal to zero because theoretically it’s located beyond the boundary.
Therefore, discretised equation for point 1 can be written as;
𝑎𝐷 𝜑𝐷 = 𝑎𝐶 𝜑𝐶 + 𝑎𝐸 𝜑𝐸 + 𝑆𝑢
𝑎1 𝑇1 = 𝑎𝐶 𝑇𝐶 + 𝑎2 𝑇2 + 𝑆𝑢
𝑎𝐶 𝑎𝐸 = 𝑎2 𝑎𝐷 = 𝑎1 𝑆𝐷 𝑆𝑢
𝑘 2𝑘 2𝑘
0 𝐴 𝑎𝐶 + 𝑎𝐸 − 𝑆𝐷 − 𝐴 𝐴𝑇
𝛿𝑥 𝛿𝑥 𝛿𝑥 𝑏𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝐴
For point 5;
𝑑 𝑑𝑇 𝑑𝑇 𝑑𝑇
∫ (𝑘 ) 𝑑𝑉 = (𝑘𝐴 ) − (𝑘𝐴 ) = 0
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑏𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝐵 𝑑𝑥 𝐺′
∆𝑉
FVM – Diffusion problems | Dr Mohd Faizal Mohamad
𝑇𝑏𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝐵 − 𝑇5 𝑇5 − 𝑇4
𝑘𝐴 ( ) − 𝑘𝐴 ( )=0
𝛿𝑥⁄2 𝛿𝑥
𝑘 𝑘 𝑘 𝑘
𝐴𝑇𝑏𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝐵 − 𝐴𝑇5 − 𝐴𝑇5 + 𝐴𝑇4 = 0
(𝛿𝑥⁄2) (𝛿𝑥⁄2) 𝛿𝑥 𝛿𝑥
𝑘 2𝑘 𝑘 2𝑘
( 𝐴+ 𝐴) 𝑇5 = ( ) 𝑇4 + (0)𝑇𝐸 + ( 𝐴) 𝑇𝑏𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝐵
𝛿𝑥 𝛿𝑥 𝛿𝑥 𝛿𝑥
Discretised equation for point 5;
𝑎𝐷 𝜑𝐷 = 𝑎𝐶 𝜑𝐶 + 𝑎𝐸 𝜑𝐸 + 𝑆𝑢
𝑎5 𝑇5 = 𝑎4 𝑇4 + 𝑎𝐸 𝑇𝐸 + 𝑆𝑢
𝑎𝐶 = 𝑎4 𝑎𝐸 𝑎𝐷 = 𝑎 5 𝑆𝐷 𝑆𝑢
𝑘 2𝑘 2𝑘
𝐴 0 𝑎𝐶 + 𝑎𝐸 − 𝑆𝐷 − 𝐴 𝐴𝑇
𝛿𝑥 𝛿𝑥 𝛿𝑥 𝑏𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝐵
Substitute the numerical values for k, A and δx into each equation yields;
300𝑇1 = 100𝑇2 + 200𝑇𝐴
200𝑇2 = 100𝑇1 + 100𝑇3
200𝑇3 = 100𝑇2 + 100𝑇4
200𝑇4 = 100𝑇3 + 100𝑇5
300𝑇5 = 100𝑇4 + 200𝑇𝐵
In matrix form
T1 140
T 220
2
T3 300
T
4 380
T5 460