-
-
March 29, 2021 at 5:22 pm
brlee3014
SubscriberHi,
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?
March 29, 2021 at 6:39 pmGuilin Sun
Ansys EmployeeYes, 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.nnMarch 30, 2021 at 7:19 pmbrlee3014
SubscriberThanks 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!nMarch 30, 2021 at 9:14 pmGuilin Sun
Ansys EmployeeI 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.nNovember 15, 2023 at 6:24 amAndrew Davies
SubscriberMy 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.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3492
-
1057
-
1051
-
965
-
942
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-
The Ansys Learning Forum is a public forum. You are prohibited from providing (i) information that is confidential to You, your employer, or any third party, (ii) Personal Data or individually identifiable health information, (iii) any information that is U.S. Government Classified, Controlled Unclassified Information, International Traffic in Arms Regulators (ITAR) or Export Administration Regulators (EAR) controlled or otherwise have been determined by the United States Government or by a foreign government to require protection against unauthorized disclosure for reasons of national security, or (iv) topics or information restricted by the People's Republic of China data protection and privacy laws.