timflow.steady.intlinesink.IntHeadDiffLineSink#

class timflow.steady.intlinesink.IntHeadDiffLineSink(model, x1=-1, y1=0, x2=1, y2=0, order=0, ndeg=3, layers=None, label=None, addtomodel=True, aq=None, aqin=None, aqout=None)#

Bases: timflow.steady.linesink.LineSinkHoBase, timflow.steady.equation.HeadDiffEquation2

Line-sink to set integrated head difference along linesink to zero.

Used by inhomogeneities.

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

  • x1 (float) – x-coordinate of the start of the line-sink

  • y1 (float) – y-coordinate of the start of the line-sink

  • x2 (float) – x-coordinate of the end of the line-sink

  • y2 (float) – y-coordinate of the end of the line-sink

  • order (int) – order of the line-sink element

  • ndeg (int) – number of Gauss points for numerical integration

  • layers (list or array) – layers in which the element is placed

  • label (string or None (default: None)) – label of the element

  • addtomodel (bool (default: True)) – if True, element is added to the model upon creation

  • aq (AquiferData object or None (default: None)) – aquifer data to which the element is added. If None, aquifer data is determined based on element location.

Methods#

potinf(x, y[, aq])

Can be called with only one x,y value.

disvecinf(x, y[, aq])

Can be called with only one x,y value.

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()

Matrix rows for difference in head between inside and outside equals zeros.