Laser has controllable space-time characteristics and can be loaded on materials as a heat source in laser manufacturing, laser medical and other fields. In the thermal fatigue test of engine parts, thermal load can also be considered by laser beam. In this paper, a large aperture spatially shaped laser beam with complex and uneven intensity distribution is selected as the heat source for temperature field simulation. Using the method of key nodes selection, the temperature distribution of a few key nodes can reflect the desired temperature field of the whole nodes. Based on finite element model (FEM), through the numerical simulation of the temperature field, optimized intensity distribution of the shaped laser beam is calculated, and a diffractive optics element (DOE) is designed to achieve the shaping effect. The results show that a spatially shaped laser beam can be used for temperature field simulation.