Chapter 7 - Some Mathematics:
The Equations of Motion

 Chapter 7 Contents

7.7 Conservation of Mass: The Continuity Equation

Now lets derive the equation for the conservation of mass in a fluid. We begin by writing down the flow of mass into and out of a small box (Figure 7.5).

 Figure 7.5 Sketch of flow used for deriving the continuity equation.

The mass flux into the volume must be (mass flow out) - (mass flow in)

The third term inside the parentheses becomes much smaller than the first two terms as δx approaches 0; and

In three dimensions:

The mass flux must be balanced by a change of mass inside the volume, which is:

and conservation of mass requires:

 (7.17)

This is the continuity equation for compressible flow, first derived by Leonhard Euler (1707-1783).

The equation can be put in an alternate form by expanding the derivatives of products and rearranging terms to obtain:

The first four terms constitute the total derivative of density Dρ/Dt from (7.7), and we can write (7.17) as:

 (7.18)

This is the alternate form for the continuity equation for a compressible fluid.

The Boussinesq Approximation
Density is nearly constant in the ocean, and Joseph Boussinesq (1842-1929) noted that we can safely assume density is constant except when it is multiplied by g in calculations of pressure in the ocean. The assumption greatly simplifies the equations of motion.

Boussinesq's assumption requires that:

1. Velocities in the ocean must be small compared to the speed of sound c. This ensures that velocity does not change the density. As velocity approaches the speed of sound, the velocity field can produces large changes of density such as shock waves.
2. The phase speed of waves or disturbances must be small compared with c. Sound speed in incompressible flows is infinite, and we must assume the fluid is compressible when discussing sound in the ocean. Thus the approximation is not true for sound. All other waves in the ocean have speeds small compared to sound.
3. The vertical scale of the motion must be small compared with c2/g, where g is gravity. This ensures that as pressure increases with depth in the ocean, the increase in pressure produces only small changes in density.

The approximations are true for oceanic flows, and they ensure that oceanic flows are incompressible. See Kundu (1990: 79 and 112), Gill (1982: 85), Batchelor (1967: 167), or other texts on fluid dynamics for a more complete description of the approximation.

Compressibility
The Boussinesq assumption is equivalent to assuming sea water is incompressible. Now let's see how the assumption simplifies the continuity equation. We define the coefficient of compressibility

where V is volume, and p is pressure. For incompressible flows, β = 0, and:

because dp/dt does not equal 0. Remembering that density is mass m per unit volume V, and that mass is constant:

If the flow is incompressible, (7.18) becomes:

 (7.19)

This is the Continuity Equation for Incompressible Flows.

chapter contents