-
Notifications
You must be signed in to change notification settings - Fork 48
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
Update openmc #903
Update openmc #903
Conversation
Job Documentation on 9869103 wanted to post the following: View the site here This comment will be updated on new commits. |
e5ffbcd
to
a6b5dee
Compare
@aprilnovak sorry to bother you over the holiday break but I thought I'd leave this message here since I will also be taking a few days off next week, and wanted to give you an update on these test failures, since I was hitting similar errors with the source rejection error for some of my Cardinal models. Basically, what was done previously before the update in openmc-dev/openmc#2916 is that the number of rejected particles would be compared to the number of accepted particles when sampling only fissionable sites, and if this fraction was above some threshold, then the error for source site sampling was triggered. This check is done in The fix here for the Cardinal test failures is to reduce the domain over which to sample the source distribution to the minimum bounding box that covers the fissionable area of the geometry (this will probably be tedious to do for larger problems). Trying to expand the domain of the source distribution to include the entire geometry will no longer work if the geometry has a lot of non-fissionable material relative to the fissionable material, and the 95% source distribution error will likely be met. This was the case of for my model, just wanted to share this info in case you haven't got to the bottom of these test errors yet. Just a heads up, there might be other reasons for the test failures too, I haven't check all the test failures in detail |
Thanks @shikhar413 that is really helpful! I know that I need to update the files to use the new |
ecaed43
to
55007f6
Compare
55007f6
to
0e31ade
Compare
Hi @aprilnovak I noticed that the OpenMC version was updated recently in #983, should this PR be closed in favor of the other one? |
Yes I think this one can be closed -- ultimately, to update OpenMC we didn't need to also add anything special about the source sampling sites. Maybe that means that the newest version of OpenMC fixes the behavior that @shikhar413 was originally updating? (also I am not sure if I'm misunderstanding, but the commits on this branch don't match what I expect them to, given the context from the discussion). |
Yeah, honestly quite surprised you were able to get all tests to pass in the other PR, given that there were many tests failures happening here. For my own use cases, having Cardinal point to a newer OpenMC version was all I need so I'm fine closing this PR. If similar issues with test faiulres occur later on, let me know and I can try to take a look |
No description provided.