Ansys Learning Forum Forums Discuss Simulation Photonics unable to calcualte mode expansion Reply To: unable to calcualte mode expansion

Guilin Sun
Ansys Employee

It is difficult to give solutions based on the error message from Python. Maybe it is due to the difference of opration system? what OS you are using? what kind of device is this? does the mode expansion work directly from the file wihtout using python? I would suggest that you use a simple straight waveguide with ports, first do direct simulation, then use Python script.   we need to isolate the possible issues.