Thermodynamics of Irreversible Processes in Liquid Metals