TAGGED: eigensolver-analysis, FDE
-
-
February 23, 2023 at 5:40 pmrakesh_krishnaSubscriber
Hi,
I am trying to calculate overlap between two modes using the overlap command. I followed the instructions on the webpage referring to overlap function, where copydcard is first used to select a mode. I want to write a script file where the mode is selected after running FDE for an object. Since the command copydcard is written to select a mode based on index instead of the E-field pattern, you may have your mode1 to be TM instead of TE. I would like to avoid this. Is there anyway to select the TE mode even if my mode1 turns out to be TM?
<---------more ifnromation------->
I am running a for loop with variable i, to change the height/z position of the fiber. Then the TE mode profile needs to be captured for fiber at different values of i/different heights. So I am trying to store the mode profile in "TE_Fib" dcard as shown below. But for some heights/i values, the mode1 is not TE instead its TM. I need mode1 to be TE or a way to choose TE mode exclusively to save it in dcard
copydcard("mode1","TE_Fib"+num2str(i));
-
February 23, 2023 at 9:49 pmAmrita PatiAnsys 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 -
February 24, 2023 at 9:14 pmrakesh_krishnaSubscriber
Yes that works.
Thanks Amrita!
-
- The topic ‘Choosing the appropriate mode using “copydcard”’ is closed to new replies.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Help for qINTERCONNECT
- Trapezoidal ring
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- Edge Coupler EME Example Issue
- How to measure transmission coefficients on a given plane .
-
1231
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.