Density
The density at all points of a homogeneous object equals its total mass divided by its total volume. The mass is normally measured with a scale or balance; the volume may be measured directly (from the geometry of the object) or by the displacement of a fluid. To determine the density of a liquid or a gas, a hydrometer, a dasymeter or a Coriolis flow meter may be used, respectively. Similarly, hydrostatic weighing uses the displacement of water due to a submerged object to determine the density of the object.
Shallow water equations
Here "η" is the total fluid column height (instantaneous fluid depth as a function of "x", "y" and "t"), and the 2D vector ("u","v") is the fluid's horizontal flow velocity, averaged across the vertical column. Further "g" is acceleration due to gravity and ρ is the fluid density. The first equation is derived from mass conservation, the second two from momentum conservation.