Lumped models of gas bubbles in thermal gradients