324 Appendix
equations with finite-differences and marker-in-cell technique using external
function Stokes_Continuity_solver_ghost.m.
Program 50: Variable_viscosity_block.m (Fig. 16.3, Exercise 16.1) – mechanical
benchmark for a falling square block; solution of 2D Stokes, continuity and
advection equations with finite-differences and marker-in-cell technique using
external function Stokes_Continuity_solver_ghost.m.
Program 51: Variable_viscosity_channel.m (Fig. 16.4) – mechanical benchmark for a
channel flow with a non-Newtonian rheology; solution of 2D Stokes, continuity and
advection equations with finite-differences and marker-in-cell technique using
external function Stokes_Continuity_solver_channel.m.
Program 52: Constant_viscosity_channel_T.m (Fig. 16.5) – thermomechanical
benchmark for a non-steady temperature distribution in a Newtonian channel;
solution of 2D Stokes, continuity, temperature and advection equations with
finite-differences and marker-in-cell technique using external functions
Stokes_Continuity_solver_channel.m, Temperature_solver.m.
Program 53: Variable_viscosity_Couette_T.m (Fig. 16.6) – thermomechanical
benchmark for a steady Couette flow with viscous heating and
temperature-dependent viscosity; solution of 2D Stokes, continuity, temperature and
advection equations with finite-differences and marker-in-cell technique using
external functions Stokes_Continuity_solver_Couette.m, Temperature_solver.m.
Program 54: Solid_Body_Rotation_T.m (Fig. 16.7) – thermal benchmark for advection
and diffusion of sharp temperature fronts in a prescribed rigid-body rotation velocity
field; solution of 2D temperature and advection equations with finite-differences and
marker-in-cell technique using external function Temperature_solver.m.
Program 55: Variable_conductivity_channel.m (Fig. 16.8) – thermomechanical
benchmark for a steady Newtonian channel flow with variable thermal conductivity;
solution of 2D Stokes, continuity, temperature and advection equations with
finite-differences and marker-in-cell technique using external functions
Stokes_Continuity_solver_Couette.m, Temperature_solver.m.
Program 56: Variable_viscosity_convection_irregular_grid.m (Figs. 16.9, 16.10) –
thermomechanical benchmark for thermal convection with constant and temperature-
and depth-dependent viscosity; solution of 2D Stokes, continuity, temperature and
advection equations with finite-differences and marker-in-cell technique on
regular/irregular grid using external functions Stokes_Continuity_solver_grid.m,
Temperature_solver_grid.m; nearly steady-state temperature distribution for 1a, 1c
and 2a cases can be loaded from data files data_1a_regular.txt, data_1c_regular.txt,
data_2a_regular.txt, data_1a_irregular.txt, data_1c_irregular.txt, data_
2a_irregular.txt.
Program 57: Stress_buildup.m (Fig. 16.11) – mechanical benchmark for stress build-up
in a visco-elastic incompressible Maxwell body; solution of 2D Stokes, continuity
and advection equations with finite-differences and marker-in-cell technique using
external function Stokes_Continuity_solver_grid.m.
Program 58: Slab_deformation.m (Fig. 16.12, Exercise 16.2) – mechanical benchmark
for recovery of the original shape of an elastic slab; solution of 2D Stokes, continuity
and advection equations with finite-differences and marker-in-cell technique using
external function Stokes_Continuity_solver_grid.m.
Program 59: Sandbox_shortening_ratio.m (Fig. 16.14) – mechanical
visco-elasto-plastic benchmark for numerical sandbox shortening experiment;
solution of 2D Stokes, continuity and advection equations with finite-differences and