---
title: Fluid flow
heading: Continuity, Bernoulli, viscosity, and cooling airflow
eyebrow: B1 · Lesson 50 · Fluid flow
xp: 40
---

::: hook
A server pulls in cool air at the front and blows warm air out the back. How much air must its fans move to carry away 200 W without the air warming more than 10 °C? Water speeds up where a pipe narrows and its pressure drops, which is how a venturi flow meter works. And flow through a thin tube obeys a law that looks exactly like Ohm's: pressure difference equals flow times a resistance. Fluid flow is the physics behind every cooling system an electronics designer specifies.
:::

::: play
- Electronics dissipating power $P$ are cooled by air flowing through their enclosure. The curve is how much the air warms on its way through, against the airflow.
- Halve the airflow and the temperature rise doubles: the same heat goes into half as much air.
- The readout converts the flow to cubic feet per minute (CFM), the unit fans are rated in.
:::
:::

```sim plot
view: graph
x: Q = 2..60 L/s
y: dT = 0..60 °C
slider: P = 50..500 step 10 = 200 W
slider: Q0 = 2..60 step 0.5 = 16.6 L/s
plot: P/(1.2*1005*Q/1000) | label: air temperature rise
marker: x = Q0 | label: airflow
readout: temperature rise, °C = P/(1.2*1005*Q0/1000) | digits: 3
readout: airflow, CFM = Q0/0.4719 | digits: 3
```

::: predict
## Water flows at 2 m/s in a 4 cm pipe that narrows to 2 cm. How fast does it flow in the narrow part?

- [ ] 4 m/s
- [x] 8 m/s
- [ ] 1 m/s
- [ ] 2 m/s

::: reveal
8 m/s. The same volume per second has to pass through each section, and the narrow part has a quarter of the area (half the diameter, squared), so the water moves four times as fast. Its pressure drops there, by $\frac12\rho(v_2^2 - v_1^2) = 30$ kPa.
:::
:::

::: nameit
## Continuity

For an incompressible fluid, the **volume flow rate** $Q = Av$ is the same through every cross-section of a pipe:

$$A_1v_1 = A_2v_2$$

Narrow sections run faster. This is the fluid version of Kirchhoff's current law: what flows in must flow out.

## Bernoulli's equation

Along a streamline of steady flow, with no friction,

$$P + \tfrac12\rho v^2 + \rho gh = \text{constant}$$

It's energy conservation per unit volume. Where the fluid speeds up, its pressure falls: the principle of venturi flow meters, airplane wings and the pressure drop across a fan's inlet.

## Viscosity and pipe flow

Real fluids have **viscosity** η: water about $1.0 \times 10^{-3}$ Pa·s, air about $1.8 \times 10^{-5}$ Pa·s. Slow, smooth (laminar) flow through a tube of radius $r$ and length $L$ obeys Poiseuille's law:

$$Q = \frac{\pi r^4}{8\eta L}\Delta P \qquad\Longleftrightarrow\qquad \Delta P = R_hQ, \quad R_h = \frac{8\eta L}{\pi r^4}$$

That's Ohm's law with pressure for voltage, flow for current and a **hydraulic resistance** that falls steeply with radius: halving the radius cuts the flow 16-fold. Hydraulic resistances add in series and combine like resistors in parallel, which is how cooling-plate channels and heat-sink fins are analyzed. Fast flow becomes turbulent, and then the pressure drop grows roughly with $Q^2$.

## Cooling with airflow

Air carrying away power $P$ warms by

$$\Delta T = \frac{P}{\rho c_pQ}$$

with $\rho c_p \approx 1.2 \times 1005 = 1210$ J/(m³·K) for air near room conditions. Fans are rated in CFM: 1 CFM = 0.472 L/s. A fan delivers less than its free-air rating once the enclosure's resistance builds up back pressure; the operating point is where the fan curve meets the system's pressure-drop curve, just like a source driving a load.
:::

::: example
## Electronics dissipate 200 W. How much airflow keeps the air's temperature rise to 10 °C?

::: solution
1. **Airflow.**
   $$\begin{aligned} Q &= \frac{P}{\rho c_p\Delta T} \\ &= \frac{200}{1.2 \times 1005 \times 10} \\ &= 0.0166\ \text{m}^3\text{/s} \end{aligned}$$
   which is 16.6 L/s or 35 CFM.
