
262 NUMERICAL SOLUTION OF THE INCOMPRESSIBLE NAVIER-STOKES EQUATION
Now taking the x derivative of (4.5.21) and imposing (∂u/∂x)
n+1
i
= 0, we get
t
∂
2
P
n+1
i
∂x
2
=
∂u
n
i
∂x
(4.5.22)
With second-order central differences we obtain
P
n+1
i+1
−2P
n+1
i
+P
n+1
i−1
=
x
2t
u
n
i+1
−u
n
i−1
(4.5.23)
We note that in (4.5.23) P
n+1
i
is not influenced by u
n+1
i
, and in (4.5.21), u
n+1
i
is not influenced by P
n+1
i
. Therefore, pressure and velocity are decoupled at
odd–even points. This can lead to high-frequency oscillations necessitating the
use of artificial viscosity to smoothen the solutions.
Let us now consider a staggered grid arrangement as shown in Fig. 4.5.2.
Again, with second-order central differences about grid point (i +
1
2
), (4.5.19)
is written as
u
n+1
i+1/2
= u
n
i+1/2
−
t
x
P
n+1
i+1
−P
n+1
i
(4.5.24)
Taking the x derivative of (4.5.24), and setting
∂u
∂x
n+1
i+1/2
= 0 (4.5.25)
satisfying mass conservation (4.5.20) at time level (n + 1), we obtain in dis-
cretized form
P
n+1
i+1
−2P
n+1
i
+P
n+1
i−1
=
x
t
u
n
i+1/2
−u
n
i−1/2
(4.5.26)
For the staggered mesh, an examination of (4.5.24) and (4.5.26) reveals that
the P nodes at grid location i and the u nodes at grid location (i +
1
2
)arealways
coupled. At high-Reynolds numbers, with central differences, high-frequency
oscillations may still persist, but these generally will have lower amplitudes and
occur at higher Reynolds numbers than those on collocated grids. In such cases,
staggered grids with high-order upwind or upwind biased differences may be
preferable (Rai and Moin, 1991).
We will now consider the full two-dimensional, time dependent Navier-Stokes
(momentum conservation equation) and continuity equations for incompressible
flows in x-y rectangular coordinates. The convective terms will be written in
P
i
P
i + 1
P
i − 1
u
i − 1/2
u
i + 1/2
FIGURE 4.5.2 Velocity and pressure nodes on a staggered grid.