Modelling of structures made of filiform beams: Development of a curved finite element for wires