Professional Documents
Culture Documents
Class 3.1 CV Conduction Convection Modeling
Class 3.1 CV Conduction Convection Modeling
Ganapathi Bhat
<gbhat@aero.iitb.ac.in>
Department of Aerospace Engineering
Indian Institute of Technology - Bombay
@(⇢m ) @(⇢m uj ) @ @
+ = e↵ +S
@t @xj @xj @xj
e↵ S Equation
1 0 0 Continuity
@P
u µe↵ @x + ⇢m Bx + Sothersx U momentum
@P
v µe↵ @y + ⇢m B y + Sothersy V momentum
@P
w µe↵ @z + ⇢m Bz + Sothersz W momentum
ke↵
h (Cp )m Q̈ Energy (enthalpy)
h i
ke↵ Q̈
T (Cp )m (Cp )m Energy (temperature)
!k ⇢m De↵ Rk Mass transfer (species k)
Above table is based on the book ”Introduction to computational fluid dynamics - Anil W. Date”
3/1
Governing equation - Temperature field
I Generic energy balance equation (in Temperature form) :
@(⇢m T ) @(⇢m uj T ) @ @T
Cp + = ke↵ +S
@t @xj @xj @xj
I ’Conduction only’ equation:
2 3
* 0
4 @(⇢m T ) @(⇢m uj T ) 5 @ @T
Cp + = ke↵ +S
@t @xj @xj @xj
*0
@(⇢m T ) @ @T
Cp = ke↵ +S
@t @xj @xj
I Steady state conduction - 1D:
*0
@ @T @ @T @ ⇠⇠ :0
⇠
ke↵ + ke↵ + ⇠⇠k⇠ ⇠@T +S =0
e↵
@xi @xi @xj @xj ⇠
@xk @xk
Discretization of 1D conduction equation
ke (TE TP ) kw (TP TW )
+ S( x)P = 0
( x)PE ( x)WP
where
I ( x)P is the distance between east-face and west-face of the
cell
I ( x)PE is the distance between node points E and P
I ( x)WP is the distance between node points P and W
I Splitting the source term S into a constant part SC and
variable part SP TP :
AP TP = AE TE + AW TW + SC ( x)P
where AP = AE + AW SP ( x)P
I In a compact form above form can be written as:
I Conduction equation:
@ @ @T
(⇢Cp T ) = k +S (1)
@t @xj @xj
I Conduction - 1D (j=1):
@ @ @T
(⇢Cp T ) = k +S (2)
@t @x1 @x1
I Conduction - 1D (cartesian system) with constant ⇢, Cp ; and
source term S=0 :
@T @ @T
⇢Cp = k (3)
@t @x @x
Discretization of steady state conduction equation - 1D
X-direction
Discretization of 1D conduction equation
I Integrating (3) from west-face to east-face for time t:
Z e Z t+ t Z e Z t+ t
@T @ @T
⇢Cp t x= k t x
w t @t w t @x @x
(4)
I LHS of the equation (4) can be written as:
Z e Z t+ t
@T
⇢Cp t x = ⇢Cp x(TP TPo ) (5)
w t @t
1
Figure obtained from the book NHTFF by SVPatankar
I Using the equation (7):
ke (TE TP ) kw (TP TW )
⇢Cp x(TP TPo ) =f +
( x)PE ( x)WP
ke (TEo TPo ) kw (TPo TWo )
(1 f)
( x)PE ( x)WP
(8)
– where AP = AE + AW + AoP
I For Explicit (f = 0) condition, equation (10) gives:
AP TP = AE TEo + AW TW
o
+ (AoP AE AW )TPo (12)
– where AP = AoP
I Above equation (12) leads to ’time-step size’ constraint given
below for explicit solvers :
" #
( x)2
t < ⇢CP (13)
2k
E↵ect of convection
!
Convection Modeling
£401 +8,440)-ftp.T#g.)ts -①
face =
EH84) - ②
[fat 1%481)dn -
③
lpuode-kuobw.lt#n)e-fiIf)w
←
- ④
4 q ace
E cnodeb
)
W P
, ,
0 0 0
I I
_¥p'kdT¥
! ""
Central Differencing:
Define 0e= KC0E +0ps} Central
% = kC0pt0w) Differencing
F =
f u
D = TYAx
the Et#p)-fUw(0pI0w_ )
= ¥I⑤
-Tw4
AE = D e - Ek - ⑥
Aw =
D i r t FW12 -70
Ap = D @ + FE12-1DW-FW12
=
A E t Aw t f Fe - E r ) -80
From ⑥ , if F E 7 2DE A E 2 0
[ r e coefficients] divergence
UPWIND differencing:
¥Egf
P
Ap=DetEFe,oItDwtffFwPD--
AEtAwtLFe-Fw)
" !" "
General s o l u t i o n (analytical):
fall =
dance I f )
Boundary conditions:
Faq}
2 2 0 0=0/0 I n local (grid)
b .= L co-ordinate system
Pq#¥f
P =
fY¥ P - c e l l Pellet
number
:⇐÷.
µ 0T (when µ=o)
! !" " ""
" ! !
"
"it
H I b
jq
variation
a t Y=e
T
"im
a-1 a)
of
o r
With above
a 2 & 0 will
"
b e o n l y between 0 4 1
0 < a l I j o c 02 1
❤ " !
" "
¥,-P¥a=o - ①
Roots of t h e a b ove equation a r e
V = O a n d r =p
i. 0 = Ae"" + Be" - ②
= A + Beth
Bcs for t h e cell a r e :
2 = 0 ; 0=0
2 2 1 ; 0 = I
A t B t o
B
e¥
is A =
e¥
-
=
Substituting A d B i n ②
=-i +
←
I -③
Generalized scheme:
AE0E-1AW}
Ap0pE
A E = D e A G p D t THE,oD
Aw-DWALIPDTIFw.FI/-
Ap=AEtAwt(Fe-Fw)
Scheme: Fo r m u l a fo r A- Gpl)
Central 1 -
0.51101
UPWIND 1
Hybrid [ 0 , I-0.511011
Power l a w 40,11-0.1110151
Exponential IPl/feapC1pD-D
( exa c t )
! !
UPWIND- (1st o r d e r )
w-iq.ee
w!
→
F l o w direction
0e=0p
¢ I 1
,
E
i
w 0
e
\
" !
!
UPWIND-(2nd order)
w!
q e¥
Thisdirection
% = f t 0 p, w )
N h
I I I A
W E
e
i
E↵ect of Peclet number variable evaluation
2
Figure obtained from the book NHTFF by SVPatankar
A(|P|) for di↵erent schemes
3
Figure obtained from the book NHTFF by SVPatankar
Evaluation of variable as a function of Peclet number
4
Figure obtained from the book NHTFF by SVPatankar
Discretised 3D N-S equation
AP P = AE E + AW W + AN N + AS S + AT T + AB B +b
AE = De A(|Pe |) + max( Fe , 0)
AW = Dw A(|Pw |) + max(Fw , 0)
AN = Dn A(|Pn |) + max( Fn , 0)
AS = Ds A(|Ps |) + max(Fs , 0)
AT = Dt A(|Pt |) + max( Ft , 0)
AB = Db A(|Pb |) + max(Fb , 0)
⇢oP x y z
AoP =
t
AP = AE + AW + AN + AS + AT + AB + AoP SP x y z
Discretised 3D N-S equation - contd..
e y z
Fe = (⇢u)e y z De =
xPE
w y z
Fw = (⇢u)w y z Dw =
xWP
n z x
Fn = (⇢u)n z x Dn =
yPN
s z x
Fs = (⇢u)s z x Ds =
ySP
t x y
Ft = (⇢u)t x y Dt =
zPT
b x y
Fb = (⇢u)b x y Db =
zBP
b = SC x y Z + AoP o
P