Thermally induced directed currents in hard rod systems