Heat a solid and it expands. For a bar, the increase in length is its expansion constant times its original length times the temperature rise. Engineers leave gaps in rails and bridges so the metal has room to grow on a hot day. Leave too little and it buckles, too much and the joint clatters. Set a gap that just takes up the expansion at the target temperature.