Temperature distribution produced by pulsed energy fluxes, with evaporation of the target