Temperature_floor appears ineffective with resampled cooling #1798
|
Hi all, However, after the run finishes, the temperature in the plotfile still appears to go far below the requested floor. When I check the output with yt, I get: So my concern is that I set temperature_floor = 10.0, but the reported minimum temperature is still much smaller than 10 K. Since the temperatures reconstructed from total energy and internal energy agree closely, and both fall below 10 K with slightly negative minimum values, this seems to suggest that the evolved thermal state itself may be dropping below the requested temperature floor, rather than this being only a plotfile or derived-temperature output issue. My questions are: If you need more info, please contact me. |
Replies: 1 comment 5 replies
|
This looks like a known class of issues with The core problem is a timing gap in Strang splitting. Quokka uses Strang operator splitting where cooling is applied in two half-steps around the hydro update. The dual energy formalism has an asymmetry. When The resampled cooling ODE tolerance is not density-aware. The absolute tolerance for the ODE integrator is set as These issues have been documented in previous bug reports: Issue #1136 reported crashes with negative internal energy when using To answer your specific questions:
As a potential workaround, you could try adding an explicit To reply, just mention @dosu. Docs are dead. Just use Dosu. |
I think I have a fix in PR #1829. Can you test the code in that branch and see if it fixes your issue?