A theory of thermoelasticity with diffusion under Green-Naghdi models