September 13, 2023 at 1:30 pmNivedita VishnukumarSubscriber
I have been trying to find the overlap from mode that is simulated in FDE and a mode previously simulated and saved in .ldf file. The mesh, fde size and region are same for both simulations. I manually loaded the ldf file. With reference to figure attached below, I tried to find overlap with a gaussian beam created by the software (dcard-1,2), "Calculate overlap" works and gives a value. But for ldf file that I loaded (dcard 3,4,5..), "Calculate overlap" does not work at all. I am confused why the problem arises. Also if there is a way to access global data from .ldf through scripting, please let me know ( It always gives the error, "in getdata, no data structures named global_mode2 were found" )
September 15, 2023 at 10:50 pmAmrita PatiAnsys Employee
I apologize for the late reply. You mentioned that the FDE size in both the cases is same, which is required for the calculation of the overlap integral. But the wavelength has to be same as well. Were the modes calculated at the same wavelength in the first FDE simulation?
To see a list of all availabe dcards, you can use the following script command:
Then you can also use the following command to see what properties of the mode in the global deck are available to you:
In my case, this returns the following result:
Now you can use the following script command to access any of above properties (effective index shown below):
index_g1 = getdata("::global_mode1","neff");
Please let me know if you have any further questions.
- 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.
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?
- Using a license file on a new license server
- Ansys Insight: Diverging Simulations
- Error: addfdtd is not a valid function or a variable name
- Questions about the calculation of the cross-polarization conversion efficiency of metasurface
- Error on Lumerical device
- Ansys Insight: About override mesh in FDTD: its use and settings
- Finding your Ansys (or Lumerical) account number
- Lumerical – error message when trying to open from Linux terminal
© 2023 Copyright ANSYS, Inc. All rights reserved.