Transport in a confined compressible fluid under time‐dependent volumetric heat sources