Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Central differencing scheme

From Wikipedia, the free encyclopedia

Figure 1.Comparison of different schemes

In applied mathematics, the central differencing scheme is a finite difference method that optimizes the approximation for the differential operator in the central node of the considered patch and provides numerical solutions to differential equations.[1] It is one of the schemes used to solve the integrated convection–diffusion equation and to calculate the transported property Φ at the e and w faces, where e and w are short for east and west (compass directions being customarily used to indicate directions on computational grids). The method's advantages are that it is easy to understand and implement, at least for simple material relations; and that its convergence rate is faster than some other finite differencing methods, such as forward and backward differencing. The right side of the convection-diffusion equation, which basically highlights the diffusion terms, can be represented using central difference approximation. To simplify the solution and analysis, linear interpolation can be used logically to compute the cell face values for the left side of this equation, which is nothing but the convective terms. Therefore, cell face values of property for a uniform grid can be written as:[2]

Steady-state convection diffusion equation

[edit]

The convection–diffusion equation is a collective representation of diffusion and convection equations, and describes or explains every physical phenomenon involving convection and diffusion in the transference of particles, energy and other physical quantities inside a physical system:[2]

where Г is diffusion coefficient and Φ is the property.

Formulation of steady-state convection diffusion equation

[edit]

Formal integration of steady-state convection–diffusion equation over a control volume gives

(Equation 1)

This equation represents flux balance in a control volume. The left side gives the net convective flux, and the right side contains the net diffusive flux and the generation or destruction of the property within the control volume.

In the absence of source term equation, one becomes

(Equation 2)

Continuity equation:

(Equation 3)
Figure 2. Interpolation method

Assuming a control volume and integrating equation 2 over control volume gives:

(Integrated convection–diffusion equation)

Integration of equation 3 yields:

(Integrated continuity equation)

It is convenient to define two variables to represent the convective mass flux per unit area and diffusion conductance at cell faces, for example:

Assuming , we can write integrated convection–diffusion equation as:

And integrated continuity equation as:

In a central differencing scheme, we try linear interpolation to compute cell face values for convection terms.

For a uniform grid, we can write cell face values of property Φ as

On substituting this into integrated convection-diffusion equation, we obtain:

And on rearranging:

Different aspects of central differencing scheme

[edit]

Conservativeness

[edit]

Conservation is ensured in central differencing scheme since overall flux balance is obtained by summing the net flux through each control volume taking into account the boundary fluxes for the control volumes around nodes 1 and 4.

Figure 3.Typical illustration

Boundary flux for control volume around node 1 and 4 because

Boundedness

[edit]

Central differencing scheme satisfies first condition of boundedness.

Since from continuity equation, therefore;

Another essential requirement for boundedness is that all coefficients of the discretised equations should have the same sign (usually all positive). But this is only satisfied when (peclet number) because for a unidirectional flow () is always positive if

Transportiveness

[edit]

It requires that transportiveness changes according to magnitude of peclet number i.e. when pe is zero is spread in all directions equally and as Pe increases (convection > diffusion) at a point largely depends on upstream value and less on downstream value. But central differencing scheme does not possess transportiveness at higher pe since Φ at a point is average of neighbouring nodes for all Pe.

Accuracy

[edit]

The Taylor series truncation error of the central differencing scheme is second order. Central differencing scheme will be accurate only if Pe < 2. Owing to this limitation, central differencing is not a suitable discretisation practice for general purpose flow calculations.

Applications of central differencing schemes

[edit]

Advantages

[edit]
  • Simpler to program, requires less computer time per step, and works well with multigrid acceleration techniques
  • Has a free parameter in conjunction with the fourth-difference dissipation, which is needed to approach a steady state.
  • More accurate than the first-order upwind scheme if the Peclet number is less than 2.[3]

Disadvantages

[edit]
  • Somewhat more dissipative
  • Leads to oscillations in the solution or divergence if the local Peclet number is larger than 2.[4]

See also

[edit]

References

[edit]
  1. ^ Computational fluid dynamics –T CHUNG, ISBN 0-521-59416-2
  2. ^ a b An introduction to computational fluid dynamics by HK VERSTEEG and W. MALALASEKERA, ISBN 0-582-21884-5
  3. ^ a b Liu, Xu-Dong; Tadmor, Eitan (1998). "Third order nonoscillatory central scheme for hyperbolic conservation laws". Numerische Mathematik. 79 (3): 397–425. CiteSeerX 10.1.1.26.4631. doi:10.1007/s002110050345. S2CID 16702600.
  4. ^ Lecture 5 - Solution Methods

Further reading

[edit]
  • Computational Fluid Dynamics: The Basics with Applications – John D. Anderson, ISBN 0-07-001685-2
  • Computational Fluid Dynamics volume 1 – Klaus A. Hoffmann, Steve T. Chiang, ISBN 0-9623731-0-9
[edit]