Spatially nonuniform heat flux