
How much work is lost when two finite bodies touch?
Two bodies in an insulated enclosure begin at different temperatures. A cyclic reversible device could extract work before their temperatures equalise. Compare this with simply putting the bodies in thermal contact. Change the heat capacities and initial temperatures, then rerun.
Open editable notebook · Download .ipynb · Chapter 9 · Useful work and exergy destruction

Where a thermoelectric cooler rejects its heat
A detector has to operate ten kelvin below the laboratory air temperature. A thermoelectric module beneath it can transport heat against that temperature difference when an electric current flows. Increasing the current also generates heat inside the module and warms its heat sink. Build an energy balance that predicts when additional current helps, when it costs more than it delivers and why a nominal cooling-capacity figure alone cannot specify an operating point.

What temperature does a probe in a hot gas measure?
A small bead in a duct exchanges energy with both the gas and the duct walls. Calculate the indicated temperature from an energy balance, infer the gas temperature from the reading, and test how emissivity changes the measurement.
Open editable notebook · Download .ipynb · Thermal processes and transport in engineering
Fundamentals / Mechanical engineering / Engineering thermodynamics and heat transfer
Engineering thermodynamics and heat transfer · Computational notebooks
Change an input, run the Python cells and compare the result with the derivation. You can also download each notebook for Jupyter.