# Depletion Post-Processing
previous_results = openmc.deplete.Results('depletion_results.h5')
materials_dep = previous_results.export_to_materials(extract_step)
materials_dep.export_to_xml() # extracts and replaces original materials.xml file
If this is what you mean. This will pull all of the materials after a depletion sim and any ‘depletable’ materials will be in units of atoms/barn-cm for you. You can look at just U235 or add all of the densities in a given material to get the total.