Thank you for developing this wonderful tool and I am just learning to work with dagmc and OpenMC.
I created a simple cylinder body in Cubit 14.0 and exported it as the "exo" format. I used "mbconvert" of MOAB to successfully convert it into "h5m" file. But when running openmc, error showed up:
----------------------------------------------------------------------------------------------------------------
Reading settings XML file...
Reading cross sections XML file...
Reading materials XML file...
Reading DAGMC geometry...
Loading file dagmc.h5m
Initializing the GeomQueryTool...
Using faceting tolerance: 0
Building OBB Tree...
[0]MOAB ERROR: --------------------- Error Message ------------------------------------
[0]MOAB ERROR: Failed to join the obb trees!
[0]MOAB ERROR: construct_obb_tree() line 496 in src/GeomTopoTool.cpp
[0]MOAB ERROR: --------------------- Error Message ------------------------------------
[0]MOAB ERROR: Failed to construct obb tree for volume!
[0]MOAB ERROR: construct_obb_trees() line 600 in src/GeomTopoTool.cpp
[0]MOAB ERROR: --------------------- Error Message ------------------------------------
[0]MOAB ERROR: Failed to build obb trees!
[0]MOAB ERROR: setup_obbs() line 172 in DagMC.cpp
[0]MOAB ERROR: --------------------- Error Message ------------------------------------
[0]MOAB ERROR: Failed to setup the OBBs!
[0]MOAB ERROR: init_OBBTree() line 204 in DagMC.cpp
[0]MOAB ERROR: load_dagmc_geometry() line 186 in dagmc.cpp
WARNING: No graveyard volume found in the DagMC model.This may result in lost
particles and rapid simulation failure.
ERROR: Could not find a root universe. Make sure there are no circular
dependencies in the geometry.
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode -1.
NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
create cylinder height 1 radius 0.4
surface 1 3 2 scheme trimesh
mesh surface 1 3 2
set duplicate block elements off
block 1 surface 1 2 3
undo group begin
set large exodus file off
export mesh "/home/wli/pin.exo" overwrite
undo group end
I think this is caused by the build_obb function of DAGMC, as the command "build_obb dagmc.h5m" gave the same error.
Is there anything I should pay attention to when generating Cubit file for MOAB or DAGMC?
Thank you very much in advance.