-
Notifications
You must be signed in to change notification settings - Fork 51
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
Added c5g7 benchmark problem for MG mode #31
Conversation
Quick note: this isn't 100% ready for merge (and it makes no sense to do so anyways without #494 of openmc being merged first), I am also adding the c5g7 extended 3d benchmark and I want to cleanup the xml input files a bit. I put this PR in a little early so a multi-group model would be available for the reviewers of #494. |
Now this is ready. |
What do you think about just having the Python input files instead of xml to minimize code reuse? I've created some OpenMC Python input files for C5G7 here: https://github.com/samuelshaner/openmc/tree/mg/examples/python/c5g7 |
I see no problem with either way
|
@paulromano is there a maintainer-preference for input format (i.e., python vs xml)? |
Using the Python API would be my preference. |
I'm getting there, albeit slowly. Comparing my results with those from @samuelshaner first to see if there any differences of note. |
…eed to incorporate the pin model, but looking good
Ok, this is ready to go. I used the python api input format from @samuelshaner, which I hope he doesnt mind. Here is a summary of results:
The diffrences are on the same order of, or significantly less than, the spread in eigenvalues published with the benchmarks for other MC MG codes (i.e., see table 3 of the original C5G7 spec). The UO2 Pin problem is not in the official standard, but I've seen it in a few papers as the 'first problem' done so thought it worthwhile. The reference solution above is from MCNP (MG) done by the MPACT guys (this # was from their validation files). I cant speak to how right it is or is not. |
@nelsonag - the results look great! Glad to see you used the python input files. |
r = universes['Control Rod'] | ||
f = universes['Fission Chamber'] | ||
lattices['MOX Rodded Assembly'].universes = [[m, m, m, m, m, m, m, m, m, m, m, m, m, m, m, m, m], | ||
[m, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, m], |
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.
Can you remove the extra two spaces before rows 2+ in this lattice? This is probably an issue that I had in my inputs.
Just tested all the inputs and everything checks out. I think this is ready to merge once the spacings is updated in lattices.py |
Great, thanks for the quick review. I will get to the spacing tonight. On Tue, Mar 22, 2016 at 9:43 AM, sam notifications@github.com wrote:
|
Fixed, |
Thanks @nelsonag (and @samuelshaner for reviewing)! |
Forget the previous PR; I had some odd commits from 2013 apparently that made no sense.