Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaned Uniform Mesh Converter Mapping #1003

Closed
wants to merge 18 commits into from

Conversation

mgjarrett
Copy link
Contributor

Description

This is a cleaned up version of #992 , which got messy because it had to pull in a bunch of main branch updates from parameters being moved around.


Checklist

  • This PR has only one purpose or idea.
  • Tests have been added/updated to verify that the new/changed code works.
  • The release notes (location doc/release/0.X.rst) are up-to-date with any bug fixes or new features.
  • The documentation is still up-to-date in the doc folder.
  • The dependencies are still up-to-date in setup.py.

Mapping anything from a non-uniform assembly to a uniform assembly and
then back will cause numerical diffusion of that value. This could be a
block parameter (like mgFlux, detailedDpa, etc.) or number densities.

This commit deals with the issue of block parameters being mapped back
and forth. The number density issue has already been addressed for the
nonUniformAssemFlags case, but it seems to still be present for the
detailedAxialExpansion case.
The power isn't used for any real calculations, but it's necessary to
map power onto the uniform mesh reactor because some downstream physics
solvers want to check the energy balance before proceeding. The "energy
balance" is checked by comparing the sum of b.p.power to the power
specified by the settings input.
Extend NeutronicsUniformMeshConverter class for gamma cases and flux
recon cases.
Add a test to verify that reactor params are mapped correctly by global
flux executer when nonUniformAssems are used. Needed to fix a bug to get
reactor params to map.
@albeanth
Copy link
Member

albeanth commented Dec 1, 2022

Thank you sir!

-Remove unused imports.
-Revert changed mapNumberDensities option
-Go back to better parameter description.
-Explain when neutron parameters in gamma category
@albeanth
Copy link
Member

albeanth commented Dec 12, 2022

@mgjarrett @keckler Are we keeping both this and PR #992? I figured we'd close #992 and just use this one. But it seems like Chris is reviewing #992 and new commits are going here? Maybe I'm confused...?

Parameter categories that need to be mapped for gamma might include
multigroup quantities (depending on the gamma source production method
selected). Neutronics needs to avoid mapping back cumulative
parameters--even though they aren't mapped in, they can be present on
the uniform assembly because the blocks were deepcopy'd from the
original non-uniform assembly.
@mgjarrett mgjarrett closed this Dec 12, 2022
@mgjarrett
Copy link
Contributor Author

Closed because it's a duplicate of #992 . Originally intended to be a "clean" version that didn't include diffs from a bunch of other unrelated commits, but those diffs in #992 were resolved by merging with the main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants