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.HeadEquationCreate 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#
|
Returns array of size (nparam, naq). |
|
Returns array of size (2, nparam, naq). |
Discharge per unit length. |
|
|
Returns array of size (len(layers),nparam). |
|
Returns array of size len(layers) only used in building equations. |
|
Returns array of size (2, nparam, naq). |
|
Returns two arrays of size (len(layers),nparam). |
|
Returns two arrays of size len(layers) only used in building equations. |
|
Mix-in class that returns matrix rows for head-specified conditions. |