Compressible Duct Flow with Friction