Mat should be of type openmc.Material or str?

I’m trying to run pincell depletion but getting errors when trying to print some results out.

i’m following the pincell tutorial from the documentation in Pincell Depletion — OpenMC Documentation

You are giving mat_id = 1 (intended as number), while the code needs it as a string (with quotes).
Try with:

_time, u5 = results.get_atoms("1", "U235")
1 Like