Determining the axial force in metallic rods