OptiFDTD provides two special boundary conditions—perfect electrical conductor (PEC) boundary and perfect magnetic conductor (PMC) boundary. The two boundary conditions can works with Anisotropic PML together to realize the plane wave simulation. For more details of these boundary conditions, please see the Technical Background. This lesson presents a 2D plane wave simulations and 3D plane wave simulation.
Note: Due to the PMC and PEC setting, plane wave simulation is only functional with symmetrical structures.