We present a thermodynamically based approach to the design of models for viscoelastic fluids with stress diffusion effect. In particular, we show how to add a stress diffusion term to some standard viscoelastic rate-type models (Giesekus, FENE-P, Johnson-Segalman, Phan-Thien-Tanner and Bautista-Manero-Puig) so that the resulting models with the added stress diffusion term are thermodynamically consistent in the sense that they obey the first and the second law of thermodynamics.
We point out the potential applications of the provided thermodynamical background in the study of flows of fluids described by the proposed models.