# Obtaining nuclide concentrations from depletion results file

**URL:** <https://openmc.discourse.group/t/obtaining-nuclide-concentrations-from-depletion-results-file/4410>\
**Category:** User Support\
**Created:** [June 18, 2024, 9:55pm UTC](https://openmc.discourse.group/t/obtaining-nuclide-concentrations-from-depletion-results-file/4410 "2024-06-18T21:55:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![openmc-user](https://avatars.discourse-cdn.com/v4/letter/o/f0a364/32.png) [@openmc-user](https://openmc.discourse.group/u/openmc-user)\
**Post date:** [June 18, 2024, 9:55pm UTC](https://openmc.discourse.group/t/obtaining-nuclide-concentrations-from-depletion-results-file/4410/1 "2024-06-18T21:55:14Z")

</div>

I have generated a depletion\_results.h5 output file and I would like to know if there is a way to obtain the concentrations of all nuclides in the file. I have been using results.get\_atoms() to obtain these results, but this requires the user to specify the nuclide of interest. I imagine there are scenarios where the user may not even know what nuclides have been produced from the simulation.

---

<div class="post-metadata">

**Author:** ![wahidluthfi](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/wahidluthfi/32/3375_2.png) [@wahidluthfi](https://openmc.discourse.group/u/wahidluthfi)\
**Post date:** [June 19, 2024, 1:18am UTC](https://openmc.discourse.group/t/obtaining-nuclide-concentrations-from-depletion-results-file/4410/2 "2024-06-19T01:18:27Z")

</div>

Try to use results.export\_to\_materials(burnup\_index=)  
and I think this discussion topic could help you

> [@Data extraction of the OpenMC depletion results](https://openmc.discourse.group/t/data-extraction-of-the-openmc-depletion-results/2185/2):
>
> Right now the Results class doesn’t provide any methods that give that information in an easy way. What I would recommend is to export your results to a new Materials object and then use methods on the Material class. This would look something like: # Export materials from the last timestep materials = results.export\_to\_materials(-1) # materials is a list of Material objects, so you'll need to get the right index # for the material of interest material = materials[index] # Get number of at…
