Influence of rarefaction on the flow dynamics of a stationary supersonic hot-gas expansion