How does a turbine flowmeter work?

As liquid or gas flows through the turbine it turns an impeller blade that is sensed by infrared beams photo-electric sensors or magnets. An electrical pulse is then generated and converted to a frequency output proportional to the flow rate.