On the thermodynamics of a mixture of isotropic materials with constraints