Prediction of the deformation and fracture of polymeric materials