To solve this problem, we must understand the behavior of Rayleigh flow, which is the flow of a compressible fluid in a constant area duct where heat is added or removed without friction. In Rayleigh flow, the following key points should be noted:
Given the above principles, the statement that "Total temperature increases and total pressure decreases for both supersonic and subsonic flows at inlet" accurately describes the behavior of Rayleigh flow.