I established three sources; both the end plugs are a DD source at a lower strength and the central cell is a DT source at a much greater strength. My question is whether there is a good way to filter my tallies (i.e. nuclear heating in the magnets) by the source they came from. It would be useful to see the contributions from DD and DT sources separately.
I think this could be done with a CellBornFilter, but that will require me to change the cell definitions of my geometry and is more difficult to work with for my use-case. I think there are other applications where a specific SourceFilter could be useful as well. If a SourceFilter does not exist, I am recommending it to be implemented (if easy to do so).
I would honestly think about switching your cells so they are separate and just use the cellborn filter. If you really don’t want to do it through that method another option would be to use the python interface and have the sources’ heating calculated separately through separate simulations, and then just add them together for the final result. Lastly, I haven’t used it personally but the energy filter states its for pre-collision energies, thus if your initial source energies are not overlapping (I don’t know enough about DD and DT sources to know whether they cover the same energy ranges) you might be able to use this filter.
Thanks for your suggestions Jarret; the first two make sense and are probably the best way to solve this problem.
From the documentation the energy filter “Bins tally events based on incident particle energy.” I’m not completely sure what this means, but my interpretation is that it records the energy of a particle as it enters the cell or mesh in which it contributes to the tally. My DD and DT sources are monoenergetic and initialized at 2.45 and 14.1 MeV respectively. So I believe an energy filter around 2.45 MeV and below would tally some lower energy DT neutrons which have scattered a few times along with the DD neutrons.