Add k-infinity estimator for IndependentOperator - #4053
Open
EdenRochmanSharabi wants to merge 1 commit into
Open
Add k-infinity estimator for IndependentOperator#4053EdenRochmanSharabi wants to merge 1 commit into
EdenRochmanSharabi wants to merge 1 commit into
Conversation
Add calculate_kinf parameter to IndependentOperator that estimates the infinite multiplication factor from one-group reaction rates, following OpenMC's keff convention for (n,xn) reactions. Add nu-fission one-group cross section support to MicroXS.
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.
Summary
calculate_kinf=Trueparameter toIndependentOperatorandfrom_nuclides(mutually exclusive withkeff)MicroXS, with a new_collapse_nu_fission()helper that integrates nu(E)*sigma_f(E) from pointwise ENDF data against the user-provided multigroup fluxResults.get_keff()Changes
openmc/deplete/independent_operator.py:_neutrons_emitted()parser,_estimate_k_inf()method (MPI-aware),calculate_kinfparameter with validationopenmc/deplete/microxs.py:'nu-fission'in_valid_rxns,_collapse_nu_fission()for pointwise collapse,from_multigroup_flux()routing for nu-fissiondocs/source/usersguide/depletion.rst: user guide section oncalculate_kinftests/unit_tests/test_deplete_independent_operator.py: analytic k_inf (with (n,2n)), multigroup flux, decay step,_neutrons_emittedtable, error pathstests/unit_tests/test_deplete_microxs.py: nu-bar validation against ENDF data (U235 thermal ~2.43)Test plan
_neutrons_emittedhandles all reaction name patterns correctlyCloses #2132