Surface Plot of Directional Coupler
Directional Coupler has many applications and plays an important role in communication. It works on the principle of coupled oscillations. Two coupled waveguides exchage energy periodically. In order to have a better understanding, I have written a MEEP code to simulate a directional coupler. I have also written a python script for 3D surface plot for better visualization. You can find the files here.