Measuring flow velocity