We study heat rectification in composition-graded nanowires. with nonlocal and nonlinear effects taken into account in a generalized Guyer-Krumhansl equation. Using a thermal conductivity dependent on composition and temperature. the heat equation is solved. https://www.socialstudiesscholar.com/