Text this: Prediction of residual stress using explicit finite element method