Automated solver selection for simulation of multiphysics processes in porous media