3D mesh: periodic boundary conditions and unstructured mesh

I think there are options to freeze the boundary meshes within tetgen… from some old codes, I think the option for tetgen switch="pqaAAYYQ"does the job… in any case, this should be available in the documentation
hope this helps.