flopy.modpath.mp6bas module

mpbas module. Contains the ModpathBas class. Note that the user can access the ModpathBas class as flopy.modflow.ModpathBas.

Additional information for this MODFLOW/MODPATH package can be found at the Online MODFLOW Guide.

class Modpath6Bas(model, hnoflo=-9999.0, hdry=-8888.0, def_face_ct=0, bud_label=None, def_iface=None, laytyp=0, ibound=1, prsity=0.3, prsityCB=0.3, extension='mpbas', unitnumber=86)[source]

Bases: flopy.pakbase.Package

MODPATH Basic Package Class.

Parameters:
  • model (model object) – The model object (of type flopy.modpath.mp.Modpath) to which this package will be added.
  • hnoflo (float) – Head value assigned to inactive cells (default is -9999.).
  • hdry (float) – Head value assigned to dry cells (default is -8888.).
  • def_face_ct (int) – Number fo default iface codes to read (default is 0).
  • bud_label (str or list of strs) – MODFLOW budget item to which a default iface is assigned.
  • def_iface (int or list of ints) – Cell face (iface) on which to assign flows from MODFLOW budget file.
  • laytyp (int or list of ints) – MODFLOW layer type (0 is convertible, 1 is confined).
  • ibound (array of ints, optional) – The ibound array (the default is 1).
  • prsity (array of ints, optional) – The porosity array (the default is 0.30).
  • prsityCB (array of ints, optional) – The porosity array for confining beds (the default is 0.30).
  • extension (str, optional) – File extension (default is ‘mpbas’).
heading

Text string written to top of package input file.

Type:str

Notes

Examples

>>> import flopy
>>> m = flopy.modpath.Modpath6()
>>> mpbas = flopy.modpath.Modpath6Bas(m)
write_file()[source]

Write the package file

Returns:
Return type:None