timflow.steady.linesink1d.River1D#

class timflow.steady.linesink1d.River1D(model, xls=0, hls=1, res=0, wh=1, layers=0, label=None)#

Bases: LineSink1DBase, timflow.steady.equation.HeadEquation

Create an infinitely long line-sink with a given head.

Parameters:
  • model (Model object) – Model to which the element is added

  • xls (scalar) – x-location of line-sink

  • hls (scalar) – head in line-sink

  • res (scalar (default is 0)) – resistance of line-sink

  • wh (scalar or str) –

    distance over which water enters line-sink * if ‘H’: (default) distance is equal to the thickness of the aquifer layer

    (when flow comes mainly from one side)

    • if ‘2H’: distance is twice the thickness of the aquifer layer (when flow comes from both sides)

    • if scalar: the width of the stream that partially penetrates the aquifer layer

  • layers (scalar, list or array) – layer(s) in which element is placed if scalar: element is placed in this layer if list or array: element is placed in all these layers

  • label (str or None) – label of element

Methods#

potinf(x, y[, aq])

Returns array of size (nparam, naq).

disvecinf(x, y[, aq])

Returns array of size (2, nparam, naq).

discharge()

Discharge per unit length.

potinflayers(x, y, layers[, aq])

Returns array of size (len(layers),nparam).

potentiallayers(x, y, layers[, aq])

Returns array of size len(layers) only used in building equations.

disvec(x, y[, aq])

Returns array of size (2, nparam, naq).

disvecinflayers(x, y, layers[, aq])

Returns two arrays of size (len(layers),nparam).

disveclayers(x, y, layers[, aq])

Returns two arrays of size len(layers) only used in building equations.

equation()

Mix-in class that returns matrix rows for head-specified conditions.