2.2.12Fluid Mechanics

Continuity equation — derivation (conservation of mass), ρAv = const

1,781 words8 min readdifficulty · medium6 backlinks

WHAT is the continuity equation?

The quantity ρAv\rho A v is the mass flow rate (kg/s). The quantity AvA v is the volume flow rate QQ (m³/s).


WHY must it be true? (Conservation of mass)


HOW to derive it from first principles

We track the mass that crosses a cross-section in a tiny time Δt\Delta t.

Step 1 — How much fluid crosses a section in time Δt\Delta t? At cross-section 1, fluid moves at speed v1v_1. In time Δt\Delta t it advances a distance Δx1=v1Δt.\Delta x_1 = v_1\,\Delta t. Why this step? Speed × time = distance — that's the slab of fluid that sweeps past the boundary.

Step 2 — Volume of that slab. The slab is a cylinder of area A1A_1 and length Δx1\Delta x_1: ΔV1=A1Δx1=A1v1Δt.\Delta V_1 = A_1\,\Delta x_1 = A_1 v_1 \,\Delta t. Why this step? Volume = area × length; this is the volume that entered.

Step 3 — Mass of that slab. Δm1=ρ1ΔV1=ρ1A1v1Δt.\Delta m_1 = \rho_1 \,\Delta V_1 = \rho_1 A_1 v_1\,\Delta t. Why this step? Mass = density × volume. This is the mass entering through section 1.

Step 4 — Same logic at section 2 (mass leaving). Δm2=ρ2A2v2Δt.\Delta m_2 = \rho_2 A_2 v_2\,\Delta t.

Step 5 — Apply conservation of mass (steady state). No mass accumulates between the sections, so mass in = mass out: Δm1=Δm2    ρ1A1v1Δt=ρ2A2v2Δt.\Delta m_1 = \Delta m_2 \;\Rightarrow\; \rho_1 A_1 v_1\,\Delta t = \rho_2 A_2 v_2\,\Delta t. Why this step? The "box" between the sections is full and unchanging, so whatever flows in must flow out.

Step 6 — Cancel Δt\Delta t. ρ1A1v1=ρ2A2v2\boxed{\rho_1 A_1 v_1 = \rho_2 A_2 v_2} For incompressible flow ρ1=ρ2\rho_1=\rho_2, divide it out: A1v1=A2v2=Q\boxed{A_1 v_1 = A_2 v_2 = Q}

Figure — Continuity equation — derivation (conservation of mass), ρAv = const

Worked examples


Common mistakes (steel-manned)


Recall Feynman: explain it to a 12-year-old

Imagine a busy hallway full of kids walking shoulder to shoulder. Where the hallway is wide, kids stroll slowly. Where it squeezes into a narrow doorway, the same number of kids per second still has to pass — so they have to hurry. Water in a pipe is exactly like this: nobody is created or vanishes, so a narrow spot forces the fluid to speed up. Squeeze it, it speeds; widen it, it slows.


Active recall

What physical law is the continuity equation a statement of?
Conservation of mass (no mass created/destroyed).
Write the general continuity equation.
ρ1A1v1=ρ2A2v2=const\rho_1 A_1 v_1 = \rho_2 A_2 v_2 = \text{const} (mass flow rate constant).
What form holds for incompressible fluids and why?
A1v1=A2v2A_1 v_1 = A_2 v_2, because ρ\rho is constant and cancels.
In a narrowing pipe, does the fluid speed up or slow down?
Speeds up; v1/Av \propto 1/A.
If radius halves (incompressible), what happens to speed?
Speed becomes 4× (v1/r2v\propto 1/r^2).
What is the volume flow rate QQ and its units?
Q=AvQ = Av, units m³/s.
Why can't you use A1v1=A2v2A_1v_1=A_2v_2 for a compressing gas?
Because ρ\rho changes; only ρAv\rho A v (mass flow) is conserved.
Derive distance a fluid slab moves in time Δt\Delta t at speed vv.
Δx=vΔt\Delta x = v\,\Delta t, so volume =AvΔt=A v\,\Delta t, mass =ρAvΔt=\rho A v\,\Delta t.
What quantity is conserved for ALL fluids (compressible too)?
Mass flow rate m˙=ρAv\dot m=\rho A v.

Connections

  • Bernoulli's equation — continuity gives the speeds Bernoulli needs.
  • Volume flow rate and discharge
  • Incompressible vs compressible flow
  • Conservation of mass — parent principle.
  • Venturi meter — direct application of A1v1=A2v2A_1v_1=A_2v_2.
  • Streamlines and stream tubes

Concept Map

implies

no accumulation

track slab in dt

area x length

density x volume

equate at 2 sections

cancel dt

rho constant

volume flow rate

narrow means fast

Conservation of mass

Mass in = mass out per second

Steady state box

Slab distance = v dt

Volume = A v dt

Mass = rho A v dt

rho1 A1 v1 = rho2 A2 v2

Mass flow rate rho A v = const

Incompressible: A1 v1 = A2 v2

Q = A v = const

v2 over v1 = A1 over A2

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, continuity equation ka core idea bilkul simple hai: fluid na to create hota hai na destroy. Jitna mass har second pipe ke ek section se andar jaa raha hai, utna hi mass dusre section se bahar nikalna chahiye — warna fluid kahin jam ho jata ya gayab ho jata. Isi conservation of mass ko maths me likhte hain: ρAv=constant\rho A v = \text{constant}. Yahan ρ\rho density, AA cross-section area, aur vv speed hai.

Derivation samajhna easy hai. Time Δt\Delta t me fluid vΔtv\,\Delta t distance chalta hai, to volume AvΔtA v\,\Delta t banta hai, aur mass ρAvΔt\rho A v\,\Delta t. Section 1 ka mass = section 2 ka mass, Δt\Delta t cancel kar do, ho gaya ρ1A1v1=ρ2A2v2\rho_1 A_1 v_1 = \rho_2 A_2 v_2. Agar fluid incompressible hai (jaise paani), to ρ\rho same hai, cancel ho jaata hai, aur bachta hai A1v1=A2v2A_1 v_1 = A_2 v_2.

Iska practical matlab: jahan pipe patli hoti hai (chhota AA), wahan fluid tez bhaagta hai (bada vv). Yahi reason hai ki hose ke aage angootha lagao to paani zor se chhoot ta hai. Bas yaad rakhna — area r2r^2 ke proportional hota hai, to radius aadha karne par speed 4 guna ho jaati hai.

Ek important warning: gases ke liye, jahan density change hoti hai (compression), AvA v wala short form mat use karna — wahan poora ρAv\rho A v (mass flow rate) hi conserve hota hai. Exam me yeh trap aksar aata hai, isliye hamesha pehle decide karo fluid compressible hai ya nahi.

Go deeper — visual, from zero

Test yourself — Fluid Mechanics

Connections