Square Ice Shelf

This is an example of velocity computation in steady state for a square ice shelf. First, launch MATLAB or Python. Then, navigate to examples/SquareIceShelf in ISSM_DIR (the directory in which ISSM is stored). In MATLAB you can do this via the left sidebar or by running the following in the Command Window; in Python, run the commands from a shell, script, or notebook started in that directory,

cd $ISSM_DIR/examples/SquareIceShelf

You can create an empty model structure by running,

>> md = model();

Note that in Python, you must first import the ISSM modules,

>>> from model import *
>>> from triangle import triangle
>>> from setmask import setmask
>>> from parameterize import parameterize
>>> from setflowequation import setflowequation
>>> from solve import solve
>>> from plotmodel import plotmodel
>>> md = model()

Create a mesh of the domain outline with a resolution of 50,000 meters,

>> md = triangle(md, 'DomainOutline.exp', 50000);
>>> md = triangle(md, 'DomainOutline.exp', 50000)

Define the glacier system as an ice shelf (no island),

>> md = setmask(md, 'all', '');
>>> md = setmask(md, 'all', '')

Parameterize the model with the appropriate parameterization file (which already exists in the current working directory),

>> md = parameterize(md, 'Square.par');
>>> md = parameterize(md, 'Square.py')

Define all elements as SSA,

>> md = setflowequation(md, 'SSA', 'all');
>>> md = setflowequation(md, 'SSA', 'all')

Compute the velocity field of the ice shelf,

>> md = solve(md, 'Stressbalance');
>>> md = solve(md, 'Stressbalance')

Finally, generate a plot of the velocity,

>> plotmodel(md, 'data', md.results.StressbalanceSolution.Vel);
>>> plotmodel(md, 'data', md.results.StressbalanceSolution.Vel)
Figure 1: squarevel