Add setting to optionally disable atomic relaxation#3855
Add setting to optionally disable atomic relaxation#3855amandalund wants to merge 4 commits intoopenmc-dev:developfrom
Conversation
paulromano
left a comment
There was a problem hiding this comment.
Thanks @amandalund! Can you add a simple regression test to cover this case? Other than that, one comment on the documentation below:
docs/source/io_formats/settings.rst
Outdated
| not of interest. When disabled, the energy of the secondary particles is | ||
| deposited locally at the collision site. |
There was a problem hiding this comment.
I don't think this statement is true. With atomic relaxation on, the binding energy of the vacant shell would be emitted via the relaxation cascade, but with it turned off no secondary particles are created so the binding energy is simply dropped. To be clear, I think that's fine (an approximation the user accepts) but the statement here should be corrected.
There was a problem hiding this comment.
Ah yes, I see your point. I was considering disabling relaxation as being analogous to disabling the thick-target bremsstrahlung approximation for electrons: the binding energy or electron energy is no longer carried away by secondaries, and a heating tally would attribute all of that energy to the collision site via energy balance. But there's no general mechanism to record that the energy is deposited locally, and in the absence of a tally it is just dropped. I'll update the docs.
Description
This adds a setting that allows users to optionally disable atomic relaxation in photon transport simulations. Atomic relaxation models the cascade of X-ray fluorescence photons and Auger electrons emitted when an inner-shell vacancy is filled. This option will be useful for performance benchmarking, and disabling relaxation may improve performance in simulations where detailed modeling of the secondary particle cascade is not needed.
Checklist