An electrochemical-sensor system for real-time flow measurements in porous materials.