Determination of thermal conductivity of a metal rod