The upwind differencing scheme is a method used in numerical methods in
computational fluid dynamics for
convection–
diffusion problems. This scheme is specific for
Peclet number greater than 2 or less than −2
Description
By taking into account the direction of the
flow
Flow may refer to:
Science and technology
* Fluid flow, the motion of a gas or liquid
* Flow (geomorphology), a type of mass wasting or slope movement in geomorphology
* Flow (mathematics), a group action of the real numbers on a set
* Flow (psych ...
, the upwind differencing scheme overcomes that inability of the
central differencing scheme. This scheme is developed for strong convective flows with suppressed diffusion effects. Also known as ‘Donor Cell’ Differencing Scheme, the convected value of property
at the cell face is adopted from the upstream node.
It can be described by Steady convection-diffusion partial Differential Equation:
:
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. S ...
:
where
is density,
is diffusion coefficient,
is the velocity vector,
is the property to be computed,
is the source term,
and the subscripts
and
refer to the "east" and "west" faces of the cell
(see Fig. 1 below).
After
discretization
In applied mathematics, discretization is the process of transferring continuous functions, models, variables, and equations into discrete counterparts. This process is usually carried out as a first step toward making them suitable for numerical ...
, applying continuity equation, and taking source term equals to zero we get
Central difference discretized equation
:
......(1)
:
.....(2)
Lower case denotes the face and upper case denotes node;
,
, and
refer to the "East," "West," and "Central" cell.
(again, see Fig. 1 below).
Defining variable F as convection mass
flux
Flux describes any effect that appears to pass or travel (whether it actually moves or not) through a surface or substance. Flux is a concept in applied mathematics and vector calculus which has many applications to physics. For transport ph ...
and variable D as
diffusion conductance
:
and
Peclet number (Pe) is a
non-dimensional parameter determining the comparative strengths of convection and diffusion
Peclet number:
:
For a Peclet number of lower value (, Pe, < 2), diffusion is dominant and for this the central difference scheme is used. For other values of the Peclet number, the upwind scheme is used for convection-dominated flows with Peclet number (, Pe, > 2).
For positive flow direction

:
:
Corresponding upwind scheme equation:
:
.....(3)
Due to strong convection and suppressed diffusion
:
:
Rearranging equation (3) gives
:
Identifying coefficients,
: