# 20 Continuity Equation

# Introduction

Having laid down the fundamental forms of the flow models used in aerodynamic analyses, the governing equations can now be formulated to describe fluid dynamic or aerodynamic flows. The approach uses the three physical conservation principles: mass, momentum, and energy. In this first case, the applicable physical principle is that mass can neither be created nor destroyed. The resulting governing equation is called the *continuity equation*. It is a general governing equation valid for three-dimensional, unsteady flows and applies to all types of flows, e.g., compressible or incompressible, viscous or inviscid.

Learning Objectives

- Know how to derive the most general form of the continuity equation in its control volume or integral form.
- Learn how to solve simple flow problems using the continuity equation.
- Show how the continuity equation can be derived from the Reynolds Transport Equation.

# Flow Model

As previously discussed, the flow model is a control volume that may either be fixed in space with the fluid moving through it (the most common application), which is called an *Eulerian* description of the flow, or the volume can move with the fluid such that the identical fluid particles are inside it, which is called a *Lagrangian* model. In either case, the physical conservation principles must be applied to the fluid inside the control volume and any fluid crossing its boundaries.

Consider a fixed finite control volume bounded by a surface of area , as shown in the figure below. The symbol defines the area of the closed surface that bounds the control volume containing a fluid of volume . The control volume is abbreviated to “C.V.” and the control surface to “C.S.” All properties are allowed to vary with spatial location (i.e., with respect to , , and ) and in time so that

(1)

At any point on the control surface, the velocity is , which is given in terms of the Cartesian components as

(2)

At the same point, the unit normal vector area is . Also, let be an elemental fluid volume inside the total control volume.

# Conservation of Mass

The fundamental principle of the conservation of mass requires that the net mass flow out of the control volume over surface is equal to the time rate of decrease of mass inside the control volume . Now, that physical statement must be translated into mathematics.

Following the concept of mass flow and mass flux discussed previously, the elemental mass flow across area is . Remember that by convention, always points out of the control volume, so the value of will be positive. Therefore, the total mass flow rate (i.e., the integral of the mass flow rate over the entire surface area) is

(3)

which can be physically interpreted as a net outflow leaving the control volume. Notice that the double integral here means the summation over the surface , i.e., an area integral.

The small fluid mass contained within the elemental volume inside the C.V. is . Hence, the total mass inside the C.V. is

(4)

where the triple integral means a volume integral. So, the time rate of decrease of mass inside the C.V. is

(5)

noting that the minus sign represents a decrease of mass, i.e., what is leaving the C.V.

Because the principle of conservation of mass requires that the net mass flow out of the control volume be zero, then Eq. 3 must equal Eq. 5, i.e.,

(6)

or

(7)

This latter equation is called the *continuity equation* for a fluid flow, in this case, in the integral or control volume form. It is a general equation valid for three-dimensional, unsteady flows and applies to all types of flows, e.g., compressible or incompressible, viscous or inviscid. In addition, it can be used to relate aerodynamic phenomena over a finite region of the flow, e.g., the properties of the flow as it comes into and leaves the specified control volume. The unknowns in the equation include the flow velocities and the flow density.

# Simplifications of the Continuity Equation

Various reductions or simplifications of the continuity equation can be used to solve practical problems, and these forms also allow commensurate simplifications in the overall mathematics. For example, for a steady flow, nothing changes with respect to time and . This simplification means that the continuity equation reduces to

(8)

In other words, the mass flow that comes into the control volume per unit of time then leaves the control volume simultaneously, i.e., no mass accumulates inside the control volume. If this assumption can be justified, eliminating time dependencies in aerodynamic problems is a significant and worthwhile simplification in most forms of practical analysis.

Proceeding further by assuming that the flow is a steady () single stream system and one-dimensional, e.g., a uniformly axisymmetric flow, then the continuity equation is

(9)

where is the total vector area, which is positive when it points out of the C.V., as shown in the figure below. A much easier way to express this one-dimensional result for the continuity equation is in scalar form such that

(10)

which is a statement that the summation of the mass flow rates through the control volume is constant for a steady flow.

For the situation shown in the figure above with a single inlet and outlet, then

(11)

noting the sign on the first term because is in the opposite direction to . This can also be written in scalar form in terms of magnitudes as

(12)

or

(13)

which is just a statement that = , i.e., mass flow is conserved.

If the flow is incompressible ( = constant), then the continuity equation becomes

(14)

which leads to a further reduction in the complexity because of the elimination of as an unknown so that only the flow velocities need to be related, i.e.,

(15)

where is the volume flow rate. In this case, then

(16)

or

(17)

which means that = , i.e., volume flow is conserved.

Finally, consider a reduction to a steady (but compressible), uniform, one-dimensional flow in the direction. In this case, and so

