Flow Work Formula Thermodynamics