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.
AnDFN can be installed from PyPi.
Installation:
pip install andfn
Update:
pip install andfn --upgrade
Uninstall
pip uninstall andfn
andfn has the following required dependencies:
numpypandasscipypyvistanumbah5py
and the following optional dependencies:
pyyaml(for using the YAML configuration file)matplotlib(for some optional plots)
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
A template for a simple AnDFN model and several examples are available in the examples folder (under development).
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.
The original development of this code was funded by BeFo (Stiftelsen Bergteknisk Forskning) grant number 529.