Title: Thermodynamics of Flowing Systems