Modified heat equation for thermal calculation on a realistic model