Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Edge Coupler EME Example Issue › Reply To: Edge Coupler EME Example Issue
Hello Shangxuan,
1.The script in the example file was created for an older version of Lumerical and needs to be updated on our side. Thank you for identifying this issue.
The attributes of the mesh object have changed. To check the new attributes, you can open a new project and add a mesh object. You should see the updated attributes: 'set equivalent index' and 'equivalent z index'. See also Mesh override - Simulation Object.
2. Theoretically, you can try to replace line 158 and line 159 in the script with
set("set equivalent index",true);
set("equivalent z index",4);
This should align the script with the current version of Lumerical. However, in some cases, this may not fully resolve the issue.
3. I will be running more tests. In the meantime, you can either use your script modification, comment out these two lines, or refine the mesh in another way — whichever works best for you.
Sorry for the inconvenience, and thank you again for bringing this issue to our attention.
Best regards,
Kirill