Skip to content

Fluid Dynamics


We model fluids as continua: even though matter is made of molecules, we imagine a fluid “particle” or “parcel” as a blob small compared to the apparatus but large compared to molecular spacing, so that ρ\rho, pp, and v⃗\vec v are smooth functions. This is the continuum hypothesis, and you can assume it is always true for most olympiad problems.

Two idealizations are usually assumed for fluids:

  • Incompressible: ρ\rho is constant. Liquids are nearly incompressible; gases are too, as long as flow speeds are well below the speed of sound. Assume incompressible unless told otherwise.
  • Inviscid (ideal): internal friction (viscosity) is negligible. This is the assumption behind Bernoulli’s equation. Real fluids are viscous, and we treat that separately at the end.

Density is mass per volume, ρ=m/V\rho = m/V. For water, ρ≈1000 kg/m3\rho \approx 1000\ \text{kg/m}^3; for air at room conditions, ρ≈1.2 kg/m3\rho \approx 1.2\ \text{kg/m}^3.

Pressure is the normal force per unit area that a fluid exerts on any surface in contact with it:

p=F⊥A,[p]=Pa=N/m2.p=\frac{F_\perp}{A},\qquad [p]=\text{Pa}=\text{N/m}^2.

The crucial property of pressure in a fluid at rest is that it is isotropic: the pressure at a point is the same in all directions. The force on any surface element is dF=p dAdF=p\,dA (a generalization of F=PAF=PA) directed along the inward normal, regardless of the surface’s orientation.

The isotropy argument fails once the fluid moves with shear, or once viscosity matters, then pressure is only the isotropic part of a more general stress, and the off-diagonal (shear) stresses are nonzero. Keep that in the back of your mind for the viscosity section.


Consider a fluid at rest in a gravitational field g⃗=−gz^\vec g = -g\hat z. Take a thin horizontal slab of fluid of area AA and thickness dzdz. Three vertical forces act: pressure pushing up on the bottom pApA, pressure pushing down on the top (p+dp)A(p+dp)A, and weight ρgA dz\rho g A\,dz downward. Equilibrium gives

pA−(p+dp)A−ρgA dz=0⟹ dpdz=−ρg .pA-(p+dp)A-\rho g A\,dz=0 \quad\Longrightarrow\quad \ \frac{dp}{dz}=-\rho g\ .

Pressure increases as you go down. For an incompressible fluid with ρ\rho constant, integrating from the surface (depth 00, pressure p0p_0) to depth hh:

p(h)=p0+ρgh.p(h)=p_0+\rho g h.

Two major consequences come from this that are both worth memorizing:

  • Pressure depends only on depth, not on the shape of the container or the amount of fluid above (the hydrostatic paradox). A thin tube and a wide reservoir filled to the same height have the same bottom pressure.
  • Connected fluid at the same height has the same pressure (provided it’s the same continuous fluid). This is the workhorse principle for manometer and U-tube problems: pick a horizontal level that lies in a single connected body of one fluid, and set the pressures on the two sides equal.

Compressible case: the isothermal atmosphere

Section titled “Compressible case: the isothermal atmosphere”

When ρ\rho varies, you must integrate the differential equation. For an ideal gas at uniform temperature TT, ρ=pM/(RT)\rho = pM/(RT) (with molar mass MM), so

dpdz=−MgRT p⟹p(z)=p0 e−Mgz/RT.\frac{dp}{dz}=-\frac{Mg}{RT}\,p \quad\Longrightarrow\quad p(z)=p_0\,e^{-Mgz/RT}.

This exponential “barometric formula” is the standard USAPhO compressible-static result. The scale height H=RT/Mg≈8 kmH=RT/Mg \approx 8\ \text{km} for air sets how fast pressure drops with altitude. (A real atmosphere has a temperature gradient; that gives a power law instead, a nice extension problem.)

Pascal’s principle and the hydraulic press

Section titled “Pascal’s principle and the hydraulic press”

Theorem (Pascal’s principle). A pressure change applied to an enclosed incompressible fluid is transmitted undiminished to every point.

In a hydraulic press, a small piston of area A1A_1 and a large piston of area A2A_2 share the same fluid pressure, so

F1A1=F2A2⟹F2=F1A2A1.\frac{F_1}{A_1}=\frac{F_2}{A_2}\quad\Longrightarrow\quad F_2=F_1\frac{A_2}{A_1}.

