Modelling rivets in the finite element analysis