Periodic boundary conditions for the numerical homogenization of composite tubes