-
Notifications
You must be signed in to change notification settings - Fork 91
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
Allow merging a solute with zero area #1858
Conversation
from armi import runLog | ||
from armi.reactor import blocks, components, grids |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see you keep doing this. And, fine.
Just to be clear, I don't actually think this improve readability. And I have explicitly done the opposite in hundreds of ARMI files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's being done automatically by my linter, maybe I don't have it configured correctly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
huh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me.
Have you tested this downstream yet?
Not yet, no. I don't expect any issues but I still need to test it. |
What is the change?
The block converter
mergeComponents
was implemented to not allow merging any components that had zero area. This should be loosened to allow for merging a zero area solute into a non-zero area solvent.Why is the change being made?
There are many situations where we don't care about modeling zero-area components (for example, a gap that has completely closed) and it is helpful to be able to merge these components into another component so that they don't appear on the block.
Checklist
doc
folder.pyproject.toml
.