timflow.transient.linedoublet.LeakyWallString#
- class timflow.transient.linedoublet.LeakyWallString(model, xy=[(-1, 0), (1, 0)], res='imp', order=0, layers=0, label=None)#
Bases:
timflow.transient.element.Element,timflow.transient.equation.LeakyWallEquationCreate a string of leaky wall segements consisting of line-doublets.
- 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 the segements in the string
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. |
|
|
Returns array (nunknowns,nperiods). |
|
Returns array (nunknowns,nperiods). |
|
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. |