Fluid Mechanics

Learning Objectives

  • Define density, specific gravity, gauge pressure, and absolute pressure in fluid statics.
  • Calculate hydrostatic pressure and apply Pascal's Principle.
  • Understand and apply Archimedes' Principle to buoyancy problems.
  • State the assumptions of ideal fluid flow.
  • Apply the Equation of Continuity, Bernoulli's Equation, and Torricelli's theorem while identifying their assumptions and limitations.
  • Account for pressure head, velocity head, elevation head, and specified head loss without mixing pressure references.

Fluid mechanics is the study of fluids (liquids and gases) both at rest (statics) and in motion (dynamics). It is a foundational subject for civil engineering branches like hydraulics, water resources, and environmental engineering.

Fluid Statics

Fluid Statics Concepts

Fluids differ from solids because they cannot sustain shear stress while at rest. They flow and take the shape of their container.

Density (ρ\rho)

Mass per unit volume. It is a fundamental property. The SI unit is kg/m3\text{kg/m}^3.

Density Equation

Calculates density from mass and volume.

ρ=mV\rho = \frac{m}{V}

Variables

SymbolDescriptionUnit
ρ\rhoDensitykg/m3kg/m^3
mmMasskg
VVVolumem3m^3

Water Density

For water at 4∘C4^\circ\text{C}, ρ≈1000 kg/m3\rho \approx 1000 \text{ kg/m}^3.

Specific Gravity (SG)

The ratio of the density of a substance to the density of a reference substance (usually water). It is a dimensionless number.

Specific Gravity Equation

Ratio of substance density to reference density.

SG=ρsubstanceρwaterSG = \frac{\rho_{\text{substance}}}{\rho_{\text{water}}}

Variables

SymbolDescriptionUnit
SGSGSpecific Gravitydimensionless
ρsubstance\rho_{\text{substance}}Density of the substancekg/m3kg/m^3
ρwater\rho_{\text{water}}Density of waterkg/m3kg/m^3

Pressure (PP)

Pressure (PP) Concepts

Instead of dealing with forces on specific particles (which are constantly moving in a fluid), we deal with pressure.

Pressure (PP)

The magnitude of the normal force exerted by a fluid per unit area of a surface. It is a scalar quantity.

Pressure Equation

Calculates pressure from force and area.

P=FAP = \frac{F}{A}

Variables

SymbolDescriptionUnit
PPPressurePa
FFNormal forceN
AAAream2m^2

Pressure vs. Force

Pressure vs. Force: Pressure acts perpendicular to any surface it contacts. While force is a vector, pressure itself has no direction.

Hydrostatic Pressure

Hydrostatic Pressure Concepts

The pressure at any depth in a stationary liquid depends only on the depth, the density of the liquid, and gravity.

Hydrostatic Equation

Calculates absolute pressure at a given depth.

P=P0+ρghP = P_0 + \rho g h

Variables

SymbolDescriptionUnit
PPAbsolute pressure at depth hPa
P0P_0Pressure at the surface (often atmospheric)Pa
ρ\rhoDensity of the fluidkg/m3kg/m^3
ggAcceleration due to gravitym/s2m/s^2
hhDepth below the surfacem

Pressure and Depth Relationship

This equation shows that pressure increases linearly with depth in an incompressible fluid (like water).

Interactive Simulation

Use this hydrostatic model to see how depth, density, and area control pressure and resultant force.

Hydrostatic Pressure on a Fully Submerged Gate

Concept and model scope

A vertical rectangular gate is constrained to remain fully submerged. Gauge pressure varies linearly with depth; the drawn pressure prism is proportional to p = ρgh, the resultant equals centroid pressure times area, and it acts at the center of pressure.

Model scope: Use the displayed units and idealizations, then verify the governing balance or compatibility equation before interpreting the result.

Gauge pressure · p = ρgh
Fluid density ρ

Fluid density ρ

Fluid density ρ is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 700–1400 kg/m³. Step: 25 kg/m³.

1000 kg/m³
Centroid depth h_c

Centroid depth h_c

Centroid depth h_c is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 1.1–10.0 m. Step: 0.1 m.

5.0 m
Gate height h

Gate height h

Gate height h is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 0.5–6.0 m. Step: 0.1 m.

2.0 m
Gate width b

Gate width b

Gate width b is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 0.5–4.0 m. Step: 0.1 m.

1.5 m

Validity gate

The top edge depth is 4.00 m, so the entire gate remains below the free surface. States with h_c ≤ h/2 are prevented because the fully-submerged formulas would no longer apply.

