the flow work is not an inexact differential, because it is defined for a particular process (constant pressure change in volume). the energy crossing the system boundary with dm,dein , can then be considered to be the energy carried in within the element of mass ein,mass (eq. (2.22)) plus the flow work done to push the mass across the boundary against the system pressure, p , eq. (2.23).