Subject: Civil Engineering Chapter: Fluid Mechanics Topic: 11.6 Continuity Equation
The law of conservation of mass is one of the most fundamental laws of nature, and when it is applied to a flowing fluid it gives the equation of continuity. The continuity equation states that for a fluid flowing through a pipe or channel, the mass of fluid entering a section in a given time must equal the mass of fluid leaving the section plus any accumulation, so that matter can neither be created nor destroyed within the flow. For steady incompressible flow, this principle reduces to the simple and extremely useful statement that the product of the area and the velocity is constant along the flow, so that when a pipe narrows the velocity must increase, and when a pipe widens the velocity must decrease. This single idea is the basis of the venturimeter, the orifice meter and the flow through pipes of varying diameter, and it is tested in nearly every civil engineering examination in the form of a direct numerical problem.
The continuity equation is the first of the three fundamental equations of fluid mechanics, the others being the momentum equation, which expresses the conservation of momentum, and the energy equation or Bernoulli's equation, which expresses the conservation of energy. While Bernoulli's equation describes the balance of pressure, kinetic and potential energy, and the momentum equation describes forces on the fluid, the continuity equation alone governs the relationship between the velocity and the area, and it must be satisfied by every physically possible flow. In a tapering pipe carrying water at a steady rate, for example, the velocity at the narrow section is higher than at the wide section, and the continuity equation gives exactly how much higher.
In this chapter we will study the derivation of the continuity equation for one-dimensional flow, its application to pipes of varying diameter and to branched pipe systems, and its general form for steady three-dimensional flow expressed in terms of the velocity components. We will also study the application of continuity to the flow from a tank or reservoir through a small orifice, where the rate of fall of the water level is related to the discharge. Each application is illustrated with worked numerical examples, because questions on the velocity at a throat, the diameter of a pipe for a given velocity, and the time of emptying a tank are standard problems in the hydraulics section of competitive papers.
Consider a fluid flowing through a pipe of cross-sectional area A1 with a mean velocity V1 at section 1, and through a pipe of area A2 with velocity V2 at section 2. The mass of fluid entering section 1 in unit time is rho1 A1 V1, and the mass leaving section 2 in unit time is rho2 A2 V2. If the flow is steady, the mass entering must equal the mass leaving, because no fluid can accumulate between the two sections, and the continuity equation becomes rho1 A1 V1 = rho2 A2 V2. This is the continuity equation for steady compressible flow. If the fluid is incompressible, the density is constant, rho1 = rho2, and the equation simplifies to A1 V1 = A2 V2 = Q, where Q is the constant volume flow rate or discharge. Thus, in steady incompressible flow, the discharge is the same through every section of the pipe.
The equation A1 V1 = A2 V2 shows immediately that the velocity is inversely proportional to the area: V2/V1 = A1/A2. If the cross-sectional area of a pipe is reduced to half, the velocity doubles; if the area is reduced to one quarter, the velocity becomes four times. This inverse relationship is the reason why the throat of a venturimeter, which has the smallest area, has the highest velocity and hence the lowest pressure, and why the flow at a narrow nozzle exit is very fast. The continuity equation applies not only to pipes but also to open channels, rivers, ducts and to any section chosen across a stream tube, and it is always the first equation written when analysing a flow problem.
Worked Example 1: A pipe of diameter 500 mm carries water at a velocity of 1.2 m/s. The pipe is then reduced gradually to a diameter of 250 mm. Determine the velocity of water at the reduced section and the discharge. Solution: Area of the large pipe A1 = pi D1 squared/4 = 3.1416 x 0.5 x 0.5/4 = 0.19635 m2. Area of the reduced pipe A2 = 3.1416 x 0.25 x 0.25/4 = 0.04909 m2. Discharge Q = A1 V1 = 0.19635 x 1.2 = 0.2356 m3/s. Velocity at the reduced section V2 = Q/A2 = 0.2356/0.04909 = 4.8 m/s. Since the area is reduced to one quarter, the velocity becomes four times, confirming the relation V2/V1 = A1/A2 = 4.
In a pipe network or a branched system, the continuity equation takes the form that the total flow entering a junction equals the total flow leaving the junction, since no fluid can accumulate at the junction. If a main pipe of discharge Q splits into two branches carrying Q1 and Q2, then Q = Q1 + Q2. This principle is used in the design of water distribution networks, in the analysis of pump and turbine pipework, and in the computation of flow in manifold systems. The continuity equation applies to every junction of a network, and it must hold simultaneously with the energy equation at every node for the network to be solved.
The continuity equation can also be stated in terms of a stream tube. Since a stream tube is bounded by streamlines that no fluid can cross, the mass of fluid flowing through any cross-section of the stream tube is constant, and for incompressible flow the product A V is constant along the stream tube. This result is valid even if the velocity varies across the tube, provided A is the actual area and V is the mean velocity. In a converging stream tube the velocity increases and the pressure falls, while in a diverging stream tube the velocity decreases and the pressure rises, a behaviour that is exploited in the diffuser of a wind tunnel and in the suction cone of a pump.
Worked Example 2: A pipe of diameter 400 mm carrying water at a velocity of 2 m/s divides into two branches. One branch has a diameter of 250 mm and carries water at a velocity of 1.8 m/s. Determine the diameter of the second branch if the velocity in it is 1.5 m/s. Solution: Discharge in the main pipe Q = A V = (3.1416 x 0.4 x 0.4/4) x 2 = 0.12566 x 2 = 0.25133 m3/s. Discharge in the first branch Q1 = (3.1416 x 0.25 x 0.25/4) x 1.8 = 0.04909 x 1.8 = 0.08836 m3/s. Discharge in the second branch Q2 = Q - Q1 = 0.25133 - 0.08836 = 0.16297 m3/s. Area of the second branch A2 = Q2/V2 = 0.16297/1.5 = 0.10865 m2. Diameter of the second branch D2 = square root of (4 A2/pi) = square root of (4 x 0.10865/3.1416) = square root of 0.13832 = 0.372 m = 372 mm. Hence the second branch has a diameter of about 372 mm.
For a general three-dimensional steady incompressible flow with velocity components u, v and w in the x, y and z directions respectively, the continuity equation states that the rate of change of the velocity component in each direction must sum to zero: du/dx + dv/dy + dw/dz = 0. This equation expresses the fact that in incompressible flow the net rate of volume flowing into a small element must be zero, and it is the three-dimensional form of the statement A1 V1 = A2 V2. The general equation is used in the mathematical analysis of two and three-dimensional flow fields and in computational fluid dynamics, but for most civil engineering applications the simple one-dimensional form is sufficient.
A very common examination application of continuity is the flow out of a tank through an orifice, and the related problem of the time of emptying a tank. If a tank of cross-sectional area A has a small orifice of area a at its bottom, the instantaneous discharge through the orifice at a height of water h above the orifice is Q = C d a square root of (2 g h), where C d is the coefficient of discharge of the orifice. As water flows out, the level in the tank falls, and by applying continuity to the tank and the orifice together, the time to lower the level from h1 to h2 is found as t = (2 A)/(C d a square root of 2g) x (square root of h1 - square root of h2). If the tank is emptied completely, h2 = 0, and the time is t = (2 A square root of h1)/(C d a square root of 2g). The continuity relation between the falling surface of the tank and the issuing jet is what makes this calculation possible.
Worked Example 3: A cylindrical tank of diameter 2 m contains water to a depth of 2.5 m. Water flows out through a circular orifice of 60 mm diameter at the bottom, having a coefficient of discharge of 0.62. Determine the time required to empty the tank completely. Solution: Area of the tank A = pi x 2 x 2/4 = 3.1416 m2. Area of the orifice a = pi x 0.06 x 0.06/4 = 0.002827 m2. Time to empty the tank t = (2 A square root of h1)/(C d a square root of 2g) = (2 x 3.1416 x square root of 2.5)/(0.62 x 0.002827 x square root of 19.62) = (6.2832 x 1.5811)/(0.0017527 x 4.4294) = 9.9345/0.007763 = 1279.7 seconds = 21.33 minutes. Hence the tank empties in about 21 minutes and 20 seconds.
| Form of flow | Equation | Meaning |
|---|---|---|
| Steady compressible flow | rho1 A1 V1 = rho2 A2 V2 | Mass flow rate conserved |
| Steady incompressible flow | A1 V1 = A2 V2 = Q | Discharge conserved |
| Branched pipe at junction | Q = Q1 + Q2 | Inflow equals outflow |
| General 3-D incompressible flow | du/dx + dv/dy + dw/dz = 0 | Volume conserved in element |
| Stream tube | A V = constant | No flow across streamlines |
| Quantity | Formula | Typical values |
|---|---|---|
| Theoretical velocity at orifice | V = square root of 2 g h | Increases with head |
| Actual discharge | Q = C d a square root of 2 g h | C d about 0.62 |
| Coefficient of discharge | C d = Q(actual)/Q(theoretical) | Between 0.6 and 0.65 |
| Time to lower level h1 to h2 | t = 2A(C d a square root 2g) x (root h1 - root h2) | Depends on tank area |
flowchart TD
A[Continuity Equation] --> B[Conservation of mass]
A --> C[One-dimensional form]
A --> D[Branched pipes]
A --> E[Tank emptying]
B --> B1[Mass entering = mass leaving]
C --> C1[rho1 A1 V1 = rho2 A2 V2]
C --> C2[Incompressible A1 V1 = A2 V2]
C --> C3[V inversely proportional to A]
D --> D1[Q = Q1 + Q2]
E --> E1[Q = Cd a root 2gh]
E --> E2[t = 2A/(Cd a root 2g) (root h1 - root h2)]
C2 --> F[Discharge constant in pipe]
E2 --> G[Tank empties when h2 = 0]
The following diagrams show the variation of velocity in a pipe of varying cross-section with the discharge remaining constant, and the flow from a tank through an orifice at the bottom used in the time of emptying calculation.
The continuity equation is the mathematical expression of the conservation of mass, and it is the first and simplest of the three fundamental equations of fluid mechanics. In this chapter we have studied the derivation of the continuity equation for one-dimensional steady flow, the simplified form A1 V1 = A2 V2 for incompressible flow, and the inverse relationship between velocity and cross-sectional area that governs flow in tapering pipes. We have examined the application of continuity to branched pipe systems, where the inflow equals the total outflow at every junction, and the general three-dimensional form of the equation for incompressible flow. The application of continuity to the flow from a tank through an orifice was studied in detail, with the formula for the time of emptying a tank derived from the balance between the falling water surface and the issuing jet. The worked examples on the reducing pipe, the branched system and the emptying tank demonstrate the standard numerical procedures used in examinations. A firm command of the continuity equation, together with the energy and momentum equations studied in the next chapters, gives a candidate the complete set of tools needed to analyse almost every problem of fluid flow in civil engineering.