Skip to main content

Zemax OpticStudio now supports TM-25 as well as saving phase, electric field in ray files


Michael Cheng
Zemax Staff
Forum|alt.badge.img+2

Hi everyone,

 

Here is a post to collect any of your feedback or questions about the new feature of TM-25 rayfiles.

In Zemax OpticStudio 24 R2.0, we support TM-25 rayfiles with extension filename .tm25ray. You can access this file format with following functions:

* Save Rays in Raytrace Dialog

* Source File Object

* Save Rays On Object in Ray Database Viewer

* Source Directivity Plot

* Source Polar Plot

* Flux vs. Wavelength

* Light Source Analysis (sequential mode)

 

In addition, when the TM-25 rayfile is exported by Zemax OpticStudio, now the phase and complete electric field (Ex, Ey, Ez) will be exported too. This is important when the rayfile is supposed to be used in a polarization-sensitive applications or coherent analysis.

 

It’s highly suggested you read the new content in Help File in this section. The Setup Tab » Editors Group (Setup Tab) » Non-sequential Component Editor » Non-sequential Sources » Source File for more information.

 

In below, we are going to provide a couple of examples to demo the support of phase and electric field.

 

Please feel free to share your thoughts or comments. Thank you!

Did this topic help you find an answer to your question?

5 replies

Michael Cheng
Zemax Staff
Forum|alt.badge.img+2
  • Author
  • Zemax Staff
  • 142 replies
  • July 11, 2024

Here is a quick demo about the phase information saved in TM-25 rayfile.

  1. Download attached file.
  2. Open “demo_zemax_polarization_ray_file_verify.zar”
  3. Run raytracing and save rays on object 12.
  4. Open “demo_zemax_polarization_ray_file_replay.zar”
  5. Confirm you load the ray file we generated.
  6. Run raytracing and see the Huygens PSF.

     

  7. You can open “demo_zemax_polarization_ray_file_verify.zar" to check this matches to the result if we purely simulate in original system.
  8. Here is the result if you try to use other rayfile format (.sdf or .dat) to repeat this process.

     


Michael Cheng
Zemax Staff
Forum|alt.badge.img+2
  • Author
  • Zemax Staff
  • 142 replies
  • July 11, 2024
  1. Open “demo_zemax_polarization_ray_file_jones_matrix_test.zar”.
  2. It’s a simple system as below.
  3. Create a Rectangle with ZPosition = 0.1
  4. Trace and save rays on this object.

  5. Turn off the original source and load the generated new rayfile.

     

  6. Confirm you see the same simulation result!


yonghu
  • Single Emitter
  • 2 replies
  • February 7, 2025

I also tried this example, but still cannot find the export option for TM-25 rayfile. I am using Zemaax 2024 R2.02.


Michael Cheng
Zemax Staff
Forum|alt.badge.img+2
  • Author
  • Zemax Staff
  • 142 replies
  • February 8, 2025
yonghu wrote:

I also tried this example, but still cannot find the export option for TM-25 rayfile. I am using Zemaax 2024 R2.02.

Hi ​@yonghu , this feature should be supported in any version after and include 2024 R2.02. If you cannot successfully export TM-25, could you create a case with our support team so we can have a closer look to the case? Thank you!


yonghu
  • Single Emitter
  • 2 replies
  • March 5, 2025

They told me I can not get help from email.

 

Hello!

 

I am following up on emails to our obsolete support email. It appears MIT is has educational licenses and your personal license is expired, so you are not eligible for direct support.

 

You are welcome to post your question in the Zemax community for help from others.

 

https://community.zemax.com

 

Best regards,

 

Customer IT Support Specialist for Zemax applications, US

 

See the Zemax support site with knowledge base articles and tutorials and forum. Soon those resources will be moving to Ansys.com.

 

Note that technical support has already moved – it is now handled via the Ansys web site @ https://customer.ansys.com


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings