In a steady state steady flow process taking place in a device with a single inlet and a single outlet, the work done per unit mass flow rate is given by
w=−∫outletinletvdp, where v is the specific volume and p is the pressure. The expression for w given above