Hi everyone I’m trying to go from STEP → Cubit → DAGMC (.h5m) → OpenMC, and I’m clearly missing a few key steps. I’d really appreciate a sanity check on my workflow and where I should tighten things up.
What I did
Imported several STEP parts into Cubit, scaled to meters, ran imprint/merge, then created a triangular surface mesh. Created material groups in Cubit and exported DAGMC (export dagmc “dagmc.h5m”). In OpenMC, built a DAGMCUniverse and ran a small k-eigenvalue problem.
What goes wrong
- “No material property found for volume …”
OpenMC reports volumes without a material even though I thought I tagged everything. - Source rejection (>95% rejected)
I also hit the “>95% of external source sites were rejected” abort, even when I assign fuel to previously untagged volumes. - Meshing/geometry visibility
Very thin features (e.g., cladding) can disappear in OpenMC plots, while they are visible in STL files generated from the same .h5m file OpenMC is loading.
What I’m asking for
- A bulletproof recipe for DAGMC export: the exact sequence (imprint/merge, mesh sizing for thin walls, how to create mat: groups on volumes, and whether a graveyard shell is strongly recommended for OpenMC cases).
- A checklist for verifying an .h5m before running (e.g., confirm groups named mat: exist and that every Volume has exactly one mat: parent; quick ways to spot unassigned volumes).
- OpenMC-side best practices: using DAGMCUniverse safely (ID auto-assignment) and robust initial sources that won’t over-reject even if materials are imperfect.
Any advice or minimal working examples would be amazing. My goal is a reliable CAD to OpenMC path that avoids the two failure modes above. Thanks!