timflow.transient.inhom1d.Xsection#

class timflow.transient.inhom1d.Xsection(model, x1, x2, kaq, z, Haq, Hll, c, Saq, Sll, poraq, porll, ltype, topboundary, phreatictop, tsandhstar, tsandN, kzoverkh=None, model3d=False, name=None)#

Bases: timflow.transient.aquifer.AquiferData

Base class for a cross-section inhomogeneity.

Parameters:
  • model (Model) – Model to add the cross-section to, usually an instance of ModelXsection.

  • x1 (float) – x-coordinate of the left boundary of the cross-section.

  • x2 (float) – x-coordinate of the right boundary of the cross-section.

  • kaq (array) – Hydraulic conductivities of the aquifers.

  • z (array) – Elevations of the tops and bottoms of the layers.

  • Haq (array) – Thicknesses of the aquifers.

  • Hll (array) – Thicknesses of the leaky layers.

  • c (array) – Resistance of the leaky layers.

  • Saq (array) – Specific storage of the aquifers.

  • Sll (array) – Specific storage of the leaky layers.

  • poraq (array) – Porosities of the aquifers.

  • porll (array) – Porosities of the leaky layers.

  • ltype (array) – Type of each layer. ‘a’ for aquifer, ‘l’ for leaky layer.

  • topboundary (str) – Type of top boundary. Can be ‘conf’ for confined, ‘semi’ for semi-confined or “leaky” for a leaky top boundary.

  • phreatictop (bool) – If true, interpret the first specific storage coefficient as specific yield., i.e. it is not multiplied by aquifer thickness.

  • tsandhstar (list of tuples) – list containing time and water level pairs for the hstar boundary condition.

  • tsandN (list of tuples) – list containing time and infiltration pairs for the infiltration boundary condition.

  • kzoverkh (float, optional,) – anisotropy factor for vertical resistance, kzoverkh = kz / kh. Default is 1.

  • model3d (bool, optional) – Boolean indicating whether model is Model3D-type.

  • name (str) – Name of the cross-section inhomogeneity.

Methods#

is_inside(x, _)

Check if a point is inside the cross-section.

initialize()

Initialize the aquifer data.

create_elements()

Create linesinks to meet the continuity conditions the at the boundaries.

plot([ax, labels, params, names, fmt, sep])

Plot the cross-section.

in_which_layer(z)

Get layer given elevation z.

findlayer(z)

Returns layer-number, layer-type and model-layer-number.