Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Photonics

Photonics

Topics related to Lumerical and more.

Decomposing lumerical near field data into a ray set

    • brlee3014
      Subscriber

      Hi,

      How do I convert my near field data to ray sets to use as source objects in Zemax non-sequential mode? More specifically, how do we make the conversion between monitor data (or rectilinear data with E fields) into .dat format that Zemax NSM can import?


      It seems like this article describes that I need to decompose it into far field projections. Once I convert my near field results into far field and figure out amplitude/phase vs angle, how do we write it to .dat format?

    • Guilin Sun
      Ansys Employee
      Yes, you will first need to project the near field into far field using script. There are a few examples in this link https://support.lumerical.com/hc/en-us/articles/360034936793-Zemax-interoperability-overview such as nZemax Interoperability - Planar OLED examplenZemax Interoperability - Metalens examplenYou can choose the best example to read.nn
    • brlee3014
      Subscriber
      Thanks for the references. After projecting the near field into far field, how are the ray sets produced? In other words, what is the encrypted script zemax_rayset_write_v1.lsfx in the planar OLED example doing in the background that generates ray files and saves it to .dat or .txt?.If the script cannot be disclosed, a general algorithm or procedure would help. Thanks!n
    • Guilin Sun
      Ansys Employee
      I guess you know what is required for raytracing. The encrypted file is most likely to wrap up the farfield data as a function of angle with the magnitude. That means at each angle, the data has its own magnitude and polarization.n
    • Andrew Davies
      Subscriber

      My guess is they are taking a Fourier transform of the E field. Then taking a weighted (based on the plane wave amplitude) random sampling to generate the ray set.

Viewing 4 reply threads
  • The topic ‘Decomposing lumerical near field data into a ray set’ is closed to new replies.
[bingo_chatbox]