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.16.tar.gz (68.7 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.16-py3-none-any.whl (81.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: andfn-0.1.16.tar.gz
  • Upload date:
  • Size: 68.7 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.16.tar.gz
Algorithm Hash digest
SHA256 4786a5a27b2db6b0a48adf0d1259605968028a5e45cfe113a2cb50040bfaf9d2
MD5 bb8880843a3de2040b12207403ad8145
BLAKE2b-256 4c43fba121e82a6d1f518098576c5aacf4496f1e4c1f0b0ffde7d2ac5644858c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: andfn-0.1.16-py3-none-any.whl
  • Upload date:
  • Size: 81.3 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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 535b781b66a41c4acb6c632cb166d5af613825e0eaddc45a23c7d0a6b43aea9f
MD5 1bd2feb92485e2c7ea663d9a70a067ee
BLAKE2b-256 6d39ea75f7b145c18b60ded2c9405503dd7e83550c633b1b2a72b96d5d4c4316

See more details on using hashes here.

Provenance

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