Skip to main content

AnaFlow - analytical solutions for the groundwater-flow equation

Project description

Welcome to AnaFlow

DOI PyPI version Build Status Documentation Status Code style: black



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


You can install the latest version with the following command:

pip install anaflow

It is highly recomended to install the scipy-scikit umfpack to get a solver for sparse linear systems:

pip install scikit-umfpack

Have a look at:

Documentation for AnaFlow

You can find the documentation under


In the following the well known Theis function is called an plotted for three different time-steps.

import numpy as np
from matplotlib import pyplot as plt
from anaflow import theis

time = [10, 100, 1000]
rad = np.geomspace(0.1, 10)

head = theis(rad=rad, time=time, T=1e-4, S=1e-4, Qw=-1e-4)

for i, step in enumerate(time):
    plt.plot(rad, head[i], label="Theis(t={})".format(step))



Provided Functions

The following functions are provided directly

anaflow.thiem        # Thiem solution for steady state pumping
anaflow.theis        # Theis solution for transient pumping
anaflow.ext_thiem2D  # extended Thiem solution in 2D
anaflow.ext_theis2D  # extended Theis solution in 2D
anaflow.ext_thiem3D  # extended Thiem solution in 3D
anaflow.ext_theis3D  # extended Theis solution in 3D

Laplace Transformation

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

anaflow.get_lap      # Get the laplace transformation of a function
anaflow.get_lap_inv  # Get the inverse laplace transformation of a function



You can contact us via


GPL © 2018-2019

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anaflow-0.3.0.tar.gz (21.3 kB view hashes)

Uploaded Source

Built Distributions

anaflow-0.3.0-py3-none-any.whl (29.2 kB view hashes)

Uploaded Python 3

anaflow-0.3.0-py2-none-any.whl (29.2 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page