Finite Volume Method
Finite Volume Method
THE FINITE-VOLUME-METHOD
Control Volumes
surrounding grid
nodes and
covering whole
domain.
1
MENG314-FV
y + ∆y x + ∆x
∂ 2T ∂T ∂T
k ( 2 ).dx.dy = [(k ) x + ∆x ∆y − (k ) x ∆y ] (3)
y x
∂x ∂x ∂x
According to Fourrier’s law of conduction, eqn (3) expresses:
(heat entering across (x) control volume face)-(heat leaving across(x+ x)
control volume face)
2
MENG314-FV
y + ∆y x + ∆x
∂ 2T Ti +1, j − Ti , j Ti , j − Ti −1, j
k ( 2 ).dx.dy = [(k ) ∆y − (k )∆y ]
y x
∂x ∆x ∆x (4)
where the subscript (i) refers to the value at an arbitrary node (i).The
next node index in the positive and negative directions is (i+1) and (i-1) ,
respectively.
Integrating the second term on the R.H.S. of equation(1), assuming no
variation of the partial derivative in x-direction, and following same
procedure as for the first term , yields:
y + ∆y x + ∆x
∂ 2T Ti , j +1 − Ti , j Ti , j − Ti , j −1
k ( 2 ).dx.dy = [( k ) ∆x − ( k ) ∆x ] (5)
y x
∂y ∆y ∆y
y + ∆y x + ∆ x
∂ ∂T ∂T h ∂T h
( k ( )).dx.dy = [( k a ) y + ∆y . + ( k b ) y + ∆y . ] −
y x
∂y ∂y ∂y 2 ∂y 4
∂T h ∂T h
[( k a ) y . + (k b )y. ]
∂y 2 ∂y 4
(8)
Introducing the boundary conditions at (y+ y):
∂T h
i) Insulation over left part gives : ( ka ) y + ∆y . = 0
∂y 2
ii) Convection to ambient = the conduction to surface on right part
∂T h h
(kb ) y + ∆y . = hc (Ta − T2, 4 )
∂y 4 4
4
MENG314-FV
y + ∆y x + ∆x
∂ ∂T h
(k ( )).dx.dy = [0 + hc (Ta − T2 , 4 ). ]
y x
∂y ∂y 4
T2 , 4 − T2 , 3 h T − T2 ,3 h
− [k a + k b 2, 4 . ]
h 2 h 4
(9)
Substituting eqns(7,9) into eqn(1) yields the following F.V. eqn for
node(2,4):
T2 , 4 − T1, 4 h T − T2 , 4 h T − T2 , 3 h T − T2 , 3 h
− ka + k b 3, 4 − k a 2, 4 − k b 2, 4
h 2 h/2 2 h 2 h 4
h
+ hc (Ta − T2 , 4 ) = 0
4
This expresses the steady state heat balance for the volume, namely:
(left-side conduction) - (right-side conduction) + (lower conduction
material “a”) + (lower conduction material “b”) - (upper convection) = 0
5
MENG314-FV
y + ∆y x + ∆x y + ∆y x + ∆x y + ∆y x + ∆x
∂C ∂ 2C ∂ 2C
.dx.dy = α ( 2 + 2 ).dx.dy + S .dx.dy
y x
∂x y x ∂x ∂y y x
1)Integrating L.H.S.:
y + ∆y x + ∆x y + ∆y
∂C
.dx.dy = (C x + ∆x − C x ).dy = (C x + ∆x − C x ).∆y
y x
∂x y
Cx+ x and Cx are evaluated at C.V. surface
and not grid nodes. They need to be
expressed in terms of values at grid nodes.
Two approaches are popular:
i-1 i i+1
i) Central-Differencing-Scheme: X
X+ X
Ci +1 + Ci Ci + Ci −1
C x + ∆x = , Cx =
2 2
6
MENG314-FV
2) Integrating R.H.S.:
i) First term as before
ii) Second term: y + ∆y x + ∆x
S dxdy = S ∆ x ∆ y
y x
where S is average value of S over C.V., usually assumed equal to value
at node.
∂T ∂ 2T
= k
∂t ∂x 2 (1)
Integrating over CV in space and over time as well:
t+ ∆t x+∆x t+∆t x+∆x
∂T ∂ 2T
dx .dt = k .dx .dt (2)
t x
∂t t x
∂x 2
∂T
Assuming is uniform over control volume surrounding node “i”
∂t
(see sketch for CVs used for Parabolic eqns.) the L.H.S. of eqn(2) yields:
t + ∆t x + ∆x t + ∆t
∂T ∂T
dx.dt = .∆x.dt = (Ti t +∆t − Ti t ).∆x (3)
t x
∂t t
∂t
7
MENG314-FV
t + ∆t x + ∆x t + ∆t
∂ 2T ∂T ∂T
k 2 .dx.dt = [(k ) x + ∆x − (k ) x ].dt (4)
t x
∂x t
∂x ∂x
t + ∆t
∂T ∂T ∂T ∂T
[(k ) x + ∆x − (k ) x ].dt = [(k ) x + ∆x − (k ) x ]t .∆t
t
∂x ∂x ∂x ∂x
Ti t+1 − Ti t Ti t − Ti t−1
= [k ( ) − k( )].∆t
∆x ∆x
(5)
Substituting eqn(3,4,5) into eqn(2) and dividing by t yields:
(Ti t + ∆t − Ti t ) Ti +t 1 − 2Ti t + Ti −t 1
= k( )
∆t ∆x
which is similar to the Taylor series F.D.E.s for the explicit method.