LeakyWallString#
- class timflow.steady.linedoublet.LeakyWallString(model, xy=None, res=np.inf, layers=0, order=0, label=None)#
Bases:
LineDoubletStringBase,timflow.steady.equation.LeakyWallEquationCreate a string of leaky wall segments 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 segments in the string
res (scalar) – resistance of leaky 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
order (int (default is 0)) – polynomial order of potential jump along line-doublet (head jump if transmissivity is equal on each side of wall)
label (str or None) – label of element
See also
- potinf(x, y, aq=None)#
Returns array of size (nparam, naq).
- disvecinf(x, y, aq=None)#
Returns array of size (2, nparam, naq).
- potinflayers(x, y, layers, aq=None)#
Returns array of size (len(layers),nparam).
Only used in building equations.
- potentiallayers(x, y, layers, aq=None)#
Returns array of size len(layers) only used in building equations.
- disvec(x, y, aq=None)#
Returns array of size (2, nparam, naq).
- disvecinflayers(x, y, layers, aq=None)#
Returns two arrays of size (len(layers),nparam).
Only used in building equations.
- disveclayers(x, y, layers, aq=None)#
Returns two arrays of size len(layers) only used in building equations.
- equation()#
Mix-in class that returns matrix rows for leaky wall condition.
Qnormal = resfac * (headin - headout)
- Returns:
matrix – (nunknowns,neq)
rhs – (nunknowns)