Mass flow meter
The mass flow meter does not measure the volume per unit time (e.g., cubic meters per second) passing through the device; it measures the mass per unit time (e.g., kilograms per second) flowing through the device. Volumetric flow rate is the mass flow rate divided by the fluid density. If the density is constant, then the relationship is simple. If the fluid has varying density, then the relationship is not simple. The density of the fluid may change with temperature, pressure, or composition, for example. The fluid may also be a combination of phases such as a fluid with entrained bubbles.
Actual density can be determined due to dependency of sound velocity on the controlled liquid concentration.
Cavitation modelling
If the pressure is greater than vapor pressure, then the fluid is liquid, otherwise vapor. This means density of liquid water is considered as the density of fluid if the pressure is greater than vapor pressure and the density of water vapor is considered when pressure is less than vapor pressure of water at the ambient temperature.