Guilin Sun
Ansys Employee
I am not sure what script you copied for what purpose. If you just want to investigate the modes for SMF fiber, simply enable FDE, disable the taper, and you will be able to get the mode as follows:
Since we are not allowed to download customer files, please copy and paste here and explain what do you expect the script file to accomplish.

The result you gave shows it has circular and ridge waveguide together. Please check the geometry carefully.