(18)

or

(19)

Notice that the areas and become areas per unit length, i.e., and , respectively.

# Flow Through a Converging/Diverging Duct

Consider the steady, uniform flow through a converging/diverging duct with a circular cross-section with inlet area and outlet area , as shown in the figure below. This is a classic problem when learning fluid dynamics. The two sectional areas are known, such as by measurement. If the flow is assumed to be steady and uniformly axisymmetric (i.e., one-dimensional), then determine the relevant form of the continuity equation to relate the flow conditions at the outlet to those at the inlet.

The first step in the solution is to define a coordinate system and the control surface/volume over which to apply the principle of conservation of mass. In this case, the decision on the control volume is relatively easy as the duct itself bounds the flow. There can be no mass flow over the walls of the duct, which naturally applies no matter the duct’s shape.

The flow is steady, so , and no further justification is needed in this case. However, nothing is mentioned about whether the flow is compressible or incompressible. Because air is a gas, it must be assumed that the flow is compressible and that density must be retained as a variable. Furthermore, suppose the flow is uniformly axisymmetric. In that case, the flow velocity changes only in one direction, i.e., in the direction based on the adopted coordinate system, another significant simplification toward the solution of this problem.

In light of the preceding assumptions, therefore, in this case, then

(20)

where the latter term is zero because there is no mass flow over the walls, i.e.,

(21)

The mass flow coming into the control volume through the left-hand side (face 1) is

(22)

the one-dimensional assumption being used and the minus sign on the first term indicating that the flow is in the opposite direction to . Similarly, the flow coming out of the right-hand side (face 2) is then

(23)

which is positive in this case because the flow is now in the direction of . Therefore, because the flow is steady, the principle of conservation of mass states that the net mass flow is zero, so what mass flow comes into the control volume per unit time must equal the net mass flow out of the control volume per unit time, i.e.,

(24)

or simply that

(25)

Rearranging the latter equation gives the outlet conditions

(26)

i.e., the mass fluxes are related by the area ratio . If the flow was further assumed to be incompressible, then = constant, and so

(27)

Finally, this latter result must be examined to see if it reconciles expectations and makes sense. Engineers get into the habit of asking such questions in practical problem solving, i.e., based on the final equation(s), does (do) the result(s) make physical sense?

For example, if the outlet area were to be smaller than the inlet area (i.e., ), then the expectation is that the flow velocity will increase as it flows into and out of the control volume, which it does according to the equations because . Notice that while this particular problem may appear easy, and indeed it is in this case, it provides an excellent example of how the conservation laws, in the integral form, can be applied to a fluid dynamics or aerodynamics problem.

Check Your Understanding #1 – Calculating flow velocities in a converging duct

Consider the steady flow of a particular gas through a horizontal, converging pipe with an inlet diameter of 0.22 m and an outlet diameter of 0.16 m. The density of the gas is known to change from kg/m at the inlet to kg/m at the outlet. If the inlet flow velocity of the gas is 5.1 m/s, what is its exit velocity ? Assume one-dimensional flow.

## Show solution/hide solution

The general form of the continuity equation is

In this case, for steady, one-dimensional flow, then

(28)

or

where the density must be retained as a variable. In terms of diameters, then

And solving for gives

Substituting the numerical values gives

# Flow Through a Branched Pipe

Consider the flow of fluid through a branch circuit of a pipe, as shown below. The objective, again, is to use the principles of the conservation of mass to determine a relationship between the flow properties and the inlet and outlet conditions. The inlet and outlet areas of the pipe are assumed to be known. Remember that the first step in the analysis is to think about a sketch of the control volume and the control surface and annotate it appropriately. It will be assumed that the fluid is incompressible, i.e., constant, steady, and one-dimensional; the one-dimensional assumption is that the flow velocities are constant over every cross-section.

The governing equation for continuity of flow, in this case, becomes

(29)

where the mass flow over the solid walls would be zero, i.e.,

(30)

If the flow velocities are constant over their respective areas (the one-dimensional assumption), then

(31)

And if the density is constant (which it is for a liquid), then

(32)

noting the negative sign on the first term and its significance. Another way of looking at this latter result for the branch flow is to write it as

(33)

where is the volume flow rate. Of course, if there was no third exit, then the problem could be reduced to the one previously considered, and

(34)

In general, considering the flow out of the junction as positive and the flow into the junction as negative, then for steady flow at any junction, the algebraic sum of all the mass flows must be zero, i.e.,

(35)

For an incompressible flow, i.e., a liquid, then volume is also conserved, i.e.,

(36)

Check Your Understanding #2 – Converging flows into a junction

Two pipes of diameters and converge to form a single pipe of diameter . If a liquid flows with a velocity of and in the two pipes, respectively, what will be the flow velocity in the third pipe? Assume steady, one-dimensional, incompressible flow with no losses.

