Hi All!
We are working on a high-fidelity model of the Jozef Stefan Institute TRIGA reactor (Slovenia). The model runs correctly, but we are trying to get rid of all the geometry errors, running in geometry_debug=True mode. The main reason is that we want to be able to easily identify geometry issues in the future, when more experimental components are added.
Each element that can be hosted in a core position (e.g., fuel element, irradiation channel) is a separate universe. The core has a circular lattice (6 rings, 91 total locations), and is being filled out by defining cells bounded by cylindrical surfaces and another common region which makes sure to exclude these elements from common reactor components, e.g., support grids.
Now I get an overlap that I do not understand during the geometry debug run and that seems impossible to me.
This is the OpenMC error:
ERROR: Overlapping cells detected: 101, 203 on universe 10
To debug, I ran the following:
u10 = geometry.get_all_universes()[10]
u10_cells = u10.get_all_cells()
c101 = u10_cells[101].region
c203 = u10_cells[203].region
print(c101)
print(c203)
The output of the print statements above is this (-1345 (<COMMON_REGION>)) for c101 and (-1348 (<COMMON_REGION>)). I have diff-checked the <COMMON_REGION> surfaces and they are identical.
Surfaces 1345 and 1348 are as follows:
Surface
ID = 1345
Name =
Type = z-cylinder
Boundary = transmission
Coefficients
x0 = 0.0
y0 = -0.0
r = 1.91
Surface
ID = 1348
Name =
Type = z-cylinder
Boundary = transmission
Coefficients
x0 = -2.0269
y0 = -3.510694
r = 1.91
Now it’s very apparent that these two z-cylinders do not overlap. No matter what <COMMON_REGION> is, since it is intersected to this two non-overlapping cyilinders, the two cells should not overlap. I plotted the two circular regions to ensure that they do not overlap.
All of the .xml input files can be found here: cell_overlap_model.tar.gz
