Skip to main content

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.

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.17.tar.gz (72.5 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.17-py3-none-any.whl (85.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: andfn-0.1.17.tar.gz
  • Upload date:
  • Size: 72.5 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.17.tar.gz
Algorithm Hash digest
SHA256 202158082975f840c589e1d7588ce75b1a1acfa8f8c833d8638584564daa1057
MD5 485cca68b6ab6c1950c4d4f9fdc216eb
BLAKE2b-256 3cf1437522a66b487787703d1206c0312afd7b186f071b6f03ee22dd2c289ee4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: andfn-0.1.17-py3-none-any.whl
  • Upload date:
  • Size: 85.6 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.17-py3-none-any.whl
Algorithm Hash digest
SHA256 93db38dfd94b1bb5199c07312be85c72b2a154447bcc41c6bf508a47136ca583
MD5 29cbc817599e4c9d1063eb84bb927d2d
BLAKE2b-256 475da014195e9d8910f78e22fa73817f4d60d7cf5c59cd5ac0a54a4c2611cc30

See more details on using hashes here.

Provenance

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

0.1.18

2 files

This release

0.1.17 This release

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