timflow.steady.model.ModelXsection#

class timflow.steady.model.ModelXsection(naq=1)#

Bases: Model

Model for cross-section (2D vertical slice) problems.

A cross-section model represents flow in a vertical plane, typically used for analyzing flow patterns in aquifers along a transect.

Parameters:

naq (int, optional) – Number of aquifers in the model, by default 1. Each Xsection added to this model must have the same number of aquifers.

Notes

A ModelXsection may consist of an arbitrary number of Xsection3D or XsectionMaq sections. The combined domain of all sections must span from $x = -infty$ to $x = +infty$, with no gaps.

Methods#

check_inhoms()

Check inhoms.

remove_element(e)

Remove element e from model.

disvec(x, y[, aq])

Discharge vector at x, y.

normflux(x, y, theta)

Flux at point x, y in direction of angle theta.

intnormflux_segment(x1, y1, x2, y2[, method, ndeg])

Integrated normal (perpendicular) flux over specified line segment.

intnormflux(xy[, method, ndeg])

Integrated normal (perpendicular) flux over polyline.

head(x, y[, layers, aq])

Head at x, y.

headgrid(xg, yg[, layers, printrow, show_progress, ...])

Grid of heads.

headgrid2(x1, x2, nx, y1, y2, ny[, layers, ...])

Grid of heads.

headalongline(x, y[, layers])

Head along line or curve.

disvecalongline(x, y[, layers])

Compute discharge vector along line.

solve([printmat, sendback, silent])

Compute solution.

solve_mp([nproc, printmat, sendback, silent])

Compute solution, multiprocessing implementation.

aquifer_summary()

Return DataFrame with summary of aquifer(s) parameters in model.