HOME

TheInfoList



OR:

In
applied mathematics Applied mathematics is the application of mathematics, mathematical methods by different fields such as physics, engineering, medicine, biology, finance, business, computer science, and Industrial sector, industry. Thus, applied mathematics is a ...
, the central differencing scheme is a
finite difference method In numerical analysis, finite-difference methods (FDM) are a class of numerical techniques for solving differential equations by approximating Derivative, derivatives with Finite difference approximation, finite differences. Both the spatial doma ...
that optimizes the approximation for the differential operator in the central node of the considered patch and provides numerical solutions to differential equations. 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:An introduction to computational fluid dynamics by HK VERSTEEG and W. MALALASEKERA, \Phi_e = \tfrac 1 2 (\Phi_P + \Phi_E) \Phi_w = \tfrac 1 2 (\Phi_W + \Phi_P)


Steady-state convection diffusion equation

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: \operatorname(\rho u\varphi) = \operatorname(\Gamma\nabla\varphi)+S_\varphi; \, where is
diffusion coefficient Diffusivity, mass diffusivity or diffusion coefficient is usually written as the proportionality constant between the molar flux due to molecular diffusion and the negative value of the gradient in the concentration of the species. More accurate ...
and is the
property Property is a system of rights that gives people legal control of valuable things, and also refers to the valuable things themselves. Depending on the nature of the property, an owner of property may have the right to consume, alter, share, re ...
.


Formulation of steady-state convection diffusion equation

Formal integration of steady-state convection–diffusion equation over a
control volume In continuum mechanics and thermodynamics, a control volume (CV) is a mathematical abstraction employed in the process of creating mathematical models of physical processes. In an inertial frame of reference, it is a fictitious region of a given v ...
gives 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
Continuity equation A continuity equation or transport equation is an equation that describes the transport of some quantity. It is particularly simple and powerful when applied to a conserved quantity, but it can be generalized to apply to any extensive quantity ...
: Assuming a control volume and integrating equation 2 over control volume gives: Integration of equation 3 yields: It is convenient to define two variables to represent the convective mass flux per unit area and diffusion conductance at cell faces, for example: F = \rho u D = \Gamma / \delta x Assuming A_e = A_w, we can write integrated convection–diffusion equation as: F_e \varphi_e - F_w \varphi_w = D_e( \varphi_E - \varphi_P ) - D_w(\varphi_P - \varphi_W) And integrated continuity equation as: F_e - F_w = 0 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 \varphi_e = \tfrac 1 2 (\varphi_E + \varphi_P), \quad \varphi_w = \tfrac 1 2 (\varphi_P + \varphi_W) On substituting this into integrated convection-diffusion equation, we obtain: F_e\frac2 - F_w\frac2 = D_e(\varphi_E - \varphi_P) - D_w(\varphi_P - \varphi_W) And on rearranging: \left left(D_w + \frac2\right) + \left(D_e - \frac2\right) + (F_e - F_w)\rightvarphi_P = \left(D_w + \frac2 \right)\varphi_W + \left(D_e - \frac2 \right)\varphi_E a_P \varphi_P = a_W \varphi_W + a_E\varphi_E


Different aspects of central differencing scheme


Conservativeness

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. Boundary flux for control volume around node 1 and 4 \begin & \left frac - q_A\right+ \left \frac - \frac\right\\ 0pt+ & \left \frac - \frac\right+ \left _B - \frac\right= q_B - q_A \end because \Gamma_ = \Gamma_ , \Gamma_ = \Gamma_ , \Gamma_ = \Gamma_


Boundedness

Central differencing scheme satisfies first condition of boundedness. Since F_e - F_w = 0 from continuity equation, therefore; a_P \varphi_P = a_W \varphi_W + a_E\varphi_E 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) F_e/D_e < 2 because for a unidirectional flow (F_e > 0, F_w > 0) a_E = (D_e - F_e/2) is always positive if D_e > F_e/2


Transportiveness

It requires that transportiveness changes according to magnitude of peclet number i.e. when pe is zero \varphi is spread in all directions equally and as Pe increases (convection > diffusion) \varphi 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

The
Taylor series In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor ser ...
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

*They are currently used on a regular basis in the solution of the
Euler equations In mathematics and physics, many topics are eponym, named in honor of Swiss mathematician Leonhard Euler (1707–1783), who made many important discoveries and innovations. Many of these items named after Euler include their own unique function, e ...
and
Navier–Stokes equations The Navier–Stokes equations ( ) are partial differential equations which describe the motion of viscous fluid substances. They were named after French engineer and physicist Claude-Louis Navier and the Irish physicist and mathematician Georg ...
. *Results using central differencing approximation have shown noticeable improvements in accuracy in smooth regions. *
Shock wave In physics, a shock wave (also spelled shockwave), or shock, is a type of propagating disturbance that moves faster than the local speed of sound in the medium. Like an ordinary wave, a shock wave carries energy and can propagate through a me ...
representation and boundary-layer definition can be improved on coarse meshes.


Advantages

*Simpler to program, requires less computer time per step, and works well with multigrid
acceleration In mechanics, acceleration is the Rate (mathematics), rate of change of the velocity of an object with respect to time. Acceleration is one of several components of kinematics, the study of motion. Accelerations are Euclidean vector, vector ...
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.


Disadvantages

* Somewhat more dissipative * Leads to oscillations in the solution or divergence if the local Peclet number is larger than 2.Lecture 5 - Solution Methods
/ref>


See also

*
Finite difference method In numerical analysis, finite-difference methods (FDM) are a class of numerical techniques for solving differential equations by approximating Derivative, derivatives with Finite difference approximation, finite differences. Both the spatial doma ...
*
Finite difference A finite difference is a mathematical expression of the form . Finite differences (or the associated difference quotients) are often used as approximations of derivatives, such as in numerical differentiation. The difference operator, commonly d ...
*
Taylor series In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor ser ...
* Taylor theorem * Convection–diffusion equation *
Diffusion Diffusion is the net movement of anything (for example, atoms, ions, molecules, energy) generally from a region of higher concentration to a region of lower concentration. Diffusion is driven by a gradient in Gibbs free energy or chemical p ...
*
Convection Convection is single or Multiphase flow, multiphase fluid flow that occurs Spontaneous process, spontaneously through the combined effects of material property heterogeneity and body forces on a fluid, most commonly density and gravity (see buoy ...
* Peclet number *
Linear interpolation In mathematics, linear interpolation is a method of curve fitting using linear polynomials to construct new data points within the range of a discrete set of known data points. Linear interpolation between two known points If the two known po ...
*
Symmetric derivative In mathematics, the symmetric derivative is an Operator (mathematics), operation generalizing the ordinary derivative. It is defined as: \lim_ \frac. The expression under the limit is sometimes called the symmetric difference quotient. A function ...
* Upwind differencing scheme for convection


References


Further reading

* ''Computational Fluid Dynamics: The Basics with Applications'' – John D. Anderson, * ''Computational Fluid Dynamics'' volume 1 – Klaus A. Hoffmann, Steve T. Chiang,


External links


One-Dimensional_Steady-State_Convection_and_Diffusion#Central_Difference_Scheme
{{Webarchive, url=https://web.archive.org/web/20131105095541/http://www.phy.davidson.edu/fachome/dmb/py200/centraldiff.htm , date=5 November 2013
A Conservative Finite Difference Scheme for Poisson–Nernst–Planck Equations
Computational fluid dynamics Finite differences Numerical differential equations