Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Indexing error when fractures are rejected

Open
#89 0 comments 0 reactions 1 assignee View on GitHub

@hymanjd is already working on this.

Since Jan 29, 2025.

Assessment

This issue has not been assessed yet.

Description

I am running a user defined version of dfnWorks where the fractures are determined based on a polygons.dat file. This file is used to feed nPoly, permeability, and nPolygons in the driver.py file.

It's possible that the polygons made from this file are rejected based on size or are isolated fractures and are rejected due to that. I am running into an IndexError when Inserting User Poly Hydraulic Params because one or more fractures are rejected during meshing. I will post a screenshot as well as post relevant log files.

In the test case below, we start with 12 fractures and 1 is rejected due to being isolated.

image
dfngen_logfile.txt
output.log
DFN_output.txt

Dominant language
Python
Stars
97
Forks
55
Avg merge
1m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lanl/dfnWorks

All issues in lanl/dfnWorks

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.