# reading distribcell output in tallies.out

**URL:** <https://openmc.discourse.group/t/reading-distribcell-output-in-tallies-out/157>\
**Category:** User Support\
**Created:** [July 6, 2015, 5:41am UTC](https://openmc.discourse.group/t/reading-distribcell-output-in-tallies-out/157 "2015-07-06T05:41:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![khurrum](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@khurrum](https://openmc.discourse.group/u/khurrum)\
**Post date:** [July 6, 2015, 5:41am UTC](https://openmc.discourse.group/t/reading-distribcell-output-in-tallies-out/157/1 "2015-07-06T05:41:46Z")

</div>

Hello all

i have attached the geometry.xml file along with tallies.xml and tallies.out file with this message. can anyone help in deciphering the out of distribcell i.e. how to find the flux value for individual pin when one single universe for fuel pin is being used in multiple assemblies?

thanks for your help in advance

[tallies.out](https://openmc.discourse.group/uploads/short-url/zM5mlIF3k1C1WBEwuQngsvDjNoH.out) (1.02 MB)

[tallies.xml](https://openmc.discourse.group/uploads/short-url/p8MmG4OAt9qrC2VYCINf6zfR7Rc.xml) (314 Bytes)

[geometry.xml](https://openmc.discourse.group/uploads/short-url/aboIN5xOfs4AkAKvYH6FWDrfKBM.xml) (11.3 KB)

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [July 6, 2015, 7:19am UTC](https://openmc.discourse.group/t/reading-distribcell-output-in-tallies-out/157/2 "2015-07-06T07:19:04Z")

</div>

Let’s take the first label as an example:  
0-\>1000-\>1000(0,-4,1)-\>9-\>2-\>8-\>1-\>10(0,-6,1)-\>1-\>11

This means universe 0 (base universe) --\> cell 1000 --\> lattice 1000 position (x=0,alpha=-4,z=1) --\> universe 9 --\> cell 2 --\> universe 8 --\> cell 1 --\> lattice 10 position (x=0,alpha=-6,z=1) --\> universe 1 --\> cell 11

I’ve attached a PDF showing how the hexagonal lattice indexing works.

Best,  
Paul

[hex\_lat.pdf](https://openmc.discourse.group/uploads/short-url/lpHRdolf8VS9bUyN9BVTepEkE7E.pdf) (26.3 KB)

---

<div class="post-metadata">

**Author:** ![khurrum](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@khurrum](https://openmc.discourse.group/u/khurrum)\
**Post date:** [July 6, 2015, 7:25am UTC](https://openmc.discourse.group/t/reading-distribcell-output-in-tallies-out/157/3 "2015-07-06T07:25:44Z")

</div>

Thanks for your reply. The problem which i am facing is that the cell over which we are tallying i.e. cell 11 which makes universe 1 is in being used in hex\_lattice 10 and 11 both. But using the guide you provided i can’t see any entries for lattice 11. also what about the entries at the last i.e.

Distributed Cell 0-\>1000-\>1000(-1,4,1)-\>9-\>2-\>  
8-\>1-\>10  
Total Material  
Flux 4.26368E-04 +/- 8.06462E-05  
Distributed Cell 0-\>1000-\>1000  
Total Material  
Flux 6.94903E-04 +/- 9.50518E-05

thank you very much for your help 🙂  
 ![](https://global.discourse-cdn.com/free1/uploads/openmc/original/1X/2daeaa8b5f19f0bc209d976c02bd6acb51b00b0a.gif)

---

<div class="post-metadata">

**Author:** ![Sterling\_Harper](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@Sterling\_Harper](https://openmc.discourse.group/u/Sterling_Harper)\
**Post date:** [July 9, 2015, 2:54am UTC](https://openmc.discourse.group/t/reading-distribcell-output-in-tallies-out/157/4 "2015-07-09T02:54:27Z")

</div>

Hello King,

I think I can answer the question why you don’t see any entries for hex\_lattice 11. Lattice 11 is contained in universe 6, but I don’t see universe 6 anywhere else in the geometry. OpenMC will only output information for cells that neutrons make it into. Since universe 6 isn’t contained in the geometry anywhere, no neutrons enter it, and it (along with lattice 11) will not appear in the tallies.out.

I don’t know why cell 11 isn’t present in the last entries of that output. It might be a bug with OpenMC. I’m investigating it now, and I’ll let you know when I figure it out.

---

<div class="post-metadata">

**Author:** ![Sterling\_Harper](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@Sterling\_Harper](https://openmc.discourse.group/u/Sterling_Harper)\
**Post date:** [July 17, 2015, 6:18am UTC](https://openmc.discourse.group/t/reading-distribcell-output-in-tallies-out/157/5 "2015-07-17T06:18:10Z")

</div>

I think we’ve squashed the bug. If you checkout the latest “develop” branch you should see proper results.

---

<div class="post-metadata">

**Author:** ![khurrum](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@khurrum](https://openmc.discourse.group/u/khurrum)\
**Post date:** [July 17, 2015, 9:27am UTC](https://openmc.discourse.group/t/reading-distribcell-output-in-tallies-out/157/6 "2015-07-17T09:27:59Z")

</div>

Thank you 🙂
