14.3 Solving Stokes and continuity equations 215
do not have any initial approximation of the velocity field (since we cannot use
the velocity field from the previous time step). If we start from a zero velocity
and a hydrostatic pressure field, the convergence of the solution can be very slow
and the velocity field may remain unrealistic (too slow) for many iterations. This
is particularly the case when the velocity field is defined by the weakest, rather
then by the strongest medium. This happens, for example, in case of a hard Stokes
sphere/cylinder that passes through a low-viscosity fluid (cf. Stokes cylinder test,
Popov and Sobolev, 2008; Schmeling et al., 2008) or in the case of a rigid isolated
dense slab/block sinking in a weak medium (cf. falling block test, Gerya and
Yue n, 2003a). Stokes-sphere-like setups with isolated rigid objects are in strong
contrast with Rayleigh–Taylor-like models where a strong layer is attached to
the model boundaries and the velocity field is therefore given by the rate of its
internal deformation. In the latter case, the multigrid solution converges rapidly
even for large viscosity contrasts. In the former case, a gradual increase in the
computational viscosity contrast may indeed notably improve and speed up the
solution (Fig. 14.12). Initially (in the beginning of multigrid cycles) the viscosity
field is rescaled to a low/no viscosity contrast for which accurate velocity and
pressure fields can be rapidly computed, starting from a hydrostatic pressure and
zero velocity fields (Fig. 14.10). Then, after either a limited number of iterations
or after reaching some level of accuracy, the computational viscosity contrast is
gradually increased by a certain factor (1.5 to 10) and the original viscosity field is
rescaled to this new contrast. The operations are repeated until the original viscosity
contrast of the model is recovered. Rescaling of viscosity for the model can be
made on the basis of the following formula
η
i,j
= η
computational
min
exp
ln
η
computational
max
/η
computational
min
ln
η
original
max
/η
original
min
ln
η
i,j
η
original
min
,
(14.57)
where η
original
min
, η
original
max
and η
computational
min
, η
computational
max
are respectively the original
and computational minimal and maximal viscosity for the model. An example
of using such an algorithm (Fig. 14.12) is given in the program Variable_viscosity_
Multigrid_arbitrary.m. It should however be mentioned that at large (10
3
)and
sharp (on one/few nodal points) viscosity contrasts, the accuracy of the multi-
grid solution is typically lowered compared to cases with lower viscosity contrast
(see decreasing depth of residual minimisation ‘spikes’ with increasing viscosity
contrast in Fig. 14.12). A reasonably high level of accuracy (10
−4
–10
−7
) for such
sharply inhomogeneous models can indeed be reached and the use of more complex
multigrid schedules such as F- and W-cycles can also improve convergence. Time
steps following the first time step, typically do not require viscosity rescaling as