free surface · gauge p = 0F_R at y_cpside elevation · gate width b = 1.50 m is out of planetop depthh_c
Centroid gauge pressure
49.05 kPa
Resultant force F_R
147.15 kN
Center of pressure y_cp
5.07 m
Gate area A
3.00 m²
Top-edge pressure
39.24 kPa
Bottom-edge pressure
58.86 kPa
Hydrostatic Pressure Distribution and Center of Pressure

For a fully submerged vertical plane area, pressure increases linearly with depth; the resultant is based on centroid pressure and acts below the centroid.

Fully submerged vertical gate with a linear pressure distribution and resultant below the centroid

Pascal's Principle

Pascal's Principle Concepts

If you apply pressure to an enclosed, incompressible fluid, that change in pressure is transmitted undiminished to every part of the fluid and the walls of its container.

Pascal's Principle

Pressure change in an enclosed fluid.

ΔP=constant everywhere\Delta P = \text{constant everywhere}

Variables

SymbolDescriptionUnit
ΔP\Delta PChange in pressurePa

Hydraulic Lifts

This is the principle behind hydraulic lifts. A small force F1F_1 applied over a small area A1A_1 creates a pressure ΔP=F1/A1\Delta P = F_1/A_1. This exact same pressure appears on a larger area A2A_2, producing a much larger force F2F_2.

Hydraulic Lift Force Equation

Calculates the output force of a hydraulic lift given the input force and area ratio.

F2=F1(A2A1)F_2 = F_1 \left( \frac{A_2}{A_1} \right)

Variables

SymbolDescriptionUnit
F2F_2Output force on the larger pistonN
F1F_1Input force on the smaller pistonN
A2A_2Area of the larger pistonm2m^2
A1A_1Area of the smaller pistonm2m^2

Archimedes' Principle (Buoyancy)

Archimedes' Principle (Buoyancy) Concepts

Any object, wholly or partially immersed in a fluid, is buoyed up by a force equal to the weight of the fluid displaced by the object.

Buoyant Force (FBF_B)

Calculates the upward buoyant force on an object in a fluid.

FB=ρfluidVsubmergedgF_B = \rho_{\text{fluid}} V_{\text{submerged}} g

Variables

SymbolDescriptionUnit
FBF_BBuoyant forceN
ρfluid\rho_{\text{fluid}}Density of the fluidkg/m3kg/m^3
VsubmergedV_{\text{submerged}}Submerged volume of the objectm3m^3
ggAcceleration due to gravitym/s2m/s^2

Density and Flotation

Notice that the buoyant force depends on the density of the fluid, not the object, and the volume of the object that is actually submerged (VsubmergedV_{\text{submerged}}).

  • If an object is denser than the fluid (ρobj>ρfluid\rho_{obj} > \rho_{fluid}), it will sink (its weight WobjW_{obj} is greater than the maximum FBF_B).
  • If it is less dense (ρobj<ρfluid\rho_{obj} < \rho_{fluid}), it will float. In equilibrium floating, it displaces a volume of fluid whose weight exactly equals its own total weight (FB=WobjF_B = W_{obj}).

Interactive Simulation

Use this buoyancy model to compare object weight with displaced fluid weight.

Archimedes' Principle & Buoyancy

Concept and model scope

Compare weight with Archimedes buoyancy for a cubic block. Floating states use the equilibrium displaced volume; neutral and sinking states are shown fully immersed before bottom contact, so no unmodeled normal reaction is present.

Model scope: Use the displayed units and idealizations, then verify the governing balance or compatibility equation before interpreting the result.

Floats
Block Density

Block Density

Block Density is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 100–2000 kg/m³. Step: 100 kg/m³.

600 kg/m³
Fluid Density

Fluid Density

Fluid Density is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 500–1500 kg/m³. Step: 100 kg/m³.

1000 kg/m³
Block Volume

Block Volume

Block Volume is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 0.5–3.0 m³. Step: 0.5 m³.

1.0 m³
Governing Relations
WeightW=ρobjVgW = \rho_{obj} V g
Buoyant ForceFB=ρfluidVdispgF_B = \rho_{fluid} V_{disp} g
Weight
5,886 N
Buoyant Force
5,886 N
Net Vertical Force
0 N
Displaced Volume
0.60 m³
Fraction Submerged
60.0%
Pascal and Archimedes Force Balances

Hydraulic systems transmit pressure changes through an enclosed fluid, while buoyancy equals the weight of displaced fluid.

Hydraulic force multiplication and buoyancy force balance shown in separate panels

Fluid Dynamics

Fluid Dynamics Concepts

When fluids move, things get complicated quickly. In introductory physics and engineering, we usually start with an idealized model of fluid flow: ideal fluid flow.

