Title: Numerical simulation of coupled heat transfer and gas flow in porous media with applications to acid mine drainage