Non-Equilibrium Thermodynamics in Multiphase Flows