timflow.steady.linesink.DitchString#

class timflow.steady.linesink.DitchString(model, xy=None, Qls=1, res=0, wh=1, order=0, layers=0, dely=0, label=None)#

Bases: RiverString

String of Ditches with specified discharge and uniform unknown head.

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

  • xy (array or list) – list or array of (x,y) pairs of coordinates of end-points of line-sinks in string

  • Qls (scalar) – total discharge of the string

  • res (scalar (default is 0)) – resistance of line-sinks in string

  • wh (float or str) –

    distance over which water enters line-sink.
    • if ‘H’: (default) distance is equal to the thickness of the aquifer (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

  • order (int (default is 0)) – polynomial order or inflow along each line-sink in string

  • 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

  • dely (float (default is 0)) – distance between control points and line

  • label (str or None) – label of element

See also

Ditch

Methods#

potinf(x, y[, aq])

Compute unit potential influence of element.

disvecinf(x, y[, aq])

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

discharge_per_linesink()

Discharge of the linesinks in each layer.

discharge()

Discharge of the element in each layer.

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.