April 22, 2024 at 9:53 pm
Guilin Sun
Ansys Employee
Using inverse design for EME is quite new. no "use_eme" fucntionality is available. You may need to develop your own code. Please note that EME works for waveguide modes. and every iteration it needs to build the EME cells, calculate the modes and then propagate to get s parameters.
As mentioned in this exmaple: https://optics.ansys.com/hc/en-us/articles/360042800573-Inverse-Design-of-Grating-Coupler-2D EME gives result from ports. You will need first to get S parameters, and then extract one of them, and with some manipulation and assign to FOM. Eg,
s=getresult("user s matrix");
fom=abs(s(2,1))^2;
this is to use transmission at port 2 for mode 1 at port 1 injection, for one input port and one output port device.
Â