  Analytical/quasi-analytical solutions are proposed for a steady,
compressible, two-phase flow in mechanical equilibrium in a rectilinear duct
subjected to heating followed by cooling. The flow is driven by the pressure
ratio between a variable outlet pressure and an upstream tank. A critical
pressure ratio distinguishes subsonic and supersonic outlet regimes: the
article proposes a methodology to determine the full flow behaviour, as a
function of pressure ratio and heat-flux distribution. Going forward, these
analytical reference solutions will help validate numerical codes for more
complex industrial applications. Specific results are studied for a mixture of
liquid water and water vapour.
