TAGGED: -waveguide
-
-
October 11, 2023 at 4:47 amJingchao FangSubscriber
I want to simulate a waveguide device with EO modulation, and the electric field intensity at different locations is different. I want to simulate it by a waveguide where the refractive index matrix (3*3) is a function of position. How to create a waveguide where the refractive index matrix is a function of position?
-
October 11, 2023 at 6:27 pmAmrita PatiAnsys Employee
Hi Jingchao,
The spatially varying index data can be imported using the Spatial (n,k) data - Simulation object. However, since the index is a 3x3 matrix I am assuming that the index matrix has some off-diagonal elements. In that case, you will first have to diagonalize the tensor and use Matrix Transform to represent the full tensor.
We have an App Gallery example that can guide you through the process, but it is a bit complicated and will have some extra details that might not be relevant for your case.
Ferroelectric ModulatorIn this example, the electric fields are taken from a CHARGE simulation. And then the (3x3) index perturbation due to the electric field is calculated using the EO equation. As the index also has non-diagonal elements (as in your case), the diagonalized permittivity tensor and the Matrix transformation are used to represent the full tensor. Then (n,k) simulation object is used to set the diagonalized index (as a function of position) and Matrix transform grid attribute is used to apply the matrix transform.
On the example, Ferroelectric Modulator, you can open the FDE simulation (ferroelectric_modulator.lms), and look at the setup script of the BTO analysis group to see how the (3x3) index has been setup.
Let me know if you have any questions.
Regards,
Amrita -
October 11, 2023 at 6:36 pmJingchao FangSubscriber
If I want to build a diagonal index (only 3 diagonal terms) but is a function of position, do you have a simpler example? Thanks!
-
October 11, 2023 at 6:41 pmAmrita PatiAnsys Employee
You can refer to this article and the associated example script and data files:Spatial (n,k) data - Simulation object.
Regards,
Amrita -
October 16, 2023 at 5:59 pmJingchao FangSubscriber
Hi Amrita,
I read this document, and I found that you use the box waveguide. But my waveguide is a trapezoid in xy plane, which extends in z direction. The index is a const in xy plane, but changes in z direction. Do you have any idea how to model it?
-
October 16, 2023 at 6:14 pmAmrita PatiAnsys Employee
Hi Jingchao,
Are you defining the spatially varying index using an equation?Regards,
Amrita -
October 16, 2023 at 7:17 pm
-
October 16, 2023 at 8:45 pmAmrita PatiAnsys Employee
Hi Jingchao,
The data that you import from text file the has to be defined over a rectangular volume. If you have a trapezoidal cross-section, you still have to define the data such that the index in this trapezium is n(x,y,z) but the index in the rest of the region is 1 (or any other index depending upon the background material being used). Schematic shown below:
Regards,
Amrita
-
- The topic ‘refractive index matrix is a function of position’ is closed to new replies.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Absorption cross-section of AuNR excited by prism-based TIR
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- How to measure transmission coefficients on a given plane .
- Edge Coupler EME Example Issue
-
1772
-
635
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.