ultrasonic flowmeter working principle