Distributed cells outside root universe

Hi,

When calculating tallies using DistribCell filter, the output includes also cells outside the root universe, with zero rates.

If I now try to convert the tallies into pandas_data_frame, I gen an error:

File “/home/kinast/anaconda3/lib/python3.7/site-packages/openmc/filter.py”, line 1373, in get_pandas_dataframe
level_dict[univ_key][i] = level[1]
KeyError: (‘level 4’, ‘univ’, ‘id’)

Is there a way to leave these cells out?

Thanks,
Shai

Hi,

Not sure the question is clear - I will explain: I built a geometry, and now I want to calculate eigenvalue and tallies of small portion of it, hence I defined a smaller universe, which I now consider as a root universe for geometry export.The problem is that when I calculate tallies of distributed cells, also cells outside this universe are counted, and I cannot convert it to data frame.

Thanks,
Shai

Hi Shai,

Not sure how this happens exactly – would you be able to share your script so we can try to reproduce?

Best,
Paul