Hello everyone,
I have started using OpenMC recently and I am enjoying it quite a lot so far!
Since my geometries are becoming more complex, I have been trying to find way to visually inspect them for debugging purposes, and for this I found the openmc-plotter tool. However, I can’t seem to get it to work correctly, getting errors like:
ERROR: Something went wrong reading coeffs for surface 1
The process for reproducing the error on my machine goes as follow, I do a fresh install of OpenMC via conda:
conda create -n openmc-env
conda activate openmc-env
conda install mamba
mamba install openmc
I then install the latest version of openmc-plotter:
mamba install openmc-plotter=0.3.1
I then test the resulting installation on two simple cases:
- first on the *.xml input files present in the tests/setup_test folder of the openmc-plotter repo, in this case the program runs perfectly
- second on the *.xml input files produced by the pincell example notebook from the documentation, in this case I receive the error:
ERROR: Something went wrong reading coeffs for surface 3
Playing with the first geometry.xml file, it seem that if I turn the “coeffs” attribute from representing integers to representing floats (e.g. “0 0 2” to “0.0 0.0 2.0”), openmc-plotter can’t read the values anymore and the code stops working.
Does anyone know what may be the source of this problem? I feel like I am missing something.
Thanks!
Nicolas