Influence of advective transfer of energy on stability of water over steam in geothermal systems