4. Incompressible Viscous Fluid Flow 429
the grid to resolve the flow inside the boundary layer. In some respect, an oscillatory
solution may be a virtue since it provides a warning that a physically important feature
is not being properly resolved. To reduce the overall computational cost, non-uniform
grids with local fine grid spacing inside the boundary layer will frequently be used to
resolve the variables there.
Another common method to avoid the oscillatory solution is to use a first-order
upwind scheme,
R
cell
T
j
− T
j−1
=
T
j+1
− 2T
j
+ T
j−1
, (11.93)
where a forward difference scheme is used to discretize the convective term. It is
easy to see that this scheme reduces the heat convected to the boundary and thus
prevents the oscillatory solution. However, the upwind scheme is not very accurate
(only first-order accurate). It can be easily shown that the upwind scheme (11.93)
does not recover the original transport equation (11.84). Instead it is consistent with a
slightly different transport equation (when the cell Pecl
´
et number is kept finite during
the process),
u
∂T
∂x
= D
(
1 + 0.5R
cell
)
∂
2
T
∂x
2
. (11.94)
Thus, another way to view the effect of the first-order upwind scheme (11.93) is
that it introduces a numerical diffusivity of the value of 0.5R
cell
D, which enhances
the conduction of heat through the boundary. For an accurate solution, one normally
requires that 0.5R
cell
<< 1, which is very restrictive and does not offer any advantage
over the centered difference scheme (11.91).
Higher-order upwind schemes may be introduced to obtain more accurate
non-oscillatory solutions without excessive grid refinement. However, those schemes
may be less robust. Refer to Fletcher (1988, vol.I, chapter 9) for discussions.
Similarly, there are upwind schemes for finite element methods to solve
convection-dominated problems. Most of those are based on Petrov-Galerkin app-
roach that permit an effective upwind treatment of the convective term along local
streamlines (Brooks and Hughes, 1982). More recently, stabilized finite element meth-
ods have been developed where a least-square term is added to the momentum balance
equation to provide the necessary stability for convection-dominated flows (see Franca
et al., 1992).
Incompressibility Condition
In solving the Navier-Stokes equations using the primitive variables (velocity and
pressure), another numerical difficulty lies in the continuity equation: The continuity
equation can be regarded either as a constraint on the flow field to determine the pres-
sure or the pressure plays the role of the Lagrange multiplier to satisfy the continuity
equation.
In a flow field, the information (or disturbance) travels with both the flow and the
speed of sound in the fluid. Since the speed of sound is infinite in an incompressible
fluid, part of the information (pressure disturbance) is propagated instantaneously