Here is a cylinder with rigid walls, except for the upper face, which can go down  as it is joined to a spring which supports it. The deeper you submerge the body, the greater the force exerted on the upper face, the pressure exerted by a fluid on a surface is greater the more it is submerged.

 

Licencia de Creative Commons Licencia Creative Commons Reconocimiento-No Comercial-Compartir Igual 3.0 España
logo INTEF
Ministerio de Educación, Cultura y Deporte