ModflowCellHead

Syntax

ModflowCellHead(Layer, Row, Column)

Description

Return the groundwater head elevation from the MODFLOW results from the previous timestep for the cell specified by Layer, Row, Column.  If the MODFLOW results have not yet been calculated, the result with be 0.  Keep in mind that inactive cells will return the numeric code for inactive cells (e.g., -999) and dry cells will return the numeric code for dry cells (e.g., -888) -- these values are specified in the MODFLOW input files.  Note: this is equivalent to PrevTSValue(CellHead[Layer, Row, Column]).

Example

ModflowCellHead(2, 34, 65)

This example returns the head elevation of the MODFLOW cell at layer 2, row 34, column 65 in the previous timestep.