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

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: https://github.com/scikit-umfpack/scikit-umfpack

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

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

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 © 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 details)

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2

File details

Details for the file anaflow-0.3.0.tar.gz.

File metadata

  • Download URL: anaflow-0.3.0.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for anaflow-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8720741ee79ced55cef4502be82a368e4c217251fb0f9e9f12d1359a7acba0e5
MD5 9b8d7edbf229726ccbeaadc46cdc20fd
BLAKE2b-256 71da7e87907e4ea4ddb2457a4fdcd2bd6395e1bd76ad8daf21254b17218348da

See more details on using hashes here.

Provenance

File details

Details for the file anaflow-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: anaflow-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for anaflow-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acd7dc3666e9da6c1a641557d0d05893dcba0149f90f7f91d65b3684f2c0eb83
MD5 f16e1729a17e85a2ede0434f0a80dcdb
BLAKE2b-256 d86330e3284718a78384b3af5394bf941184cde76ed9f04374d19ecf2019b1d1

See more details on using hashes here.

Provenance

File details

Details for the file anaflow-0.3.0-py2-none-any.whl.

File metadata

  • Download URL: anaflow-0.3.0-py2-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

File hashes

Hashes for anaflow-0.3.0-py2-none-any.whl
Algorithm Hash digest
SHA256 8c3f981795da7631178cb9a280f91c128da247ae0adf218af1b2d0010ddb7fca
MD5 3ecb886f4132054b8710ebdb4adbb699
BLAKE2b-256 df12a6b2e44726cb41d8916e3ee3719573ac152a0f4ee57a3ef7904176e118b0

See more details on using hashes here.

Provenance

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