If the pressure in a flow is constant, can you have shaft work?
The reversible work is given by
For a constant pressure the first term drops out but the other two ***. Kinetic energy changes can give work out (windmill) and potential energy changes can give work out (a dam).