Create a mesh from a surface

You mean something like this?

This little clip is about pressure inside a volume and how it influences the shape of the volume, but there is a gravity module also

If so check the DynaShape package