Fluid Statics

The study of fluids at rest - pressure, buoyancy, and hydrostatic equilibrium

Introduction

Fluid statics (or hydrostatics) deals with fluids at rest. In static equilibrium, there are no shear stresses acting on fluid elements - only normal stresses (pressure). This simplification makes the analysis tractable while providing essential insights applicable to dams, submarines, atmospheric pressure, and more.

The fundamental principle is that pressure at a point in a static fluid acts equally in all directions (Pascal's principle) and varies only with depth in a gravitational field.

Pressure Fundamentals

Definition of Pressure

Pressure is the normal force per unit area exerted by a fluid on a surface:

$$p = \frac{F}{A} = \lim_{\Delta A \to 0} \frac{\Delta F_n}{\Delta A}$$

Units: Pa (Pascal) = N/m² = kg/(m·s²). Also: 1 atm = 101,325 Pa = 760 mmHg = 14.7 psi

Pascal's Law

Pressure at a point in a static fluid is the same in all directions (isotropic):

$$p_x = p_y = p_z = p$$

This is proven by considering force equilibrium on a small fluid wedge. Shear stresses are zero in a static fluid, leaving only normal pressure forces.

Pressure Transmission

A pressure change applied to an enclosed fluid is transmitted undiminished to every portion of the fluid and the walls of the container. This principle is the basis for hydraulic systems:

$$\frac{F_1}{A_1} = \frac{F_2}{A_2} \implies F_2 = F_1 \cdot \frac{A_2}{A_1}$$

Hydraulic lifts, brakes, and presses exploit this mechanical advantage.

Hydrostatic Pressure Variation

Basic Hydrostatic Equation

For a fluid at rest in a gravitational field, the pressure increases with depth:

$$\frac{dp}{dz} = -\rho g$$

Where z is measured upward. For incompressible fluids (constant ρ):

$$p_2 - p_1 = -\rho g (z_2 - z_1) = \rho g h$$

where h = z₁ - z₂ is the depth below point 1.

Pressure in the Atmosphere

For gases, density varies with pressure and temperature. For an isothermal atmosphere:

$$p = p_0 \exp\left(-\frac{gz}{RT}\right) = p_0 \exp\left(-\frac{z}{H}\right)$$

where H = RT/g ≈ 8.5 km is the scale height for Earth's atmosphere.

Gauge Pressure

Pressure relative to atmospheric: pgauge = pabs - patm

Absolute Pressure

Measured from absolute zero pressure (perfect vacuum)

Manometry

Manometers use the hydrostatic equation to measure pressure differences by observing liquid column heights.

Simple U-Tube Manometer

$$p_A - p_B = \rho_{man} g h$$

The height difference h of manometer fluid (mercury, water, oil) indicates pressure difference.

Inclined Manometer

For small pressure differences, an inclined tube amplifies the reading:

$$\Delta p = \rho g L \sin\theta$$

where L is the length along the incline and θ is the angle from horizontal.

Multi-Fluid Manometer

For complex systems with multiple fluids, apply hydrostatic equation through each section:

$$p_1 + \sum_i \rho_i g h_i = p_2$$

Barometer

Measures absolute atmospheric pressure. Mercury barometer:

$$p_{atm} = \rho_{Hg} g h$$

At sea level: h ≈ 760 mm Hg = 29.92 in Hg

Forces on Submerged Surfaces

Plane Surfaces

The hydrostatic force on a submerged plane surface is:

$$F_R = \int_A p \, dA = \int_A (\rho g h) \, dA = \rho g \bar{h} A = p_c A$$

where pc is the pressure at the centroid and A is the surface area.

The center of pressure (where resultant acts) is below the centroid:

$$y_{cp} = \bar{y} + \frac{I_{xc}}{\bar{y} A}$$

where Ixc is the second moment of area about the centroidal axis.

Curved Surfaces

For curved surfaces, decompose into horizontal and vertical components:

Horizontal Component

FH = Force on vertical projection of curved surface

Vertical Component

FV = Weight of fluid above (or below) the curved surface

Buoyancy and Archimedes' Principle

Archimedes' Principle

A body immersed in a fluid experiences an upward buoyant force equal to the weight of displaced fluid:

$$F_B = \rho_{fluid} g V_{displaced}$$

The buoyant force acts through the centroid of the displaced volume (center of buoyancy).

Floating Bodies

For a floating body in equilibrium:

$$F_B = W \implies \rho_{fluid} g V_{submerged} = \rho_{body} g V_{body}$$
$$\frac{V_{submerged}}{V_{body}} = \frac{\rho_{body}}{\rho_{fluid}}$$

Stability of Floating Bodies

For rotational stability, the metacenter M must be above the center of gravity G:

$$GM = \frac{I_{waterline}}{V_{submerged}} - BG$$

where Iwaterline is the second moment of the waterline area about the tilt axis. GM > 0 indicates stable equilibrium.

Applications

Dam Design

Calculate hydrostatic forces on dam walls to ensure structural stability against overturning and sliding.

Submarines

Buoyancy control through ballast tanks, hull design for pressure at depth.

Hydraulic Systems

Pascal's law applied in lifts, brakes, presses, and actuators.

Atmospheric Science

Pressure variation with altitude, barometric formula, weather systems.

Interactive Simulations

Hydrostatic Pressure Distribution in a Water Tank

Python
script.py31 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

Buoyancy Force on Submerged Objects

Fortran
program.f9045 lines

Click Run to execute the Fortran code

Code will be compiled with gfortran and executed on the server

Detailed Derivations

Derivation: Hydrostatic Pressure from Force Balance

1

Consider a small cylindrical fluid element at rest with cross-sectional area A and height dz, oriented vertically (z positive upward).

2

Three forces act on the element in the vertical direction:

  • - Pressure on bottom face (upward): P(z) · A
  • - Pressure on top face (downward): P(z + dz) · A
  • - Weight (downward): ρg A dz
3

For static equilibrium the net force is zero:

$$P(z)\,A - P(z+dz)\,A - \rho g\,A\,dz = 0$$
4

Divide through by A dz and note P(z+dz) − P(z) = dP:

$$\frac{dP}{dz} = -\rho\,g$$

This is the fundamental hydrostatic equation. The negative sign indicates pressure decreases upward.

5

For an incompressible fluid (ρ = const), integrate from the free surface (z = 0, P = P₀) down to depth h:

$$\int_{P_0}^{P} dP' = -\rho g \int_{0}^{-h} dz' \implies P - P_0 = \rho g h$$
6

Final result — pressure at depth h below the surface:

$$\boxed{P(h) = P_0 + \rho\,g\,h}$$

Derivation: Archimedes' Principle from Pressure Integration

1

Consider a body of arbitrary shape fully submerged in a fluid of density ρ. The fluid exerts a pressure force on every infinitesimal surface element dA of the body.

2

The net pressure force on the body is:

$$\vec{F}_{\text{pressure}} = -\oint_S P\,\hat{n}\,dA$$

where n̂ is the outward unit normal to the body surface.

3

Replace the body with fluid. That replacement fluid is also in equilibrium, so:

$$-\oint_S P\,\hat{n}\,dA + \rho_f\,g\,V_{\text{body}}\,(-\hat{k}) = 0$$

The pressure forces on the replacement fluid exactly support its weight.

4

Since the pressure distribution on the surface depends only on position (not on what is inside), the pressure force on the original body is identical. Therefore the buoyant force is:

$$\boxed{F_B = \rho_f\,g\,V_{\text{displaced}}}$$

This upward force equals the weight of the displaced fluid, acting through the centroid of the displaced volume (center of buoyancy B).

Derivation: Manometer Equations

1

U-tube manometer

A U-tube connects two points A and B through a manometer fluid of density ρm. Start at A and walk through the tube to B, adding ρgh when going down and subtracting when going up:

$$P_A + \rho_1 g h_1 - \rho_m g h_m - \rho_2 g h_2 = P_B$$

For the simple case where both sides contain the same fluid of density ρ:

$$\boxed{P_A - P_B = (\rho_m - \rho)\,g\,h}$$
2

Differential manometer

For measuring small pressure differences, use two manometer fluids with densities ρm1 and ρm2:

$$P_A - P_B = (\rho_{m1} - \rho_{m2})\,g\,h$$
3

Inclined manometer

An inclined tube at angle θ from horizontal amplifies the reading. If the liquid travels distance L along the tube, the vertical rise is L sinθ:

$$\boxed{\Delta P = \rho_m\,g\,L\,\sin\theta}$$

For small θ, L is much larger than the vertical height, giving better resolution for small ΔP.

Derivation: Hydrostatic Force on Submerged Plane Surfaces

1

Consider a flat plate of area A submerged at an angle θ to the free surface. Define y along the plate from the intersection with the surface. The depth of an element dA at position y is h = y sinθ.

2

The resultant hydrostatic force is obtained by integrating pressure over the surface:

$$F = \int_A P\,dA = \int_A \rho g\,h\,dA = \rho g \sin\theta \int_A y\,dA$$
3

Recognise that ∫ y dA = ȳ A (first moment of area), and h̄ = ȳ sinθ is the depth of the centroid:

$$\boxed{F = \rho\,g\,\bar{h}\,A}$$

The force equals the pressure at the centroid times the area.

4

The resultant acts at the center of pressure ycp. Taking moments about the surface line:

$$y_{cp} = \frac{\int_A y^2\,dA}{\int_A y\,dA} = \frac{I_0}{\bar{y}\,A}$$
5

Apply the parallel axis theorem I₀ = IG + ȳ² A:

$$\boxed{y_{cp} = \bar{y} + \frac{I_G}{\bar{y}\,A}}$$

Since IG > 0, the center of pressure is always below the centroid.

Derivation: Stability of Floating Bodies — Metacentric Height

1

A floating body in equilibrium has its center of gravity G and center of buoyancy B on the same vertical line. The weight W acts at G downward; the buoyant force FB = W acts at B upward.

2

When the body tilts by a small angle dθ, the submerged shape changes and B shifts to B'. The new line of action of FB intersects the original vertical at the metacenter M.

3

The horizontal shift of the center of buoyancy is computed from the moment of the transferred volume wedges. For a waterplane area with second moment I about the tilt axis:

$$BB' = \frac{I}{V_{\text{sub}}}\,d\theta \implies BM = \frac{I}{V_{\text{sub}}}$$
4

The metacentric height GM is the distance from G to M. Measuring upward from B:

$$\boxed{GM = BM - BG = \frac{I}{V_{\text{sub}}} - BG}$$
5

Stability criterion: if GM > 0, the restoring moment opposes the tilt (stable). If GM < 0, the moment amplifies the tilt (unstable). The righting moment is MR = W · GM · sinθ.

Pressure Distribution Diagram

Linear increase of hydrostatic pressure with depth in an incompressible fluid.

Depth h (m)Pressure PP₀0h/4h/23h/4hP = P₀ + ρghP₀ + ρgH

Advanced Simulations

Pressure Profiles: Incompressible vs Compressible Atmospheres

Python
script.py47 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

Buoyancy & Metacentric Height vs Heel Angle

Python
script.py73 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server