Please enable JavaScript to view this site.

ModelMuse Help

Navigation: Formulas > Functions > Grid or Mesh

LayerBoundaryPosition

Scroll Prev Top Next More

LayerBoundaryPosition({{Col, Row,}Layer}) returns the Z coordinate of the position of the layer boundary specified by its arguments (if any). The function has three optional arguments: Column, Row, and Layer. If these arguments are provided, they specify the element or cell for which the area should be calculated. If they are not provided, the function uses the column, row, and layer of the element or cell for which the formula is being calculated. If only one of the arguments is provided, it is treated as the layer. If any of the arguments has an invalid value, the function returns zero. In SUTRA models, Column is the number of the node or element in the two-dimensional mesh on the top view of the model.

LayerBoundaryPosition(1) returns the elevation of the top of the model grid in MODFLOW.

LayerBoundaryPosition(1) returns the elevation of the bottom of the model grid in PHAST.

LayerBoundaryPosition(1) returns the elevation of the top of the model mesh in SUTRA.