We present the results of a set of numerical simulations of long-duration gamma-ray burst
jets aimed at studying the effect of a variable engine on the peak frequency of the photospheric
emission. Our simulations follow the propagation of the jet inside the progenitor star,
its break-out, and the subsequent expansion...