2. **In practice.** You'd pick fans rated well above that, since back pressure reduces their delivered flow.

**Answer:** 0.0166 m³/s, which is 16.6 L/s or 35 CFM.
:::
:::

::: example
## Water at a 10 kPa pressure difference flows through a 1 m tube of 1 mm radius. What flow results, and what if the radius were 0.5 mm?

::: solution
1. **Hydraulic resistance.**
   $$\begin{aligned} R_h &= \frac{8 \times 10^{-3} \times 1}{\pi(10^{-3})^4} \\ &= 2.55 \times 10^9\ \text{Pa·s/m}^3 \end{aligned}$$
2. **Flow.**
   $$\begin{aligned} Q &= \frac{10^4}{2.55 \times 10^9} \\ &= 3.9 \times 10^{-6}\ \text{m}^3\text{/s} \end{aligned}$$
   about 236 mL per minute.
3. **Half the radius.** Halving the radius multiplies $R_h$ by 16, leaving 15 mL per minute.

**Answer:** about 236 mL per minute, and only 15 mL per minute with a 0.5 mm radius.
:::
:::

::: example
## A Venturi meter narrows a water pipe to a quarter of its area, and the pressure drops by 2 kPa in the throat. How fast is the water moving in the pipe?

::: solution
1. **Continuity.** A quarter of the area makes the throat speed $4v$.
2. **Bernoulli.**
   $$\begin{aligned} \Delta P &= \frac12\rho\left((4v)^2 - v^2\right) \\ &= \frac{15}{2}\rho v^2 \end{aligned}$$
3. **Solve for the speed.**
   $$\begin{aligned} v &= \sqrt{\frac{2 \times 2000}{1000 \times 15}} \\ &= 0.516\ \text{m/s} \end{aligned}$$
4. **Using the meter.** It has no moving parts: a pressure sensor across it measures flow. The square root means the reading's resolution worsens at low flow, where the pressure difference becomes tiny.

**Answer:** the water moves at 0.516 m/s in the pipe.
:::
:::

::: check
given: v1 = 1 | 3; d1 = 4 | 6; d2 = 2 | 3
answer: v1*(d1/d2)^2
unit: m/s
tolerance: 0.5%

## Water at {v1} m/s in a {d1} cm pipe flows into a {d2} cm section. How fast does it move there?

::: right
Right. $v_1\left(\frac{d_1}{d_2}\right)^2$ = {answer}.
:::

::: misses
- [v1*d1/d2] Area goes as the diameter squared.
- [any] Not yet. $A_1v_1 = A_2v_2$.
:::
:::

::: check
given: v1 = 1 | 2; v2 = 4 | 6
answer: 0.5*1000*(v2^2 - v1^2)/1000
unit: kPa
tolerance: 0.5%

## Level water speeds up from {v1} m/s to {v2} m/s through a narrowing. How much does its pressure drop?

::: right
Right. $\frac12\rho(v_2^2 - v_1^2)$ = {answer}.
:::

::: misses
- [0.5*1000*(v2 - v1)^2/1000] Square each speed first, then subtract.
- [any] Not yet. Bernoulli, with no height change.
:::
:::

::: check
given: P = 100 | 300 | 600; dT = 5 | 10 | 15
answer: P/(1.2*1005*dT)*1000
unit: L/s
tolerance: 0.5%

## Equipment dissipates {P} W. What airflow keeps the air's temperature rise to {dT} °C?

::: right
Right. $\frac{P}{\rho c_p\Delta T}$ = {answer}.
:::

::: misses
- [P/(1005*dT)*1000] Include the air's density, 1.2 kg/m³, to get volume flow.
- [any] Not yet. Heat carried = $\rho c_pQ\Delta T$.
:::
:::

::: check
given: P = 150 | 400; Q = 10 | 30
answer: P/(1.2*1005*Q/1000)
unit: °C
tolerance: 0.5%

## A fan pushes {Q} L/s through an enclosure dissipating {P} W. How much does the air warm?

::: right
Right. $\frac{P}{\rho c_pQ}$ = {answer}.
:::

