Heat Exchanger
About
Two streams exchange heat: one cools, the other warms by the same amount. Give the duty, or one outlet temperature, and it finds the rest, counter-current or co-current, and refuses a pairing that would need heat to flow backwards.
What This Models
A hot stream and a cold stream flowing past each other and exchanging heat — a shell-and-tube unit, a plate exchanger, any device where the two never mix. Whatever heat the hot stream gives up, the cold stream takes on: no loss to the surroundings is modelled, so the duty on one side always equals the duty on the other.
Key Relations
Q = ṅ_hot·(h_hot,in − h_hot,out) heat the hot stream gives up
Q = ṅ_cold·(h_cold,out − h_cold,in) heat the cold stream picks up
The same Q both ways, by construction — no separate closure to check. Each Δh comes from the same relation the Heater case uses on its one stream, Δh = ∫Cp dT + Σ L_tr (sensible heat plus any latent heat crossed), run once per stream. Whichever you give — the duty, or one stream's own outlet — the other three unknowns follow from these two equations together.
Counter-Current And Co-Current
Counter-current, the default, has the two streams flowing in opposite directions through the unit: the hot inlet meets the cold outlet at one end, and the hot outlet meets the cold inlet at the other. It is the usual arrangement and the more efficient one, because it lets the cold stream leave hotter than the hot stream leaves.
Co-current has both streams entering at the same end and leaving at the other. The hot inlet meets the cold inlet, and the two outlets leave side by side, so the cold outlet can never pass the hot outlet.
The energy balance is the same either way: for a given duty the outlet temperatures do not depend on the arrangement. What the choice changes is what is possible (see When It Refuses), how the temperature profiles are drawn, and where the closest approach is measured.
Inputs
The form opens with a Flow card: a Counter-current / Co-current switch and a picture of the exchanger, which follows the switch. It shows the two inlet temperatures as you type them, and a ? on each outlet the calculation will find.
Then a Hot stream card and a Cold stream card, marked HOT and COLD. Each asks for the same things the Heater case asks for a single stream, given twice:
- A Single substance / Mixture switch, and the Substance. The defaults are hot carbon dioxide and cold nitrogen, echoing a calciner giving up heat. A mixture is built the same way as on the Property tab, with shares as Mole % or Mass %, or as Amounts, each component's own flow; the stream's flow is then their sum. Air on its own has no heat-capacity data, so it is refused, but it can be one component of a mixture, where it is split into nitrogen, oxygen and argon.
- Mass flow, 1000 kg/h by default, with its unit menu inside the field. The menu offers Mass flow, Molar flow, Volumetric flow and Normal Volumetric Flow units, and picking a unit of another kind switches the basis. Only rates are offered: a batch heat exchanger is not a standard concept. Each stream has its own basis.
- Inlet temperature, 900 °C for the hot stream and 20 °C for the cold, and Pressure, 1.01325 bara, side by side. Its ⓘ says it is held constant through the exchanger on each side, as in the Heater case.
You know then chooses what you give, a switch of Duty, Hot outlet T and Cold outlet T. As the note under it says, the other two are calculated.
- Duty asks for one Duty, a power, and finds both outlet temperatures. Its ⓘ says it is always positive, since which stream is hot already says which way the heat goes.
- Hot outlet T asks for the Hot stream outlet temperature and finds the duty and the cold outlet. The outlet must be cooler than the hot inlet.
- Cold outlet T asks for the Cold stream outlet temperature and finds the duty and the hot outlet. The outlet must be warmer than the cold inlet.
Press Calculate, pinned at the bottom of the screen. Editing any input, or changing a unit, clears the answer, and you are back at the inputs.
What comes back
The results open on their own screen. At the top an Inputs strip sums up what was calculated ("Hot Carbon dioxide 900 °C · Cold Nitrogen 20 °C · Counter-current"), and Edit takes you back to the form.
The answer comes first, in a dark card: the Duty, with a sentence giving the outlet you did not enter, "Cold stream leaves at 361.4 °C" (or the hot stream's, when you gave the cold outlet). Tap the unit beside the number to change it. Under it the exchanger picture comes back with all four temperatures filled in.
A Closest approach tile gives the smallest temperature difference between the streams at the ends of the exchanger, and which end it is at: the smaller of the hot end and the cold end for counter-current, the outlet end for co-current.
A Temperature profiles chart plots both streams' temperatures against the heat transferred. Counter-current, the heat is counted from the cold end (hot outlet beside cold inlet); co-current, from the inlet end (both inlets together). The note under it says which, and gives the closest approach read along the two lines, not just at the ends. A stream that changes phase shows as a flat step in its line.
A Hot stream by phase and a Cold stream by phase table give the flow that is liquid and gas, In beside Out, with a Total and the stream's mass balance under it; a mixture stream lists every component instead.
Then the values, grouped:
- Duty: the duty.
- Hot stream and Cold stream, each with the Inlet temperature and Outlet temperature, Initial → final phase, a Melting point or Boiling point line for each transition crossed, and when the phase changes the duty split into of which sensible and of which latent. Then the stream's Mass flow, Molar flow and Volumetric flow at inlet conditions.
Every value with a unit has its own unit menu; changing one changes only that row.
Grey notes say which flow arrangement was used, that there is no heat loss so both sides carry the same duty, and that this is the energy balance only. If either stream changes phase, a note says so. A failure inside one stream, such as a duty beyond what it can absorb, names the stream, so you are not left checking both.
Solved with: names the heat-capacity correlations used for each stream. Methods used at the foot opens a sheet where you can see, and for a single substance change, the heat-capacity method each stream uses for each phase; picking another one calculates again. See Methods and Sources.
When It Refuses
Heat only flows from hot to cold, so wherever the two streams meet the hot one must be at least as hot as the cold one. Which temperatures meet depends on the arrangement.
Counter-current: T_hot,out ≥ T_cold,in (cold end)
T_cold,out ≤ T_hot,in (hot end)
Co-current: T_hot,in > T_cold,in (inlet end)
T_cold,out ≤ T_hot,out (outlet end)
Asking for a pairing that breaks any of these is refused rather than answered with a duty that would require heat to run backwards. The message gives the two temperatures that clash and, where it helps, suggests reducing the duty, raising a flow, or checking the outlet temperature entered. The co-current outlet-end check is the one counter-current never needs, and the usual reason a duty that works counter-current cannot be done co-current; its message suggests counter-current flow, which allows it.
That check only looks at the four inlet and outlet temperatures, not the shape of the temperature profile in between. If a stream changes phase partway through, the closest approach between the two streams can occur at that phase change rather than at either end. The Temperature profiles chart reads the gap along both lines, and when they cross inside the exchanger an amber warning says at about what share of the duty, and by how many kelvin. The result is still shown, but that duty cannot be reached in a single exchanger of that arrangement. The Closest approach tile is taken at the ends only, so when a stream changes phase read the chart's note and warning as well.
What This Does Not Do Yet
This is the energy balance only: how much heat moves, and what temperature each stream leaves at. It does not size the exchanger — no heat-transfer area, no overall heat-transfer coefficient, no LMTD, no tube count, no pressure drop, no fan or pump power, and no cost. Sizing needs a heat-transfer coefficient on top of the temperature profiles drawn here, a separate calculation from the one here.
What was checked against published values, and how far off it was, is on Accuracy and limits.
References
- Energy balance between the two streams (Q = ṅ·Δh on each side), and Δh = ∫Cp dT + Σ L_tr: Smith, J. M.; Van Ness, H. C.; Abbott, M. M.; Swihart, M. T. Introduction to Chemical Engineering Thermodynamics, 8th ed.; McGraw-Hill: New York, 2018. Also Çengel, Y. A.; Boles, M. A. Thermodynamics: An Engineering Approach, McGraw-Hill.
- Counter-current and co-current arrangements, temperature profiles and closest approach: Incropera, F. P.; DeWitt, D. P.; Bergman, T. L.; Lavine, A. S. Fundamentals of Heat and Mass Transfer, 7th ed.; Wiley: Hoboken, 2011.
- Heat capacities, latent heats, phase-change temperatures and equations of state for each stream: the sources listed on the Heater page, since each stream is calculated the same way. These are CoolProp (Bell, I. H.; Wronski, J.; Quoilin, S.; Lemort, V. Ind. Eng. Chem. Res. 2014, 53, 2498-2508), the Peng-Robinson equation of state (Peng, D.-Y.; Robinson, D. B. Ind. Eng. Chem. Fundam. 1976, 15, 59-64), and property correlations fitted to measured data.

