flopy.mf6.modflow.mfgwf module

class ModflowGwf(simulation, modelname='model', model_nam_file=None, version='mf6', exe_name='mf6', model_rel_path='.', list=None, print_input=None, print_flows=None, save_flows=None, newtonoptions=None, nc_mesh2d_filerecord=None, nc_structured_filerecord=None, nc_filerecord=None, **kwargs)[source]

Bases: MFModel

ModflowGwf defines a GWF model.

Parameters:
  • list (string) – is name of the listing file to create for this gwf model. if not specified, then the name of the list file will be the basename of the gwf model name file and the ‘.lst’ extension. for example, if the gwf name file is called ‘my.model.nam’ then the list file will be called ‘my.model.lst’.

  • print_input (keyword) – keyword to indicate that the list of all model stress package information will be written to the listing file immediately after it is read.

  • print_flows (keyword) – keyword to indicate that the list of all model package flow rates will be printed to the listing file for every stress period time step in which ‘budget print’ is specified in output control. if there is no output control option and ‘print_flows’ is specified, then flow rates are printed for the last time step of each stress period.

  • save_flows (keyword) – keyword to indicate that all model package flow terms will be written to the file specified with ‘budget fileout’ in output control.

  • newtonoptions ((newton, under_relaxation)) –

    none * newton : keyword

    keyword that activates the Newton-Raphson formulation for groundwater flow between connected, convertible groundwater cells and stress packages that support calculation of Newton-Raphson terms for groundwater exchanges. Cells will not dry when this option is used. By default, the Newton-Raphson formulation is not applied.

    • under_relaxationkeyword

      keyword that indicates whether the groundwater head in a cell will be under- relaxed when water levels fall below the bottom of the model below any given cell. By default, Newton-Raphson UNDER_RELAXATION is not applied.

  • nc_mesh2d_filerecord (record) – netcdf layered mesh fileout record.

  • nc_structured_filerecord (record) – netcdf structured fileout record.

  • nc_filerecord (record) – netcdf filerecord

  • packages (list) –

load : (simulation : MFSimulationData, model_name : string,

namfile : string, version : string, exe_name : string, model_ws : string, strict : boolean) : MFSimulation a class method that loads a model from files

classmethod load(simulation, structure, modelname='NewModel', model_nam_file='modflowtest.nam', version='mf6', exe_name='mf6', strict=True, model_rel_path='.', load_only=None)[source]
model_type = 'gwf'