Force is multiplied by the area ratio. Energy is not created: the volume swept is the same, A1d1=A2d2A_1 d_1=A_2 d_2, so the small piston moves a large distance while the large piston barely moves, and F1d1=F2d2F_1 d_1=F_2 d_2. This is the fluid version of a lever.

A barometer (Torricelli’s) is a sealed inverted tube of mercury; vacuum sits above the column, so atmospheric pressure supports the column: patm=ρHgghp_{\text{atm}}=\rho_{\text{Hg}}gh. At sea level h≈760 mm Hgh\approx 760\ \text{mm Hg}.

A U-tube manometer measures a pressure difference. The trick is always the same: find a horizontal level entirely within one continuous fluid and equate the pressures computed from each side.

Example. A U-tube is partly filled with water (ρw\rho_w). Oil of density ρo<ρw\rho_o<\rho_w is poured into the left arm, forming a column of height hoh_o above the water. The water rises in the right arm. Find the height difference Δ\Delta between the two water surfaces.

Pick the level of the oil–water interface in the left arm; this lies in the water, which is connected across the bottom. Pressure there from the left = patm+ρoghop_{\text{atm}}+\rho_o g h_o. Pressure at the same height from the right = patm+ρwgΔp_{\text{atm}}+\rho_w g \Delta. Equate:

ρogho=ρwgΔ⟹Δ=ρoρwho.\rho_o g h_o=\rho_w g\Delta\quad\Longrightarrow\quad \Delta=\frac{\rho_o}{\rho_w}h_o.

The denser fluid sits lower; the height ratio is the inverse density ratio.


Imagine the region occupied by a submerged body, but filled with fluid instead. That fluid blob is in equilibrium, so the net pressure force on its boundary exactly balances its weight and points up. The pressure distribution on the boundary doesn’t know whether fluid or a solid sits inside, so the same upward force — the buoyant force — acts on the real body:

 FB=ρfluid g Vdisplaced \ F_B=\rho_{\text{fluid}}\,g\,V_{\text{displaced}}\

directed upward, acting at the center of buoyancy = the centroid of the displaced fluid volume.

A floating body displaces its own weight of fluid: ρbodyVbody=ρfluidVsubmerged\rho_{\text{body}}V_{\text{body}}=\rho_{\text{fluid}}V_{\text{submerged}}, so the submerged fraction equals the density ratio. Ice (ρ≈917\rho\approx 917) floats with about 92%92\% submerged in seawater.

Remark. It’s worth seeing that Archimedes is not a new law. The net upward pressure force on a fully submerged object is

FB=∮(−p n^)⋅z^ dA=−∮p dAz.F_B=\oint (-p\,\hat n)\cdot\hat z\,dA = -\oint p\,dA_z.

By the divergence theorem this equals −∫∂p∂z dV=∫ρfluidg dV=ρfluidgV-\int \frac{\partial p}{\partial z}\,dV=\int \rho_{\text{fluid}}g\,dV=\rho_{\text{fluid}}gV. Same answer, but this form generalizes to non-uniform pressure fields — for instance buoyancy in an accelerating or rotating fluid, where you replace gg by the effective gravity geffg_{\text{eff}}. This knowledge will not be needed for F=ma/USAPhO and is just a nice little extension.

If a container of fluid accelerates, the buoyant force uses the effective gravity. A helium balloon in a car that accelerates forward drifts forward, not backward: in the car frame there’s a pseudo-gravity pointing backward, so the “up” (low-pressure) direction tilts forward, and the light balloon rises toward it. Always ask “which way is the pressure gradient?” rather than relying on intuition.

Stability of floating bodies (the metacenter)

Section titled “Stability of floating bodies (the metacenter)”

A floating body can be in vertical equilibrium yet still tip over. Stability against rotation is governed by the metacenter MM: when the body heels by a small angle, the center of buoyancy BB shifts (because the displaced-volume shape changes), and the buoyant force’s line of action crosses the body’s centerline at MM. If MM lies above the center of gravity GG, the couple restores; if below, it capsizes. The metacentric height GMGM is

GM=IVdisp−BG,GM=\frac{I}{V_{\text{disp}}}-BG,

