A thin cylindrical metal rod is bent into a ring with a small gap as shown in figure. On heating the system