openmsr / CAD_to_OpenMC

code to target the conversion from a step-file to a h5m-geometry for neutronics
MIT License
25 stars 16 forks source link

Make sure that volume and surface labelling coincides with that of check_watertight-tool #81

Open ebknudsen opened 7 months ago

ebknudsen commented 7 months ago

An important feature of the meshed geometry is that it is watertight. To ensure that it is common to use the tool check_watertight which is distributed as part of the DAGMC-project https://svalinn.github.io/DAGMC/ (which CAD_to_OpenMC relies heavily on). That tool reports which volumes and surfaces are "leaky". To debug a leaky geometry it would be very convenient to have the reported volume/surface numbers and labels by CAD_to_OpenMC be exactly the same as what check_watertight is reporting.

ebknudsen commented 6 months ago

This checks out for volume numbers. Surface numbers are not the same