Skip to content

fix: MeshDoctor: only keep faces in generateFracture where the matrix is actually split#250

Open
bd713 wants to merge 2 commits intomainfrom
fix/bd713/cleanFace
Open

fix: MeshDoctor: only keep faces in generateFracture where the matrix is actually split#250
bd713 wants to merge 2 commits intomainfrom
fix/bd713/cleanFace

Conversation

@bd713
Copy link
Copy Markdown
Contributor

@bd713 bd713 commented May 1, 2026

Problem

When building fracture meshes, __generateFractureMesh does not remove from its list ALL faces that are located where the matrix is not actually split.
This leads to fault element with no opposite-side cell, which crashes GEOS downstream.

This can happen at fracture intersections (both adjacent cells land on the same side of another fracture's duplication) and fracture tips (no duplication at all on the face), see screenshot below.

Fix

A candidate face is now kept only if the split algorithm assigns different node copies to the face's two adjacent 3D cells for at least one verte. If every vertex resolves to the same copy in both cells, the face is discarded.

Illustration before/after for fracture tips

image

@bd713 bd713 self-assigned this May 1, 2026
@bd713 bd713 added the type: bug label May 1, 2026
@bd713 bd713 requested a review from jafranc May 1, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant