Professional Documents
Culture Documents
0205
0205
Contents
!! The Convection Diffusion Equation !! Finite Volume Method !! Four basic rules !! Central Differencing Scheme !! Upwind Differencing Scheme !! Exact Solution !! Exponential Scheme !! Hybrid Scheme !! Power Law Scheme !! Higher Order Differencing Schemes !! QUICK Scheme !! Discretization Equations for 2-D, 3-D !! Handling the Source term !! Handling the Unsteady term !! False Diffusion
property, !
"! The 4 terms are: Unsteady term, Convection term, Diffusion term and
Source term "! In general, ! = !(x, y, z, t) "! ! is the diffusion coefficient corresponding to the particular property !, S is the corresponding source term "! As ! takes different values we get conservation equations for different quantities eg: !=1: Mass conservation !=u: x-momentum conservation !=h: Energy conservation
profile of !
,
where,
!! Also, from continuity equation, we have !! There are various methods to calculate the Convection term and will be
1. Physically realistic 2. Satisfy overall balance (conservative) There are some basic rules that need to be satisfied by the discretization equations Standard form of discretization equations(1-D): Rule 1: Flux consistency at CV faces When a face is common to two adjacent control volumes, flux across it must be represented by the same expression in discretization equations for both the control volumes Rule 2: Positive coefficients All coefficients must always be of same sign because an increase in must lead to increase in
where
Assessment !! Conservativeness : Uses consistent expressions to evaluate convective and diffusive fluxes at CV faces. Unconditionally Conservative
!! Boundedness :
directions. Does not recognize direction of flow or strength of convection relative to diffusion Does not possess Transportiveness at high Peclet Numbers
!! Accuracy : Second Order in terms of Taylor series
Stable and accurate only if Now, For stability and accuracy, either velocity should be very low or grid spacing should be small
!! Define
!! Discretization equation:
Exact Solution
!! The governing transport equation:
where,
Exponential Scheme
!! Define !! Our transport equation becomes, !! Integrating over CV, !! The exact solution derived above can be used as profile assumption
with
!! Substitution gives
where
Exponential Scheme
!! After substitution of similar expression for
!! Merit: Guaranteed to produce exact solution for any Peclet number for
Hybrid Scheme
!! In exponential scheme,
Hybrid Scheme
!! From Figure, we can see that
1. 2. 3. The 3 straight lines representing these limiting cases are shown in figure !! The hybrid scheme is made up of these 3 straight lines
,
Hybrid Scheme
!! Standard Discretization equation
!! Significance of HDS:
1. Combines advantages of both CDS and UDS 2. Identical to CDS for -2 ! ! 2 3. Outside this range, it reduces to UDS with diffusion set equal to zero !! Disadvantage: First order accuracy in terms of Taylor Series
!! Discretization equation
!! !! !!
property. Upwind, hybrid schemes are very stable and obey transportiveness but are first order in terms of Taylor series truncation error which makes them prone to diffusion errors. Such errors minimized by employing higher order discretisation. Higher order schemes involve more neighbour points and reduce discretization errors by bringing wider influence. Formulations that do not take into account the flow direction are unstable and, therefore, more accurate higher order schemes, which preserve upwinding for stability and sensitivity to flow direction, are needed.
values
!! For
QUICK Scheme
!! Diffusion terms are evaluated using gradient of the appropriate
parabola (For uniform grid, gives same results as CDS for diffusion) !! Discretized convection diffusion transport equation:
QUICK Scheme
Assessment !! Conservativeness : Ensured !! Boundedness : For , is always negative, can become negative for , thus the scheme is conditionally stable. !! Transportiveness : Built in because the quadratic function is based on 2 upstream and 1 downstream node !! Accuracy : Third order in terms of Taylor series truncation error on a uniform mesh !! Another feature : Discretization equations not only involve immediate neighbour nodes but also nodes further away, thus TDMA methods are not applicable
QUICK Scheme
!! QUICK scheme above can be unstable due to negative coefficients !! Reformulated in different ways- Formulations involve placing -ve
coefficients in source term to retain +ve main coefficients !! The Hayse et el(1990) QUICK scheme is summarized as:
!! Discretization equation:
QUICK Scheme
Summarizing: !! Has greater formal accuracy than central differencing or hybrid schemes and it retains upwind weighted characteristics !! But, can sometimes give minor undershoots and overshoots(example given later) Other higher order schemes: !! Use increases accuracy !! Implementation of Boundary Conditions can be problematic !! Computation costs also need to be considered !! To avoid undershoots and overshoots(get oscillation free solution), class of TVD(Total variation diminishing) schemes have been formulated.
The coefficients for 2-D, 3-D for hybrid differencing scheme are shown on next page
Summary
become,
All other coefficients remain same In a similar way, Source term can be incorporated in 2-D, 3-D
equation without convection(without source term), later we can extend the concept to convection-diffusion equations of all kinds
with t, We assume
and
where,
becomes negative if
exceeds
is
small, the coefficient of will become negative !! Crank Nicholson Scheme is also conditionally stable
!! Implicit Scheme: Only in this case, the coefficient of
is always positive. Thus, fully implicit scheme satisfies requirements of simlicity and physically realistic behavior.
than fully implicit scheme !! Reason: Temperature time curve is nearly linear for small time intervals which is exactly what we assumed in Crank Nicholson scheme
Taylor series expansion !! UDS causes severe false diffusion : UDS is equivalent to replacing ! in the CDS by !+!u!x/2 ! CDS is better than UDS (misleading, true only for small Pe) Problem with this view: !! Truncated taylor series ceases to be a good representation(except for small !x or small Pe), since !~x variation is exponential !! We assumed CDS as standard, then compared diffusion coefficient of UDS with that of CDS !! The so called false diffusion coefficient !u!x/2 is indeed desirable at large Peclet numbers
Temperature contacted
"! "!
If !" 0, mixing layer forms where T changes from higher to lower value If !=0, T discontinuity persists in streamwise direction
To observe false diffusion: set !=0, If numerical solution produces smeared T profile(characteristic of !"0), it entails false diffusion
Thus, given upstream value on each horizontal line gets established at all points on that line No false diffusion
"Results obtained are shown in adjacent figure Thus, false diffusion is observed "For no false diffusion: !=100 above the diagonal !=0 below the diagonal
results
schemes gives the following results. !! Notice the undershoots and overshoots by the QUICK scheme
References
!! Ferziger J. H. and Peric M. Computational Methods for Fluid
Dynamics !! Patankar S.V. Numerical Heat Transfer and Fluid Flow !! Versteeg H. K. and Malalasekera W. An introduction to computational fluid Dynamics: The finite volume method
Thank You