
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
You can find the documentation under https://anaflow.readthedocs.io.
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(time=time, rad=rad, transmissivity=1e-4, storage=1e-4, rate=-1e-4)
for i, step in enumerate(time):
plt.plot(rad, head[i], label="Theis(t={})".format(step))
plt.legend()
plt.show()

The following functions are provided directly
thiem Thiem solution for steady state pumpingtheis Theis solution for transient pumpingext_thiem_2d extended Thiem solution in 2D from Zech 2013ext_theis_2d extended Theis solution in 2D from Mueller 2015ext_thiem_3d extended Thiem solution in 3D from Zech 2013ext_theis_3d extended Theis solution in 3D from Mueller 2015neuman2004 transient solution from Neuman 2004neuman2004_steady steady solution from Neuman 2004grf "General Radial Flow" Model from Barker 1988ext_grf the transient extended GRF modelext_grf_steady the steady extended GRF modelext_thiem_tpl extended Thiem solution for truncated power lawsext_theis_tpl extended Theis solution for truncated power lawsext_thiem_tpl_3d extended Thiem solution in 3D for truncated power lawsext_theis_tpl_3d extended Theis solution in 3D for truncated power lawsext_thiem_int extended Thiem solution for the Integral variogram modelext_theis_int extended Theis solution for the Integral variogram modelext_thiem_int_3d extended Thiem solution in 3D for the Integral variogram modelext_theis_int_3d extended Theis solution in 3D for the Integral variogram modelWe 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 functionget_lap_inv Get the inverse laplace transformation of a functionYou can contact us via info@geostat-framework.org.
MIT © 2019 - 2025
$ claude mcp add AnaFlow \
-- python -m otcore.mcp_server <graph>