TAGGED: eigensolver-analysis, FDE
-
-
February 23, 2023 at 5:40 pm
rakesh_krishna
SubscriberHi,
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 pm
Amrita Pati
Ansys EmployeeHi 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 pm
rakesh_krishna
SubscriberYes that works.
Thanks Amrita!
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Error: addfdtd is not a valid function or a variable name
- Error on Lumerical device
- Using a license file on a new license server
- Ansys Insight: Transmission results greater than one
- Ansys Insight: Diverging Simulations
- Ansys Insight: About override mesh in FDTD: its use and settings
- Is there a Lumerical script command to output the Simulation and Memory requirements?
- Ansys Insight: Convergence issues in CHARGE
-
3778
-
2587
-
1831
-
1244
-
598
© 2023 Copyright ANSYS, Inc. All rights reserved.