Finite element analysis for buckling behaviour of coiled tubing in horizontal wellbores