Energy Conservation (cont.)
U = mu, u(internal energy per unit mass),
KE = (1/2)mV2 and  PE = mgz
Flow work Wflow= m (p/r)
It is common practice to combine the total energy with flow work or flow work.
Thus:
The difference between energy in and out is due to heat transfer (into or out)
and work done (by or on) the system.