跳到主要内容

流体力学

大学机械工程知识点 7

本主题的视频课程 打开视频页面
6:02

流体力学

本课程围绕一套设备展开:由第 6 门课程中的传动轴驱动的冷却水循环系统。一台泵、一根 80 毫米的管道、一个水箱。我们从静止的水开始,然后让水流动,接着计算摩擦造成的损失。有一个习惯贯穿每个单元:写方程之前先说明假设。

英文讲解 · 可切换中英文字幕

讲义

English

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 huge curved concrete wall of the Hoover Dam holding back a reservoir
A dam is thickest at its base because hydrostatic pressure grows linearly with depth

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.

Gate and manometer
Pressure grows with depth, so the gate force acts below its centroid; a manometer turns a height into a pressure difference

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$:

$$y_{cp} = y_c + \frac{I_c}{y_c A}$$

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.
Control volume around a nozzle
Draw the control volume where p and V are known: the inlet flange and the free jet

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.

An aircraft pitot tube: the pressure difference between its forward-facing and side ports gives the airspeed through Bernoulli's equation
An aircraft pitot tube: the pressure difference between its forward-facing and side ports gives the airspeed through Bernoulli's equation

The idea, with a picture. Along a streamline 流线, for steady, incompressible flow with no friction and no pump or turbine:

$$\frac{p}{\rho g} + \frac{V^2}{2g} + z = \text{constant}$$

When the speed goes up, the pressure goes down. There are four assumptions, and you should check each one before you use the equation.

Venturi meter
In the throat the speed rises and the pressure head falls; the tapped difference measures the flow

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

$$Q = C_d A_2\sqrt{\frac{2\Delta p}{\rho(1 - \beta^4)}}$$

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.

Five variables F, rho, V, D, mu minus three dimensions M, L, T leave two groups: the drag coefficient and the Reynolds number
Counting Pi groups

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:

$$C_D = \frac{F}{\tfrac12\rho V^2 A} = \phi(Re), \qquad Re = \frac{\rho VD}{\mu} = \frac{VD}{\nu}$$

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.

Sphere drag coefficient
Sphere drag as one dimensionless curve: C_D against Re, with the drag crisis near Re = 3 × 10⁵

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.

A parabolic laminar velocity profile below Re 2300 with f = 64/Re beside a flat-cored turbulent profile whose friction factor depends on Re and roughness
Laminar and turbulent pipe flow

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.

Pump and system curves
The pump curve and the system curve cross at the operating point

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.

A standard calibration model in a wind tunnel: forces measured on a scale model are carried to full size through dimensionless groups
A standard calibration model in a wind tunnel: forces measured on a scale model are carried to full size through dimensionless groups
A streamlined body with attached flow, mostly skin-friction drag, beside a blunt cylinder with separated flow and a wake, mostly pressure drag
Friction drag and pressure 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$.

Boundary layer growth
A laminar boundary layer thickens with distance from the leading edge

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$.

词汇
English 中文 拼音
fluid mechanics/ˈfluːɪd mɪˈkænɪks/ 流体力学 liú tǐ lì xué
hydrostatics/ˌhaɪdrəˈstætɪks/ 流体静力学 liú tǐ jìng lì xué
pressure prism/ˈpreʃə ˈprɪzəm/ 压力棱柱 yā lì léng zhù
centre of pressure/ˈsentə ɒv ˈpreʃə/ 压力中心 yā lì zhōng xīn
viscosity/vɪˈskɒsɪti/ 黏度 nián dù
kinematic viscosity/kaɪnˈmætɪk vɪˈskɒsɪti/ 运动黏度 yùn dòng nián dù
control volume/kənˈtrəʊl ˈvɒljuːm/ 控制体积 kòng zhì tǐ jī
continuity/kɒntɪˈnjuːɪti/ 连续性方程 lián xù xìng fāng chéng
Bernoulli/ˈbɜːnaʊli/ 伯努利方程 bó nǔ lì fāng chéng
streamline/ˈstriːmlaɪn/ 流线 liú xiàn
discharge coefficient/dɪsˈtʃɑːdʒ ˌkəʊɪˈfɪʃənt/ 流量系数 liú liàng xì shù
dimensional analysis/daɪˈmenʃənl əˈnæləsɪs/ 量纲分析 liàng gāng fēn xī
Buckingham Pi theorem/ˈbʌkɪŋəm paɪ ˈθɪərəm/ π定理 π dìng lǐ
Reynolds number/ˈrenəldz ˈnʌmbə/ 雷诺数 léi nuò shù
dynamic similarity/daɪˈnæmɪk ˌsɪmɪˈlærɪti/ 动力相似 dòng lì xiāng sì
head loss/hed lɒs/ 水头损失 shuǐ tóu sǔn shī
major loss/ˈmeɪdʒə lɒs/ 沿程损失 yán chéng sǔn shī
minor loss/ˈmaɪnə lɒs/ 局部损失 jú bù sǔn shī
friction factor/ˈfrɪkʃn ˈfæktə/ 摩擦系数 mó cā xì shù
boundary layer/ˈbaʊndəri ˈleɪə/ 边界层 biān jiè céng
skin friction/skɪn ˈfrɪkʃn/ 摩擦阻力 mó cā zǔ lì
pressure drag/ˈpreʃə dræɡ/ 压差阻力 yā chà zǔ lì
flow separation/fləʊ ˌsepəˈreɪʃn/ 流动分离 liú dòng fēn lí
specific gravity/spəˈsɪfɪk ˈɡrævɪti/ 比重 bǐ zhòng

该知识点的互动课程

逐步完成,配合即时检查练习。

更多 大学机械工程 知识点

登录或创建账户

IGCSE, A-Level & AP