Sonar flowmeters have the capacity of measuring the velocity of liquids or gases non-intrusively within the pipe and then leverage this velocity measurement into a flow rate by using the cross-sectional area of the pipe and the line pressure and temperature. The principle behind this flow measurement is the use of underwater acoustics.
