Fields
WAVI.jl stores information relating to the solutions on fields, which are stored in the model. Fields are organised based according to the different grids (HGrid, CGrid etc – see Grids) on which quantities are stored. Note that all quantities here are set internally (i.e. they cannot be modified by the user). This page contains a full directory of the quantities defined on each of the Grids: HGrid, UGrid, VGrid, CGrid, SigmaGrid.
HGrid
The following quantities are stored in the HGrid structure within Fields (accessible via model.fields.gh.<field_name>):
h: Ice thicknessb: Bed elevations: Ice surface elevation ($s = b + h$)dhdt: Time rate of change of surface elevationaccumulation: Ice accumulation rate (postive for mass added to the surface, negative for mass removed)basal_melt: Melt rate applied to the base of the ice sheet (positive for mass removed from the base, negative for mass added).grounded_fraction: Grid cell grounded fraction (zero in the shelf, one in the shelf and interpolated across the grounding line, see Seroussi et al. (2014))u: Depth average ice velocity in the $x$ direction.v: Depth average ice velocity in the $y$ direction.av_speed: Depth averaged ice speedus: Surface ice velocity in the $x$ direction.vs: Surface ice velocity in the $y$ direction.ub: Base ice velocity in the $x$ direction.vb: Base ice velocity in the $y$ direction.bed_speed: Ice speed at the baseweertman_c: Weertman C drag cofficienthaf: The height above floatationdsdh: Rate of change of surface elevation with respect to thickness changeshelf_strain_rate: Strain rate computed using only longitudinal strain componentsβ: Raw multiplicative drag coefficientβeff: Effective multiplicative drag coefficientτbed: Ice stress at the bed.ηav: Depth averaged viscosityquad_f1: $F_1$ computed from numerical quadraturequad_f2: $F_2$ computed from numerical quadraturemask: boolean matrix that defines the solution space
For convenience, various utility matrices and rheological operators are also stored on the HGrid:
crop: diagonal matrix with mask entries on the diagonalsamp: boolean matrix that takes full domain to the model domainspread: sparse form of the sampling matrixdneghηav: $-h \times \bar{\eta}$dimplicit: $-\rho_i \times g \times \mathrm{d}t \times \mathrm{d}h/\mathrm{d}s$
UGrid
The following quantities are stored on the UGrid structure within Fields (accessible via model.fields.gu.<field_name>):
nxu: Number of grid cells in x-direction in theUGrid(equalsnx + 1, wherenxis the number of grid cells in the x direction in theHGrid).nyu: Number of grid cells in y-direction in theUGrid(equalsny, wherenyis the number of grid cells in the x direction in theHGrid).mask: Mask specifying model domain with respect to theUGrid.n: Total number of cells inUGrid.levels: Number of levels in the preconditionerdwt: Wavelet matrix product atUGridpointss: Ice surface elevation atUGridpointsh: Ice thickness atUGridpointsgrounded_fraction: Grounded fraction atUGridpointsβeff: Effective sliding coefficient atUGridpoints.u: Ice velocities in the x-direction
For convenience, various utility matrices and rheological operators are also stored on the UGrid:
crop: diagonal matrix with mask entries on the diagonalsamp: boolean matrix that takes full domain to the model domainspread: sparse form of the sampling matrixcent: maps quantities from theUGridto theHGrid∂x: matrix representation of differentiation with respect to x∂y: matrix representation of differentiation with respect to y
VGrid
The following quantities are stored on the VGrid structure within Fields (accessible via model.fields.gv.<field_name>):
nxv: Number of grid cells in x-direction in theVGrid(equalsnx, wherenxis the number of grid cells in the x direction in theHGrid).nyu: Number of grid cells in y-direction in theVGrid(equalsny+1, wherenyis the number of grid cells in the x direction in theHGrid).mask: Mask specifying model domain with respect to theVGrid.n: Total number of cells inVGrid.levels: Number of levels in the preconditionerdwt: Wavelet matrix product atVGridpointss: Ice surface elevation atVGridpointsh: Ice thickness atVGridpointsgrounded_fraction: Grounded fraction atVGridpointsβeff: Effective sliding coefficient atVGridpoints.u: Ice velocities in the x-direction
For convenience, various utility matrices and rheological operators are also stored on the VGrid:
crop: diagonal matrix with mask entries on the diagonalsamp: boolean matrix that takes full domain to the model domainspread: sparse form of the sampling matrixcent: maps quantities from theVGridto theHGrid∂x: matrix representation of differentiation with respect to x∂y: matrix representation of differentiation with respect to y
CGrid
The following quantities are stored in the CGrid structure within Fields (accessible via model.fields.gc.<field_name>):
nxc: Number of grid cells in x-direction in theCGrid(equalsnx-1, wherenxis the number of grid cells in the x direction in theHGrid).nyc: Number of grid cells in y-direction in theCGrid(equalsny-1, wherenyis the number of grid cells in the x direction in theHGrid).mask: Mask specifying model domain with respect to theCGrid.n: Total number of cells inCGrid.
The following utility matrices are also stored on the CGrid
crop: diagonal matrix with mask entries on the diagonalsamp: boolean matrix that takes full domain to the model domainspread: sparse form of the sampling matrixcent: maps quantities from theCGridto theHGrid
SigmaGrid
The following quantities are stored in the SigmaGrid structure within Fields (accessible via model.fields.g3d.<field_name>):
nxs: Number of grid cells in the x-direction in the SigmaGrid (equalsnx, wherenxis the number of grid cells in the x direction in theHGrid)nvs: Number of grid cells in the y-direction in the SigmaGrid (equalsny, wherenyis the number of grid cells in the x direction in theHGrid)nxs: Number of levels in the vertical in the SigmaGridσ: Dimensionless levels in the verticalζ: Reverse dimensionless vertical levelsquadrature_weights: weights associated with sigma levels, used in computation of integrals over thicknessη: three dimensional viscosity fieldθ: three dimensional temperature fieldΦ: three dimensional damage fieldglen_b: three dimensional field of glen_b values in viscosity calcluations