Results of depletion

Hi All,

From a depletion analysis, using something like this “openmc.deplete.ResultsList.get_atoms(mat, nuc)”, we get the number of atoms over time in each of our materials. However, I would like to know if there is a similar scheme to obtain the atom densities (atom/b-cm) or the isotopic evolution in grams.

Thanks in advance,
Javier

Javier,

This is currently not possible using the ResultsList directly. You would have to convert knowing the material volume and atomic mass.

Regards,

Andrew

Okay Andrew, thanks for your response.

After digging through the output file, we do store the material volumes in the attributes for a given material, and on each Result object. Therefore you could obtain the volumes after the fact using

`

r = ResultsList.from_hdf5(“test.h5”)
r[0].volume

produces a dictionary mapping string names to volumes

r[0].volume[“1”]
0.0667

`

This should help converting from atoms to atoms/b/cm at least.

Regards,

Andrew