Calculation of phase transformation latent heat based on cooling curves in end-quench test and its application in nickel-based superalloy