Continuity Equation
Introduction
This page reviews the continuity equation, which enforces conservation of mass in an Eulerian analysis. This is not strictly a description of material behavior, but the resulting equation is often used as an identity to algebraically manipulate constitutive models describing material behavior. So it is worth reviewing. It is also central to the analysis of fluid flow because classical fluids analyses cannot be Lagrangian since the positions of all the fluid particles at are unknown.
Conservation of Mass
The continuity equation reflects the fact that mass is conserved in any non-nuclear continuum mechanics analysis. The equation is developed by adding up the rate at which mass is flowing in and out of a control volume, and setting the net in-flow equal to the rate of change of mass within it. This is demonstrated in the figure below.
Equating all the mass flow rates into and out of the differential control volume gives
Cancelling terms and dividing through by gives
and rearranging gives
This can be written concisely as
Important Points
These are the final, complete, and most general forms of the continuity equation that enforces conservation of mass. It applies to all materials, not just fluids. So it applies to solids as well. Note that it is a single scalar equation and is Eulerian in nature because the gradient terms are , not .
One might wonder if there is a Lagrangian counterpart to the Eulerian form of this. There is. It is usually written as
This simply states that the differential chunk of mass in the deformed state must be equal to its original value in the undeformed state.
There are several special cases of the continuity equation. The first occurs when the flow is steady state. In this case, the derivative with respect to time is zero, leaving.
The second special case is that of incompressibility, i.e., constant. In this case the derivative with respect to time is zero and can be factored out of the equation leaving only
This result is simple enough that it is often expanded out.
Note that this is nothing more than for the case of incompressible materials.
Material Derivative
The following is worth pointing out because it permits the density and velocity vector to be separated. The first step is to apply the product rule to the divergence term in the continuity equation.
And then note that ({\partial \rho \over \partial t} + {\bf v} \cdot \nabla \rho) is just the material derivative of the density, .
So the continuity equation can also be written as
If the material is incompressible, then cannot change, so must be zero, leaving
And then divide through by (since it's not zero) to get
Continuity Equation Example
It is intuitive that fluid flow speeds up as the cross-sectional area decreases, as shown at the right. The continuity equation explains this. Consider a 2-D, steady state flow field of an incompressible fluid. The continuity equation for this situation is
Start by looking at the y-component of the flow, . The geometry of the converging nozzle forces the component to flow upward when and flow downward when . So when and when .
The net effect of this is that ( {\partial v_2 \over \partial x_2} \lt 0 ) in the converging nozzle.
But the continuity equation dictates that the sum of the two partial derivatives must equal zero. So if the second is less than zero, then
And this means that the fluid flow must be accelerating.
