The Polytropic Approach in Modeling Compressible Flows Through Constant Cross-Section Pipes