Assumptions of the Introductory Ideal-Flow Model

  • Steady flow: the velocity field at a fixed point does not change with time.
  • Incompressible flow: density remains constant along the modeled motion.
  • Inviscid flow: viscous dissipation is neglected.
  • Along a streamline: the basic Bernoulli relation is applied between points on the same streamline unless stronger conditions justify a broader application.

The Equation of Continuity

The Equation of Continuity Concepts

For an incompressible fluid flowing steadily through a pipe of varying cross-sectional area, the volume flow rate (QQ) must remain constant everywhere. What goes in must come out.

Volume Flow Rate (QQ)

The volume of fluid passing a given cross-section per unit time. The SI unit is m3/s\text{m}^3/\text{s}.

Volume Flow Rate Equation

Calculates volume flow rate from area and fluid speed.

Q=ΔVΔt=AvQ = \frac{\Delta V}{\Delta t} = A v

Variables

SymbolDescriptionUnit
QQVolume flow ratem3/sm^3/s
ΔV\Delta VChange in volumem3m^3
Δt\Delta tTime intervals
AACross-sectional aream2m^2
vvFluid speedm/s

Equation of Continuity

Relates area and velocity at two points in steady flow.

A1v1=A2v2A_1 v_1 = A_2 v_2

Variables

SymbolDescriptionUnit
A1A_1Cross-sectional area at point 1m2m^2
v1v_1Fluid speed at point 1m/s
A2A_2Cross-sectional area at point 2m2m^2
v2v_2Fluid speed at point 2m/s

Flow Speed Example

This explains why a river speeds up when it passes through a narrow gorge (A2<A1  ⟹  v2>v1A_2 < A_1 \implies v_2 > v_1).

Bernoulli's Equation

Bernoulli's Equation Concepts

Bernoulli's equation is essentially a statement of the conservation of mechanical energy applied to ideal fluid flow. It relates pressure, flow speed, and elevation along a streamline.

The work done on a fluid element as it moves through a pipe changes its kinetic and potential energy.

Bernoulli's Equation

Conservation of energy principle applied to ideal fluid flow.

P1+12ρv12+ρgy1=P2+12ρv22+ρgy2P_1 + \frac{1}{2}\rho v_1^2 + \rho g y_1 = P_2 + \frac{1}{2}\rho v_2^2 + \rho g y_2

Variables

SymbolDescriptionUnit
P1P_1Pressure at point 1, using a consistent absolute or gauge referencePa
v1v_1Fluid speed at point 1m/s
y1y_1Elevation at point 1m
P2P_2Pressure at point 2, using the same reference as point 1Pa
v2v_2Fluid speed at point 2m/s
y2y_2Elevation at point 2m
ρ\rhoFluid densitykg/m3kg/m^3
ggAcceleration due to gravitym/s2m/s^2
12ρv2\frac{1}{2}\rho v^2Dynamic pressure (kinetic energy per unit volume)Pa
ρgy\rho g yStatic pressure due to elevation (potential energy per volume)Pa

The Bernoulli Effect

For steady, incompressible, inviscid flow along a streamline at the same elevation, Bernoulli's equation reduces to P1+12ρv12=P2+12ρv22P_1 + \frac{1}{2}\rho v_1^2 = P_2 + \frac{1}{2}\rho v_2^2. Within those assumptions, a section with greater speed has lower static pressure. This relation is directly useful in Venturi-type flows; by itself it is not a complete theory of aerodynamic lift.

Pressure Reference in Bernoulli Calculations

Bernoulli's equation may be written using absolute pressure or gauge pressure when the same reference is used at every point. Do not mix one absolute pressure with another gauge pressure in a single balance.

Mechanical-Energy Equation with Head Loss

Head-form energy balance for incompressible flow when irreversible losses are represented by h_L.

P1ρg+v122g+z1=P2ρg+v222g+z2+hL\frac{P_1}{\rho g}+\frac{v_1^2}{2g}+z_1 = \frac{P_2}{\rho g}+\frac{v_2^2}{2g}+z_2+h_L

Variables

SymbolDescriptionUnit
P/ρgP/\rho gPressure headm
v2/2gv^2/2gVelocity headm
zzElevation headm
hLh_LHead loss between sectionsm

Bernoulli Assumptions and Limitations

The basic Bernoulli equation requires the stated ideal-flow assumptions along the chosen streamline. Real pipe systems can require head-loss terms, pump/turbine work terms, and compressibility or unsteady-flow models. A correct numerical result begins by selecting the equation that matches the physical system.

Interactive Simulation

Use this pipe-flow model to connect continuity with the Bernoulli pressure-head tradeoff.

