A finite element approach to the electromagnetic interaction with rotating penetrable cylinders of arbitrary cross section