The possibility is demonstrated of taking a general solution of the differential equation system describing one-dimensional stationary flow of compressible gas with the given constant heat flux, friction and mass forces that can perform work in the constant-area channel.