What this course is, and how to use it
This is the seventh course in University Mechanical Engineering: fluid mechanics 流体力学. It is about how liquids and gases push on surfaces, carry momentum and lose energy. One example runs through the whole course: a cooling-water loop driven by the Course 6 drive shaft, with one pump, one 80 mm pipe and one tank.
Scope. This is a study course, not a degree. The fluids are water at 20 °C ($\rho = 998\ \mathrm{kg/m^3}$, $\mu = 1.002 \times 10^{-3}\ \mathrm{Pa\,s}$) and air ($\rho = 1.204\ \mathrm{kg/m^3}$), with $g = 9.81\ \mathrm{m/s^2}$. Every number in this handout has been checked by recalculation.
- Unit 7.1 keeps the fluid still: pressure, and the forces it puts on walls.
- Units 7.2–7.3 let it move: control volumes, then Bernoulli and flow meters.
- Unit 7.4 makes problems smaller with dimensionless groups.
- Units 7.5–7.6 add friction: inside pipes, then around bodies.
The habit for the whole course: write down the assumptions before the equation. Is the flow steady? Is there friction? Are you moving along a streamline or across one? Bernoulli is the most misused equation in engineering, because people skip this step.
Fluid properties and statics
Why it matters. The loop's header tank, its access gate and every pressure gauge on the pipe are worked with hydrostatics 流体静力学. It is the one part of fluid mechanics that is exact.

The idea, with a picture. A fluid at rest carries no shear stress. So its pressure acts equally in all directions, and it grows with depth: $dp/dz = -\rho g$, which gives $p = p_0 + \rho g h$. On a flat wall the pressure forms a pressure prism 压力棱柱. Its resultant is $F = \rho g h_c A$: the pressure at the centroid depth $h_c$ times the area. This force acts at the centre of pressure 压力中心, which is always below the centroid.

