This document summarizes a study that uses ANSYS software to conduct a transient thermal analysis of a 4-stroke diesel engine piston made of four different materials: aluminum alloy, AlSi10Mg, titanium alloy, and gray cast iron. The study simulates the temperature distribution and heat flux within the piston under varying operating conditions for each material. The results show that the aluminum alloy piston has the highest maximum heat flux value, while the titanium alloy piston has the lowest maximum heat flux value. These findings can help engineers select the optimal material for a piston design based on its ability to withstand thermal stresses during engine operation.