-
-
May 1, 2024 at 1:06 pm
Monica Lam
SubscriberI found example code for extracting the right parameters from a MODE simulation to create an INTERCONNECT element of a waveguide.
(https://optics.ansys.com/hc/en-us/articles/360042800453-Waveguide-FDE)
Is there a similar example for a parameterized waveguide?Â
I'm struggling with writing the JSON files through code.Â
-
May 1, 2024 at 9:10 pm
Guilin Sun
Ansys EmployeeYou can save data in JSON:Â jsonwrite - Script command
read its data: jsonread - Script command
So you will need to use lumerical script to get mode and waveguide parameters from simulation files. Please follow the instructions in the example for the format.
Remember to copy and paste the generated JSON file into the appropriate element folder to build the compact model as part of the process.Â
Â
-
- The topic ‘Lumerical scripting code to create a compact model of a parameterized waveguide?’ is closed to new replies.
- Import material .txt file with script
- Errors Running Ring Modulator Example on Cluster
- Absorption cross-section of AuNR excited by prism-based TIR
- How to measure transmission coefficients on a given plane .
- TE Polarization Fraction + Waveguide TE/TM Fraction
- Edge Coupler EME Example Issue
- Lumerical Python API Topology Optimization Error 2025 R1
- 2D inverse design grating coupler
- FDE : Simulation waveguides with electrodes
- Loss of lithium niobate phase modulator
-
2262
-
925
-
599
-
591
-
497
© 2025 Copyright ANSYS, Inc. All rights reserved.