Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Choosing the appropriate mode using “copydcard” › Reply To: Choosing the appropriate mode using “copydcard”
February 23, 2023 at 9:49 pm
Amrita Pati
Ansys Employee
Hi Rakesh,
You are correct. Everytime you update the structural paramaters, the order of the modes may change in the mode list. So, you can not directly save the TE mode using copydcard. In your script, you will be required to add a loop that goes through the mode list and finds the mode number that has a TE Polarization Factor greater than 80% (for TE mode). Once you have the mode number you can use the copydcard function.
Regards,
Amrita