Approximation of the elastic deformation of a thin cylinder