THERMOMECHANICS OF HETEROGENEOUS MEDIA