imod.flow.Drain#

class imod.flow.Drain(conductance, elevation)[source]#

The Drain package is used to simulate head-dependent flux boundaries. In the Drain package if the head in the cell falls below a certain threshold, the flux from the drain to the model cell drops to zero.

Parameters:
  • elevation (float or xr.DataArray of floats) – elevation of the drain, dims ("layer", "y", "x").

  • conductance (float or xr.DataArray of floats) – is the conductance of the drain, dims ("layer", "y", "x").

__init__(conductance, elevation)[source]#

Methods

__init__(conductance, elevation)

compose(directory, globaltimes, nlayer[, ...])

Composes all variables for one system.

from_file(path, **kwargs)

Loads an imod-flow package from a file (currently only netcdf and zarr are supported).

isel()

periodic_stress(periods[, use_cftime])

Periodic stress periods.

repeat_stress([use_cftime])

Repeat stress periods.

save(directory)

sel()