fix(cae): refine non-watertight tessellation and reject overlapping tetrahedralizations
Wave9: ChamferedWasher 13 pieces regressed under TetMeshParams::auto_size
(volume error 6-38% or created_per_point guard) while fixed max_size=5 passed.
Two root causes found and fixed in the general tetrahedral_mesh path:
1. Per-face tessellation left cracks at periodic-face seams (M45: 162 tris/97
verts, outer cylinder only 4 circumferential points, gap up to 12.45 mm).
Surface not watertight -> solid-angle/parity inside-outside classification
unreliable. Fix: when tess open edges > 0 but B-Rep boundary is closed,
re-tessellate halving the chord tolerance up to 4 levels (budget
max(tris*16, 60000) capped at 500000); first watertight surface is adopted
and parity (ray casting) decides inside/outside.
2. Naive Bowyer-Watson kept overlapping tetrahedra on exactly coplanar /
cospherical point sets (M45: sum |V_tet| = 448199 vs point-set bbox volume
57800 = 7.8x), overestimating mesh volume by 27%. Fix: structural validity
(sum |V_tet| <= bbox volume * 1.01), early continue to next deterministic
jitter attempt, kept-volume early gate (<= 2% vs body_volume(), same
tolerance as final validation), acceptance requires 2-manifold + valid +
volume ok; fallback is the 2-manifold result with smallest volume error.
Results: M45 fixed max_size=5 -> volume error 0.5569% (was +27.3%); all 13
pieces auto_size -> mesh_ok with 0.521-0.581% error. 250-file corpus KPI:
fixed tet_ok 34 -> 63 (27.2%), auto 102 -> 158 (68.1%), zero auto-mode
regressions (BROKE 0), ChamferedWasher 3/52 -> 52/52, scale_guard 0 in both
modes (30 auto / 6 fixed former guard cases rescued by jitter retries).
Cost: failed cases up to 4 refinement levels + 5 jitter attempts, runtime
1.70x fixed / 1.64x auto.
Tests: new CorpusProbe.ChamferedWasherBrepAutoSizeJitterRetry (auto_size,
closed + <=2% + hole not filled); test_fea_mesh 83 tests (81 pass + 2 env
skip); test_brep 96/96, test_vde1620 8/8, test_vde1621 9/9, test_vde1346 17/17.
Integration: full Release build FULLBUILD_EXIT=0; 23 suites 870 passed / 0
failed; PR gate 1005/1005 (95.53 s).
Docs: new docs/reference/cae-tetra-robustness-2026-11-20.md; update
cae-corpus-kpi (section 3.7 rerun), remaining-gaps closure record,
feedback-status (Wave9 batch), README index, VDE-1347.