Enthalpy based approach to capture heat transfer effects in premixed combustion