-
-
June 20, 2023 at 12:17 pm
Ekaterina Pshenay-Severin
SubscriberI need to calculate the mode overlap between a WG mode and an elliptical Gaussian beam. I would like to do it in MODE using overlap. How can I create an appropriate object with an elliptical Gaussian field profile? I use "rectilineardataset" to generate the filed distribution but I don't understand how copy it to a DECK.
Thank you in advance!
Ekaterina
-
June 20, 2023 at 7:25 pm
Guilin Sun
Ansys EmployeeUnfortunately it is difficult to load ldf data into the Global deck as it only accept save dcard data. You can use zbf data: https://optics.ansys.com/hc/en-us/articles/360034928293-zbfwrite-Script-command
I tried and it works.
You can also use script to calculate the overlap as you have already the elliptical beam data. What you need is to get the mode fields:
E=getresult("mode1","E");
H=getresult("mode1","H")
and then get components, and follow this link for the formula: https://optics.ansys.com/hc/en-us/articles/360034405254-overlap-Script-command
-
June 21, 2023 at 11:02 am
Ekaterina Pshenay-Severin
SubscriberThank you a lot for the answer! But I still have a question. Firstly, the additional issue I face is that the WG I simulate with MODE is oriented along the x-axis (injection x-axis). To use overlap, I need the elliptical beam in the Y-Z plane. Of course, I can rearrange the WG geometry, but I wanted to find out if there is a way to generate an elliptical beam in the Y-Z plane.
Concerning zbf, it seems that the zbf export works in a way that the resulting field distribution is in the X-Y plane. Actually, I tried this approach by following the tutorial: "Import Source in Ansys Lumerical FDTD" (https://courses.ansys.com/index.php/courses/lumerical-fdtd-sources/lessons/import-source-in-ansys-lumerical-fdtd-lesson-7/). I defined the source and the monitor so that x is the injection direction and saved the field from the monitor to the zbf. However, when I import it to the DECK in MODE for the overlap analysis, the field is in the X-Y plane.
Is there is a way to get field in zbf in Y-Z plane ?
Thank you in advance!
-
June 21, 2023 at 5:41 pm
Guilin Sun
Ansys EmployeeYou can modify your script for the generation of elliptical Gaussian beam in yz plane.
However since import zbf not in xy plane does not work right now, the simpler way to do this is to write your own script. Of course you can rotate the waveguide cross section to be in xy plane.
-
- 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?
- Using a license file on a new license server
- Ansys Insight: Diverging Simulations
- Error: addfdtd is not a valid function or a variable name
- Error on Lumerical device
- Questions about the calculation of the cross-polarization conversion efficiency of metasurface
- 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
-
7592
-
4440
-
2953
-
1427
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.