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-LOGO

Purpose

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

Installation

You can install the latest version with the following command:

pip install anaflow

Documentation for AnaFlow

You can find the documentation under geostat-framework.readthedocs.io.

Example

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, 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))

plt.legend()
plt.show()

Theis

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
anaflow.grf_model    # "General Radial Flow" Model
anaflow.grf_dist     # extended "General Radial Flow" Model on disks

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

Requirements

Contact

You can contact us via info@geostat-framework.org.

License

GPL © 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.4.0.tar.gz (21.1 kB view hashes)

Uploaded Source

Built Distributions

anaflow-0.4.0-py3-none-any.whl (28.3 kB view hashes)

Uploaded Python 3

anaflow-0.4.0-py2-none-any.whl (28.3 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