Analysis of residual stresses in cylindrically anisotropic materials