Laws of Thermodynamics
There are 4 fundamental laws in thermodynamics that governs everything. But the first law is called Zeroth Law due to its been discovered the last but its super fundamental than all of the rest so have been moved to the front.
Zeroth Law
This is the foundation of Temperature.
If systems and are in thermal equilibrium, and and are in thermal equilibrium, Then and are also in the same equilibrium.
This transitivity property is required for the Temperature () to be a mathematically valid property. If , and we say no heat transfer. If , then when touched with and some heat transferred, then the Temperature Property is mathematically invalid.
Also thermometer can be used because of this. If transitivity property was not valid, even when Thermometer show in two cases, we cannot say they are equal. The only way to truly say they are equal would be to make them touch and see if there is heat transfer.
First Law
This law explains the conservation of Energy. This states that energy can be only transformed into a different form, and neither created nor destroyed.

- ) (Change in Internal Energy): The total kinetic and potential energy of the particles inside the system
- : Heat added to the system.
- : Work done by the system on its surroundings.
Steady Flow Energy Equation
The first law is written for a fixed mass (closed system). Real machines — turbines, compressors, nozzles, pumps — have mass flowing through them, so the balance has to be rewritten for an open system (control volume).

Why Enthalpy Appears
A fluid crossing the boundary carries energy in two ways:
- its own internal energy, kinetic and potential energy — the same terms as before
- flow work — the work its pressure does on the fluid ahead of it to push it through the boundary
For a mass entering at pressure with specific volume , the flow work is . That term always appears paired with internal energy, so it is bundled into a new property:
This is the real reason enthalpy exists — it is the property that makes open-system energy balances clean. In a closed system there is no flow work, so never needs to appear.
Assumptions of "Steady Flow"
"Steady" here means steady state, not equilibrium (see Fundamentals of Thermodynamics for the distinction):
- mass flow rate in = mass flow rate out,
- all properties at any fixed point do not change with time
- no change in the mass or energy stored inside the control volume
- uniform properties across each inlet and outlet
Properties may still differ between inlet and outlet — that is the whole point.
The Equation
Energy balance on the control volume, using the same convention as the first law above ( in positive, out positive):
where and are rates (W or kW) and is the mass flow rate (kg/s).
Dividing by gives the per-unit-mass form, which is what you use most often:
- — heat and work per unit mass (kJ/kg)
- — specific enthalpy (kJ/kg)
- — velocity (m/s)
- — elevation (m)
Units trap: is in kJ/kg, but comes out in J/kg when is in m/s. Divide the kinetic and potential terms by 1000 before adding them to . This is the most common arithmetic error in these problems.
The rate form is convenient when the problem gives flow rates; the per-mass form is convenient when it gives two states and no mass flow.
Derivation, Briefly
Start from the general control-volume energy balance and delete the storage term (steady state):
The terms are the flow work crossing with the mass. Set , group into , and rearrange:
What Means Here
is shaft work — work delivered through a rotating shaft, plus electrical work. It is not flow work, because flow work has already been absorbed into . If a device has no shaft, (nozzles, diffusers, heat exchangers, throttling valves).
Sign convention: positive means work done by the system. So a turbine has , and a compressor or pump has (or write and keep it positive).
Simplified Forms
Most problems collapse the equation rather than use all of it. Learn these as patterns:
| Device | Reduces to | ||||
|---|---|---|---|---|---|
| Nozzle | 0 | 0 | kept | 0 | |
| Diffuser | 0 | 0 | kept | 0 | same as nozzle, run backwards |
| Turbine | 0 (adiabatic) | kept | 0 | 0 | |
| Compressor | 0 (adiabatic) | kept | 0 | 0 | |
| Pump | 0 | kept | 0 | 0 | |
| Boiler / condenser | kept | 0 | 0 | 0 | |
| Heat exchanger | 0 overall | 0 | 0 | 0 | |
| Throttling valve | 0 | 0 | 0 | 0 | (isenthalpic) |
Two of these deserve a comment:
- Nozzle trades enthalpy for velocity — pressure drops, drops, rises. This is a steam jet or a rocket exhaust.
- Throttling is the odd one: nothing is constant except . It is highly irreversible (friction, no work done), yet it is isenthalpic. That is why a throttling calorimeter can measure steam quality, and why the extraction points in a regenerated Rankine Cycle work the way they do.
For the closed-system (fixed mass) counterpart, with boundary work , stick with above. SFEE is the open-system version of the same law.
Related: Entropy for the second-law limit on how much of that enthalpy drop can actually become work, Carnot Heat Cycle for the ideal ceiling, and Rankine Cycle for SFEE applied device by device in a power plant.
Continuity Equation
This is the general case for energy conservation. For incompressible fluidsl,
Specific Volume vs Density
- Density and Specific volumes are reciprocals