ihc input for disu #2576
-
|
The documentation for the ihc array states: However, when I use gridgen to build a 10-layer octree grid and use get_gridprops_disu6(): the ihc array in the disu file looks like this ( I added the ....): You can see each row in the ihc array starts with a 0-based layer number. The model runs with this ihc array, but this syntax does not reflect the documentation and nothing else in mf6 is zero-based. What's going on here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
This is a subtle flopy trick operating under the hood. Those first numbers in the IHC array are not used by MODFLOW, even though they are required. FloPy uses this slot to include the zero-based layer number. This allows flopy to plot an unstructured grid with the PlotMapView class, for example, and show specific layers. |
Beta Was this translation helpful? Give feedback.
This is a subtle flopy trick operating under the hood. Those first numbers in the IHC array are not used by MODFLOW, even though they are required. FloPy uses this slot to include the zero-based layer number. This allows flopy to plot an unstructured grid with the PlotMapView class, for example, and show specific layers.