Files
OneCAD-Simulation/tests/oracle/filleted-bracket-fillet-stress
jyvikoandClaude Opus 5.5 9c1c8f75c2 mesh: the tet mesher takes its input in a canonical order (#115)
SolidCraft lists a solid's faces in a different order from run to run
(the rounded box, for one), which reordered the triangle soup and the
face tags with every coordinate the same; welding keeps the first copy
it meets and every later stage visits ids in order, so the tet mesh
changed between runs. CanonicalSoup sorts the triangles by their
coordinates, numbers vertices by first use and face tags by first
appearance, and maps the tags back; mesh.tet.generate and the corpus
use it.

Tests: the washer's tet10 mesh has a fixed fingerprint (identical on
arm64 and x86-64 builds); a reordered, renumbered input gives the same
mesh; heavy: rounded-box and filleted-bracket mesh bit for bit the same
on repeated runs and with 1 and 8 threads.

The bracket oracle cases stay unfrozen: SolidCraft's tessellation
itself differs in the last bits between arm64 and x86-64. The coarse
case moves to 203.6 MPa with the canonical order; its band is 5%.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
2026-10-16 17:43:30 -04:00
..

Filleted L-bracket: peak stress on the fillet (fine mesh)

The corpus part filleted-bracket (an 8 mm L-bracket with an R6 inside fillet and a hole through each leg), built with SolidCraft from design.json. The foot face F2:side:l1 is clamped and a 2 kN load in +x acts on the top face F2:side:l5 (steel, E = 210 GPa, ν = 0.3). The leg bends about its root, where the fillet concentrates the stress; beam theory gives about 197 MPa nominal at the root (6FL/(bt²) with L = 42 mm, b = 40 mm, t = 8 mm).

mesh.tet.generate makes a quality tet10 mesh (size 5.66 mm, 31.8° per element along curved faces), with the boundary and mid-edge nodes on the exact fillet cylinder. The peak nodal von Mises stress on the fillet over a four-level study (sizes 16, 11.3, 8, 5.66 mm with 90°, 64°, 45°, 32°): 213.3, 210.6, 214.3, 213.3 MPa. The coarse and the fine level are the two cases.