Thermal Periodic Boundary Conditions for Automatic Design Process of Cross Corrugated Channels