::: misses
- [P/(1.2*1005*Q)] Convert liters per second to cubic meters per second.
- [any] Not yet. $\Delta T = P/(\rho c_pQ)$.
:::
:::

::: check
given: k = 0.5 | 0.6 | 0.8 | 0.9 | 1.1 | 1.5 | 2
answer: k^4
tolerance: 0.5%

## A tube's radius is multiplied by {k}, with the same length and pressure difference. By what factor does laminar flow change?

::: right
Right. $Q \propto r^4$: {answer}.
:::

::: misses
- [k^2] Flow goes as $r^4$, not as the area alone.
- [any] Not yet. Poiseuille: $Q \propto r^4$.
:::
:::

::: check
given: dP = 5 | 20; L = 0.5 | 2; r = 0.5 | 1
answer: dP*1000*pi*(r/1000)^4/(8*1e-3*L)*1e6*60
unit: mL
tolerance: 0.5%

## Water ($\eta$ = 10⁻³ Pa·s) flows through a tube {L} m long with radius {r} mm under a {dP} kPa pressure difference. How many milliliters flow per minute?

::: right
Right. $\frac{\pi r^4\Delta P}{8\eta L}$ = {answer} per minute.
:::

::: misses
- [any] Not yet. Poiseuille's law, then convert to mL per minute.
:::
:::

::: check
kind: parts
given: dP = 1 | 5; r = 2 | 4; d = 2 | 5

## A Venturi meter on a {d} cm water pipe narrows the area by a factor {r}, and the pressure drops {dP} kPa.

::: part
answer: sqrt(2*dP*1000/(1000*(r^2 - 1)))
unit: m/s
tolerance: 0.5%

### How fast does water move in the pipe?

::: misses
- [sqrt(2*dP*1000/1000)] Account for the speed already present in the pipe: $r^2 - 1$.
- [any] Bernoulli with continuity: $\Delta P = \frac12\rho v^2(r^2 - 1)$.
:::
:::

::: part
answer: sqrt(2*dP*1000/(1000*(r^2 - 1)))*pi*(d/200)^2*1000
unit: L/s
tolerance: 0.5%

### What is the flow, in L/s?

::: misses
- [any] Speed times the pipe's area.
:::
:::
:::

::: check
kind: derivation
vars: h = 0.1..10, A = 0.0001..0.01

## Water drains from a tank through a small hole a depth h below the surface.

::: step
answer: sqrt(2*9.8*h)

### How fast does it leave (Torricelli)?
:::

::: step
answer: A*sqrt(2*9.8*h)

### What is the flow through a hole of area A?
:::

::: right
Right. The water leaves as fast as if it had fallen freely through h.
:::
:::

::: explain
## How is laminar pipe flow like current through a resistor?

::: model
In both, a driving difference pushes a flow through something that resists it, and the flow is proportional to the push. For a resistor, current equals voltage over resistance; for a tube, volume flow equals pressure difference over a hydraulic resistance, $8\eta L/(\pi r^4)$. Flow is conserved at junctions as current is, so tubes in series add their resistances and tubes in parallel combine like parallel resistors. The analogy breaks down once flow turns turbulent, when the pressure drop grows faster than the flow.
:::
:::

::: practice

::: check
given: d = 2 | 5; v = 1 | 3
answer: pi*(d/200)^2*v*1000
unit: L/s
tolerance: 0.5%

## Water moves at {v} m/s through a {d} cm pipe. What is the volume flow rate?

::: misses
- [any] $Q = Av$.
:::
:::

::: check
given: cfm = 20 | 50 | 100
answer: cfm*0.4719
unit: L/s
tolerance: 0.5%

## A fan is rated at {cfm} CFM. What is that in liters per second?

::: misses
- [any] 1 CFM = 0.472 L/s.
:::
:::

::: check
given: R1 = 2 | 5; R2 = 3 | 6
answer: R1*R2/(R1 + R2)
tolerance: 0.5%

## Two cooling channels with hydraulic resistances {R1} and {R2} (same units) run side by side. What is their combined resistance?

::: misses
- [R1 + R2] Side by side is parallel.
- [any] Like parallel resistors.
:::
:::
:::
