1. Thermodynamic systems and properties
Thermodynamics studies energy, matter, and property changes at the macroscopic scale.
A system is the matter or region selected for analysis. Everything outside the system is the surroundings. The boundary may be real or imaginary, fixed or moving.
Types of systems
| System type | Mass crossing boundary? | Energy crossing boundary? | Example |
|---|---|---|---|
| Closed system / control mass | No | Yes | Gas in a piston-cylinder |
| Open system / control volume | Yes | Yes | Turbine, compressor, nozzle |
| Isolated system | No | No | Ideal insulated sealed tank |
Before solving any problem, identify the system type. This determines the correct balance equation.
Properties
A property describes the state of a system.
Examples:
Pressure, $P$
Temperature, $T$
Volume, $V$
Specific volume, $v$
Density, $\rho$
Internal energy, $U$
Enthalpy, $H$
Entropy, $S$
Extensive and intensive properties
An extensive property depends on system size.
Examples:
An intensive property does not depend on system size.
Examples:
Specific properties are extensive properties per unit mass:
2. State, equilibrium, and processes
State
The state of a simple compressible system is fixed when enough independent intensive properties are known.
For many simple systems, two independent intensive properties determine the state.
Examples:
where $x$ is quality in a saturated mixture.
Equilibrium
A system is in thermodynamic equilibrium when it has:
Thermal equilibrium: no temperature gradients
Mechanical equilibrium: no unbalanced pressure forces
Phase equilibrium: no net phase change
Chemical equilibrium: no net chemical reaction
Process
A process is a change from one equilibrium state to another.
Common processes:
| Process | Meaning |
|---|---|
| Isothermal | Constant temperature |
| Isobaric | Constant pressure |
| Isochoric / isometric | Constant volume |
| Adiabatic | No heat transfer |
| Isentropic | Constant entropy |
| Polytropic | $PV^n = \text{constant}$ |
Cycle
A cycle is a series of processes that returns the system to its initial state.
For any property over a cycle:
Path functions such as heat and work do not have to be zero over a cycle.
3. Units, dimensions, and sign conventions
Common SI units
| Quantity | Symbol | SI unit |
|---|---|---|
| Mass | $m$ | kg |
| Temperature | $T$ | K |
| Pressure | $P$ | Pa |
| Energy | $E$ | J |
| Power | $\dot{W}$ | W |
| Specific volume | $v$ | m³/kg |
| Specific energy | $u, h$ | J/kg |
| Entropy | $S$ | J/K |
| Specific entropy | $s$ | J/(kg·K) |
Pressure
Absolute pressure is measured relative to vacuum.
Gauge pressure is measured relative to the atmosphere.
Vacuum pressure is below atmospheric pressure:
Temperature
Thermodynamic temperature must use an absolute scale.
Sign convention used in these notes
These notes use the common engineering convention:
Heat transfer into the system is positive.
Work done by the system is positive.
Thus, for a closed system:
More generally:
where
4. Pure substances and property data
A pure substance has a fixed chemical composition throughout.
Examples:
Water
Nitrogen
Refrigerant-134a
Carbon dioxide
A pure substance can exist in multiple phases.
Phase regions
| Region | Description |
|---|---|
| Compressed liquid / subcooled liquid | Liquid not about to vaporize |
| Saturated liquid | Liquid about to vaporize |
| Saturated mixture | Liquid and vapor coexist |
| Saturated vapor | Vapor about to condense |
| Superheated vapor | Vapor not about to condense |
Saturation temperature and pressure
At a given saturation pressure, a pure substance changes phase at a fixed saturation temperature.
At a given saturation temperature, the corresponding phase-change pressure is:
Quality
Quality is the mass fraction of vapor in a saturated liquid-vapor mixture.
where:
$m_f$ = mass of saturated liquid
$m_g$ = mass of saturated vapor
Quality only applies in the saturated mixture region.
Saturated mixture property relation
For a saturated mixture:
where $y$ may represent $v$, $u$, $h$, or $s$.
Also:
Examples:
Enthalpy
Enthalpy is defined as:
Specific enthalpy is:
Enthalpy is especially useful for control-volume problems because flow work is naturally included in $h$.
How to choose property data
Use this sequence:
Identify the substance.
Identify known independent properties.
Determine the phase or region.
Use the correct table or equation of state.
Interpolate if needed.
Compressed liquid approximation
For many liquids, if compressed liquid data are unavailable:
Often, for modest pressure changes:
5. Ideal gases and equations of state
An equation of state relates pressure, temperature, and volume.
Ideal gas equation
For an ideal gas:
Specific form:
Molar form:
where:
$R$ = gas constant for the specific gas
$\bar{R}$ = universal gas constant
$n$ = number of moles
Relationship between gas constants:
where $M$ is molar mass.
Density form
Since
the ideal gas law can be written as:
Compressibility factor
Real-gas behavior can be estimated using:
where $Z$ is the compressibility factor.
For ideal gases:
If $Z$ is close to 1, the ideal gas model is reasonable.
Constant specific heats
For ideal gases with constant specific heats:
and
Specific heat ratio:
Ideal gas entropy changes
For constant specific heats:
Equivalent form:
Isentropic ideal gas relations
For an ideal gas with constant specific heats undergoing an isentropic process:
6. Heat, work, and energy
Energy
Total energy is:
where
Specific total energy:
Heat
Heat is energy transfer due to temperature difference.
Heat transfer rate:
Adiabatic process:
Work
Work is energy transfer due to a generalized force acting through a generalized displacement.
Power:
Boundary work
For a quasi-equilibrium closed-system process:
If pressure is constant:
Specific boundary work:
Polytropic work
For a polytropic process:
If $n \ne 1$:
For an ideal gas:
If $n = 1$:
For an ideal gas when $n = 1$, the process is isothermal:
Spring work
For a linear spring:
Spring work:
Electrical work
Electrical work:
For constant voltage and current:
Electrical power:
7. First Law for closed systems
The First Law is conservation of energy.
For a closed system:
Expanded:
If kinetic and potential energy changes are negligible:
On a mass basis:
If kinetic and potential energy changes are negligible:
Cyclic closed system
For a cycle:
Therefore:
Constant-volume closed system
For constant volume boundary work:
If no other work modes occur:
Constant-pressure closed system
For constant pressure:
If only boundary work occurs and kinetic/potential energy changes are negligible:
Since
for constant pressure:
Rigid tank
For a rigid tank:
If the tank is also adiabatic and has no other work modes:
8. First Law for control volumes
A control volume allows mass to cross the boundary.
Conservation of mass
General mass balance:
At steady state:
So:
For one inlet and one outlet:
Mass flow rate
Mass flow rate:
Using specific volume:
where $V$ is flow speed, not volume.
Energy balance for control volumes
General rate form:
At steady state:
For one inlet and one outlet:
Specific form:
9. Common steady-flow devices
For most steady-flow devices, start with:
Then remove negligible terms.
Turbine
A turbine produces work output.
Typical assumptions:
Steady state
Adiabatic
Negligible kinetic and potential energy changes
Energy balance:
Specific work output:
Compressor
A compressor requires work input and increases gas pressure.
Typical assumptions:
Steady state
Adiabatic
Negligible kinetic and potential energy changes
Energy balance:
Specific work input:
Pump
A pump increases liquid pressure.
For an incompressible liquid:
Pump power input:
Nozzle
A nozzle increases flow speed.
Typical assumptions:
Steady state
Adiabatic
No shaft work
Negligible potential energy change
Energy balance:
Velocity relation:
Use SI units carefully: if $h$ is in kJ/kg, multiply by 1000.
Diffuser
A diffuser decreases flow speed and increases pressure.
Typical assumptions are similar to a nozzle:
Throttling valve
A throttling valve causes a pressure drop with no work output.
Typical assumptions:
Steady state
Adiabatic
No shaft work
Negligible kinetic and potential energy changes
Energy balance:
Throttling is highly irreversible.
Heat exchanger
A heat exchanger transfers heat between streams.
If the whole heat exchanger is the control volume and heat loss to surroundings is negligible:
For two streams with no work and negligible kinetic/potential energy changes:
Mixing chamber
For an adiabatic mixing chamber with no work and negligible kinetic/potential energy changes:
Mass balance:
10. Second Law of Thermodynamics
The First Law gives energy conservation. The Second Law gives direction and limits.
Thermal reservoir
A thermal reservoir can supply or absorb heat without changing temperature.
Examples:
Atmosphere
Large lake
Furnace
Ocean
Heat engine
A heat engine receives heat from a high-temperature reservoir, produces net work, and rejects heat to a low-temperature reservoir.
Energy balance over a cycle:
Thermal efficiency:
Equivalent form:
Refrigerator
A refrigerator uses work input to move heat from a low-temperature region to a high-temperature region.
Coefficient of performance:
Since
then:
Heat pump
A heat pump uses work input to deliver heat to a high-temperature region.
Coefficient of performance:
Thus:
Relationship:
Kelvin-Planck statement
No heat engine can convert all the heat it receives from a single reservoir into net work while operating in a cycle.
This means no real heat engine has:
Clausius statement
No refrigerator or heat pump can move heat from a colder body to a hotter body without work input.
Reversible and irreversible processes
A reversible process can be reversed without leaving any net change in the system or surroundings.
Real processes are irreversible due to effects such as:
Friction
Unrestrained expansion
Mixing
Heat transfer through a finite temperature difference
Electrical resistance
Inelastic deformation
11. Entropy
Entropy is a thermodynamic property that measures energy dispersal and irreversibility.
For an internally reversible process:
Specific form:
Entropy change
Entropy change between two states is independent of path:
For a closed system:
Entropy principle
For an isolated system:
For the universe:
Equality applies to reversible processes:
Irreversible processes generate entropy:
Entropy balance for a closed system
General entropy balance:
where:
$Q_k$ is heat transfer at boundary temperature $T_k$
$S_{gen}$ is entropy generation
Entropy generation cannot be negative:
Entropy balance for a control volume
Rate form:
At steady state:
Isentropic process
An isentropic process has constant entropy:
For a process to be isentropic, it must be both:
Adiabatic
Reversible
Adiabatic alone does not guarantee isentropic behavior.
T-ds relations
First T-ds relation:
Second T-ds relation:
These apply to simple compressible substances.
12. Power and refrigeration cycles
A cycle returns the working fluid to its initial state, so property changes over the cycle are zero.
Carnot cycle
The Carnot cycle is a completely reversible cycle operating between two reservoirs.
Carnot heat engine efficiency:
Temperatures must be absolute.
Carnot refrigerator:
Carnot heat pump:
No engine operating between the same two reservoirs can be more efficient than a Carnot engine.
Otto cycle
The ideal Otto cycle models spark-ignition engines.
Processes:
Isentropic compression
Constant-volume heat addition
Isentropic expansion
Constant-volume heat rejection
Compression ratio:
Air-standard Otto efficiency:
Diesel cycle
The ideal Diesel cycle models compression-ignition engines.
Processes:
Isentropic compression
Constant-pressure heat addition
Isentropic expansion
Constant-volume heat rejection
Cutoff ratio:
Air-standard Diesel efficiency:
Brayton cycle
The ideal Brayton cycle models gas turbine engines.
Processes:
Isentropic compression
Constant-pressure heat addition
Isentropic expansion
Constant-pressure heat rejection
Pressure ratio:
Air-standard Brayton efficiency:
Rankine cycle
The ideal Rankine cycle models vapor power plants.
Main components:
Pump
Boiler
Turbine
Condenser
Pump work input:
Boiler heat input:
Turbine work output:
Condenser heat rejection:
Net work output:
Thermal efficiency:
Vapor-compression refrigeration cycle
Main components:
Compressor
Condenser
Expansion valve
Evaporator
Compressor work input:
Condenser heat rejection:
Throttling valve:
Evaporator heat absorption:
Refrigerator COP:
Interactive visual
T-s diagram explorer
Switch between a process path and a closed cycle to see how temperature and entropy move together on a T-s plane.
The filled region gives a simple heat-transfer proxy on the T-s plane.
13. Problem-solving workflow
Use this checklist for most Thermodynamics I problems.
Step 1: Define the system
Decide whether the system is:
Closed
Open
Isolated
Draw a boundary.
Step 2: List knowns and unknowns
Write given values with units.
Convert temperatures to absolute scale when needed.
Step 3: Identify the process model
Examples:
Steady state
Adiabatic
Isothermal
Isentropic
Constant pressure
Constant volume
Rigid tank
Throttling
Polytropic
Step 4: Determine the substance model
Use one of:
Property tables
Ideal gas model
Incompressible substance model
Saturated mixture relation
Real-gas compressibility factor
Step 5: Choose the correct balance
Closed-system energy balance:
Control-volume mass balance:
Control-volume energy balance:
Entropy balance:
Step 6: Apply assumptions
Common assumptions:
Negligible kinetic energy change
Negligible potential energy change
Steady state
Adiabatic
No shaft work
Ideal gas
Constant specific heats
Only cancel terms after stating why.
Step 7: Solve symbolically first
Keep equations symbolic as long as possible. Substitute numbers after the equation is arranged.
Step 8: Check physical meaning
Ask:
Does the sign make sense?
Are units consistent?
Is the magnitude reasonable?
Is entropy generation nonnegative?
Is efficiency less than the Carnot limit?
14. Formula sheet
Basic property relations
Ideal gas
Saturated mixture
Closed-system First Law
If kinetic and potential energy changes are negligible:
Boundary work
Constant pressure:
Polytropic process, $n \ne 1$:
Polytropic process, $n = 1$:
Control-volume balances
Mass balance:
Steady-flow energy balance:
Mass flow rate:
Common devices
Turbine:
Compressor:
Pump:
Nozzle or diffuser:
Throttling valve:
Second Law and entropy
Heat engine efficiency:
Refrigerator COP:
Heat pump COP:
Carnot efficiency:
Entropy inequality:
Entropy generation:
Closed-system entropy balance:
Steady control-volume entropy balance:
Ideal gas entropy changes
Isentropic ideal gas relations
Common mistakes to avoid
Using Celsius instead of Kelvin in ideal gas or Carnot equations.
Mixing gauge pressure and absolute pressure.
Applying quality outside the saturated mixture region.
Calling an adiabatic process isentropic without checking reversibility.
Forgetting that $h$ includes flow work.
Using $\Delta U = Q - W$ for open systems without accounting for mass flow.
Forgetting to convert kJ/kg to J/kg when using velocity terms.
Assuming work is always positive. The sign depends on whether work is done by or on the system.
Ignoring entropy generation in irreversible processes.
Comparing efficiencies without checking reservoir temperatures or cycle assumptions.
Sources
Halliday, Resnick, and Walker, Fundamentals of Physics
Serway and Jewett, Physics for Scientists and Engineers
Griffiths, Introduction to Electrodynamics
Griffiths, Introduction to Quantum Mechanics
Taylor, Classical Mechanics