Analysis of Casting Materials under Thermal Fatigue