Hi all,
I’m trying to run flux tallies on individual cells from a DAGMC geometry. I’ve been able to use the cell IDs from the DAGMC file to create cell filters (and I’ve confirmed that these work properly, as I’ve corroborated the results with a materials filter for one of the cells). However, since I need to divide the flux tally output by the cell volume, I need to use the stochastic volume calculation, which demands that I input the cell itself, and not just the ID. I can’t calculate the volume by material, because some of my cells in different areas of the geometry use the same material.
I’m not really sure how to extract the each cell object itself from the dagmc geometry. When I use openmc.DAGMCUniverse.n_cells, I get 5 (which is correct), but any attempt I make to get the cells themselves just gives me an empty ordered dictionary. Is there some get cell by ID function that I’ve missed? Am I going about this the wrong way?
Thank you,
Eleanor