The continuity equation expresses conservation of mass for a fluid: ∂ρ/∂t + ∇·(ρV) = 0. For incompressible flow (ρ constant), this reduces to ∇·V = 0, meaning the velocity field is divergence-free. In its integral form for a control volume, the net mass flux out equals the rate of decrease of mass inside: d/dt∫∫∫ρ dV + ∫∫ρV·n̂ dA = 0. For simple duct flows with uniform inlet/outlet, this reduces to the familiar A₁V₁ = A₂V₂.
Start with the simple duct form A₁V₁ = A₂V₂ to build intuition about flow speeding up in constrictions. Then derive the differential form from the integral form using the divergence theorem. Apply to branching pipe networks and verify mass balance.
Conservation of mass is one of the most fundamental principles in physics, and the continuity equation is simply what this principle looks like when applied to a flowing fluid. The core idea is straightforward: mass cannot appear or disappear. Whatever mass flows into a region must either accumulate there or flow back out. For a steady flow with no accumulation, the mass flowing in must exactly equal the mass flowing out.
The simplest version of this principle is the duct equation A₁V₁ = A₂V₂ for incompressible flow. When a pipe narrows, the velocity must increase because the same volumetric flow rate must pass through a smaller opening — like squeezing a garden hose to make the water spray faster. This result is deceptively powerful: it lets you predict velocity changes across any duct geometry using nothing more than areas, without solving any differential equations.
The differential form ∂ρ/∂t + ∇·(ρV) = 0 is the full statement, valid for compressible, unsteady flows. The term ∂ρ/∂t is the rate of density change at a fixed point; the term ∇·(ρV) is the net mass flux leaving a small control volume. Their sum equals zero because mass is conserved. For incompressible flow (ρ constant), the first term vanishes and we get ∇·V = 0 — the velocity field must be divergence-free everywhere.
A common confusion is treating incompressibility as a property of the fluid rather than the flow. Air is physically compressible, but at wind speeds well below the speed of sound (Mach number below about 0.3), density changes are negligibly small and ∇·V = 0 is an excellent approximation. This is why aerodynamics of slow aircraft and most HVAC engineering can treat air as incompressible. The continuity equation does not determine pressure or individual velocity components on its own; it is one equation in a system that includes the momentum equations (Navier-Stokes). Together they close the problem.