Analysis of Thermal Stresses in Solidification of Spherical SLM Components