Gravar-mail: Capillary equilibrium of bubbles in porous media