Pressure and flow measurement