Thermodynamics of irreversible processes in rotating systems