Computational modeling of impact and deformation