Fundamentals / Mechanical engineering / Engineering thermodynamics and heat transfer

Open systems, enthalpy and steady-flow devices

Use an inlet-outlet balance to distinguish shaft work, kinetic-energy conversion and pressure reduction.

From first principles

Derive the steady-flow energy balance including flow work

Surround a turbine, nozzle or mixing chamber with a stationary control surface. In addition to transporting its internal, kinetic and gravitational energies, an entering fluid is pushed across the inlet by upstream pressure. A mass increment \(dm\) occupies volume \(v\,dm\) and requires pressure work \(pv\,dm\) to enter. The outlet carries the corresponding work away. Combining internal energy \(u\) and flow work defines enthalpy:

\[h=u+pv,\]
\[e_{\rm stream}=h+V^2/2+gz .\]

Here \(V\) denotes speed, \(v\) specific volume and \(z\) elevation. In steady operation, sum these stream contributions and include heat into and shaft work out of the control volume. For one inlet and one outlet with equal mass rate, rearrangement gives

\[\dot Q-\dot W_s=\dot m\,[h_2-h_1+(V_2^2-V_1^2)/2+g(z_2-z_1)] .\]

All terms have units of power. A nozzle can accelerate flow without shaft work by lowering static enthalpy. A throttle with no heat, no shaft work and negligible speed and elevation changes is instead approximately isenthalpic. Omitting the pressure work while also using internal energy would miss both conclusions.

Background · Specific enthalpy
\[h=u+pv\]

Specific quantities are per unit mass. Enthalpy accounts for internal energy and flow work when mass passes through a control surface.

Derivation and applications

Convert a nozzle energy balance into a mass-flow limit

A steady nozzle converts static enthalpy into bulk kinetic energy. A converging passage has a maximum possible mass flow at a specified inlet stagnation state. Derive this for a steady, one-dimensional, adiabatic ideal gas with constant \(c_p\) and \(\gamma\), reversible acceleration and negligible inlet-reservoir velocity. Write reservoir conditions as \(T_0,p_0\) and the local static conditions as \(T,p\). With no shaft work the energy balance gives

\[c_pT_0=c_pT+u^2/2,\]
\[u=\sqrt{2c_pT_0(1-T/T_0)} .\]

Isentropic acceleration links temperature and pressure. Let \(r=T/T_0\), so \(p/p_0=r^{\gamma/(\gamma-1)}\). The mass flux is \(\rho u\) and ideal-gas density is \(p/(RT)\). Substitution gives a function of just one local variable:

\[G(r)=\frac{p_0}{RT_0}\sqrt{2c_pT_0}\,r^{1/(\gamma-1)}\sqrt{1-r}.\]

To find its maximum differentiate \(\ln G=(\ln r)/(\gamma-1)+\ln(1-r)/2+\text{constant}\). Equating the two derivative terms gives the sonic temperature and pressure ratios:

\[r_*=\frac{2}{\gamma+1},\]
\[p_*/p_0=\left(\frac{2}{\gamma+1}\right)^{\gamma/(\gamma-1)},\]
\[u_*^2=\gamma R T_* .\]

The flow through a converging exit is choked when downstream pressure is low enough for this state to be reached. Further lowering downstream pressure changes the flow after the exit; the ideal mass flux at that exit remains fixed. The model omits wall friction, heat transfer and discharge-coefficient corrections.

Worked example

Size a sonic air metering aperture

For \(p_0=200\) kPa absolute, \(T_0=300\) K, \(\gamma=1.40\) and \(R=287\) J/(kg K), the critical state has \(T_*=250\) K and \(p_*=105.7\) kPa. Then \(\rho_*=1.47\) kg/m³ and \(u_*=317\) m/s, giving \(G_*\simeq467\) kg/(m² s). A \(20.0\) mm² effective aperture meters about \(9.33\) g/s if the downstream pressure allows choking.

Second application

Decide whether a higher receiver pressure matters

