Microscopic Analysis of Clausius–Duhem Processes