Adaptive formulation for two-phase reactive transport in heterogeneous porous media. (September 2021)