We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Photonics

Photonics

Topics related to Lumerical and more.

Lumerical scripting code to create a compact model of a parameterized waveguide?

    • Monica Lam
      Subscriber

      I 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. 

    • Guilin Sun
      Ansys Employee

      You 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. 

       

Viewing 1 reply thread
  • The topic ‘Lumerical scripting code to create a compact model of a parameterized waveguide?’ is closed to new replies.