Add edep tally and update neutron functions#383
Open
melekderman wants to merge 2 commits intoCEMeNT-PSAAP:devfrom
Open
Add edep tally and update neutron functions#383melekderman wants to merge 2 commits intoCEMeNT-PSAAP:devfrom
melekderman wants to merge 2 commits intoCEMeNT-PSAAP:devfrom
Conversation
Member
|
As discussed, the plan is to wait for the merge of #385, which reorganizes tally types by the estimator (tracklength, surface-crossing, and collision). The edep in this PR uses the collision estimator. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for tallying energy deposition ("edep") in mesh tallies. It adds the new "edep" score type, implements the logic for calculating energy deposition during neutron collisions, and ensures that energy deposition is only tallied in valid scenarios. The changes also include the necessary infrastructure to score and accumulate energy deposition results in mesh tallies.
Support for energy deposition ("edep") tallying:
SCORE_EDEPfor energy deposition toconstant.py, and integrated it into the tally score system intally.pyand related modules. [1] [2] [3] [4] [5]Implementation of energy deposition calculation:
edep_weighted) during each collision, including contributions from implicit capture, elastic/inelastic scattering, and fission. Updated the respective scattering and fission routines to return the appropriate weighted energy output for tallying. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]Scoring and tallying infrastructure:
mesh_tally_edepfunction inscore.pyto accumulate energy deposition scores in mesh tallies, including phase-space and mesh bin checks.mesh_tally_edepafter each collision when appropriate.