
11.9 DISCRETISATION OF THE CONVECTIVE TERM 321
As before, we also need to develop methods to generate face centre values
φ
i
of the transported quantity which satisfy the requirements of conserva-
tiveness, boundedness and transportiveness that were formulated in Chapter
5. It should be noted that the treatment for general flow variable
φ
is also
applicable to velocity components u, v and w without change.
Upwind differencing scheme in unstructured grids
To calculate the convective flux we may utilise the upwind approach, which
was introduced in section 5.6. The convective flux is F
i
φ
i
:
For F
i
> 0
φ
i
=
φ
P
For F
i
< 0
φ
i
=
φ
A
This is exact if the flow vector u is also in the direction of PA (see Figure 11.15).
In a general situation the velocity vector may or may not be in the direction
of PA. We have also established in earlier discussions that when the flow
vector is not in the direction of discretisation (i.e. PA) the upwind scheme
gives false diffusion. This strongly suggests that we should consider using
a higher-order scheme or a TVD scheme for the calculation of the convec-
tive flux.
Higher-order differencing schemes in unstructured grids
Recall that in 1D Cartesian grids the linear upwind differencing scheme
given by equation (5.65) is
φ
e
=
φ
P
+∆x
where (
φ
P
−
φ
W
)/∆x is the gradient at P and ∆x/2 is distance from P to the
face e. The scheme uses an upwind-biased estimate of the gradient at P to
calculate the face value
φ
i
=
φ
e
. This can be extended formally to unstructured
meshes by using a Taylor series expansion of
φ
about the centroid P:
φ
(x, y) =
φ
P
+ (∇
φ
)
P
. ∆r + O (|∆r |
2
) (11.29)
where (∇
φ
)
P
is the gradient of
φ
at point P.
If we take ∆r as the distance vector from P to the face (see Figure 11.15)
then the face value of the transported quantity
φ
can be evaluated by means
of
φ
i
=
φ
P
+ (∇
φ
)
P
. ∆r (11.30)
Equation (11.29) indicates that the magnitude of the neglected terms is
proportional to the square of the distance between node P and the face i, so
this is a second-order approximation.
To use equation (11.30) in an unstructured grid to calculate
φ
i
we need
∇
φ
at the point P. In the literature there are several methods available to
calculate this quantity. One popular method is to use the so-called least-
squares gradient reconstruction at P.
Referring to Figure 11.19, the values of the transported quantity
φ
at each
node surrounding the centre may be expressed as follows:
φ
i
=
φ
0
+
0
(x
i
− x
0
) +
0
(y
i
− y
0
) (11.31)
D
E
F
∂φ
∂
y
A
B
C
D
E
F
∂φ
∂
x
A
B
C
1
2
D
E
F
φ
P
−
φ
W
∆x
A
B
C
ANIN_C11.qxd 29/12/2006 04:43PM Page 321