2.4 Conservation of mass
The law of conservation of mass can be written
![]() |
(2.8) |





The rate of increase of mass inside the volume
must match the rate of inflow of mass across the volume’s surface.
The latter is calculated by integrating the mass flux over the surface, noting
the negative sign due to
pointing out of the volume.
Gauss’s Theorem relates surface and volume integrals by
![]() |
(2.9) |
![]() |
(2.10) |


Divergence
Divergence, denoted by , indicates the tendency
of a vector field to point outward of a closed surface. For example,
When the divergence of velocity
is positive, the fluid
is expanding; negative divergence indicates contraction. Imagine a
volume of fluid with a complex distribution of
at its bounding
surface, below left. The
calculation will isolate the diverging
component (right) from uniform flow (centre).
The divergence of velocity is calculated by
integrating — i.e. summing
— fluxes over the closed surface. To define divergence at a point, we consider the limiting
case where the volume tends to zero. For a surface that encloses a
volume
, divergence is the flux across the
surface per unit volume, as
, e.g.
![]() |
(2.11) |
The nabla operator
The nabla symbol can be considered a
vector operator
![]() |
(2.12) |

![]() |
(2.13) |