The Finite Volume Method for Convection-Diffusion Problems
Chapter 5
The Finite Volume Method for Convection-Diffusion Problems
Prepared by: Prof. Dr. I. Sezai Eastern Mediterranean University Mechanical Engineering Department
Introduction
The steady convection-diffusion equation is
div(u) = div(grad) + S
Integration over the control volume gives :
n (u)dA = n (grad)dA + SdV
A
A
CV
This equation represents the flux balance in a control volume.
The main problem in the discretisation of the convective terms is the calculation of at CV faces and its convective flux across these boundaries.
Diffusion process affects the distribution of in all directions.
Convection spreads influence only in the flow direction. This sets a limit on the grid size for stable convection-diffusion calculations with central difference method.
ME555 : Computational Fluid Dynamics 2
I. Sezai - Eastern Mediterranean University
1
Steady one-dimensional convection and diffusion
In the absence of sources, the steady convection and diffusion of a property in a given one-dimensional flow field u is governed by
d (u) = d ( d )
(5.3)
dx
dx dx
The flow must also satisfy continuity, so
d (u) = 0 dx
Integrating Eqn. (5.3) over the CV
( uA )e
-
( uA ) w
=
A
x
e
-
A
x
w
Integrating continuity Eqn.
(5.5)
(uA)e - (uA)w = 0
ME555 : Computational Fluid Dynamics 3
(5.6)
I. Sezai - Eastern Mediterranean University
Let F = uA convective mass flux at cell faces D = A/x diffusion conductance
At cell faces: Fw = (uA)w
Fe = (uA)e
Dw
=
w Aw xWP
De
=
e Ae xPE
Using central difference approach for the diffusion terms, Eqn (5.5)
becomes
Fee - Fww = De (E - P ) - Dw (P - W ) Continuity equation becomes
Fe - Fw = 0 We assume that velocity field is known Fe, Fw known.
We need to calculate at faces e and w.
(5.9) (5.10)
ME555 : Computational Fluid Dynamics 4
I. Sezai - Eastern Mediterranean University
2
The Central Differencing Scheme
Works well for diffusion terms.
Let us use this method to compute the convective terms by linear interpolation.
For a uniform grid, cell face values are:
e = (P + E ) / 2 w = (W + P ) / 2
Substituting into eqn (5.9)
Fe 2
(P
+ E )
-
Fw 2
(W
+ P )
=
De (E
-P )
-
Dw (P
- W
)
ME555 : Computational Fluid Dynamics 5
I. Sezai - Eastern Mediterranean University
Rearranging,
Dw
-
Fw 2
+
De
+
Fe 2
P
=
Dw
+
Fw 2
W
+
De
-
Fe 2
E
Dw
+
Fw 2
+
De
-
Fe 2
+ (Fe
-
Fw
)
P
=
Dw
+
Fw 2
W
+
De
-
Fe 2
E
which is of the form aPP = aWW + aEE
where
(5.14)
aW
Dw
+
Fw 2
aE
De
-
Fe 2
aP aW + aE + (Fe - Fw )
This equation has the same general form as the diffusion eqn. (4.11).
ME555 : Computational Fluid Dynamics 6
I. Sezai - Eastern Mediterranean University
3
Example 5.1
A property is transported by convection and diffusion through the one dimensional domain shown below. Using central difference scheme, find the distribution of for (L =1, = 1, = 0.1)
(i) Case 1: u = 0.1 m/s (use 5 CV's)
(ii) Case 2: u = 2.5 m/s (use 5 CV's)
Compare the results with the analytical solution.
-o = exp(ux / ) -1 L -o exp(uL / ) -1
(iii) Case 3: u = 2.5 m/s (20 CV's)
ME555 : Computational Fluid Dynamics 7
I. Sezai - Eastern Mediterranean University
The governing equation is:
A
d dx
( u )
=
d dx
d dx
B
12
3 w4 e5
67
=1
W
P
E
=0
x/2
xWP= x xPE=x
x/2
x
aPP = aWW + aEE + Su
where aP = aW + aE + (Fe - Fw ) - SP
Fw = (uA)w
Fe = (uA)e
Dw
=
w Aw xWP
De
=
e Ae xPE
For interior nodes: xWP = xPE = x For node 2: xWP = x / 2 For node 6: xPE = x / 2
Node 2
3, 4,5 6
aW 0 Dw + Fw / 2 Dw + Fw / 2
aE De - Fe / 2 De - Fe / 2
0
SP -(Dw + Fw / 2)
0 -(De - Fe / 2)
Su (Dw + Fw / 2)A
0 (De - Fe / 2)B
ME555 : Computational Fluid Dynamics 8
I. Sezai - Eastern Mediterranean University
4
The resulting system of equations are
-
aP2
aW3
aE 2 - a p3 aW4
aE 3 -a p4
aE 4 aWi
-a pi
aE i aWn-2
-a pn-2 aWn-1
aE n-2 -a pn-1
2
3
4
i
n-2 n-1
=
-Su2
-Su3
-Su4
-Sui
-Sun
-
2
-Sun-1
Solve the system of equations using Tri-diagonal matrix algorithm (TDMA) for 2, 3, 4, ... n-1 , where (n = 7)
ME555 : Computational Fluid Dynamics 9
I. Sezai - Eastern Mediterranean University
The solution for case 1 is:
1 1
2
0.9421
34
=
0.8006 0.6276
5
6
0.4163
0.1573
7 0
Exact solution is:
(x) = 2.7183 - exp(x) 1.7183
Comparison of the numerical result with the analytical solution.
ME555 : Computational Fluid Dynamics 10
I. Sezai - Eastern Mediterranean University
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- allele frequencies and hardy weinberg equilibrium
- identify the most appropriate test to use for the
- control of multiple input multiple output mimo processes
- 2021 tax withholding tables federal
- the finite volume method for convection diffusion problems
- hypodd version 1 0 03 2001 by felix waldhauser
- rc circuits uiuc
- unit 4 lecturer notes of assignment problem of or by dr g r
- two dimensional conduction finite difference equations
- ntse stage i haryana state set a 2020 21 for
Related searches
- baking soda method for drug test meth
- best payment method for selling a car
- race method for answering questions
- straight line method for amortization
- best learning method for adults
- star method for answering questions
- traditional method for finding correlation calculator
- finite volume method cfd
- finite element method book pdf
- volume worksheets for 5th graders
- effective interest method for leases
- annualization method for estimated taxes