Simulation of quasistatic deformations using discrete rod models