Basic principle of flow meter