# Results of depletion

**URL:** https://openmc.discourse.group/t/results-of-depletion/578
**Category:** User Support
**Created:** [March 18, 2020, 8:20pm UTC](https://openmc.discourse.group/t/results-of-depletion/578 "2020-03-18T20:20:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Javier\_Gonzalez](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/javier_gonzalez/32/1095_2.png) [@Javier\_Gonzalez](https://openmc.discourse.group/u/Javier_Gonzalez)
#### Post date: [March 18, 2020, 8:20pm UTC](https://openmc.discourse.group/t/results-of-depletion/578/1 "2020-03-18T20:20:05Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Andrew\_Johnson](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@Andrew\_Johnson](https://openmc.discourse.group/u/Andrew_Johnson)
#### Post date: [March 20, 2020, 10:14am UTC](https://openmc.discourse.group/t/results-of-depletion/578/2 "2020-03-20T10:14:27Z")

</div>

Javier,

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

Regards,

Andrew

---

<div class="post-metadata">

### Author: ![Javier\_Gonzalez](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/javier_gonzalez/32/1095_2.png) [@Javier\_Gonzalez](https://openmc.discourse.group/u/Javier_Gonzalez)
#### Post date: [March 20, 2020, 3:03pm UTC](https://openmc.discourse.group/t/results-of-depletion/578/3 "2020-03-20T15:03:09Z")

</div>

Okay Andrew, thanks for your response.

---

<div class="post-metadata">

### Author: ![Andrew\_Johnson](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@Andrew\_Johnson](https://openmc.discourse.group/u/Andrew_Johnson)
#### Post date: [March 20, 2020, 4:50pm UTC](https://openmc.discourse.group/t/results-of-depletion/578/4 "2020-03-20T16:50:53Z")

</div>

After digging through the output file, we do store the material volumes in the attributes for a given material, and on each [Result](https://docs.openmc.org/en/latest/pythonapi/generated/openmc.deplete.Results.html#openmc.deplete.Results) 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
