Heat transfer and diffusion of particles