where II is the second moment of area of the waterline cross-section about the tilt axis and VdispV_{\text{disp}} is the displaced volume. A wide, flat hull (large II) is stable; a tall narrow one tips.


To find the total force and the point where it acts (the center of pressure) on a submerged wall, integrate the pressure.

For a vertical rectangular dam of width ww holding water of depth HH, the pressure at depth yy is ρgy\rho g y, so the strip dydy feels dF=ρgy w dydF=\rho g y\, w\,dy:

F=∫0Hρgy w dy=12ρgwH2.F=\int_0^H \rho g y\,w\,dy=\tfrac12\rho g w H^2.

This is just the average pressure 12ρgH\tfrac12\rho g H times the area wHwH. The center of pressure sits at the centroid of the (triangular) pressure distribution, at depth 23H\tfrac23 H — below the centroid of the wall because pressure is heavier at the bottom. The torque about the base,

τ=∫0Hρgy w (H−y) dy=ρgwH36,\tau=\int_0^H \rho g y\,w\,(H-y)\,dy=\frac{\rho g w H^3}{6},

is what you’d use for a hinged gate problem.


At a liquid’s surface, molecules have fewer neighbors than in the bulk, so creating surface area costs energy. Surface tension γ\gamma is that energy per area, equivalently a force per length along the surface:

γ=energyarea=forcelength,[γ]=N/m.\gamma=\frac{\text{energy}}{\text{area}}=\frac{\text{force}}{\text{length}},\qquad [\gamma]=\text{N/m}.

For water, γ≈0.073 N/m\gamma\approx 0.073\ \text{N/m}.

A curved liquid surface has higher pressure on its concave (inside) side. Balancing the surface-tension pull around the rim against the pressure difference across a curved interface gives the Young–Laplace equation:

Δp=γ(1R1+1R2).\Delta p=\gamma\left(\frac{1}{R_1}+\frac{1}{R_2}\right).

Two important special cases:

  • Spherical droplet (one surface, radius RR):  Δp=2γR\ \Delta p=\dfrac{2\gamma}{R}.
  • Soap bubble (two surfaces, inside and outside):  Δp=4γR\ \Delta p=\dfrac{4\gamma}{R}.

Smaller bubbles have higher internal pressure — which is why, if you connect a small and a large soap bubble, the small one empties into the large one.

Where liquid, solid, and air meet, the liquid makes a contact angle θ\theta set by the balance of the three surface tensions (Young’s relation). In a thin tube of radius rr, the curved meniscus produces a Laplace pressure that lifts (or depresses) a column of height hh. Balancing the upward surface-tension force 2πrγcos⁡θ2\pi r\gamma\cos\theta against the weight ρgπr2h\rho g \pi r^2 h of the lifted column gives Jurin’s law:

 h=2γcos⁡θρgr\ h=\frac{2\gamma\cos\theta}{\rho g r}

Water (θ≈0\theta\approx 0) climbs; mercury (θ>90∘\theta>90^\circ) is pushed down. Rise is inversely proportional to tube radius, the basis of capillary action in plants and paper towels.


Now suppose the fluid moves. We describe flow by the velocity field v⃗(r⃗,t)\vec v(\vec r,t).

  • Streamlines are curves everywhere tangent to v⃗\vec v. In steady flow (∂/∂t=0\partial/\partial t=0) streamlines are fixed and coincide with the paths fluid parcels actually follow. Most fluid dynamic problems you see are governed by streamlines.
  • Laminar flow is smooth and layered; turbulent flow is chaotic and mixing. The one that occurs is governed by the Reynolds number (talked about later).

Theorem (Continuity equation). Mass cannot accumulate in a steady flow, so the mass flow rate m˙=ρAv\dot m=\rho A v is the same through every cross-section of a streamtube. For an incompressible fluid (ρ\rho constant):

 A1v1=A2v2 (volume flow rate Q=Av=const).\ A_1 v_1 = A_2 v_2\ \qquad(\text{volume flow rate } Q=Av=\text{const}).

Narrow the pipe and the fluid speeds up. This is exact for incompressible steady flow and is half of almost every flow problem.


Bernoulli is energy conservation for a fluid parcel along a streamline.

Proof (Bernoulli’s equation). Consider fluid in a thin streamtube between sections 1 and 2. In time dtdt, a slug of volume dVdV effectively disappears at section 1 and reappears at section 2 (steady flow). Mass conservation: dm=ρ dVdm=\rho\,dV is the same at both ends.