Viscosity, the property statics ignores. Once the fluid moves, its viscosity 黏度 $\mu$ sets the shear stress: $\tau = \mu\,du/dy$ (Newton's law of viscosity). The unit is $\mathrm{Pa\,s} = \mathrm{N\,s/m^2}$. For example, a plate sliding at $2\ \mathrm{m/s}$ on a $0.5\ \mathrm{mm}$ oil film with $\mu = 0.29\ \mathrm{Pa\,s}$ feels $\tau = 0.29 \times 2/0.0005 = \mathbf{1160}$ Pa. The kinematic viscosity 运动黏度 is $\nu = \mu/\rho$ ($1.004 \times 10^{-6}\ \mathrm{m^2/s}$ for water). It is the one used in Reynolds numbers.
The derivation (why the centre of pressure is lower). Measure $y$ along the wall down from the line where the wall meets the surface (on a vertical wall $y$ is the depth, and $y_c$ is the centroid's $y$). Take moments of the pressure about that line: $\int \rho g y \cdot y\,dA = \rho g I_O$. Divide by $F = \rho g y_c A$ and use the parallel-axis theorem $I_O = I_c + y_c^2A$:
The extra term gets smaller as the gate goes deeper. A deep gate is loaded almost evenly.
Worked example 1: the tank gate. A vertical rectangular gate is $1.2\ \mathrm{m}$ wide and $2\ \mathrm{m}$ high. Its top edge is $1.5\ \mathrm{m}$ below the surface.
- Centroid depth $h_c = 2.5$ m and $A = 2.4\ \mathrm{m^2}$, so $F = 998 \times 9.81 \times 2.5 \times 2.4 = \mathbf{58.7}$ kN.
- $I_c = bh^3/12 = 0.8\ \mathrm{m^4}$, so $y_{cp} = 2.5 + 0.8/(2.5 \times 2.4) = \mathbf{2.633}$ m.
- The force acts 133 mm below the centroid. The hinge or latch must be designed for it there.
Worked example 2: the differential manometer. A mercury U-tube (SG 13.6: specific gravity 比重, the density compared with water) across a pipe fitting reads $\Delta h = 120$ mm. The water above the mercury is the same on both sides, except over the height $\Delta h$. So $\Delta p = (\rho_m - \rho)g\Delta h = (13.6 - 1) \times 998 \times 9.81 \times 0.12 = \mathbf{14.8}$ kPa. If you used $\rho_m$ alone and forgot the water column, the answer would be 8% too high.
Common mistakes. Putting the force at the centroid instead of the centre of pressure. Mixing gauge and absolute pressure in one equation. Forgetting the fluid above the manometer liquid.
Summary. $p = p_0 + \rho gh$; $F = \rho g h_c A$, acting at $y_{cp} = y_c + I_c/(y_cA)$; $\Delta p = (\rho_m - \rho)g\Delta h$; $\tau = \mu\,du/dy$.
Conservation and control volumes
Why it matters. The hose nozzle on the loop's wash-down line, and every bend in the pipe, must be held in place. The holding force comes from momentum as well as pressure. The clear way to find it is a control volume 控制体积.
The idea, with a picture. Draw a boundary, then count what crosses it. For steady flow with one inlet and one outlet:
- mass (continuity 连续性方程): $\rho_1 V_1 A_1 = \rho_2 V_2 A_2$, so for an incompressible liquid $Q = V_1A_1 = V_2A_2$;
- momentum: $\sum \mathbf{F} = \dot m(\mathbf{V}_2 - \mathbf{V}_1)$. Here $\sum\mathbf{F}$ includes the pressure forces on the cut faces and the force from the solid walls.

The derivation (where the momentum equation comes from). It is Newton's second law for the fluid inside the boundary. The momentum inside does not change in steady flow, so the sum of the external forces equals the momentum flowing out minus the momentum flowing in: $\dot m V_2 - \dot m V_1$. You choose the boundary. Cut where you know the pressure and velocity, and through the bolts whose force you want.
Worked example 1: the nozzle bolts. Water at $Q = 12\ \mathrm{L/s}$ enters an 80 mm pipe and leaves a 30 mm nozzle as a free jet.
- $A_1 = 5.027 \times 10^{-3}\ \mathrm{m^2}$, so $V_1 = \mathbf{2.39}$ m/s; $A_2 = 7.069 \times 10^{-4}\ \mathrm{m^2}$, so $V_2 = \mathbf{17.0}$ m/s.
- Bernoulli from the inlet to the jet ($p_2 = 0$ gauge) gives $p_1 = \tfrac{1}{2}\rho(V_2^2 - V_1^2) = \mathbf{141}$ kPa.
- Momentum in x on the fluid: $p_1A_1 + F_{\text{nozzle on fluid}} = \rho Q(V_2 - V_1)$, so $F = 174.7 - 708.6 = -533.9$ N.
- So the fluid pushes the nozzle downstream with 534 N, and the flange bolts carry it in tension. The pressure term ($709$ N) is larger than the jet's momentum gain ($175$ N).
Worked example 2: a 90° bend. The same $12\ \mathrm{L/s}$ turns through 90° in the 80 mm pipe at $150\ \mathrm{kPa}$ gauge. Losses are neglected, so $p$ and $V$ are the same at both ends.
- Each direction carries $pA + \rho QV = 754.0 + 28.6 = \mathbf{782.6}$ N.
- The anchor must hold the resultant $\sqrt{2} \times 782.6 = \mathbf{1107}$ N at 45°.
- At this speed pressure is the main load. That is why bends in high-pressure, low-velocity lines still need thrust blocks.
Common mistakes. Leaving the pressure forces on the cut faces out of $\sum F$. Using gauge pressure on one face and absolute pressure on the other. Giving the force on the fluid when the question asks for the force on the pipe (it is equal and opposite).
Summary. $Q = VA$ stays the same along the pipe; $\sum F = \dot m(V_2 - V_1)$, one component at a time; cut where $p$ and $V$ are known; the pipe feels the reverse of the force on the fluid.
Bernoulli and flow measurement
Why it matters. The loop's flow is measured by a venturi, and the air speed in a duct by a pitot tube. Both use Bernoulli 伯努利方程 with a correction factor, and choosing that factor is the engineering part.

The idea, with a picture. Along a streamline 流线, for steady, incompressible flow with no friction and no pump or turbine:
When the speed goes up, the pressure goes down. There are four assumptions, and you should check each one before you use the equation.

The derivation (the venturi equation). Continuity gives $V_1 = V_2\beta^2$, with $\beta = D_2/D_1$. Put this into Bernoulli between the two pressure taps: $\Delta p = \tfrac12\rho V_2^2(1 - \beta^4)$. So
The discharge coefficient 流量系数 $C_d$ covers what Bernoulli leaves out: friction, and the jet narrowing after an orifice (the vena contracta). It is about 0.98 for a venturi and about 0.61 for a sharp-edged orifice plate.
Worked example 1: the venturi. An 80 mm pipe narrows to a 40 mm throat ($\beta = 0.5$, $1 - \beta^4 = 0.9375$). The manometer from unit 7.1 reads $\Delta p = 14.8$ kPa.
- Ideal flow: $Q_i = 1.257 \times 10^{-3}\sqrt{2 \times 14\,803/(998 \times 0.9375)} = \mathbf{7.07}$ L/s.
- Real flow with $C_d = 0.98$: $Q = \mathbf{6.93}$ L/s.
- An orifice plate with the same reading would pass much less flow. The coefficient, not the equation, describes the device.
Worked example 2: the pitot tube. In an air duct, a pitot-static tube reads $450$ Pa between its stagnation and static ports. At the tip the air stops ($V = 0$), so $\Delta p = \tfrac12\rho V^2$ and $V = \sqrt{2 \times 450/1.204} = \mathbf{27.3}$ m/s. This is valid while the air behaves as incompressible: Mach number below about 0.3 (here it is 0.08).
Common mistakes. Using Bernoulli across a pump, or through a part of the flow with large losses. Forgetting $1 - \beta^4$ (a 3% error at $\beta = 0.5$, and larger as $\beta$ grows). Using $C_d = 1$ for an orifice.
Summary. $p/\rho g + V^2/2g + z$ is constant along a streamline, under four assumptions; meters measure $\Delta p$ and turn it into flow with continuity and $C_d$; for a pitot tube, $V = \sqrt{2\Delta p/\rho}$.
Dimensional analysis
Why it matters. The drag on a new sensor pod cannot be calculated from first principles, and a full-size test is expensive. Dimensional analysis 量纲分析 shows which few groups matter. Then a small, cheap test can predict the full-size result.

The idea, with a picture. The Buckingham Pi theorem π定理 says that $n$ variables built from $k$ base dimensions combine into $n - k$ dimensionless groups. The drag on a sphere depends on $F, \rho, V, D, \mu$: 5 variables and 3 dimensions (M, L, T). So $2$ groups are enough:
The Reynolds number 雷诺数 compares inertia forces with viscous forces. For smooth spheres in incompressible flow, a measured curve of $C_D$ against $Re$ can be used for dynamically similar flows.

The derivation (repeating variables). Choose $\rho, V, D$ as the repeating variables; together they contain M, L and T. Make $F\rho^aV^bD^c$ dimensionless: $a = -1$, $b = -2$, $c = -2$, which gives $F/(\rho V^2D^2)$. Doing the same with $\mu$ gives $\mu/(\rho VD) = 1/Re$. Any correct physical law must be a relation between these groups.
Worked example 1: the model test. A sensor pod $0.5$ m long flies at $20$ m/s in air ($\nu = 1.516 \times 10^{-5}\ \mathrm{m^2/s}$), so $Re = 6.60 \times 10^5$. A half-scale model is tested in a water tunnel ($\nu = 1.004 \times 10^{-6}$). For dynamic similarity 动力相似 it needs the same $Re$: $V_m = 20 \times (0.5/0.25) \times (1.004 \times 10^{-6}/1.516 \times 10^{-5}) = \mathbf{2.65}$ m/s. Water's low $\nu$ lets the model run slowly.
Worked example 2: scaling the force back. The model measures $F_m = 30$ N. The same $Re$ gives the same $C_D$, so $F_p = F_m(\rho_p/\rho_m)(V_p/V_m)^2(L_p/L_m)^2 = 30 \times (1.204/998) \times (20/2.65)^2 \times 4 = \mathbf{8.25}$ N.
The same tool works for the loop. Its pipe flow has $Re = VD/\nu = 2.39 \times 0.08/1.004 \times 10^{-6} = \mathbf{1.90 \times 10^5}$. This is far above 2300, so the flow is turbulent; unit 7.5 needs this.
Common mistakes. Matching the shape but not $Re$ (geometric similarity alone is not enough). Trying to match $Re$ and the Froude number at the same time with the same fluid: usually this is impossible, so choose the group that controls the flow. Using $\mu$ where $\nu$ is meant.
Summary. $n - k$ groups; $C_D = \phi(Re)$; match $Re$ for dynamic similarity; pipe flow is laminar below about $Re = 2300$ and turbulent above about 4000.
Pipe flow and losses
Why it matters. The loop's pump must be chosen against the friction of the pipe and its fittings. If the estimate is too low, the loop does not get enough flow. If it is too high, the pump wastes power for its whole life.

The idea, with a picture. The energy equation between two points now includes a head loss 水头损失 $h_L$:
- major loss 沿程损失 along the pipe (Darcy–Weisbach): $h_f = f\,(L/D)\,V^2/2g$;
- minor loss 局部损失 in the fittings: $h_m = \sum K\,V^2/2g$.
The friction factor 摩擦系数 $f$ is $64/Re$ for laminar flow. For turbulent flow it depends on $Re$ and on the relative roughness $\varepsilon/D$; you find it from the Colebrook equation or the Moody chart.

The derivation (why laminar $f = 64/Re$). In laminar flow the velocity profile is a parabola. Integrating it gives the Hagen–Poiseuille result $\Delta p = 32\mu LV/D^2$. Writing this in the form $h_f = f(L/D)V^2/2g$ forces $f = 64\mu/(\rho VD) = 64/Re$. Turbulent flow has no such derivation: $f$ comes from experiments, fitted by Colebrook: $1/\sqrt f = -2\log_{10}\!\big(\varepsilon/3.7D + 2.51/(Re\sqrt f)\big)$.
Worked example 1: laminar oil. Oil ($\nu = 1 \times 10^{-4}\ \mathrm{m^2/s}$, $\rho = 870\ \mathrm{kg/m^3}$) flows at $0.5$ m/s in a 20 mm line.
- $Re = \mathbf{100}$, so the flow is laminar and $f = \mathbf{0.64}$.
- Over 10 m: $h_f = 0.64 \times 500 \times 0.01274 = \mathbf{4.08}$ m of oil, that is $\Delta p = \mathbf{34.8}$ kPa.
Worked example 2: the loop and its pump. The loop is 40 m of 80 mm commercial steel pipe ($\varepsilon = 0.045$ mm, $\varepsilon/D = 5.63 \times 10^{-4}$). It has four elbows ($K = 0.3$ each), a gate valve (0.15), an entrance (0.5) and an exit (1.0), so $\sum K = 2.85$. The static lift is 6 m.
- At the design flow of $12$ L/s, $Re = 1.90 \times 10^5$ and Colebrook gives $f = \mathbf{0.0192}$. With $V^2/2g = 0.290$ m: $h_f = 0.0192 \times 500 \times 0.290 = \mathbf{2.79}$ m and $h_m = 2.85 \times 0.290 = \mathbf{0.83}$ m.
- The system needs $H = 6 + 2.79 + 0.83 = \mathbf{9.62}$ m at the design flow.
- The pump curve is $H = 30 - 60\,000\,Q^2$. The system curve is $H = 6 + kQ^2$, with $k \approx 24\,600$ (using $f$ at the new, higher flow).
- The curves cross at $Q = \mathbf{16.8}$ L/s and $H = \mathbf{13.0}$ m. The loop runs 40% above its design flow unless a valve throttles it.
- Water power $\rho gQH = \mathbf{2.14}$ kW. At 70% pump efficiency the shaft must supply $\mathbf{3.06}$ kW, which is within the 5.65 kW that the Course 6 shaft can carry.
Common mistakes. Keeping $f$ fixed when the flow changes. Reading the Moody chart with an $Re$ based on the wrong diameter. Choosing a pump at the design flow without drawing the system curve: the pump runs where the curves cross, not where you wanted it to.
Summary. $h_f = f(L/D)V^2/2g$ and $h_m = \sum KV^2/2g$; $f = 64/Re$ for laminar flow, Colebrook for turbulent flow; the operating point is where the pump curve meets the system curve; shaft power $= \rho gQH/\eta$.
External flow
Why it matters. Wind on the loop's outdoor vent pipe, and the drag on any vehicle, are external flows. The body sits in a stream, and a thin boundary layer 边界层 on its surface controls the drag.


The idea, with a picture. At the wall the fluid does not slip: $u = 0$. Inside the boundary layer the speed rises to the free-stream speed $U$. On a flat plate the laminar layer thickness $\delta$ at a distance $x$ from the front edge grows as $\delta = 5x/\sqrt{Re_x}$, with $Re_x = Ux/\nu$, and it turns turbulent near $Re_x \approx 5 \times 10^5$. Drag has two parts:
- skin friction 摩擦阻力, the shear stress on the surface;
- pressure drag 压差阻力, caused by flow separation 流动分离 behind blunt bodies.
Both go into one coefficient: $F_D = C_D\cdot\tfrac12\rho U^2A$. Lift is written the same way: $F_L = C_L\cdot\tfrac12\rho U^2A$.

The derivation (why $\delta \propto \sqrt{x}$). Viscosity spreads momentum a distance of about $\sqrt{\nu t}$ in time $t$. The fluid reaches station $x$ after $t = x/U$, so $\delta \sim \sqrt{\nu x/U} = x/\sqrt{Re_x}$. The exact Blasius solution sets the constant at about 5.
Worked example 1: the plate in water. A plate $0.5$ m long and $0.3$ m wide sits in water flowing at $0.4$ m/s.
- $Re_L = \mathbf{1.99 \times 10^5}$, so the layer is laminar all the way.
- Thickness at the trailing edge: $\delta = 5 \times 0.5/\sqrt{1.99 \times 10^5} = \mathbf{5.6}$ mm.
- The Blasius skin-friction coefficient (drag divided by $\tfrac12\rho U^2$ times the wetted area) is $C_f = 1.328/\sqrt{Re_L} = \mathbf{0.00298}$, so the drag on one side is $0.5 \times 998 \times 0.16 \times 0.00298 \times 0.15 = \mathbf{0.036}$ N.
- A fully turbulent layer ($C_f = 0.074/Re_L^{0.2} = 0.0064$) would more than double it.
Worked example 2: the vent pipe in wind. A pipe $0.1$ m in diameter and $3$ m tall stands in a $15$ m/s wind.
- $Re = 15 \times 0.1/1.516 \times 10^{-5} = \mathbf{9.89 \times 10^4}$. In this range a cylinder has $C_D \approx 1.2$, mostly from separation.
- Drag $F = 1.2 \times 0.5 \times 1.204 \times 225 \times 0.3 = \mathbf{48.8}$ N.
- The bending moment at the base is $48.8 \times 1.5 = \mathbf{73.1}$ N·m, a load for the bending check of Course 6.
Common mistakes. Using the frontal area for skin-friction drag (it uses the wetted area), or the wetted area for a blunt body (it uses the frontal area). Assuming $C_D$ stays constant through the drag crisis. Trusting a flow picture without knowing its $Re$.
Summary. No slip at the wall creates the boundary layer; $\delta = 5x/\sqrt{Re_x}$ for a laminar layer; $C_f = 1.328/\sqrt{Re_L}$; drag on blunt bodies comes mainly from separation; $F = C\cdot\tfrac12\rho U^2A$.