Physics:QUICK scheme

From HandWiki

In computational fluid dynamics QUICK, which stands for Quadratic Upstream Interpolation for Convective Kinematics, is a higher-order differencing scheme that considers a three-point upstream weighted by quadratic interpolation for the cell face values. In computational fluid dynamics there are many solution methods for solving the steady convection–diffusion equation. Some of the used methods are the central differencing scheme, upwind scheme, hybrid scheme, power law scheme and QUICK scheme.

The QUICK scheme was presented by Brian P. Leonard – together with the QUICKEST (QUICK with Estimated Streaming Terms) scheme – in a 1979 paper.[1]

In order to find the cell face value a quadratic function passing through two bracketing or surrounding nodes and one node on the upstream side must be used. In central differencing scheme and second order upwind scheme the first order derivative is included and the second order derivative is ignored. These schemes are therefore considered second order accurate where as QUICK does take the second order derivative into account, but ignores the third order derivative hence this is considered third order accurate.[2] This scheme is used to solve convection–diffusion equations using second order central difference for the diffusion term and for the convection term the scheme is third order accurate in space and first order accurate in time. QUICK is most appropriate for steady flow or quasi-steady highly convective elliptic flow.[3]

Quadratic interpolation for QUICK scheme

Quadratic profile

For the one-dimensional domain shown in the figure the Φ value at a control volume face is approximated using three-point quadratic function passing through the two bracketing or surrounding nodes and one other node on upstream side.[4] In the figure, in order to calculate the value of the property at the face, we should have three nodes i.e. two bracketing or surrounding nodes and one upstream node.

  1. Φw when uw > 0 and ue > 0 a quadratic fit through WW, W and P is used,
  2. Φe when uw > 0 and ue > 0 a quadratic fit through W, P and E is used,
  3. Φw when uw < 0 and ue < 0 values of W, P and E are used,
  4. Φe when uw < 0 and ue < 0 values of P, E and EE are used.

Let the two bracketing nodes be i and i − 1 and upstream node i – 2 then for a uniform grid the value of φ at the cell face between the three nodes is given by:

[math]\displaystyle{ \phi_{face} = \frac{6}{8}\phi_{i-1} + \frac{3}{8}\phi_{i} - \frac{1}{8}\phi_{i-2} }[/math]

Interpretation of the property when the flow is in different directions

The steady convection and diffusion of a property 'Ƥ' in a given one-dimensional flow field with velocity 'u' and in the absence of sources is given

[math]\displaystyle{ {d (\rho u \phi ) \over d x} = \frac{d}{d x}\left(r \frac{d \phi}{d x}\right) . }[/math]

For the continuity of the flow it must also satisfy

[math]\displaystyle{ {d (\rho u ) \over d x} = 0. }[/math]

Discretizing the above equation to a control volume around a particular node we get

[math]\displaystyle{ (\rho u A \phi)_e - (\rho u A \phi)_w = \left(rA\frac{\partial \phi}{\partial x}\right)_e - \left(rA\frac{\partial \phi}{\partial x}\right)_w }[/math]

Integrating this continuity equation over the control volume we get

[math]\displaystyle{ \left(\rho u A \right)_e - \left( \rho u A \right)_w = 0 }[/math]

now assuming [math]\displaystyle{ F = \rho u }[/math] and [math]\displaystyle{ D = r/\sigma x }[/math]

The corresponding cell face values of the above variables are given by

[math]\displaystyle{ F_w = \left(\rho u\right)_w }[/math]
[math]\displaystyle{ F_e = \left(\rho u \right)_e }[/math]
[math]\displaystyle{ D_w = {r_w}/{\sigma x_{WP}} }[/math]
[math]\displaystyle{ D_e = {r_e}/{\sigma x_{PE}} }[/math]

Assuming constant area over the entire control volume we get

[math]\displaystyle{ F_e\phi_e - F_w\phi_w = D_e\left(\phi_E - \phi_P\right) - D_w \left(\phi_P - \phi_W \right) }[/math]

Positive direction

When the flow is in positive direction the values of the velocities will be [math]\displaystyle{ u_w \gt 0 }[/math] and [math]\displaystyle{ u_e \gt 0 }[/math] ,

For "w (west face)" bracketing nodes are W and P, the upstream node is WW then,[5]

[math]\displaystyle{ \phi_w = \frac{6}{8}\phi_W + \frac{3}{8}\phi_P - \frac{1}{8}\phi_{WW} }[/math]

For "e (east face)" bracketing nodes are P and E, the upstream node is W then

[math]\displaystyle{ \phi_e = \frac{6}{8}\phi_P + \frac{3}{8}\phi_E - \frac{1}{8}\phi_W }[/math]

Gradient of parabola is used to evaluate diffusion terms.

If Fw > 0 and Fe > 0 and if we use above equations for the convective terms and central differencing for the diffusion terms, the discretized form of the one-dimensional convection–diffusion transport equation will be written as:

[math]\displaystyle{ F_e \phi_e - F_w \phi_w = D_e\left(\phi_E-\phi_P\right) - D_w \left(\phi_P - \phi_W\right) }[/math]
[math]\displaystyle{ F_e \left(\frac{6}{8} \phi_p + \frac{3}{8}\phi_E - \frac{1}{8}\phi_w \right) - F_W\left(\frac{6}{8}\phi_w + \frac{3}{8}\phi_p - \frac{1}{8}\phi_{ww} \right) = D_e \left(\phi_E - \phi_P \right) - D_W\left(\phi_p - \phi_w\right) }[/math]

