imod.mf6.HorizontalFlowBarrierResistance.to_mf6_pkg#
- HorizontalFlowBarrierResistance.to_mf6_pkg(idomain: DataArray | UgridDataArray, top: DataArray | UgridDataArray, bottom: DataArray | UgridDataArray, k: DataArray | UgridDataArray, validate=True, strict_hfb_validation=True) Mf6HorizontalFlowBarrier #
Write package to Modflow 6 package.
Based on the model grid, top and bottoms, the layers in which the barrier belong are computed. If the barrier only partially occupies a layer an effective resistance or hydraulic conductivity for that layer is calculated. This calculation is skipped for the Multiplier type.
- Parameters:
idomain (GridDataArray) – Grid with active cells.
top (GridDataArray) – Grid with top of model layers.
bottom (GridDataArray) – Grid with bottom of model layers.
k (GridDataArray) – Grid with hydraulic conductivities.
validate (bool) – Validate HorizontalFlowBarrier upon calling this method.
strict_hfb_validation (bool) – Turn on strict horizontal flow barrier validation.
- Returns:
Low level representation of the HFB package as MODFLOW 6 expects it.
- Return type:
Mf6HorizontalFlowBarrier