Skip to main content

An analytic element model for discrete fracture networks

Project description

AnDFN, Analytical Discrete Fracture Network

PyPI version Python versions License Documentation Build status Ruff GitHub stars

Introduction

AnDFN is a computer program for the modelling of groundwater flow in a discrete fracture network (DFN). The program is based on the Analytic Element Method (AEM) and is distributed as a Python package with various modules and scripts.

The documentation for AnDFN is available here.

Installation

AnDFN can be installed from PyPi.

Installation:

pip install andfn

Update:

pip install andfn --upgrade

Uninstall

pip uninstall andfn

Dependencies

andfn has the following required dependencies:

  • numpy
  • pandas
  • scipy
  • pyvista
  • numba
  • h5py

and the following optional dependencies:

  • pyyaml (for using the YAML configuration file)
  • matplotlib (for some optional plots)

Functionality

AnDFN currently have the following functionality:

  • Generate random DFN
  • Compute the intersections of a DFN
  • Solve the AEM model for a DFN
  • Plot the flow net for the AEM model
  • Import DFNs
  • Load and save DFNs

Getting started

A template for a simple AnDFN model and several examples are available in the examples folder (under development).

Citation

The basic theory for this program is published in:

Otto D.L. Strack, Erik A.L. Toller, An analytic element model for flow in fractured impermeable rock, Journal of Hydrology, 2024, 131983, ISSN 0022-1694, https://doi.org/10.1016/j.jhydrol.2024.131983.

Acknowledgements

The original development of this code was funded by BeFo (Stiftelsen Bergteknisk Forskning) grant number 529.

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

andfn-0.1.15.tar.gz (68.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

andfn-0.1.15-py3-none-any.whl (80.8 kB view details)

Uploaded Python 3

File details

Details for the file andfn-0.1.15.tar.gz.

File metadata

  • Download URL: andfn-0.1.15.tar.gz
  • Upload date:
  • Size: 68.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for andfn-0.1.15.tar.gz
Algorithm Hash digest
SHA256 d5f31a59cbfd5e2b22bfc2f3273910facd4a2f8890ce9a5662532cacd71abb82
MD5 747d3420994389f1ad6956f8400a281a
BLAKE2b-256 ae3947ca11c8973e8602f525b182fccaf5a25022620b8bc960d28c3e3f1b9b0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for andfn-0.1.15.tar.gz:

Publisher: publish_and_release.yml on eriktoller/andfn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file andfn-0.1.15-py3-none-any.whl.

File metadata

  • Download URL: andfn-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 80.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for andfn-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 242989050698ef9bb48b1649eaf9b8298df2aefde4b2f307562e97b78741add6
MD5 2415a6e9d8700fe0fda6c93870cedfea
BLAKE2b-256 fca95845c41d36fd4d5038e16cf6e4044cc8de62e19184bd9ea78eb7b88aaedd

See more details on using hashes here.

Provenance

The following attestation bundles were made for andfn-0.1.15-py3-none-any.whl:

Publisher: publish_and_release.yml on eriktoller/andfn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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