The net work done on the slug:

  • Pressure pushing it in at 1: +p1A1(v1 dt)=p1 dV+p_1 A_1 (v_1\,dt)=p_1\,dV.
  • Pressure resisting at 2: −p2A2(v2 dt)=−p2 dV-p_2 A_2 (v_2\,dt)=-p_2\,dV.
  • Gravity, as it rises from y1y_1 to y2y_2: −dm g(y2−y1)-dm\,g(y_2-y_1).

This equals the change in kinetic energy 12dm(v22−v12)\tfrac12 dm(v_2^2-v_1^2). Dividing through by dVdV and using dm/dV=ρdm/dV=\rho:

p1+12ρv12+ρgy1=p2+12ρv22+ρgy2.p_1+\tfrac12\rho v_1^2+\rho g y_1=p_2+\tfrac12\rho v_2^2+\rho g y_2.

Hence along a streamline,

 p+12ρv2+ρgy=const\ p+\tfrac12\rho v^2+\rho g y=\text{const}

Each term is an energy per unit volume: pp is “flow work,” 12ρv2\tfrac12\rho v^2 is kinetic, ρgy\rho g y is potential. The headline physics: where a fluid moves faster, its pressure is lower (at the same height). That single sentence explains lift, the Venturi meter, the curveball, and why shower curtains billow inward.

A tank of fluid with a small hole at depth hh below the surface. Apply Bernoulli from the (slow, open) top surface to the (fast, open) jet. Both are at atmospheric pressure, and if the tank is wide the surface barely moves (vtop≈0v_{\text{top}}\approx 0):

patm+ρgh=patm+12ρv2⟹ v=2gh .p_{\text{atm}}+\rho g h = p_{\text{atm}}+\tfrac12\rho v^2 \quad\Longrightarrow\quad \ v=\sqrt{2gh}\ .

The efflux speed is the same as if the fluid had free-fallen the height hh. A few standard extensions:

  • Range of the jet from a hole at height yy in a tank of depth HH: the jet leaves horizontally with v=2g(H−y)v=\sqrt{2g(H-y)} and falls for time t=2y/gt=\sqrt{2y/g}, landing at x=2y(H−y)x=2\sqrt{y(H-y)}. This is maximized at y=H/2y=H/2, and holes symmetric about the midpoint land at the same spot.
  • Draining time: combine Torricelli with continuity (Atank h˙=−Ahole2ghA_{\text{tank}}\,\dot h = -A_{\text{hole}}\sqrt{2gh}) and integrate to find how long a tank takes to empty — the level drops as h\sqrt{h}, giving a finite emptying time.
  • Vena contracta: real jets contract just past the hole to about 62%62\% of the hole area, so the actual flow rate is lower than the ideal A2ghA\sqrt{2gh}.

A horizontal pipe narrows from area A1A_1 to A2A_2. Continuity speeds the fluid up in the throat; Bernoulli then says the throat pressure drops. Combining A1v1=A2v2A_1v_1=A_2v_2 with Bernoulli (same height):

p1−p2=12ρ(v22−v12)⟹v1=A22(p1−p2)ρ(A12−A22).p_1-p_2=\tfrac12\rho(v_2^2-v_1^2) \quad\Longrightarrow\quad v_1=A_2\sqrt{\frac{2(p_1-p_2)}{\rho(A_1^2-A_2^2)}}.

Measuring the pressure drop (e.g. with a side manometer) gives the flow rate. The same effect, fast flow, low pressure, runs aspirators, carburetors, and atomizers.

A Pitot tube measures flow speed. One opening faces the flow and stagnates it (v=0v=0, stagnation pressure p0=p+12ρv2p_0=p+\tfrac12\rho v^2); another is parallel to the flow and reads the static pressure pp. The difference is the dynamic pressure 12ρv2\tfrac12\rho v^2, so

v=2(p0−p)ρ.v=\sqrt{\frac{2(p_0-p)}{\rho}}.

This is how aircraft measure airspeed.


Energy (Bernoulli) is only half the toolkit. Many problems — thrust, the force of a jet on a wall, propulsion — are momentum problems and are best handled by Newton’s second law in the form