Raise the receiver pressure to \(160\) kPa. Its ratio to reservoir pressure is now \(0.800\), above the critical \(0.528\). An ideal converging nozzle discharges at this pressure with \(r=0.800^{(0.4/1.4)}=0.938\). The energy equation gives \(u\approx193\) m/s, static density about \(1.98\) kg/m³, and mass flux about \(382\) kg/(m² s). Through the same aperture the predicted flow falls to \(7.64\) g/s. A model assuming choked flow at both settings would miss this change.

Try it · Nozzle

Set the inputs to the values in the worked example, then vary one quantity while holding the others fixed. Compare the curve and numerical balance with the second application. The calculation uses the assumptions derived above; its readout identifies bounds such as choking, phase-region changes and inconsistent measurements.

OneSimulation laboratory

Explain why greater exchanger effectiveness can give less power

Start from this chapter. Enclose each stream in a steady-flow control volume. Use its inlet and outlet enthalpy to infer heat rate. Check the hot- and cold-side estimates against one another in the numerical run.

Compare recorded OneSimulation runs on this page. To test your own inputs, download the notebook and model files and run the model in an activated OneSimulation environment.

Run the heat-exchanger example at ntu=1.5, capacity_ratio=0.6 and inlet temperatures 350 and 290 K. Record both cross-section-averaged outlet temperatures and the power lost by the hot stream. In this code the geometry and conductance are fixed. Changing ntu changes the computed capacity rates and inlet speeds.

  1. Set ntu=3.0 at the original capacity ratio. Both flows halve. The one-dimensional model predicts an effectiveness of 0.853 and a hot outlet near 298.8 K. The heat rate should fall, despite the greater effectiveness, since there is now less hot water to cool every second.
  2. Restore ntu=1.5 and set capacity_ratio=0.3. The hot capacity stays fixed and the cold capacity doubles. Expect a lower cold outlet (about 303.1 K) and an increased heat rate (about 0.235 W). Check both energy balances against the numerical solution.
Computed exchanger outlets and heat released by the hot stream
NTU and capacity ratioHot outlet (K)Cold outlet (K)Heat rate (W)
1.5, ratio 0.60309.84314.200.2168
3.0, ratio 0.60299.36320.790.1367
1.5, ratio 0.30306.62303.110.2343
Doubling NTU here lowers transferred heat from 0.2168 to 0.1367 W because the capacity rates fall. Lowering only the capacity ratio at the original NTU increases the heat rate.
Doubling NTU here lowers transferred heat from 0.2168 to 0.1367 W because the capacity rates fall. Lowering only the capacity ratio at the original NTU increases the heat rate.

As a numerical balance check, also calculate the heat gained by the cold stream. The two outlet-based estimates differ by about 0.5% in the baseline and 1.4% at NTU 3. Refining the mesh lets you test how much of this discrepancy comes from the spatial approximation.

View the OneSimulation counterflow model and its temperature profiles.

Download experiment files (ZIP) Extract the files together and open counterflow_heat_exchanger_ntu.ipynb in a local OneSimulation environment.

Interactive reference for the OneSimulation laboratory

Change capacity rates through NTU at fixed conductance and check both outlet temperatures. The browser evaluates the1D counterflow energy-balance reference.

Problem sheet 6 · Recover an exchanger capacity rate from outlet data

Read the model setup and preparatory problems

Account for fluid entering and leaving

A closed-system piston can be followed with its gas. A continuously operating turbine has fresh fluid crossing its boundary every second. Enclose the hardware and its internal flow in a stationary control volume. Flowing mass carries internal energy \(u\), kinetic energy \(v^2/2\) and gravitational energy \(gz\) per kilogram. Upstream pressure also does work pushing fluid in, while downstream pressure opposes its exit. Per unit mass this flow work is \(p/\rho\), motivating the specific enthalpy \(h=u+p/\rho\).

Adding all incoming and outgoing energy rates gives, for one inlet, one outlet and constant stored energy,

\[\dot Q-\dot W_s=\dot m\left[h_2-h_1+(v_2^2-v_1^2)/2+g(z_2-z_1)\right].\]

Here \(\dot W_s\) is shaft power out of the control volume. Pressure work at the flowing boundaries is already contained in enthalpy; adding it once more would count it twice. One inlet and outlet have the same steady mass rate even when their volumetric flow rates differ dramatically because gas expands.

