Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for anaflow, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size anaflow-0.4.0-py2-none-any.whl (28.3 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size anaflow-0.4.0-py3-none-any.whl (28.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size anaflow-0.4.0.tar.gz (21.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page