Residual stress analysis of gray cast iron manufacturing processes