Numerical Analysis of Transient Stress Field of a Functionally Graded Nickel-Zirconia Profile under Thermal Loading