Skip to content

feat: Add orphan2d action to mesh-doctor#220

Merged
jafranc merged 3 commits intomainfrom
feat/bd713/orphan2d
Feb 5, 2026
Merged

feat: Add orphan2d action to mesh-doctor#220
jafranc merged 3 commits intomainfrom
feat/bd713/orphan2d

Conversation

@bd713
Copy link
Contributor

@bd713 bd713 commented Feb 3, 2026

This PR adds a new mesh-doctor action to detect and handle orphaned 2D elements that are not faces of any 3D cells.

Usage

# Check for orphaned 2D cells (report only)
mesh-doctor orphan2d -i mesh.vtu

# Save orphaned cells to separate file
mesh-doctor orphan2d -i mesh.vtu --orphanOutput orphans.vtu

# Save clean mesh without orphaned cells
mesh-doctor orphan2d -i mesh.vtu --cleanOutput clean.vtu

@bd713 bd713 self-assigned this Feb 3, 2026
@jafranc jafranc added the test-geos-integration Triggers the testing of geosPythonPackages import and integration in GEOS CI label Feb 4, 2026
Copy link
Collaborator

@jafranc jafranc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on catching internal faces !!

Is it really possible tho in a full tetrahedral mesh ?
Would returing the transformed mesh to merge those faces into it a way to target ? as all would then break down to tetra (bad tetra tho)

bd713 and others added 2 commits February 4, 2026 10:12
Co-authored-by: Jacques Franc <49998870+jafranc@users.noreply.github.com>
@jafranc jafranc merged commit 6a2c9ae into main Feb 5, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flag: ready for review test-geos-integration Triggers the testing of geosPythonPackages import and integration in GEOS CI type: feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants