Skip to main content

AnDFN, Analytical Discrete Fracture Network

PyPI version Python versions License Documentation Build status CI RUFF CI PYTESTS 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.

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.18.tar.gz (98.9 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.18-py3-none-any.whl (88.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: andfn-0.1.18.tar.gz
  • Upload date:
  • Size: 98.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for andfn-0.1.18.tar.gz
Algorithm Hash digest
SHA256 300457cae57966a0fbe20349c719571e53fcffd1006d0b83fac2a0953f8c81c8
MD5 1bc695a7af06aad92f35cfd9341e5c72
BLAKE2b-256 6d3e8f6f0bc860bdb79c01af78505fbc4240967de09293c87293129c24ad1d30

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: andfn-0.1.18-py3-none-any.whl
  • Upload date:
  • Size: 88.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for andfn-0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 85a2a948d2a76a5f5cef71b767e8d023b219b3433e6015599e336b85749aacc4
MD5 91c3fff08762417e1ff76068e45253cf
BLAKE2b-256 fdeba899cfe2863bbf2488444274a98bdff750cb9a5c5d35462e71efcddb2f97

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

This release

0.1.18 This release

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page