Lesson 3 of 16

Hydrostatic Pressure

Hydrostatic Pressure

A fluid at rest exerts pressure that increases with depth. This hydrostatic pressure arises from the weight of fluid above a given point:

P=ρghP = \rho g h

where:

  • ρ\rho is fluid density (kg/m³)
  • g=9.81m/s2g = 9.81\,\text{m/s}^2 is gravitational acceleration
  • hh is depth below the free surface (m)

Total Absolute Pressure at Depth

Adding atmospheric pressure gives the total (absolute) pressure at depth hh:

Ptotal=Patm+ρghP_{\text{total}} = P_{\text{atm}} + \rho g h

where Patm=101325PaP_{\text{atm}} = 101\,325\,\text{Pa}.

Hydrostatic Force on a Horizontal Surface

The hydrostatic force on a horizontal flat surface of area AA at depth hh is simply:

F=PA=ρghAF = P \cdot A = \rho g h A

Examples

FluidDepth (m)Gauge Pressure (Pa)
Water (1000 kg/m³)1098 100
Water (1000 kg/m³)100981 000
Seawater (1025 kg/m³)10100 552.5

Your Task

Implement:

  • hydrostatic_pressure(rho, h) — gauge pressure at depth hh (Pa)
  • total_pressure(rho, h) — absolute pressure at depth hh (Pa)
  • hydrostatic_force(rho, h, A) — force on a horizontal surface (N)
Python runtime loading...
Loading...
Click "Run" to execute your code.