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

Filling depletion matrix, using restart scripts, and changing flow regime results in error #54

Open
2 of 5 tasks
LukeSeifert opened this issue Mar 30, 2021 · 0 comments

Comments

@LukeSeifert
Copy link
Contributor

This is most likely a Serpent bug that very infrequently occurs, since the error message simply states "Shouldn't happen" from MakeBurnMatrixMSR.c. This bug is caused by having a set of materials which are all connected by flows, including flows which move no mass. Then, a restart script is used to save the material compositions. Then, the input script which takes the restart output (.wrk file) makes use of a different flow regime. In the Serpent code, the "Shouldn't happen" error message arises from a check which confirms that indexing matches. This leads me to believe that, because all of the materials involved are present, they are given a specific index, which is changed when the new input file tries to change the flow regime, causing the index mismatch error. This makes sense since the bug does not seem to occur if all of the flow materials are not connected. Since the materials are different, I think that Serpent changes the indexing, avoiding the error. Someone might encounter this bug if they are trying to use a workaround to the cyclic flow problem but also want every material to be present in the depletion output file.

  • For example, imagine a geometry that has 3 materials in it named 1, 2, and 3, respectively. In this example, say we have a flow regime 1 → 2 → 3. We run this, then take a restart (.wrk) output from it. We then read the restart in the new input and change the flow regime to 3 → 2 → 1. This will cause the bug to occur.
  • Find a workaround (with all materials present in depletion output)
  • Find a workaround (without all materials present in depletion output)
  • Determine issue in Serpent
  • Find a workaround in Serpent
  • Fix in Serpent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant