Bugfix: initialize the input temperature in restart run without temperature in the restart file
The issue is related to restart of cases using CO2STORE
jenkins build this please
I don't think I understand what problem this is trying to solve. If we're restarting a run and there is no temperature information in the restart file, then does that not mean that it's an isothermal run? If so, why do we need temperature data?
For CO2STORE you will need the initial temperature in the reservoir. We used to store it in the restart files, but that was removed since it is constant in isothermal runs.
I don't think I understand what problem this is trying to solve. If we're restarting a run and there is no temperature information in the restart file, then does that not mean that it's an isothermal run? If so, why do we need temperature data?
For CO2STORE you will need the initial temperature in the reservoir. We used to store it in the restart files, but that was removed since it is constant in isothermal runs.
Ah, okay. Then I think
- This should be contingent on CO2STORE being active
- The temperature initialisation itself should be in a separate function which is only invoked for CO2STORE, and only if temperature information is not already loaded from the restart file.
As currently written, I think the risk of confusion is too great.
jenkins build this please