Text this: Mathematical modelling of transient flow and heat transfer in a producing gas well