imod.mf6.GroundwaterFlowModel.prepare_wel_for_mf6#

GroundwaterFlowModel.prepare_wel_for_mf6(pkgname: str, validate: bool = True, strict_well_validation: bool = True) Mf6Wel#

Prepare grid-agnostic well for MODFLOW6, using the models grid information and hydraulic conductivities. Allocates LayeredWell & Well objects, which have x,y locations, to row & columns. Furthermore, Well objects are allocated to model layers, depending on screen depth.

This function is called upon writing the model, it is included in the public API for the user’s debugging purposes.

Parameters:
  • pkgname (string) – Name of well package that is to be prepared for MODFLOW6

  • validate (bool, default True) – Run validation before converting

  • strict_well_validation (bool, default True) – Set well validation strict: Throw error if well is removed entirely during its assignment to layers.

Returns:

Direct representation of MODFLOW6 WEL package, with ‘cellid’ indicating layer, row columns.

Return type:

Mf6Wel