This thesis deals with the heat evolution during solidification and its relation to the formation of porosity. It intends to improve the current understanding of the formation of porosity in cast materials with special interest in nodular cast iron and the spray forming process. Two different systems, a Fe-based alloy, Cast iron, and a Ni-based alloy, Inconel 625, are examined. The effect on th...