In this paper we discuss the problem of computing and analyzing the static equilibrium of a nonrigid water tank. Specifically, we fix the amount of water contained in the tank, modelled as a membrane. In addition, there are rigid obstacles that constrain the deformation. This amounts to a nonconvex variational problem. We derive the optimality system and its interpretation in terms of equilibri...