upxo.meshing.gbconformant.d3v2p0.unpinch module
Separate point-contact surface fans and locally relax their tips before Gmsh.
- upxo.meshing.gbconformant.d3v2p0.unpinch.separate_pinch_fans(interfaces, enabled=True, radius=1.5, max_displacement=0.5, iterations=30, relaxation=0.25, min_separation=0.02, progress=None, track_history=False)[source]
Return (new Interfaces, report, node audit) without changing the input.
Split vertices whose full triangle stars have disconnected fans. This intentionally removes point contacts, including legitimate ones. A shared edge or connected multi-grain junction is NOT cut: that would require new interface patches to avoid cracks. Only split tips and their radius-limited neighborhoods move. Other frozen junction points and RVE plane coordinates remain fixed. Length controls are physical units.
Collapse/reversal checks and fixed edge incidence guard local validity; this is not a global surface-intersection or closed-volume certification. A batch that fails to separate every duplicated tip by min_separation is rolled back rather than returning coincident disconnected nodes.