Take at the base and assume gas leaves freely at the liquid surface, without being retained as foam. There is no new bubble production after filling. Neglecting the liquid velocity, gas-volume conservation is a scalar conservation law
An impermeable base has no incoming bubbles. Thus a clear region develops below the uniform bubbly region. The clearing discontinuity satisfies the Rankine-Hugoniot condition, with states and :
For the dilute regime , the characteristic speeds obey , so this is the admissible compressive shock. Before it reaches the surface,
The remaining bubbles move upwards at and escape at the top. Averaging the void fraction over the entire cylindrical volume gives
This bubble clearing in a cylindrical vessel describes bubbles in the liquid, not a hypothetical retained gas layer above it. A closed surface or long-lived foam would require a different upper boundary condition.