Investigation on nanotube-metal contacts under different contact types