ttim.circareasink#
Classes#
Create a circular area-sink with uniform infiltration rate in aquifer layer 0. |
Module Contents#
- class ttim.circareasink.CircAreaSink(model, xc=0, yc=0, R=0.1, tsandN=[(0, 1)], name='CircAreaSink', label=None)[source]#
Bases:
ttim.element.ElementCreate a circular area-sink with uniform infiltration rate in aquifer layer 0.
Infiltration rate in length / time, positive for water entering the aquifer.
- Parameters:
model (Model object) – model to which the element is added
xc (float) – x-coordinate of center of area-sink
yc (float) – y-coordinate of center of area-sink
R (radius of area-sink)
tsandN (list of tuples) – tuples of starting time and infiltration rate after starting time
label (string or None (default: None)) – label of the area-sink
- xc#
- yc#
- R#
- 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