Defaults (T_h_in=150°C, T_h_out=90°C, T_c_in=25°C, T_c_out=80°C) yield counter-flow LMTD ≈ 67.5 K, parallel-flow LMTD ≈ 45.5 K and a counter / parallel ratio ≈ 1.48. Physically inconsistent combinations (T_h_in > T_h_out > T_c_in, T_c_out > T_c_in, T_h_out > T_c_out in parallel flow violated) are flagged with "—" or "invalid".
Top half = counter flow: hot stream left-to-right, cold stream right-to-left / Bottom half = parallel flow: both streams left-to-right / Red = hot stream / Blue = cold stream / Green dashed = ΔT_1, ΔT_2 at the two ends
Horizontal: end-difference ratio ΔT_2/ΔT_1 (0.05 to 1.0) / Vertical: LMTD/ΔT_1 (dimensionless) / Blue: LMTD function (1−r)/ln(1/r) / Yellow dot: current counter-flow / Orange dot: current parallel-flow / Counter flow usually sits at higher r (close to 1) and a larger LMTD
The Log Mean Temperature Difference is the representative temperature difference along an exchanger whose local ΔT varies with position, expressed in terms of the end values $\Delta T_1, \Delta T_2$:
$$\mathrm{LMTD} = \frac{\Delta T_1 - \Delta T_2}{\ln(\Delta T_1/\Delta T_2)}$$Counter and parallel configurations pair the end differences differently:
$$\Delta T_1^{\text{co}} = T_{h,\text{in}} - T_{c,\text{out}},\quad \Delta T_2^{\text{co}} = T_{h,\text{out}} - T_{c,\text{in}}$$ $$\Delta T_1^{\text{pa}} = T_{h,\text{in}} - T_{c,\text{in}},\quad \Delta T_2^{\text{pa}} = T_{h,\text{out}} - T_{c,\text{out}}$$The total heat transfer rate, integrated along the area, is driven by LMTD:
$$Q = U\,A\,\mathrm{LMTD}$$$U$ is the overall heat-transfer coefficient (W/m²K), $A$ the heat-transfer area (m²). At the removable singularity $\Delta T_1 = \Delta T_2$ the limit value $\mathrm{LMTD} = \Delta T_1$ is used.