timflow.transient.linedoublet.LeakyWall#
- class timflow.transient.linedoublet.LeakyWall(model, x1=-1, y1=0, x2=1, y2=0, res='imp', order=0, layers=0, label=None, addtomodel=True)#
Bases:
LineDoubletHoBase,timflow.transient.equation.LeakyWallEquationCreate a segment of a leaky wall, which is simulated with a line-doublet.
The specific discharge through the wall is equal to the head difference across the wall divided by the resistance of the wall.
- Parameters:
model (Model object) – Model to which the element is added
x1 (scalar) – x-coordinate of fist point of line-doublet
y1 (scalar) – y-coordinate of fist point of line-doublet
x2 (scalar) – x-coordinate of second point of line-doublet
y2 (scalar) – y-coordinate of second point of line-doublet
res (scalar or string) – if string: ‘imp’ for an impermeable wall (same as res = np.inf) if scalar: resistance of leaky wall
order (int (default is 0)) – polynomial order of potential jump along line-doublet (head jump if transmissivity is equal on each side of wall)
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
See also
Methods#
Initialize the element. |
|
Separate function so that this can be overloaded for other types. |
|
|
Can be called with only one x,y value. |
|
Can be called with only one x,y value. |
|
Plot the element. |
|
Returns complex array of size (ngvbc, naq, npval). |
|
Returns complex array of size (naq, npval). |
|
Returns complex array of size (naq, npval). |
|
Returns 2 complex arrays of size (ngvbc, naq, npval). |
|
Returns 2 complex arrays of size (naq, npval). |
|
Layers can be scalar, list, or array. |
|
Returns complex array of size (ngvbc, len(layers),npval). |
|
Returns complex array of size (len(layers), npval). |
|
Layers can be scalar, list, or array. |
|
Returns 2 complex array of size (ngvbc, len(layers), npval). |
|
Returns complex array of size (len(layers), npval). |
|
The discharge in each layer. |
|
The discharge in each layer. |
Function to run after a solution is completed. |
|
|
Mix-in class that returns matrix rows for leaky-wall condition. |