In general, advection for both the edge and element-based scheme is
identical with standard exception of the location of the integration
points. The full advection term is simply written as,
The evaluation of defines the advection stabilization
choice. In general, the advection choice is a cell Peclet blending
between higher order upwind () and a generalized
un-stabilized central (Galerkin) operator, ,
In the above equation, is a cell Peclet
blending. The generalized central operator can take on a pure second
order or pseudo fourth order form (see below). For the classic Peclet
number functional form (see Equation (4.3)) a hybrid upwind
factor, , can be used to ensure that no stabilization is
added () or that full upwind stabilization is included
(as will be shown, even with limiter functions). The hybrid upwind
factor allows one to modify the functional blending function; values of
unity result in the normal blending function response in
Figure 4.1; values of zero yield a pure central operator, i.e.,
blending function of zero; values unity result in a blending
function value of unity, i.e., pure upwind. The constant is
implemented with a value of 5. The value of this constant can not be
changed via the input file. Note that this functional form is named the
“classic” form within the input file.
The classic cell Peclet blending function is given by
The classic Peclet functional form makes it difficult to dial in the
exact point at which the Peclet factor transitions from pure upwind to
pure central. Therefore, an alternative form is provided that has a
hyperbolic tangeant functional form. This form allows one to specify the
transition point and the width of the transition (see
Equation (4.4)). The general tanh form is as follows,
Above, the constant represents the transition Peclet
number while represents the width of the transition.
The value of is simply the shift between of the raw tanh
function from zero while is the difference between the
max Peclet factor (unity) and the minimum value prior to normalization.
This approach ensures that the function starts at zero and asymptotes to
unity,
The cell-Peclet number is computed for each sub-face in the element from
the two adjacent left (L) and right (R) nodes,
A dot-product is implied by repeated indices.
4.1 Cell-Peclet number blending function outlining classic (varying the
hybrid factor from 1.0, 0.1 and 0.01; again
) and tanh functional form ( and
).
The upwind operator, is computed based on a blending
of the extrapolated state (using the projected nodal gradient) and the
linear interpolated state. Second or third order upwind is provided
based on the value of blending
In the case of all transported quantities, a Van Leer
limiter of the extrapolated value is supported and can be activated
within the input file (using the solution options “limiter”
specification).
Second order central is simply written as a linear combination of the
nodal values,
where is either evaluated at the subcontrol surface or
edge midpoint. In the case of the edge-based scheme, the edge midpoint
evaluation provides for a skew symmetric form of the operator.
The generalized central difference operator is provided by blending with
the extrapolated values and second order Galerkin,
The value of provides the type of psuedo fourth order
stencil and is specified in the user input file.
The above set of advection operators can be used to define an idealized
one dimensional stencil denoted by (, , ,
, ), where represents the particular row
for the given transported variable. Below, in the table, the
stencil can be noted for each value of and
.
n/a
n/a
n/a
It is noted that by varying these numerical parameters, both high
quality, low dissipation operators suitable for LES usage or limited,
monotonic operators suitable for RANS modeling can be accomodated.