A piecewise beam element based on absolute nodal coordinate formulation