Text this: Numerical modelling of multiphase flow, heat flow and pollutant transport in deforming porous media for subsurface systems