Read the dominant energy conversion

In a short, insulated nozzle there is no shaft, the elevation difference is small and falling enthalpy raises velocity. The property \(h+v^2/2\) is then constant, often called stagnation enthalpy. In an insulated turbine with small inlet and outlet speeds, the enthalpy drop instead appears mainly as positive shaft work. An insulated compressor takes work in, raising enthalpy. An insulated throttling valve has neither shaft power nor a large net change of bulk kinetic energy between distant ports, so its inlet and outlet enthalpies are approximately equal. These components can all drop pressure during expansion, yet their energy effects differ.

For ideal-gas air with nearly constant \(c_p\), an enthalpy difference may be approximated by \(c_p\Delta T\). Keeping h in kJ/kg while using \(v^2/2\) in J/kg is a common factor-of-one-thousand error. At 100 m/s the kinetic energy is 5 kJ/kg. That estimate often decides whether an inlet velocity may be omitted from a turbine work calculation.

Evaluate heat loss and exhaust speed

A turbine passes 2.0 kg/s of gas from \(h_1=820\) to \(h_2=600\) kJ/kg. Inlet speed is 40 m/s, exhaust speed 160 m/s and the casing loses 10 kW of heat. Elevations are equal. The gas loses \(2(820-600)=440\) kW of enthalpy flow. Its kinetic-energy rate grows by \(2(160^2-40^2)/2000=24.0\) kW. The unit delivers \(440-24-10=406\) kW shaft power. Counting all 440 kW as shaft output would overstate the result by both the residual exhaust energy and the heat leak.

A separate nozzle using gas at \(h_1=820\) kJ/kg and 40 m/s could reach \(h_2=800\) kJ/kg without a shaft if its speed rose to \(\sqrt{40^2+2(20\,000)}=204\) m/s. This estimate is an energy condition. The required area ratio, pressure drop and possibility of choking also depend on compressible-flow relations.

Extend the same balance to a mixer

Two insulated water lines mix at negligible speed change. One supplies 0.20 kg/s at 360 K and the other 0.30 kg/s at 300 K. A mass balance gives 0.50 kg/s at exit. With equal, constant \(c_p\) and no shaft, summing the two inlet enthalpy rates yields an outlet temperature \([0.20(360)+0.30(300)]/0.50=324\) K. The temperature lies between the inlet values, closer to the higher mass rate. The mixer conserves energy while creating entropy. The next lecture explains how both statements can hold simultaneously and why reversing the mixer without another effect is impossible.

Interpret a measured stagnation temperature

For an insulated diffuser with negligible shaft work, reducing speed from 200 to 40 m/s raises static enthalpy by \((200^2-40^2)/2=19.2\,\mathrm{kJ/kg}\). For air with \(c_p=1.005\,\mathrm{kJ/(kg\,K)}\) that corresponds to a 19.1 K static temperature rise. Stagnation enthalpy \(h+V^2/2\) stays constant even if internal friction produces entropy. A stationary temperature probe that slows the arriving air may approach a stagnation reading, so comparison with a predicted static temperature requires knowing where and how the measurement was taken.

Minimise compression work by selecting an intermediate pressure

A continuous air supply can be compressed in two stages and cooled at intermediate pressure. For a steady adiabatic compressor with negligible kinetic and potential changes, shaft work input is the stream enthalpy rise. With an ideal gas, constant \(c_p,\gamma\), and a reversible stage,

\[w=c_p T_{\rm in}[(p_{\rm out}/p_{\rm in})^a-1],\]

where \(a=(\gamma-1)/\gamma\). This follows by integrating \(ds=c_p\,dT/T-R\,dp/p=0\), then applying \(dh=c_p\,dT\). If both stages use the same isentropic efficiency, divide each ideal rise by that efficiency.

Assume complete intercooling to the original inlet temperature \(T_1\), no pressure losses and prescribed first and last pressures. Put \(r_1=p_i/p_1,\ r_2=p_3/p_i\), so \(r_1r_2=p_3/p_1=r\). Total ideal work is \(c_pT_1[r_1^a+(r/r_1)^a-2]\). Differentiate with respect to \(\ln r_1\); the derivative is \(c_pT_1a(r_1^a-r_2^a)\). The sum has a minimum at equal ratios, giving intermediate pressure \(p_i=\sqrt{p_1p_3}\). This is a geometric mean of absolute pressures. A gauge-pressure ratio would give a completely different design.

