You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: