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
To Reproduce
Any case where the temperature limit is exceeded, running in parallel. In my case it is actually the lower bound that is exceeded, but I am receiving a warning about the upper bound. I believe this is happening because the check that is made
if (minMaxTemperatureFieldOutOfRange[0] < Tlow_ - Foam::SMALL)
returns false since the value stored in minMaxTemperatureFieldOutOfRange[0] is something close to 600 (6*100) instead of the lowest temperature in the domain, which I can see in my simulation results before the crash is 100 K.
Expected behavior
The code should report the highest/lowest offending temperature in the domain. I believe the issue can be fixed by substituting sumOp<scalar>() by maxOp<scalar>() and sumOp<scalar>() by minOp<scalar>(), accordingly.
Additional context
[ ] Is the bug specifically related to hyStrath? Yes
[ ] Have you read the documentation on the hyStrath website? Yes
[ ] Has it been covered in one or more Issues before? Not to the best of my knowledge
Add any other context about the problem here.
NB: You may be asked to attach a test case in a later stage.
The text was updated successfully, but these errors were encountered:
I went ahead and made the suggested modification, and now I am getting an error message in accordance to the simulation results. I am attaching a patch.
Describe the bug
When running in parallel, I am getting a warning similar to the one pasted below.
Attempt to use rho2ReactionThermo out of temperature range 263635 times during this iteration. Thigh: 40000 < 240000
The second line caught my attention since it is an exact multiple of the number of processors I am using, np, times Thigh, i.e, np*Thigh.
I looked in the code and it seems to me the problem lies in the following lines
hyStrath/src/thermophysicalModels/strath/strathReactionThermo/reactionThermo/rho2ReactionThermo/rho2ReactionThermo.H
Line 319 in 984e300
and
hyStrath/src/thermophysicalModels/strath/strathReactionThermo/reactionThermo/rho2ReactionThermo/rho2ReactionThermo.H
Line 320 in 984e300
To Reproduce
Any case where the temperature limit is exceeded, running in parallel. In my case it is actually the lower bound that is exceeded, but I am receiving a warning about the upper bound. I believe this is happening because the check that is made
hyStrath/src/thermophysicalModels/strath/strathReactionThermo/reactionThermo/rho2ReactionThermo/rho2ReactionThermo.H
Line 328 in 984e300
returns false since the value stored in minMaxTemperatureFieldOutOfRange[0] is something close to 600 (6*100) instead of the lowest temperature in the domain, which I can see in my simulation results before the crash is 100 K.
Expected behavior
The code should report the highest/lowest offending temperature in the domain. I believe the issue can be fixed by substituting
sumOp<scalar>()
bymaxOp<scalar>()
andsumOp<scalar>()
byminOp<scalar>()
, accordingly.Environment
Additional context
[ ] Is the bug specifically related to hyStrath? Yes
[ ] Have you read the documentation on the hyStrath website? Yes
[ ] Has it been covered in one or more Issues before? Not to the best of my knowledge
Add any other context about the problem here.
NB: You may be asked to attach a test case in a later stage.
The text was updated successfully, but these errors were encountered: