Transient compressible flow and heat transfer within a heterogeneous porous system