Residual stress profile in tubular components