ttim.linedoublet1d#
Classes#
LineDoublet1D Base Class. |
|
Leaky line doublet with specified resistance. |
Module Contents#
- class ttim.linedoublet1d.LineDoublet1DBase(model, xld=0, tsandbc=[(0, 0)], res='imp', layers=0, type='', name='LineDoublet1DBase', label=None)[source]#
Bases:
ttim.element.ElementLineDoublet1D Base Class.
All LineDoublet1D elements are derived from this class
- Parameters:
model (Model object) – Model to which the element is added
xld (float) – x-coordinate of the line doublet
tsandbc (list of tuples) – list of tuples of the form (time, bc) for boundary conditions
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
type (string) – type of element, “g” for given, “v” for variable and “z” for zero.
name (string) – name of the element
label (string, optional) – label of the element
- tiny = 1e-08#
- nparam#
- xld#
- initialize()[source]#
Initialize the element.
Initialization of terms that cannot be initialized before other elements or the aquifer is defined.
As we don’t want to require a certain order of entering elements, these terms are initialized when Model.solve is called The initialization class needs to be overloaded by all derived classes
- class ttim.linedoublet1d.LeakyLineDoublet1D(model, xld=0, res='imp', layers=0, label=None)[source]#
Bases:
LineDoublet1DBase,ttim.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
- nunknowns#
- initialize()[source]#
Initialize the element.
Initialization of terms that cannot be initialized before other elements or the aquifer is defined.
As we don’t want to require a certain order of entering elements, these terms are initialized when Model.solve is called The initialization class needs to be overloaded by all derived classes