I installed OpenMC 0.14.0 and downloaded the depletion example jupyter notebook from https://nbviewer.org/github/openmc-dev/openmc-notebooks/blob/main/depletion.ipynb. When I run the calculations, however, I do not get anywhere near the same results as in the notebook. For me, the reactivity just jumps around the initial value within the uncertainties:
While in the example linked above, the reactivity clearly goes down with time. This means that there actually is no depletion going on in my case, while in the example some form of depletion is absolutely happening.
The only difference between my jupyter notebook and the one above is the part where the rectangular prism is defined, as this was changed in 0.14.0:
bound_box = openmc.model.RectangularPrism(1.24, 1.24, boundary_type="reflective")
root_cell = openmc.Cell(fill=pin_univ, region=-bound_box)
I have built OpenMC from source on a M1 MacBook Pro, using OpenMPI. The CMake command I used was
HDF5_ROOT=/opt/homebrew CXX=/opt/homebrew CC=/opt/homebrew/opt/llvm/bin/clang CXX=/opt/homebrew/opt/llvm/bin/clang++ LDFLAGS=-L/usr/local/lib cmake -DCMAKE_INSTALL_PREFIX=$HOME/openmc-mpi -DOPENMC_USE_MPI=ON -DOPENMC_USE_OPENMP=OFF ..
One weird thing is that even though i explicitly built OpenMC without OpenMP (I use MPI with OpenMPI instead, see command above), I get the following output when OpenMC is ran which seems to indicate that I am using OpenMP:
| The OpenMC Monte Carlo Code
Copyright | 2011-2023 MIT, UChicago Argonne LLC, and contributors
License | https://docs.openmc.org/en/latest/license.html
Version | 0.14.0
Git SHA1 | fa2330103de61a864c958d1a7250f11e5dd91468
Date/Time | 2024-01-29 11:44:49
MPI Processes | 1
OpenMP Threads | 10
Reading settings XML file...
Reading cross sections XML file...
Reading materials XML file...
Reading geometry XML file...
Does anyone have a clue why my depletion is not running? I did run the OpenMC test suite, and It seems like most of the tests involving depletion has failed. I use the endfb-vii.1-hdf5 cross section library from Official Data Libraries | OpenMC with the simplified depletion chain from Depletion Chains | OpenMC.