Compare two cooled stages with a single compression

Supply air at 100 kPa and 300 K and deliver it at 900 kPa absolute. For \(\gamma=1.4,\ c_p=1.005\,\mathrm{kJ/(kg\,K)}\), an ideal single stage gives \(T_3=300(9^{0.2857})=562.0\,\mathrm K\) and work about 263 kJ/kg. Two equal-ratio stages operate through 300 kPa. Each reaches \(300(3^{0.2857})=410.6\,\mathrm K\) before its outlet or intercooler, requiring \(1.005(110.6)=111.2\,\mathrm{kJ/kg}\). Total work is about 222.4 kJ/kg, roughly 15.5% lower. The intercooler must remove 111.2 kJ/kg between the stages under the ideal complete-cooling assumption.

With equal stage efficiencies of 0.80, each real enthalpy rise becomes 139.0 kJ/kg and the intermediate discharge temperature is about 438 K. Cooling back to 300 K then removes 139.0 kJ per kilogram, with a corresponding load of 27.8 kW at 0.20 kg/s. The equal-ratio choice survives because both stage work expressions acquired the same multiplier. An intercooler that can cool only to 330 K increases the weight of second-stage compression work; the new optimum shifts towards a larger first-stage pressure ratio. A design comparing only compressor shaft power would also need to account for coolant pumping, fan power and pressure losses before choosing the number of stages.

For an incomplete intercooler the optimal shift can be calculated. Take stage two inlet temperature \(T_m=330\) K independently maintained and identical efficiencies. The variable portion of total work is proportional to \(T_1r_1^a+T_m(r/r_1)^a\). Differentiating with respect to log first-stage ratio gives \(T_1r_1^a=T_mr_2^a\), or \(r_1/r_2=(330/300)^{1/a}=1.40\). At overall ratio nine,

\[r_1=\sqrt{9(1.40)}=3.54,\ r_2=2.54.\]

Compressing farther while the air is colder is energetically preferable within this simplified comparison. These ratios presume the cooler can maintain 330 K over its revised duty and that both discharge temperatures stay within their allowable ranges. A compressor map may impose further flow and speed limits beyond the thermodynamic minimum.

At fixed pressure endpoints, the measured intermediate pressure alone would thus be insufficient for diagnosing whether the cooler or a compressor caused an observed power increase.

How much static temperature does a nozzle convert to speed?

Air flows steadily through an insulated nozzle with negligible shaft work and elevation change. Take \(c_p=1005\) J/(kg K). Divide the conserved stagnation enthalpy \(c_pT+u^2/2\) by \(c_p\) to find the exit temperature.

How much static temperature does a nozzle convert to speed?. Horizontal axis: Exit speed (m/s). Vertical axis: Static temperature (K). Data follow the figure.
At 300 m/s the static temperature is about 44.8 K below stagnation temperature, regardless of pressure in this enthalpy calculation. Predicting exit pressure as well would require an entropy or loss model.
Read values from the plot
Static temperature (K) at selected values of Exit speed (m/s).
Exit speed (m/s)Stagnation temperature 350 KStagnation temperature 400 KStagnation temperature 450 K
0350400450
104344.62394.62444.62
210328.06378.06428.06
316300.32350.32400.32
420262.24312.24362.24

Download all 211 plotted samples (CSV)

Interactive calculation · change the inputs of this example

Change stagnation temperature and heat capacity independently. The speed-related temperature drop follows the energy balance.

The curves below are recalculated from this section’s equations in your browser. The fixed reference plot above remains available for comparison.

Study the full derivation

Staged compression with an imperfect intercooler · Thermal processes and transport in engineering

A laboratory compressed-air supply has two compressor stages and an intercooler. Equal pressure ratios minimise work only under particular assumptions. Derive the optimum, compare it with a single-stage machine and identify which temperature and power measurements reveal imperfect cooling or unequal efficiency.