timflow.transient.linedoublet1d.LeakyWall1D#
- class timflow.transient.linedoublet1d.LeakyWall1D(model, xld=0, res='imp', layers=0, label=None)#
Bases:
LineDoublet1DBase,timflow.transient.equation.LeakyWallEquationLeaky line doublet with specified resistance.
- Parameters:
model (Model object) – model to which the element is added
xld (float) – x-coordinate of the line doublet
res (float) – resistance of the line doublet
layers (int, array or list) – layer (int) or layers (list or array) in which line doublet is located
label (string or None (default: None)) – label of the element
Methods#
Initialize the element. |
|
Separate function so that this can be overloaded for other types. |
|
|
Can be called with only one x value. |
|
Can be called with only one x 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. |