Physics:Power law scheme

From HandWiki
Revision as of 03:42, 5 February 2024 by DanMescoff (talk | contribs) (over-write)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Concept in computational fluid dynamics


The power law scheme was first used by Suhas Patankar (1980). It helps in achieving approximate solutions in computational fluid dynamics (CFD) and it is used for giving a more accurate approximation to the one-dimensional exact solution when compared to other schemes in computational fluid dynamics (CFD). This scheme is based on the analytical solution of the convection diffusion equation. This scheme is also very effective in removing False diffusion error.

Working

The power-law scheme[1][2] interpolates the face value of a variable, [math]\displaystyle{ \phi\, }[/math], using the exact solution to a one-dimensional convection-diffusion equation given below:

[math]\displaystyle{ \frac{\partial}{\partial x}(\rho u \phi)\,= \frac{\partial}{\partial x}\Gamma\frac{\partial \phi}{\partial x} }[/math]

In the above equation Diffusion Coefficient, [math]\displaystyle{ \Gamma }[/math] and both the density [math]\displaystyle{ \rho }[/math] and velocity remains constant u across the interval of integration.

Integrating the equation, with Boundary Conditions,

[math]\displaystyle{ \phi_0\,= \phi |_{(x=0)} }[/math]
[math]\displaystyle{ \phi_L\,= \phi |_{(x=L)} }[/math]

Variation of face value with distance, x is given by the expression, [math]\displaystyle{ \frac{\phi(x)-\phi_0}{\phi_L-\phi_0}\,= \frac{\exp(\text{Pe} \frac{x}{L})-1}{\exp(\text{Pe})-1} }[/math]

Graph depicting variation of face value with distance for a range of Peclet number.

where Pe is the Peclet number given by [math]\displaystyle{ \text{Pe}\,= \frac{\rho u L}{\Gamma} }[/math]

Peclet number is defined to be the ratio of the rate of convection of a physical quantity by the flow to the rate of diffusion of the same quantity driven by an appropriate gradient.

The variation between [math]\displaystyle{ \phi\, }[/math] and x is depicted in Figure for a range of values of the Peclet number. It shows that for large Pe, the value of [math]\displaystyle{ \phi\, }[/math] at x=L/2 is approximately equal to the value at upwind boundary which is assumption made by the upwind differencing scheme. In this scheme diffusion is set to zero when cell Pe exceeds 10.

This implies that when the flow is dominated by convection, interpolation can be completed by simply letting the face value of a variable be set equal to its upwind or upstream value.

When Pe=0 (no flow, or pure diffusion), Figure shows that solution, [math]\displaystyle{ \phi\, }[/math] may be interpolated using a simple linear average between the values at x=0 and x=L.

When the Peclet number has an intermediate value, the interpolated value for [math]\displaystyle{ \phi\, }[/math] at x=L/2 must be derived by applying the power law equivalent.

The simple average convection coefficient formulation can be replaced with a formula incorporating the power law relationship :

Power Law Relationship
[math]\displaystyle{ a_l }[/math] [math]\displaystyle{ a_r }[/math]
[math]\displaystyle{ D_l \max [0,(1-0.1|\text{Pe}_l|)^5] + \max[F_l,0] }[/math] [math]\displaystyle{ D_r \max [0,(1-0.1|\text{Pe}_r|)^5] + \max[-F_r,0] }[/math]

where [math]\displaystyle{ F = \rho u,\quad D = \Gamma / L,\quad L = x_r - x_c = x_c - x_l,\quad \text{and} \quad\text{Pe}=F / D }[/math]

[math]\displaystyle{ F_l,D_l }[/math] and [math]\displaystyle{ F_r,D_r }[/math] are the properties on the left node and right node respectively.

The central coefficient is given by [math]\displaystyle{ a_c=a_l+a_r+(F_r-F_l) }[/math].

Final coefficient form of the discrete equation: [math]\displaystyle{ a_c \phi_c = a_l \phi_l + a_r \phi_r }[/math]

References

  1. Versteeg, H.K.; Malalasekera, W. (2007). An introduction to computational fluid dynamics: the finite volume method (2nd ed.). Harlow: Prentice Hall. ISBN 9780131274983. 
  2. Patankar, Suhas V. (1980). Numerical heat transfer and fluid flow (14. printing. ed.). Bristol, PA: Taylor & Francis. ISBN 9780891165224.