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=None, ibound=None, prsity=0.3, prsityCB=0.3, extension='mpbas', unitnumber=86)[source]
Bases:
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 (None, int or list of ints) – MODFLOW layer type (0 is convertible, 1 is confined). If None, read from modflow model
ibound (None or array of ints, optional) – The ibound array (the default is 1). If None, pull from parent modflow model
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’).
Notes
Examples
>>> import flopy >>> m = flopy.modpath.Modpath6() >>> mpbas = flopy.modpath.Modpath6Bas(m)