Skip to content

#14003 Faults: Use NNCs to extend fault face detection#959

Open
magnesj wants to merge 2 commits into
devfrom
drogon-nnc-fault-test
Open

#14003 Faults: Use NNCs to extend fault face detection#959
magnesj wants to merge 2 commits into
devfrom
drogon-nnc-fault-test

Conversation

@magnesj

@magnesj magnesj commented May 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • RigMainGrid::calculateFaults now augments geometric fault detection with eclipse-read NNCs that have a resolved face direction. It triggers buildPolygonsForEclipseConnections so faces are available at fault-detection time, then appends a fault face to the appropriate unnamed fault for every NNC face not already covered.
  • RigMainGrid::distributeNNCsToFaults covers the rest: NNCs synthesized later by computeAdditionalNncs, and the asymmetric case where one side of the NNC face is already part of a fault but the other side is not (typical at LGR boundaries). Pre-existing fault assignments in the accumulator are preserved.
  • Adds a DISABLED unit test (depends on a local model) that imports DROGON_HIST_NESTED.EGRID and verifies every NNC with a resolved face direction now maps to an existing fault face.

Related issue: OPM#14003

magnesj and others added 2 commits May 18, 2026 09:33
Extend RigMainGrid::calculateFaults to add fault faces from eclipse-read NNCs
with a resolved face direction that are not already covered by an existing
fault. Building polygons for eclipse connections is triggered from within the
function so face directions are available at fault detection time.

Extend RigMainGrid::distributeNNCsToFaults to cover NNCs synthesized later by
computeAdditionalNncs, including the asymmetric case where one side of the NNC
face is already part of a fault but the other side is not (common at LGR
boundaries). Existing fault assignments in the accumulator are preserved.

Add a DISABLED unit test (RigDrogonHistNestedFault-Test) that imports the
DROGON_HIST_NESTED hybrid-grid EGRID and verifies every NNC with a resolved
face direction now maps to an existing fault face.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant