Uses a phase-field function to describe the evolution of temperature and phase transitions in multi-component systems.