Determination of rational geometry of elastic elements in u-shaped plant with liquid