F⃗net=dp⃗dt=m˙ Δv⃗,\vec F_{\text{net}}=\frac{d\vec p}{dt}=\dot m\,\Delta \vec v,

where m˙=ρAv\dot m=\rho A v is the mass flow rate and Δv⃗\Delta\vec v is the change in velocity the fluid undergoes. This is the momentum-flux or control-volume method: draw a box, add up the momentum flowing in and out, and that net rate equals the external force. Note that the derivative is on the mass term instead of the velocity term for fluids.

This same reasoning gives rocket/jet thrust (F=m˙ vexhaustF=\dot m\,v_{\text{exhaust}}) and the force needed to hold a bent pipe carrying flowing water. Whenever a problem asks for a force on a moving fluid (rather than a speed or pressure), use momentum flux, not Bernoulli.


Real fluids resist shear. The viscosity μ\mu (units Pa⋅s\text{Pa·s}) relates shear stress to the velocity gradient between fluid layers (Newton’s law of viscosity):

τ=μ dvdy.\tau = \mu\,\frac{dv}{dy}.

A fluid obeying this with constant μ\mu is a Newtonian (water, air) fluid. Near a solid wall the fluid sticks to it, the no-slip condition, v=0v=0 at the wall, which is what makes viscous problems have velocity profiles rather than plug flow.

For steady laminar flow of a Newtonian fluid through a circular pipe of radius RR and length LL under pressure difference Δp\Delta p, balancing the pressure force on a coaxial cylinder of radius rr against the viscous drag on its surface gives a parabolic velocity profile v(r)=Δp4μL(R2−r2)v(r)=\frac{\Delta p}{4\mu L}(R^2-r^2). Integrating over the cross-section gives the volume flow rate (Poiseuille’s law):

 Q=πR4 Δp8μL\ Q=\frac{\pi R^4\,\Delta p}{8\mu L}

A small sphere of radius aa moving slowly at speed vv through a viscous fluid feels drag

Fdrag=6πμav(Stokes’ law, valid at low Reynolds number).F_{\text{drag}}=6\pi\mu a v\qquad(\text{Stokes' law, valid at low Reynolds number}).

A sphere falling through fluid reaches terminal velocity when drag + buoyancy balance weight:

43πa3ρsphereg=6πμavt+43πa3ρfluidg ⟹vt=2a2g(ρsphere−ρfluid)9μ.\tfrac{4}{3}\pi a^3\rho_{\text{sphere}}g = 6\pi\mu a v_t + \tfrac{4}{3}\pi a^3\rho_{\text{fluid}}g \ \Longrightarrow v_t=\frac{2a^2 g(\rho_{\text{sphere}}-\rho_{\text{fluid}})}{9\mu}.

Whether flow is laminar or turbulent, and which drag law applies, is governed by the dimensionless Reynolds number:

Re=ρvLμ=inertial forcesviscous forces,\mathrm{Re}=\frac{\rho v L}{\mu}=\frac{\text{inertial forces}}{\text{viscous forces}},

with LL a characteristic length. Low Re\mathrm{Re} (thick fluid, small/slow object): viscosity dominates, flow is laminar, Stokes drag ∝v\propto v. High Re\mathrm{Re}: inertia dominates, flow becomes turbulent, and drag goes as

Fdrag=12CD ρAv2,F_{\text{drag}}=\tfrac12 C_D\,\rho A v^2,

quadratic in speed, with a drag coefficient CDC_D. The crossover in a pipe is around Re≈2300\mathrm{Re}\approx 2300.

Dimensional analysis deserves emphasis because it cracks many fluid problems with no calculation. If you suspect drag depends on ρ\rho, vv, LL, μ\mu, the only dimensionless group is Re\mathrm{Re}, so the drag must take the form F=ρv2L2 f(Re)F=\rho v^2 L^2\, f(\mathrm{Re}) for some unknown function ff. The two limits above are just the small- and large-Re\mathrm{Re} behaviors of ff. The Buckingham Pi theorem formalizes this: nn variables built from kk independent dimensions form n−kn-k independent dimensionless groups, and any physical law relates only those groups. On the olympiad, when you don’t know the governing equation, list the variables, find the dimensionless combinations, and you’re often most of the way to the answer. (See also the Math Tricks and Problem Solving Techniques notes.)


A quick decision tree for what tool to grab: