XsectionAreaSinkInhom#
- class timflow.steady.stripareasink.XsectionAreaSinkInhom(model, xleft=-1, xright=1, N=0.001, layer=0, name='XsectionAreaSink', label=None)#
Bases:
timflow.steady.element.ElementCreate a cross-section area-sink in combination with an inhomogeneity.
Notes
Created automatically using XsectionMaq or Xsection3D. Can only be created if top boundary is confined.
- Parameters:
model (Model object) – model to which the element is added
xleft (float) – left boundary of inhomogeneity (may not be -np.inf)
xright (float) – right boundary of inhomogeneity (may not be np.inf)
- 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.