On re-arranging we get

[math]\displaystyle{ \left(D_w - \frac{3}{8} F_w + D_e + \frac{6}{8} F_e\right)\phi_P = \left(D_w + \frac{6}{8}F_w + \frac{1}{8}F_e\right)\phi_W + \left(D_e - \frac{3}{8}F_e\right)\phi_E - \frac{1}{8}F_w \phi_{WW} }[/math]

now it can be written in the standard form:

[math]\displaystyle{ a_P \phi_P = a_W \phi_W + a_E \phi_E + a_{WW} \phi_{WW} }[/math]

where:

[math]\displaystyle{ a_W }[/math] [math]\displaystyle{ a_E }[/math] [math]\displaystyle{ a_{WW} }[/math] [math]\displaystyle{ a_P }[/math]
[math]\displaystyle{ D_w + \frac{6}{8}F_w + \frac{1}{8}F_e }[/math] [math]\displaystyle{ D_e - \frac{3}{8}F_e }[/math] [math]\displaystyle{ -\frac{1}{8}F_w }[/math] [math]\displaystyle{ a_W + a_E + a_{WW} + \left(F_e - F_w\right) }[/math]

Negative direction

When the flow is in negative direction the value of the velocities will be uw < 0 and ue < 0,

For west face w the bracketing nodes are W and P, upstream node is E and for the east face E the bracketing nodes are P and E, upstream node is EE

For [math]\displaystyle{ F_w }[/math] < 0 and [math]\displaystyle{ F_e }[/math] < 0 the flux across the west and east boundaries is given by the expressions :

[math]\displaystyle{ \phi_w = \frac{6}{8}\phi_P + \frac{3}{8}\phi_W - \frac{1}{8}\phi_{E} }[/math]
[math]\displaystyle{ \phi_e = \frac{6}{8}\phi_E + \frac{3}{8}\phi_P - \frac{1}{8}\phi_{EE} }[/math]

Substitution of these two formulae for the convective terms in the discretized convection-diffusion equation together with central differencing for the diffusion terms leads, after re-arrangement similar to positive direction as above, to the following coefficients.

[math]\displaystyle{ a_W }[/math] [math]\displaystyle{ a_E }[/math] [math]\displaystyle{ a_{EE} }[/math] [math]\displaystyle{ a_P }[/math]
[math]\displaystyle{ D_w + \frac{3}{8}F_w }[/math] [math]\displaystyle{ D_e - \frac{6}{8}F_e - \frac{1}{8}F_w }[/math] [math]\displaystyle{ \frac{1}{8}F_e }[/math] [math]\displaystyle{ a_W + a_E + a_{EE} + \left(F_e - F_w\right) }[/math]

QUICK scheme for 1-D convection–diffusion problems

aPΦP = aWΦW + aEΦE + aWWΦWW + aEEΦEE

Here, aP = aW + aE + aWW + aEE + (Fe - Fw)

other coefficients

aW aWW aE aEE
Dw + 6/8 αw Fw

+ 1/8Fe αe +3/8 (1 – αw)Fw

−1/8 αwFw De - 3/8αe Fe

-6/8(1–αe)Fe −1/8 (1–αw)Fw

1/8(1 – αe)Fe

where

αw=1 for Fw > 0 and αe=1 for Fe > 0
αw=0 for Fw < 0 and αe=0 for Fe < 0.

Comparing the solutions of QUICK and upwind schemes

From the below graph we can see that the QUICK scheme is more accurate than the upwind scheme. In the QUICK scheme we face the problems of undershoot and overshoot due to which some errors occur. These overshoots and undershoots should be considered while interpreting solutions. False diffusion errors will be minimized with the QUICK scheme when compared with other schemes.

Comparison of QUICK and UPWIND solutions

See also

References

  1. Leonard, B.P. (1979), "A stable and accurate convective modelling procedure based on quadratic upstream interpolation", Computer Methods in Applied Mechanics and Engineering 19 (1): 59–98, doi:10.1016/0045-7825(79)90034-3, Bibcode1979CMAME..19...59L 
  2. Versteeg, H. K.; Malalasekera, W. (1995), An introduction to computational fluid dynamics, pp. 125–132, ISBN 0-470-23515-2 
  3. Lin, Pengzhi (30 April 2008), Numerical Modeling of Water Waves: An Introduction to Engineers and Scientists, p. 145, ISBN 978-0-415-41578-1 
  4. Mitra, Sushanta K.; Chakraborty, Suman (20 September 2011), Microfluidics and Nanofluidics Handbook: Fabrication, Implementation, and Applications, p. 161, ISBN 978-1-4398-1671-4 
  5. Jakobsen, Hugo A. (23 June 2008), Chemical Reactor Modeling: Multiphase Reactive Flows, p. 1029, ISBN 978-3-540-25197-2 

Further reading

  • Patankar, Suhas V. (1980), Numerical Heat Transfer and Fluid Flow, Taylor & Francis Group, ISBN 978-0-89116-522-4 
  • Wesseling, Pieter (2001), Principles of Computational Fluid Dynamics, Springer, ISBN 978-3-540-67853-3 
  • Date, Anil W. (2005), Introduction to Computational Fluid Dynamics, Cambridge University Press, ISBN 978-0-521-85326-2