Photonics

Photonics

How to use script to import new materials?

    • lianghaifeng
      Subscriber

      The refractive index of new materials (including real part and imaginary part) changes with wavelength. How to use script to import new materials? Or can it only be imported in the UI interface?

    • Kyle
      Ansys Employee

      You can create new sampled 3D materials (materials with dispersive real and imaginary index) using the script commands addmaterial and setmaterial. This page has an example under "Sampled data material example": https://support.lumerical.com/hc/en-us/articles/360034409654
      Let me know if you have any questions.
Viewing 1 reply thread
  • You must be logged in to reply to this topic.