The hybrid difference scheme[1] [2] is a method used in the numerical solution for convection–diffusion problems. It was introduced by Spalding (1970). It is a combination of central difference scheme and upwind difference scheme as it exploits the favorable properties of both of these schemes.[3] [4]
Source:[5]
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:[6]
\partial | |
\partialt |
(\rho\phi)+\nabla(\rhou\phi)=\nabla(\Gamma ⋅ \operatorname{grad}\phi)+S\phi
Where,
\rho
u
\Gamma
S\phi
\phi
u
For one-dimensional analysis of convection-diffusion problem in steady state and without the source the equation reduces to,
\partial | |
\partialx |
(\rhou\phi)=
\partial | \left(\Gamma | |
\partialx |
\partial\phi | |
\partialx |
\right), 0<x<L
With boundary conditions,
\phi(0)=\phi0
\phi(L)=\phiL
\phi0
\phiL
Integrating equation over the control volume containing node N, and using Gauss’ theorem i.e.,
\intCV\nabla(\rhou\phi)dV=\intAn ⋅ (\rhou\phi)dA
Yields the following result,
\left(\rhouA\phi\right)r-\left(\rhouA\phi\right)l
\left(\GammaA
\partial\phi | |
\partialx |
\right)r-\left(\GammaA
\partial\phi | |
\partialx |
\right)l
Where, A is the cross-sectional area of the control volume.The equation must also satisfy the continuity equation, i.e.,
\left(\rhouA\right)r-\left(\rhouA\right)l
Now let us define variables F and D to represent the convection mass flux and diffusion conductance at cell faces,
F=\rhouA
D=
\GammaA | |
\deltax |
Hence, equations and transform into the following equations:
Fr\phir-Fl\phil=Dr(\phiR-\phiN)-Dl(\phiN-\phiL)
Fr-Fl=0
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 Péclet number (Pe) as a measure of the relative strengths of convection and diffusion,
Pe=
F | |
D |
=
\rhou | |
\Gamma/\deltax |
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.
In the above equations and, we observe that the values required are at the faces, instead of the nodes. Hence approximations are required to fulfill this.
In the central difference scheme we replace the value at the face with the average of the values at the adjacent nodes,
\phir=
\phiR+\phiN | |
2 |
\phil=
\phiN+\phiL | |
2 |
By putting these values in equation and rearranging we get the following result,
aN\phiN=aR\phiR+aL\phiL
where,
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;
\phil=\phiL
\phir=\phiN
And for Pe < 0, we put the values as shown in the figure 3,
\phir=\phiR
\phil=\phiN
By putting these values in equation and rearranging we get the same equation as equation, with the following values of the coefficients:
The 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,
\phil=\left[\left(1+
2 | |
Pel |
\right)
\phiL | |
2 |
+\left(1-
2 | |
Pel |
\right)
\phiN | |
2 |
\right]
-2<Pel<2
\phil=\phiL
Pel≥2
\phil=\phiN
Pel≤-2
Substituting these values in equation we get the same equation with the values of the coefficients as follows,
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.