Continuity and Bernoulli Head Simulator

Concept and model scope

A horizontal water-pipe model with z₁ = z₂ = 0. Rendered diameter follows D ∝ √A, continuity determines velocity, and the hydraulic-grade and energy-grade indicators use one auto-fitted head scale with an explicit head loss.

Model scope: Use the displayed units and idealizations, then verify the governing balance or compatibility equation before interpreting the result.

Gauge pressure head · horizontal datum
Upstream area A₁

Upstream area A₁

Upstream area A₁ is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 0.08–0.20 m². Step: 0.01 m².

0.12 m²
Section 2 area A₂

Section 2 area A₂

Section 2 area A₂ is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 0.04–0.20 m². Step: 0.01 m².

0.05 m²
Volume flow rate Q

Volume flow rate Q

Volume flow rate Q is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 0.04–0.30 m³/s. Step: 0.01 m³/s.

0.18 m³/s
Upstream gauge-pressure head p₁/ρg

Upstream gauge-pressure head p₁/ρg

Upstream gauge-pressure head p₁/ρg is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 5.0–20.0 m. Step: 0.5 m.

8.0 m
Head loss h_L

Head loss h_L

Head loss h_L is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 0.0–2.0 m. Step: 0.1 m.

0.4 m

Head accounting

Q = A₁v₁ = A₂v₂.

p₁/ρg + v₁²/2g = p₂/ρg + v₂²/2g + h_L.

Both displayed pressures are gauge pressures. Adding the same atmospheric pressure to both sides would give an equivalent absolute-pressure balance.

pipe centerline datum: z₁ = z₂ = 0A₁ = 0.12 m²A₂ = 0.05 m²HGL₁ = p₁/ρg = 8.00 mHGL₂ = p₂/ρg = 7.05 mEGL: H₁ − H₂ = h_L = 0.40 m
Velocity v₁
1.50 m/s
Velocity v₂
3.60 m/s
Gauge pressure p₁
78.48 kPa
Gauge pressure p₂
69.20 kPa
Velocity head v₁²/2g
0.11 m
Velocity head v₂²/2g
0.66 m
Total head H₁
8.11 m
Total head H₂
7.71 m
Continuity, Pressure Head, and Energy Loss

Area controls velocity through continuity; Bernoulli head accounting separates pressure head, velocity head, elevation head, and head loss.

Horizontal varying-area pipe with continuity, pressure-head columns, and a decreasing energy grade line

Torricelli's Theorem

Torricelli's Theorem Concepts

A direct application of Bernoulli's equation is finding the speed of fluid exiting a small hole at the bottom of an open tank. If the hole is a distance hh below the surface, the surface area is much larger than the hole (vsurface≈0v_{surface} \approx 0), and both are at atmospheric pressure, Bernoulli's equation simplifies to Torricelli's Theorem.

Torricelli's Theorem

Fluid exit speed from an open tank.

vexit=2ghv_{exit} = \sqrt{2gh}

Variables

SymbolDescriptionUnit
vexitv_{exit}Exit velocity of fluidm/s
ggAcceleration due to gravitym/s2m/s^2
hhDepth of hole below fluid surfacem

Free Fall Analogy

This shows the fluid exits with the same speed an object would have if dropped in free fall from a height hh.

Variation of Pressure with Depth

The Hydrostatic Paradox

The equation P=P0+ρghP = P_0 + \rho gh implies that the pressure at a given depth in a static fluid is independent of the shape of the container or the total volume of fluid present. This leads to the "Hydrostatic Paradox":

If you have three containers of wildly different shapes (one wide, one narrow, one conical) but all filled to the exact same height hh with the same fluid, the pressure at the bottom of all three containers is identical. Consequently, if the bottom area AA is the same, the total force on the bottom of each container is exactly the same, regardless of how much total fluid is inside!

Key Takeaways
  • Fluid Statics is governed by pressure increasing with depth (P=P0+ρghP = P_0 + \rho gh) and Pascal's Principle (pressure applied is transmitted undiminished).
  • Archimedes' Principle states that buoyancy is an upward force equal to the weight of displaced fluid (FB=ρfVsubgF_B = \rho_f V_{sub} g).
  • Fluid Dynamics for ideal fluids relies on conservation principles.
  • The Equation of Continuity (A1v1=A2v2A_1v_1 = A_2v_2) is the conservation of mass/volume flow.
  • Bernoulli's Equation (P+12ρv2+ρgy=constP + \frac{1}{2}\rho v^2 + \rho gy = \text{const}) is the conservation of energy, showing that pressure drops when speed increases horizontally.