Jump to content

User:Subik31kumar/sandbox

From Wikipedia, the free encyclopedia

Hybrid difference scheme is a method used in the numerical solution for convection-diffusion problems.

Introduction

[edit]

Hybrid difference scheme is a method used in the numerical solution for convection-diffusion problems. These problems play important roles in computational fluid dynamics. It can be described by the general partial equation as follows:

(1)


Where, is density, is the velocity vector, is the diffusion coefficient and is the source term. In this equation property , can be temperature, internal energy or component of velocity vector in x, y and z directions.

For one-dimensional analysis of convection-diffusion problem in steady state and without the source the equation reduces to,

(2)

With boundary conditions, and , where L is the length, and are the given values.

Grid Generation

[edit]

Integrating equation (2) over the control volume containing node N, and using the Gauss’ theorem i.e.,

(3)


Yields the following result,

- = - (4)

Where, A is the cross-sectional area of the control volume. The equation must also satisfy the continuity equation, i.e.,

- = 0 (5)

Now let us define variables F and D to represent the convection mass flux and diffusion conductance at cell faces,

and (6)

Hence, equations (1) and (2) transform into the following equations:

(7)
(8)

Where, the lower case letters denote the values at the faces and the upper case letters denote that at the nodes. We also define a non-dimensional parameter Peclet number (Pe) as a measure of the relative strengths of convection and diffusion,

(9)

For a low Peclet number (|Pe|<2) the flow is characterized as dominated by diffusion. For large Peclet number the flow is dominated by convection.

Central and Upwind difference scheme

[edit]
Fig 1: The grid used for discretisation in Central Difference Scheme

In the above equations (7) and (8), we observe that the values require are at the faces, instead of the nodes. Hence approximations are required to fulfill this.

In Central Difference scheme we replace the value at the face with the average of the values at the adjacent nodes,

and (10)
Fig 2: The grid used for discretisation in Upwind Difference Scheme for positive Peclet number (Pe>0)
Fig 3: The grid used for discretisation in Upwind Difference Scheme for negative Peclet number (Pe<0

By putting these values in equation (7) and rearranging we get the following result,

(11)




In the Upwind scheme we replace the value at the face with the value at the adjacent upstream node. For example for the flow to the right (Pe>0)as shown in the diagram, we replace the values as follows;

and (12)


And for Pe<0, we put the values as shown in the figure 3,

and (13)

By putting these values in equation (7) and rearranging we get the same equation as equation (11), but the following values of the coefficients:


Hybrid Difference Scheme

[edit]
Fig 4: Diagram showing the variation of any property (Ø) along the length (L) at different Peclet numbers (Pe)

Hybrid difference scheme of Spalding (1970) is a combination of the central difference scheme and upwind difference scheme. It makes use of the central difference scheme, which is second order accurate, for small Peclet numbers (|Pe|<2). For large Peclet numbers (|Pe|>2) it uses the Upwind difference scheme, which first order accurate but takes into account the convection of the fluid.

As it can be seen in figure 4 that for Pe=0, it is a linear distribution and for high Pe it takes the upstream value depending on the flow direction. For example the value at the left face, in different circumstances is,

for (14)


for (15)


for (16)


Substituting these values in equation (7) we get the same equation (11) with the values of the coefficients as follows,



Advantages and Disadvantages of Hybrid Difference Scheme

[edit]

It exploits the favourable properties of the central difference and upwind scheme. It switches to upwind difference scheme when central difference scheme produces inaccurate results for high Peclet numbers. It produces physically realistic solution and has proved to be helpful in the prediction of practical flows.

The only disadvantage associated with hybrid difference scheme is that the accuracy in terms of Taylor series truncation error is only first order.

References

[edit]
  • Patankar, Suhas V. (1980). Numerical heat transfer and fluid flow (14. printing. ed.). Bristol, PA: Taylor & Francis. ISBN 9780891165224.
  • Versteeg, H.K. (2007). An introduction to computational fluid dynamics : the finite volume method (2nd ed.). Harlow: Prentice Hall. ISBN 9780131274983. {{cite book}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  • http://proceedings.fyper.com/eccomascfd2006/documents/595.pdf
  • http://www.internonlinearscience.org/upload/papers/20110228093510102.pdf
  • http://www.internonlinearscience.org/upload/papers/20110227034844410.pdf