Thermodynamics Of Fluids Under Flow