For an open system with mass flowing in and out, where mass exits the system there is work associated with the mass transport. When this work is used to say, push up a piston, this is pretty intuitive, but even when it does not lift a weight since, the force COULD be used to lift a weight, it is thermodynamic work. I'm trying to understand how we quantify that work. Since it is boundary work we say that Work = the integral of P dV from V1 to V2 And then we have Enthalpy = U + PV, and from what I read the PV term represents the flow work. I don't understand how this is, since the integral of P dV from V1 to V2 is different depending on the relationship between P and V. If you look at work as the area under the P/V curve, you see how you need to more than just the end states to know the integral. Am I wrong to use Enthalpy to calculate the flow work in this way? Or is there something about it that I don't get, that makes it okay to do so?