LeakyWall1D#
- class timflow.steady.linedoublet1d.LeakyWall1D(model, xld=0, res=np.inf, layers=0, label=None)#
Bases:
LineDoublet1D,timflow.steady.equation.LeakyWallEquationCreate an infinitely long leaky or impermeable wall.
- Parameters:
model (Model object) – Model to which the element is added
xld (scalar) – x-location of line-doublet
hls (scalar) – head in line-sink
res (scalar (default is 0)) – resistance of leaky wall. use np.inf to create impermeable 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
- 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)