The dynamic balances of dissolved air and heat in natural cavity flows