Applications of irreversible thermodynamics to rapid solidification of multicomponent alloys