Thermodynamics of materials

What role does the thermodynamic factor play when relating chemical diffusion to composition changes in a nonideal alloy?