We follow a small mass δm as it moves from just outside inlet 1 to just outside outlet 2, and apply the closed-system first law to that travelling lump (it's the same matter throughout, so closed-system law is legal).
Step 1 — Closed-system first law for the lump.ΔE=Q−WtotalWhy this step? Energy is conserved for a fixed chunk of matter; that's the only law we're truly sure of, so we start there.
Step 2 — What energy does the lump have? Internal + kinetic + potential, per unit mass:
e=u+21V2+gzWhy? These are the storable energies the fluid carries; we will need their change between 1 and 2.
Step 3 — Split the work into flow work + shaft work.
The total work has two parts:
Flow (displacement) work: the surroundings push the lump in at 1 and it pushes fluid out at 2. To push volume Vvol=vδm across a face at pressure p takes work pVvol=pvδm.
Shaft workWs: useful work via a shaft/blade (turbine out, compressor in).
So per unit mass:
Wtotal=ws+(p2v2−p1v1)Why the sign? At outlet the system does work p2v2 on the downstream fluid (work out, +). At inlet the upstream fluid does work p1v1on our system (so subtract it). This is the heart of the derivation.
Step 4 — Assemble. Per unit mass (q=Q/δm, etc.):
(u2+21V22+gz2)−(u1+21V12+gz1)=q−ws−(p2v2−p1v1)
Step 5 — Group u+pv into enthalpy. Move flow-work terms to the left:
(u2+p2v2)+21V22+gz2=(u1+p1v1)+21V12+gz1+q−ws
Imagine a crowded train (the pipe). To get a person into the train you have to push the crowd to make room — that pushing is "flow work." To get a person out the door, the crowd inside pushes them out — that's work too. So each person carries their own backpack of energy (u) plus the push needed to squeeze through the door (pv). We just glue these together and call the bundle "enthalpy." Now energy in = energy out: heat you add + work a fan adds = the change in everyone's bundles + their running-around energy. When the train speeds through a narrowing tunnel and nobody adds heat, people cool down a little because their bundle energy turned into running-fast energy.
Dekho, jab fluid kisi pipe, nozzle ya turbine ke andar se flow karta hai, toh wo ek open system hota hai — yaani mass boundary cross karti hai. Closed system wala first law dU=δQ−δW yahan kaafi nahi hai, kyunki fluid ko andar dhakelne aur bahar nikalne mein bhi work lagta hai. Is push ka naam hai flow work=pv. Maza ki baat: yeh pv hamesha internal energy u ke saath chipak jaata hai, isliye hum dono ko jod kar ek naya variable banate hain — enthalpyh=u+pv. Isi wajah se compressible flow ki saari physics enthalpy ke around ghoomti hai.
Final equation, jise Steady Flow Energy Equation (SFEE) kehte hain: h1+21V12+gz1+q=h2+21V22+gz2+ws. Yahan q heat hai jo add hoti hai, aur ws shaft work hai jo machine bahar nikalti hai (turbine mein positive, compressor mein negative). Yaad rakho: flow work pv already h ke andar chhupa hai, isko dobara mat ginna — yeh sabse common galti hai.
Aerodynamics mein nozzle/free-stream ke liye q=0 (adiabatic), ws=0, aur gas ke liye gz chhota — toh seedha milta hai h+21V2=h0= constant, jaha h0 stagnation enthalpy hai. Gas perfect ho toh cpT+21V2=cpT0. Iska matlab: jab nozzle mein air tez hoti hai, uska temperature girta hai — kyunki kinetic energy enthalpy se "udhaar" leti hai. Aur jab air kisi body ke nose pe ruk jaati hai, toh garam ho jaati hai (T0) — yahi aerodynamic heating ka root reason hai. Bas yeh ek equation poori compressible flow ki backbone hai.