imod.mf6.SingleLayerHorizontalFlowBarrierResistance.to_mf6_pkg#

SingleLayerHorizontalFlowBarrierResistance.to_mf6_pkg(idomain: DataArray | UgridDataArray, top: DataArray | UgridDataArray, bottom: DataArray | UgridDataArray, k: DataArray | UgridDataArray) 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.

Returns:

Low level representation of the HFB package as MODFLOW 6 expects it.

Return type:

Mf6HorizontalFlowBarrier