I am just getting into OpenMC. To learn,I’ve been using the provided examples under basics on this website. There are however quite a few changes that have to be made to the code due to the examples being for version v.0.9.0. They aren’t hard fixes, and mostly just require you to change R to r for future versions. I am only on the post processing example so far, but one change is to the openmc.stats.Box class. It uses the only_fissionable argument instead of the constraints, making it unable to run on v.0.15.0 and so on.
The documentation for the class is slighty unclear as well, as it suggests to
Use the constraits argument when defining a source object instead.
To find how it is to be used you have to go to the changes documentation, as the documentantion has not been updated for v0.15.0+.
Thank you