# If a gas is pushed through a widening section of a pipe with a piston, will the pressure increase?

Imagine I have a section of pipe that increases in cross-section at some point. If the gas in the pipe before this section is being displaced with a piston, will the gas increase its pressure and reduce its velocity while going through increasing area, or will it maintain its velocity and pressure at expense of energy delivered by the piston?

• Consider the expression for pressure losses in a pipe: it has an L/D term so diameter does have an effect Check out ConDi nozzles (Convergent / Divergent)... Commented Feb 8, 2021 at 5:41
• The source of energy input is irrelevant unless you are actually pressurizing the system because the piston moves faster then materials exit the system. In general, it's safe to say that increased velocity equals decreased pressure, and vice versa. And there is no way in a steady state system for velocity to stay the same for varying pipe diameters. Commented Feb 9, 2021 at 21:49
• i had this realization yesterday. The velocity has to drop in order to maintain the same flow. Therefore to maintain energy the pressure will have to increase to maintain energy. For it to do otherwise would be the opposite of acquiring energy. Sometimes when you look at formulas you lose the intuitive understanding Commented Feb 10, 2021 at 2:22

The key here is that the end of the pipe is not a closed boundary, so the piston is not compressing the gas or doing work in the sense of $$P \Delta V$$. As long as the flow is subsonic and not choked via a constriction, pressure will not build up at the piston end because pressure waves will propagate downstream faster than the flow. The piston is still adding energy to the gas, so total (stagnation) pressure would increase, but the static pressure would not. So the piston is imparting kinetic energy to the gas, but I would treat this as a boundary condition, not an energy input, such that $$v_{piston} = v_{i, gas}$$. From conservation of mass, and neglecting losses, the velocity of the gas everywhere in the straight section of the pipe would equal the piston velocity.