## Show solution/hide solution

In this case, two pipes merge to produce one pipe. Conserving mass and using average flow properties, then

If the fluid is a liquid then the assumption that = = = = constant is justified so

Therefore, the flow velocity in the third pipe is

# Flow Through Parallel Pipes

Consider the flow of fluid that splits through a branch circuit with parallel circular pipes, as shown in the figure below, and then joins together again. The flow enters at 1 and leaves at 4. The two branches, 2 and 3, could have different cross-sectional areas. Again, it will be assumed that the fluid is incompressible, i.e., constant, steady, and one-dimensional; recall that the one-dimensional assumption is that the flow velocities are constant over every cross-section.

The governing continuity equation is

(37)

Notice also that for the two branches that

(38)

If the flow velocities are constant over their respective areas (i.e., the one-dimensional assumption), then

(39)

If the density is constant, then

(40)

or

(41)

where is the volume flow rate. Notice that for the branches, then

(42)

Check Your Understanding #3 – Flows through parallel pipes

Water flows through a main pipe, which splits into two parallel pipes and then rejoins into a single pipe downstream. The main pipe has a diameter of 10 cm, one parallel pipe has a diameter of 6 cm, and the other has a diameter of 10 cm. If the velocity of the water in the main pipe before the split is 2.0 m/s, find the velocities in each parallel pipe. Assume steady, one-dimensional, incompressible flow with no losses.

## Show solution/hide solution

For the main pipe, the area is

For the first parallel pipe (6 cm diameter), the area is

and for the second parallel pipe (4 cm diameter)

The continuity equation for incompressible flow states that the flow rate in the main pipe must equal the combined flow rate in the parallel pipes, i.e.,

Substituting the numerical values gives

leading to

It will be apparent that and can only be solved uniquely with additional information or assumptions. One reasonable assumption is to assume that the flow is split proportionally based on the cross-sectional areas, which means the velocity in each pipe is inversely proportional to its sectional area, i.e.,

Proceeding with this assumption gives

Substituting this into the continuity equation gives

Therefore,

# Continuity Equation from the RTE

Recall that the Reynolds Transport Equation (RTE) can be expressed as

(43)

## Integral Form

In the case of mass, then , and for a fixed C.V., the mass of the system and the C.V. are the same, so

(44)

Therefore, the RTE becomes

(45)

or

(46)

which will be recognized as the continuity equation in its integral form.

## Differential form

The differential form of the continuity equation can also be derived from the RTE. Recall that using the divergence theorem, the RTE for a fixed control volume becomes

The control volume is arbitrary, so the integrand must also be zero and the differential form of the RTE becomes

where in this case, and the mass of the system and the C.V. are the same. Therefore,

which will apply at every point in the flow. If the flow is incompressible, then = constant, so the continuity equation becomes

or in terms of the scalar components when , then

Therefore, this latter equation states that to satisfy the conservation of mass, the divergence of the local velocity field must be identically zero. If it is not, then the flow would be non-physical.

Check Your Understanding #4 – Physically possible flow?

## Show solution/hide solution

The flow will be physically possible if it satisfies continuity (divergence of the velocity field is zero), i.e., for a two-dimensional flow in the – plane, then

In this case, and , so

So, we have proved that the flow is indeed physically possible.

# Summary & Closure

Applying the principle of the conservation of mass to fluids results in a governing “star” equation called the *continuity equation*. This equation applies to all fluids, viscous or inviscid, compressible or incompressible, steady or unsteady. In application, the continuity equation can be simplified from its most general form by making various assumptions as they may apply to the problem of interest. However, it should be remembered that all assumptions must be justified, which in some cases may be challenging to establish *a priori*, so caution should be used. The most common simplification is to write the continuity equation in one-dimensional form, i.e., in terms of fluid properties that change in only one direction. While the continuity equation can help solve certain simple classes of fluid flow problems, the solution of most real problems will generally need to invoke conservation principles of momentum and energy to elicit the required information.

5-Question Self-Assessment Quickquiz

For Further Thought or Discussion

- Think about a situation where the size of the control volume changes with time. What form of the continuity equation would be needed in this case?
- Think of some fluid flow problems where a Lagrangian flow model might be preferable to solve the problem.
- How might the continuity equation be applied to analyze blood flow in arteries and veins in the human circulatory system?
- Explain how the continuity equation could be used to design and analyze water distribution systems, such as municipal water supply networks.
- How does the continuity equation relate to streamlines in fluid flow? Provide an example to illustrate this relationship.

Additional Online Resources

- A good video on some basics of the continuity equation.
- Another video on the use of the continuity equation in fluid mechanics.
- A simple application of the conservation of mass for a fire hose.