94 Numerical solutions of the equations
Fig. 7.13 Stencil of a 2D non-staggered grid used for the formulation of no slip
and free slip boundary conditions.
(6) The prescribed velocity condition implies non-zero velocity at a model boundary.
When velocity is prescribed orthogonal to the boundary (inward/outward flow), then
a compensating outward/inward velocity should be prescribed on the other model
boundary(ies) in order to insure mass conservation in the model. In this case, the
model boundaries can also be displaced with time in response to the material movement
(moving boundary condition, Chapter 17).
(7) Periodic boundary conditions are typically established for paired parallel lateral bound-
aries of a model and prescribe that all material properties as well as pressure and velocity
fields at both sides of each boundary are identical. From a physical point of view, this
implies that these two boundaries are open and that flow leaving the model through
one boundary immediately re-enters through the opposite side. This condition is often
used in mantle convection modelling to simulate part of a spherical/cylindrical shell
with a convecting mantle (or mimic it, in Cartesian coordinates).
(8) Combined conditions represent a mixture between several types of boundary condi-
tions.
All of the described boundary conditions can be time dependent. This could partic-
ularly imply that the physical location of the boundary condition may be a function
of time (Chapter 17). Boundary conditions can also be applied inside the model.
We will now concentrate on the numerical implementation of the most common,
and most simple, free slip and no slip conditions (we will discuss several examples
of more complex conditions in Chapters 16 and 17). The numerical implementation
of boundary conditions depends on the type of grid.
Non-staggered grid (Fig. 7.13):
free slip,v
x1
= 0,v
y1
= v
y2
, (7.13)
no slip,v
x1
= 0,v
y1
= 0. (7.14)
Staggered grid (Fig. 7.14):
free slip,v
x1
= 0,v
y1
= v
y2
, (7.15)
no slip,v
x
1
= 0,v
y1
= v
y2
x
1
2x
1
+ x
2
. (7.16)
Condition for the vertical velocity v
y 1
implies that zero vertical velocity on the
boundary v
y b
=0(Fig. 7.14) is linearly extrapolated from vertical velocities in two