Contents

AnaFlow Quickstart

_images/Anaflow.png

AnaFlow provides several analytical and semi-analytical solutions for the groundwater-flow equation.

Installation

The package can be installed via pip. On Windows you can install WinPython to get Python and pip running.

pip install anaflow

Provided Functions

The following functions are provided directly

  • thiem Thiem solution for steady state pumping

  • theis Theis solution for transient pumping

  • ext_thiem_2d extended Thiem solution in 2D from Zech 2013

  • ext_theis_2d extended Theis solution in 2D from Mueller 2015

  • ext_thiem_3d extended Thiem solution in 3D from Zech 2013

  • ext_theis_3d extended Theis solution in 3D from Mueller 2015

  • neuman2004 transient solution from Neuman 2004

  • neuman2004_steady steady solution from Neuman 2004

  • grf “General Radial Flow” Model from Barker 1988

  • ext_grf the transient extended GRF model

  • ext_grf_steady the steady extended GRF model

  • ext_thiem_tpl extended Thiem solution for truncated power laws

  • ext_theis_tpl extended Theis solution for truncated power laws

  • ext_thiem_tpl_3d extended Thiem solution in 3D for truncated power laws

  • ext_theis_tpl_3d extended Theis solution in 3D for truncated power laws

Laplace Transformation

We provide routines to calculate the laplace-transformation as well as the inverse laplace-transformation of a given function

  • get_lap Get the laplace transformation of a function

  • get_lap_inv Get the inverse laplace transformation of a function

Requirements

License

MIT

AnaFlow Tutorial

In the following you will find several Tutorials on how to use AnaFlow to explore its whole beauty and power.

AnaFlow API

Purpose

Anaflow provides several analytical and semi-analytical solutions for the groundwater-flow-equation.

Subpackages

flow

Anaflow subpackage providing flow-solutions for the groundwater flow equation.

tools

Anaflow subpackage providing miscellaneous tools.

Solutions

Homogeneous

Solutions for homogeneous aquifers

thiem(rad, r_ref, transmissivity[, rate, h_ref])

The Thiem solution.

theis(time, rad, storage, transmissivity[, ...])

The Theis solution.

grf(time, rad, storage, conductivity[, dim, ...])

The general radial flow (GRF) model for a pumping test.

Heterogeneous

Solutions for heterogeneous aquifers

ext_thiem_2d(rad, r_ref, trans_gmean, var, ...)

The extended Thiem solution in 2D.

ext_thiem_3d(rad, r_ref, cond_gmean, var, ...)

The extended Thiem solution in 3D.

ext_thiem_tpl(rad, r_ref, cond_gmean, ...[, ...])

The extended Thiem solution for truncated power-law fields.

ext_thiem_tpl_3d(rad, r_ref, cond_gmean, ...)

The extended Theis solution for truncated power-law fields in 3D.

ext_theis_2d(time, rad, storage, ...[, ...])

The extended Theis solution in 2D.

ext_theis_3d(time, rad, storage, cond_gmean, ...)

The extended Theis solution in 3D.

ext_theis_tpl(time, rad, storage, ...[, ...])

The extended Theis solution for truncated power-law fields.

ext_thiem_tpl_3d(rad, r_ref, cond_gmean, ...)

The extended Theis solution for truncated power-law fields in 3D.

neuman2004(time, rad, storage, trans_gmean, ...)

The transient solution for the apparent transmissivity from [Neuman2004].

neuman2004_steady(rad, r_ref, trans_gmean, ...)

The steady solution for the apparent transmissivity from [Neuman2004].

Extended GRF

The extended general radial flow model.

ext_grf(time, rad, S_part, K_part, R_part[, ...])

The extended "General radial flow" model for transient flow.

ext_grf_steady(rad, r_ref, conductivity[, ...])

The extended "General radial flow" model for steady flow.

Laplace

Helping functions related to the laplace-transformation

get_lap(func[, arg_dict])

Callable Laplace transform.

get_lap_inv(func[, method, method_dict, ...])

Callable Laplace inversion.

Tools

Helping functions.

step_f(rad, r_part, f_part)

Callalbe step function.

specialrange(val_min, val_max, steps[, typ])

Calculation of special point ranges.

specialrange_cut(val_min, val_max, steps[, ...])

Calculation of special point ranges.

Changelog

All notable changes to AnaFlow will be documented in this file.

[1.1.0] - 2023-04

See #11

Enhancements

  • move to src/ base package structure

  • drop py36 support

  • added archive support

  • simplify documentation

1.0.1 - 2020-04-02

Bugfixes

  • ModuleNotFoundError not present in py35

  • np.asscalar deprecated, use array.item()

  • CHANGELOG.md links updated

1.0.0 - 2020-03-22

Enhancements

  • new TPL Solution

  • new tools sub-module

  • using pentapy to solve LES in laplace space

  • solution for aparent transmissivity from neuman 2004

  • added extended GRF model

  • convenient functions for (inverse-)laplace transformation

Bugfixes

  • lat_ext was ignored by ext_theis_3d

Changes

  • py2.7 support dropped

0.4.0 - 2019-03-07

Enhancements

  • the output for transient tests now preserves the shapes of time and rad (better for plotting in 3D)

  • the grf model is now the default way of calculating pumping tests in laplace space

  • the grf_laplace routine was optimized to estimate the radius of the cone of depression

  • the grf_laplace uses now the pentapy solver, so we get rid of the umf_pack dependency

  • grf_model and grf_disk are now part of the standard routines

Changes

  • the input for transient tests changed from “rad, time” to “time, rad” as order of input (in line with output format)

Bugfixes

  • multiple minor bugfixes

0.3.0 - 2019-02-28

Enhancements

  • GRF model added

  • new documetation

  • added examples

  • code restructured

Changes

Bugfixes

0.2.4 - 2018-04-26

Enhancements

  • Released on PyPI

0.1.0 - 2018-01-05

First release of AnaFlow. Containing:

  • thiem - Thiem solution for steady state pumping

  • theis - Theis solution for transient pumping

  • ext_thiem2D - extended Thiem solution in 2D

  • ext_theis2D - extended Theis solution in 2D

  • ext_thiem3D - extended Thiem solution in 3D

  • ext_theis3D - extended Theis solution in 3D

  • diskmodel - Solution for a diskmodel

  • lap_transgwflow_cyl - Solution for a diskmodel in laplace inversion