🐍 Interactive Jupyter Notebook: lecture_02_properties_pressure_temperature.ipynb
πŸ“₯ Download Page as .ipynb (Python Notebook) πŸ“‘ Download Blank Slides (PDF)

2. Specific Volume, Pressure, and Temperature

Term: Spring 2026
Instructor: Mukhamad Suhermanto
Primary References:


Learning Objectives:

  1. Define density, specific volume, molar specific volume, specific weight, and specific gravity.
  2. Derive the hydrostatic pressure differential equation and apply it to incompressible fluids.
  3. Distinguish between absolute, gauge, and vacuum pressures and solve multi-fluid manometer problems.
  4. State the Zeroth Law of Thermodynamics and convert between absolute and relative temperature scales.

2.1 Density, Specific Volume, and Specific Gravity

In classical thermodynamics, fluid properties are evaluated at the continuum limit (Moran et al. 2014), (Wassgren 2025).

2.1.1 Continuum Definition of Density

Consider a mass \(\delta m\) occupying a small volume \(\delta V\) surrounding a point in space. The local density \(\rho\) is defined as the mathematical limit as the volume shrinks to the smallest volume element \(\delta V'\) containing enough molecules for statistical macroscopic uniformity (Wassgren 2025):

\[ \rho = \lim_{\delta V \to \delta V'} \frac{\delta m}{\delta V} \tag{2.1} \]

If \(\delta V\) were reduced below \(\delta V'\), density would fluctuate erratically due to individual molecular motions.

\[ v = \frac{1}{\rho} = \frac{V}{m} \tag{2.2} \]

\[ \bar{v} = M v = \frac{V}{n} \tag{2.3} \]

\[ \gamma = \rho g \tag{2.4} \]

\[ \text{SG} = \frac{\rho}{\rho_{\text{H}_2\text{O}@4^\circ\text{C}}} \tag{2.5} \]

Definition: Specific Properties

Normalizing extensive properties by mass transforms them into intensive properties (\(v = V/m\), \(u = U/m\)). Specific gravity is dimensionless and remains identical regardless of unit system.

2.2 Pressure and the Hydrostatic Differential Equation

Pressure (\(P\)) is the normal compressive force exerted by a fluid per unit surface area (Moran et al. 2014):

\[ P = \lim_{\delta A \to \delta A'} \frac{\delta F_n}{\delta A} \tag{2.6} \]

2.2.1 Derivation of the Hydrostatic Equation

Consider an infinitesimal fluid element of height \(dz\) and horizontal cross-sectional area \(dA\) in static equilibrium. The coordinate \(z\) points vertically upward opposite to gravity. A vertical force balance yields (Wassgren 2025):

\[ \sum F_z = P\,dA - (P + dP)\,dA - \rho g\,dA\,dz = 0 \tag{2.7} \]

Dividing through by \(dA\):

\[ -dP - \rho g\,dz = 0 \implies \frac{dP}{dz} = -\rho g = -\gamma \tag{2.8} \]

For an incompressible fluid (\(\rho = \text{const}\)) with uniform gravitational acceleration \(g\):

\[ \int_{P_1}^{P_2} dP = -\rho g \int_{z_1}^{z_2} dz \implies P_2 - P_1 = -\rho g (z_2 - z_1) \tag{2.9} \]

Defining depth \(h = z_1 - z_2 > 0\) below a reference free surface at pressure \(P_1 = P_0\):

\[ P(h) = P_0 + \rho g h \tag{2.10} \]

2.2.2 Absolute, Gauge, and Vacuum Pressure

Pressure measurements are referenced either to absolute zero (complete vacuum) or to local atmospheric pressure:

\[ P_{\text{gage}} = P_{\text{abs}} - P_{\text{atm}} \quad (P_{\text{abs}} > P_{\text{atm}}) \tag{2.11} \]

\[ P_{\text{vac}} = P_{\text{atm}} - P_{\text{abs}} \quad (P_{\text{abs}} < P_{\text{atm}}) \tag{2.12} \]

Caution: Absolute vs.Β Gauge Pressure in Thermodynamic Relations

All thermodynamic equations of state (such as the ideal gas law \(P v = R T\)) and thermodynamic property tables require absolute pressure (\(P_{\text{abs}}\)). Using gauge pressure in thermodynamic calculations is one of the most common student errors!

2.3 Manometry and Pressure Measurement

A manometer determines pressure differences by balancing the hydrostatic head of one or more fluid columns (Moran et al. 2014), (Wassgren 2025).

2.3.1 Principles of Manometry

  1. Pressure along a continuous, connected body of static fluid at the same horizontal elevation is constant.
  2. Pressure increases moving downward through a fluid column (\(+ \rho g h\)) and decreases moving upward (\(- \rho g h\)).

For a U-tube manometer connecting fluid reservoir 1 and ambient atmosphere:

\[ P_1 + \rho_1 g h_1 - \rho_m g h_m = P_{\text{atm}} \tag{2.13} \]

A mercury barometer measures atmospheric pressure using a column of mercury capped by a vapor vacuum (\(P_{\text{vapor}} \approx 0\)):

\[ P_{\text{atm}} = \rho_{\text{Hg}} g h_{\text{baro}} \tag{2.14} \]

Example 2.1: Multi-Fluid Manometer

A closed tank contains pressurized gas. A U-tube manometer filled with oil (\(\text{SG}_{\text{oil}} = 0.85\), \(\rho_{\text{oil}} = 850\text{ kg/m}^3\)) and mercury (\(\text{SG}_{\text{Hg}} = 13.6\), \(\rho_{\text{Hg}} = 13600\text{ kg/m}^3\)) is connected. If \(h_{\text{oil}} = 0.40\text{ m}\), \(h_{\text{Hg}} = 0.25\text{ m}\), and \(P_{\text{atm}} = 101.325\text{ kPa}\), find the absolute pressure in the tank.

Solution / Analysis

Starting from the tank and moving along the manometer to the open atmosphere: \(P_{\text{tank}} + \rho_{\text{oil}} g h_{\text{oil}} - \rho_{\text{Hg}} g h_{\text{Hg}} = P_{\text{atm}}\). Rearranging: \(P_{\text{tank}} = P_{\text{atm}} + \rho_{\text{Hg}} g h_{\text{Hg}} - \rho_{\text{oil}} g h_{\text{oil}}\). Substituting values with \(g = 9.807\text{ m/s}^2\): \(P_{\text{tank}} = 101325 + (13600)(9.807)(0.25) - (850)(9.807)(0.40) = 101325 + 33344 - 3334 = 131335\text{ Pa} = 131.34\text{ kPa}\). \(P_{\text{gage}} = 131.34 - 101.33 = 30.01\text{ kPa}\).

2.4 Temperature and the Zeroth Law of Thermodynamics

While our physiological sensation senses β€œhotness” or β€œcoldness”, thermodynamics demands an objective, repeatable scale (Moran et al. 2014), (Yan 2022).

Definition: The Zeroth Law of Thermodynamics

If two bodies are in thermal equilibrium with a third body, they are in thermal equilibrium with each other.

This foundational law allows the third body to serve as a thermometer.

2.4.1 Temperature Scales

Absolute temperature scales have a zero point at absolute zero (the complete cessation of classical thermal motion):

The exact scale conversion formulas are:

\[ T(\text{K}) = T(^\circ\text{C}) + 273.15 \tag{2.15} \]

\[ T(^\circ\text{R}) = T(^\circ\text{F}) + 459.67 \tag{2.16} \]

\[ T(^\circ\text{R}) = 1.8 \times T(\text{K}) \tag{2.17} \]

\[ T(^\circ\text{F}) = 1.8 \times T(^\circ\text{C}) + 32 \tag{2.18} \]

For temperature differences:

\[ \Delta T(\text{K}) = \Delta T(^\circ\text{C}) \tag{2.19} \]

\[ \Delta T(^\circ\text{R}) = \Delta T(^\circ\text{F}) = 1.8 \times \Delta T(\text{K}) \tag{2.20} \]

import kilojoule.realfluid as realfluid
from kilojoule.units import Quantity

# Hydrostatic pressure variation in a water reservoir
water = realfluid.Properties('Water')
T_water = Quantity(20.0, 'degC')
P_atm = Quantity(101.325, 'kPa')
g = Quantity(9.80665, 'm/s^2')
depth = Quantity(15.0, 'm')

# Property evaluation
rho_water = water.rho(p=P_atm, T=T_water)
delta_P = (rho_water * g * depth).to('kPa')
P_bottom = P_atm + delta_P

print(f"Water temperature: {T_water:~.1f}")
print(f"Water density: {rho_water:~.2f}")
print(f"Hydrostatic pressure increase: {delta_P:~.2f}")
print(f"Absolute pressure at {depth:~.1f} depth: {P_bottom:~.2f}")
print(f"Gauge pressure at bottom: {delta_P:~.2f}")
Water temperature: 20.0 degC
Water density: 998.21 kg / m ** 3
Hydrostatic pressure increase: 146.84 kPa
Absolute pressure at 15.0 m depth: 248.16 kPa
Gauge pressure at bottom: 146.84 kPa
from kilojoule.units import Quantity

# Temperature scale conversions across SI and US Customary units
T_C = Quantity(25.0, 'degC')
T_K = T_C.to('K')
T_F = T_C.to('degF')
T_R = T_C.to('degR')

print(f"Reference Temperature:")
print(f"  Celsius:    {T_C.magnitude:.2f} degC")
print(f"  Kelvin:     {T_K.magnitude:.2f} K")
print(f"  Fahrenheit: {T_F.magnitude:.2f} degF")
print(f"  Rankine:    {T_R.magnitude:.2f} degR")

# Temperature difference equivalence
delta_T_C = Quantity(10.0, 'delta_degC')
delta_T_F = delta_T_C.to('delta_degF')
print(f"Temperature difference:")
print(f"  Delta T: {delta_T_C.magnitude:.1f} degC = {delta_T_F.magnitude:.1f} degF")
Reference Temperature:
  Celsius:    25.00 degC
  Kelvin:     298.15 K
  Fahrenheit: 77.00 degF
  Rankine:    536.67 degR
Temperature difference:
  Delta T: 10.0 degC = 18.0 degF

Engineering Practice Problems (Self-Study Exercises)

Try each problem on paper first using the principles from this chapter, then expand the step-by-step solution to check your derivation.

Practice Problem 1 β€” Multi-Fluid Manometer Pressure Balance on a Fuel Storage Header

A pressurized biodiesel feed header is connected to a multi-fluid U-tube manometer open to local atmospheric pressure \(P_{\text{atm}} = 98.4\text{ kPa}\) (\(g = 9.807\text{ m/s}^2\), \(\rho_{\text{water}} = 1000\text{ kg/m}^3\)). Starting from the gas-fuel interface at the top of the header leg, the downward fluid stack consists of \(h_{\text{oil}} = 0.42\text{ m}\) of silicone barrier oil (\(\text{SG}_{\text{oil}} = 0.84\)) sitting directly atop \(h_w = 0.18\text{ m}\) of water down to the mercury datum. In the right open leg, mercury (\(\text{SG}_{\text{Hg}} = 13.55\)) stands \(h_{\text{Hg}} = 0.24\text{ m}\) higher than the water-mercury interface. Find both the gauge pressure and absolute pressure of the gas inside the header in \(\text{kPa}\).

πŸ” Click to View Complete Step-by-Step Solution
  1. Hydrostatic Datum Equation: Applying \(\Delta P = \rho g h\) along a continuous static path from the header gas (\(P_{\text{gas}}\)) down through oil and water to the mercury datum, then jumping across at equal elevation to the open leg and rising through \(h_{\text{Hg}}\): \[P_{\text{gas}} + \rho_{\text{oil}} g h_{\text{oil}} + \rho_w g h_w - \rho_{\text{Hg}} g h_{\text{Hg}} = P_{\text{atm}}\]

  2. Evaluate Individual Hydrostatic Heads: \[\Delta P_{\text{Hg}} = (13.55)(1000)(9.807)(0.24)/1000 = 31.892\text{ kPa}\] \[\Delta P_{\text{oil}} = (0.84)(1000)(9.807)(0.42)/1000 = 3.460\text{ kPa}\] \[\Delta P_w = (1000)(9.807)(0.18)/1000 = 1.765\text{ kPa}\]

  3. Gauge and Absolute Header Pressure: \[P_{\text{gauge}} = P_{\text{gas}} - P_{\text{atm}} = 31.892 - 3.460 - 1.765 = 26.67\text{ kPa}\] \[P_{\text{gas}} = 98.4 + 26.67 = 125.07\text{ kPa}\] Final Result: \(P_{\text{gauge}} = 26.67\text{ kPa}\), \(P_{\text{abs}} = 125.07\text{ kPa}\).


Practice Problem 2 β€” High-Altitude Barometer & Steam Condenser Vacuum Pressure

A power-plant test loop sits on a high-altitude plateau where a mercury barometer (\(\rho_{\text{Hg}} = 13,570\text{ kg/m}^3\), \(g = 9.807\text{ m/s}^2\)) reads \(h_{\text{bar}} = 685\text{ mm Hg}\). A Bourdon vacuum gauge mounted on the steam condenser reads \(P_{\text{vac}} = 56.2\text{ kPa}\). Determine (a) local atmospheric pressure in \(\text{kPa}\), and (b) the absolute condenser pressure in \(\text{kPa}\) and \(\text{psia}\).

πŸ” Click to View Complete Step-by-Step Solution
  1. Local Barometric Pressure: Using \(P_{\text{atm}} = \rho_{\text{Hg}} g h_{\text{bar}}\) with \(h_{\text{bar}} = 0.685\text{ m}\): \[P_{\text{atm}} = \frac{(13,570)(9.807)(0.685)}{1000} = 91.16\text{ kPa}\]

  2. Absolute Condenser Pressure: Vacuum pressure is the amount below local atmospheric pressure: \[P_{\text{abs}} = P_{\text{atm}} - P_{\text{vac}} = 91.16 - 56.2 = 34.96\text{ kPa}\]

  3. Convert to US Customary Units (\(1\text{ psi} = 6.89476\text{ kPa}\)): \[P_{\text{abs}} = \frac{34.96}{6.89476} = 5.07\text{ psia}\] Final Result: \(P_{\text{atm}} = 91.16\text{ kPa}\), \(P_{\text{cond}} = 34.96\text{ kPa}\) (\(\mathbf{5.07\text{ psia}}\)).


Practice Problem 3 β€” Static Force Equilibrium of a Spring-Assisted Piston-Cylinder

Helium gas is trapped beneath a frictionless vertical piston of diameter \(D = 14\text{ cm}\) and mass \(m_p = 18.5\text{ kg}\). In addition to ambient air at \(P_{\text{atm}} = 100.5\text{ kPa}\) pushing downward on the top face, a linear helical spring (\(k_s = 2.4\text{ kN/m}\)) seated above the piston is compressed by \(\delta = 4.5\text{ cm}\) (\(g = 9.807\text{ m/s}^2\)). Determine the absolute gas pressure \(P_{\text{gas}}\) inside the cylinder in \(\text{kPa}\).

πŸ” Click to View Complete Step-by-Step Solution
  1. Piston Area and Downward Forces: Compute piston cross-sectional area \(A_p = \pi D^2 / 4\), piston weight \(W_p\), and spring force \(F_s\): \[A_p = \frac{\pi (0.14)^2}{4} = 0.015394\text{ m}^2\] \[W_p = m_p g = (18.5)(9.807) = 181.43\text{ N}, \qquad F_s = k_s \delta = (2400)(0.045) = 108.0\text{ N}\]

  2. Vertical Force Balance on the Piston: At static equilibrium, upward gas force balances atmospheric force, piston weight, and spring compression: \[P_{\text{gas}} A_p = P_{\text{atm}} A_p + W_p + F_s \implies P_{\text{gas}} = P_{\text{atm}} + \frac{W_p + F_s}{A_p}\]

  3. Substitute Numerical Values: \[P_{\text{gas}} = 100.5\text{ kPa} + \frac{181.43 + 108.0}{1000(0.015394)} = 100.5 + 18.80 = 119.30\text{ kPa}\] Final Answer: \(P_{\text{gas}} = 119.30\text{ kPa}\).


Practice Problem 4 β€” Absolute Temperatures vs.Β Temperature Intervals Across Engineering Scales

In a rocket turbopump preburner, cryogenic nitrogen enters a regenerative cooling jacket at \(T_1 = -196^\circ\text{C}\) and absorbs heat until reaching \(T_2 = 425^\circ\text{C}\) prior to manifold injection. Compute: (a) the inlet temperature \(T_1\) in \(\text{K}\), \(^\circ\text{F}\), and \(^\circ\text{R}\), (b) the outlet temperature \(T_2\) in \(\text{K}\) and \(^\circ\text{R}\), and (c) the temperature rise \(\Delta T = T_2 - T_1\) in \(\text{K}\), \(^\circ\text{F}\), and \(^\circ\text{R}\).

πŸ” Click to View Complete Step-by-Step Solution
  1. Convert Inlet Temperature \(T_1 = -196^\circ\text{C}\): \[T_1(\text{K}) = -196 + 273.15 = 77.15\text{ K}\] \[T_1(^\circ\text{F}) = 1.8(-196) + 32 = -320.8^\circ\text{F}, \qquad T_1(^\circ\text{R}) = -320.8 + 459.67 = 138.87^\circ\text{R}\]

  2. Convert Outlet Temperature \(T_2 = 425^\circ\text{C}\): \[T_2(\text{K}) = 425 + 273.15 = 698.15\text{ K}, \qquad T_2(^\circ\text{R}) = 1.8(698.15) = 1256.67^\circ\text{R}\]

  3. Compute Temperature Intervals (Offset Constants Cancel): \[\Delta T(\text{K}) = \Delta T(^\circ\text{C}) = 425 - (-196) = 621.0\text{ K}\] \[\Delta T(^\circ\text{F}) = \Delta T(^\circ\text{R}) = 1.8 \times 621.0 = 1117.8^\circ\text{F} = 1117.8^\circ\text{R}\] Final Result: \(T_1 = 77.15\text{ K}\) (\(138.87^\circ\text{R}\)), \(T_2 = 698.15\text{ K}\) (\(1256.67^\circ\text{R}\)), \(\Delta T = 621.0\text{ K}\) (\(1117.8^\circ\text{F}\)).

Summary & Key Takeaways


References, Suggested Reading & Video Lectures

Moran, Michael J., Howard N. Shapiro, Daisie D. Boettner, and Margaret B. Bailey. 2014. Fundamentals of Engineering Thermodynamics. 8th ed. Hoboken, NJ: John Wiley & Sons.
Waitz, Ian A., and Zoltan S. Spakovszky. 2008. 16.unified: Thermodynamics and Propulsion. Cambridge, MA: MIT OpenCourseWare, Massachusetts Institute of Technology.
Wassgren, Carl. 2021. Thermodynamics I (ME 200) Video Lecture Series. School of Mechanical Engineering, Purdue University. https://www.youtube.com/@cw2306/playlists.
β€”β€”β€”. 2025. Notes on Thermodynamics, Fluid Mechanics, and Gas Dynamics. West Lafayette, IN: School of Mechanical Engineering, Purdue University. https://engineering.purdue.edu/~wassgren/notes/NotesOnThermodynamicsFluidMechanicsAndGasDynamics_Wassgren.pdf.
Yan, Claire Yu. 2022. Introduction to Engineering Thermodynamics. BCcampus Open Education. https://open.umn.edu/opentextbooks/textbooks/introduction-to-engineering-thermodynamics.