Extracting batch-wise tallies

Hi,

I want to capture the tally from each batch. I think currently the successive/consecutive batches are cumulative of the previous batches. How can I get the tally mean from a batch that is normalized to the number of neutrons in that batch only and is not combined with tally results of preceding batches?

Regards,
Bamidele

Hi Bamidele

Here is an example that uses openmc.lib to iter the batches and extract a tally each time. Perhaps code block 9 is the most relevant part for you

Hi Shimwell,

Thank for you response.
It think (correct me if I’m wrong please) each time the tally is extracted here, the tally has been accumulated over the number of batches. I would like to get the tally mean for each batch (not accumulated over the batches).

Regards,

Hi Bamidele

You are right about that. You could add a lib reset to clear out the existing tally resuts

All the best