Mathematical model for vertical rolling deformation based on energy method