Flow-controlled reactions in rock fabrics