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.14.tar.gz (68.1 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.14-py3-none-any.whl (80.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: andfn-0.1.14.tar.gz
  • Upload date:
  • Size: 68.1 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.14.tar.gz
Algorithm Hash digest
SHA256 bfd1b449ed005aa04b29b2d34771713b55d44467a5967456227f20d72ed1ea7f
MD5 db978998a7e3c99bfee2cfb20dd0ef88
BLAKE2b-256 defe83e31ab497f5d98b85036b64c2032e0a08f7150401f8467b347af14c56b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for andfn-0.1.14.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.14-py3-none-any.whl.

File metadata

  • Download URL: andfn-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 80.6 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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 8cac18da5804014b380214bbe3c3ab802074e3e83bae21a6c78ed85f1b1c5e5e
MD5 57f0331adea286e3399824a0034da6db
BLAKE2b-256 c00d5c7cce5bbb4a238cf65db7faadf10af671d0b41add0efd45f10c9b200026

See more details on using hashes here.

Provenance

The following attestation bundles were made for andfn-0.1.14-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