Thermal simulation of formation composite layer on model casting process