Importing CAD Into Ansys Zemax OpticStudio Using Non-Sequential Mode

Categories:

Hello! I’m the new Optics Engineer here at PADT, and I am excited to share the world of optic and Ansys Zemax OpticStudio with our new and existing simulation customers. I have a background in Aerospace and Defense, where I primarily worked on beam propagation optics. I have been lucky to not only design optical systems but also assemble, align, and integrate them into larger systems. I am currently pursuing a master’s degree in optical sciences at The University of Arizona, focusing on optomechanics.

About Ansys Zemax OpticStudio

Zemax OpticStudio is the world leading optical design software recently acquired by Ansys. It’s a staple in the optics world and difficult to compete with. So, it is only fitting that PADT introduces an optical engineer to their team of application engineers. The addition of Zemax to the Ansys portfolio opens up a world of opportunity within optical design. An entire optical design workflow can now be done internally with the right Ansys package.

This means that both optical and optomechanical designs can be created and analyzed and then imported into Ansys Mechanical for FEA analysis so that the effects of structural and thermal deformation on the optical performance can be analyzed and understood. And that is only the beginning of the capabilities that are possible because of the Zemax acquisition into Ansys.

I thought it would be a great idea to begin a series of blog posts centered on optical capabilities in Ansys. The blog series will include tutorials, tips and tricks, and common issues encountered by users. My first couple of blog posts will follow a Double Gauss objective as it continues down the path in Zemax OpticStudio of further analyses after initial design and optimization. If you have any topics you’d like covered, feel free to reach out to us at PADT!

How to Import Your CAD Geometry Using Non-Sequential Mode

This first blog post focuses on importing CAD geometry into Zemax OpticStudio using non-sequential mode (it is important to note that this can also be done in sequential mode using a different set of steps… but that isn’t the focus of this post). We can review the differences between sequential and non-sequential mode in a later post.

I began by using the Double Gauss sample file provided in the Samples folder of the Zemax files that are downloaded when each user installs Zemax OpticStudio. Because I used off-the-shelf optical mounts, I updated and optimized the Double Gauss example to take into consideration the restrictions on the system from the geometry of the mounts. These first steps were done in sequential mode.

Importing CAD Into Ansys Zemax OpticStudio Using Non-Sequential Mode Figure 1

Once the design was created, it was exported from Zemax OpticStudio and imported into SpaceClaim. This can be done by going to the “File Tab” and finding the “CAD Files” option in the File Tab ribbon. The “Export CAD File” window should open and look like this:

Importing CAD Into Ansys Zemax OpticStudio Using Non-Sequential Mode Figure 2

There are different ray patterns to choose from, but for this example I chose the Solid Beam option. I exported the design as a STEP file, but users should choose the file type better suited for their CAD platform.

I then imported the STEP file into SpaceClaim, where the rays are represented by the three solid beams corresponding to the three fields of the system. Exporting the rays is optional, I export the rays to ensure that there is no clipping due to the mechanical components. For those using SpaceClaim, I suggest right-clicking on the optics within the structure tree and clicking “Toggle to Heavyweight” so that the optics are considered equal to the mechanical parts and can be moved accordingly. The beam bodies can be kept as lightweight bodies as they are just being used as a reference. In the structure tree, lightweight bodies have a feather on their solid body icon.

Importing CAD Into Ansys Zemax OpticStudio Using Non-Sequential Mode Figure 3

Here is the optical design within SpaceClaim:

Importing CAD Into Ansys Zemax OpticStudio Using Non-Sequential Mode Figure 4: Optical Geometry in SpaceClaim

I then imported the CAD geometry to create my optomechanical assembly. I used a simple tube system and retaining rings to secure the optics. Here is a cross-section of the assembly:

Importing CAD Into Ansys Zemax OpticStudio Using Non-Sequential Mode Figure 5

The next step is to export the assembly from SpaceClaim into a STEP file. It is important to do this while suppressing the optical components, the optics are already in Zemax OpticStudio. When accounting for just the mechanical mounts, the assembly will look like this:

Importing CAD Into Ansys Zemax OpticStudio Using Non-Sequential Mode Figure 6

The file should be saved in the “…\Zemax\Objects\CAD Files” folder to be used as a CAD object in Zemax OpticStudio.

Before the assembly can be imported into Zemax OpticStudio, the design needs to be converted from sequential mode to non-sequential mode. This conversion can be done by clicking on the “Convert to NSC Group” icon under the file tab of Zemax OpticStudio. The corresponding window will look like this:

Importing CAD Into Ansys Zemax OpticStudio Using Non-Sequential Mode Figure 7

First step is to perform a Design Lockdown which converts idealized inputs into real manufacturing inputs, for example, it converts the system aperture into a physical aperture size. It is also recommended to run a Critical Rayset Generator, but because this example has an “Entrance Pupil Diameter” aperture type, this step will be skipped. With the “Convert to NSC Group” window ready with each option checked, the file is ready to be converted to non-sequential by pressing the “OK” button.

A new window of OpticStudio will open, and the design should mirror itself in non-sequential mode. Each field has been converted into its own source, and each focus point has a detector in place. I went ahead and added an image plane detector to capture all three fields/sources in one detector. Often, troubleshooting will need to take place during the conversion from sequential to non-sequential, as files do not smoothly convert properly. For this example, I will not go over the troubleshooting steps necessary during one of these conversions.

Importing CAD Into Ansys Zemax OpticStudio Using Non-Sequential Mode Figure 8

The mechanical assembly can now be imported into OpticStudio by inserting a new line in the Non-Sequential Component Editor before the source ellipses:

Importing CAD Into Ansys Zemax OpticStudio Using Non-Sequential Mode Figure 9

The object type should be “CAD Part: STEP/IGES/SAT.” Once the object type is selected, a window will ask which file from the CAD Files folder to use. The file name will appear in the comment section of the object as shown:

Importing CAD Into Ansys Zemax OpticStudio Using Non-Sequential Mode Figure 10

The assembly should then be imported into OpticStudio as a single component. The Z position of the assembly will need to be adjusted to its correct position. This position value may vary depending on how the two separate files were converted and imported into non-sequential mode. It is important to note that non-sequential mode uses a global coordinate system rather than a local coordinate system like sequential mode.

Importing CAD Into Ansys Zemax OpticStudio Using Non-Sequential Mode Figure 11

The final assembly has both the optical lenses with accurate optical properties, along with the geometry of the CAD assembly. The next step in this adventure involves accurately depicting the properties of the CAD assembly. In future blog posts, we can explore how to explode the CAD assembly into its individual components, and applying accurate coatings to the CAD assembly so that an accurate scatter analysis can be done.

You can download the files used here.

Until next time!

Categories

Get Your Ansys Products & Support from the Engineers who Contribute to this Blog.

Technical Expertise to Enable your Addictive Manufacturing Success.

PADT Pulse Newsletter Screen Grab from March 2023

PADT’s Pulse Newsletter

Keep up to date on what is going on at PADT by subscribing to our newsletter.


By submitting this form, you are consenting to receive marketing emails from: . You can revoke your consent to receive emails at any time by using the SafeUnsubscribe® link, found at the bottom of every email. Emails are serviced by Constant Contact

Share this post:

Upcoming Events

05/31/2023

Driving Automotive Innovation with Additive - Webinar

05/24/2023

Hill Air Force Base Tech Expo

05/24/2023

Structural Updates in Ansys 2023 R1 (3) – Structural Optimization & Ex

05/23/2023

CROSSTALK 2023: Emerging Opportunities for Advanced Manufacturing Smal

05/10/2023

Signal & Power Integrity Updates in Ansys 2023 R1 - Webinar

04/26/2023

Additive Manufacturing Updates in Ansys 2023 R1 - Webinar

04/20/2023

38th Space Symposium Arizona Space Industry

More Info

04/19/2023

38th Space Symposium
Arizona Space Industry

04/19/2023

Additive Aids for Manufacturing - Webinar

04/18/2023

38th Space Symposium
Arizona Space Industry

04/17/2023

38th Space Symposium

04/13/2023

Venture Madness 2023

04/12/2023

Fluid Meshing & GPU-Solver Updates in Ansys 2023 R1 - Webinar

03/29/2023

8th Thermal and Fluids Engineering Conference

03/29/2023

Structural Updates in Ansys 2023 R1 - Composites, Fracture & MAPDL

03/28/2023

8th Thermal and Fluids Engineering Conference

03/27/2023

8th Thermal and Fluids Engineering Conference

03/26/2023

8TH Thermal and Fluids Engineering Conference

03/24/2023

Arizona BioPreneur Conference | Spring 2023

03/22/2023

2023 Arizona MedTech Conference

03/22/2023

Optimize Jigs & Fixtures with Additive - Webinar

03/15/2023

3D Design Updates in Ansys 2023 R1 - Webinar

03/08/2023

Competitive Advantages of 1D/3D Coupled Simulation - Webinar

03/01/2023

High Frequency Updates in Ansys 2023 R1 - Webinar

02/22/2023

Additive Advantages in Aerospace - Webinar

02/15/2023

Structural Updates in Ansys 2023 R1 (1) - Webinar

02/09/2023

IME 2023: MD&M | WestPack | ATX | D&M | Plastek

02/08/2023

IME 2023 MD&M | WestPack | ATX | D&M | Plastek

02/07/2023

IME 2023 MD&M | WestPack | ATX | D&M | Plastek

01/27/2023

Arizona Photonics Days, 2023

01/26/2023

Arizona Photonics Days, 2023

01/26/2023

TIPE 3D Printing | 2023

01/26/2023

Venture Cafe Phoenix Talent Night - Job Fari

01/26/2023

VFS 2023 Autonomous/Electric VTOL Symposium

01/25/2023

Arizona Photonics Days, 2023

01/25/2023

Building A.M.- Utah: Kickoff!

01/25/2023

TIPE 3D Printing | 2023

01/25/2023

VFS 2023 Autonomous/Electric VTOL Symposium

01/24/2023

VFS 2023 Autonomous/Electric VTOL Symposium

01/24/2023

TIPE 3D Printing | 2023

01/18/2023

2023 AZ Tech Council Golf Tournament

12/21/2022

Simulation Best Practices for 5G Technology - Webinar

12/14/2022

Digital Twins Updates in Ansys 2022 R2 - Webinar

12/08/2022

Tech the Halls - AZ Tech Council Holiday Mixer

12/07/2022

Electric Vehicle and Other Infrastructure Update Panel

11/30/2022

SPEOS Updates in Ansys 2022 R2 - Webinar

11/23/2022

Simulation Best Practices for Electronics Reliability - Webinar

11/16/2022

Discovery Updates in Ansys 2022 R2

11/10/2022

VentureCafe Phoenix Panel: Venture Capital in AZ

11/08/2022

2022 GOVERNOR’S CELEBRATION OF INNOVATION AWARDS + TECH SHOWCASE

11/03/2022

VentureCafe Phoenix Panel: Angel Investment in AZ

11/02/2022

High & Low Frequency Electromagnetics Updates in Ansys 2022 R2

10/26/2022

Simulation Best Practices For Chip-Package-System Design & Development

10/20/2022

Nerdtoberfest 2022

10/19/2022

2022 Southern Arizona Tech + Business Expo

10/19/2022

LS-DYNA Updates in Ansys 2022 R2 - Webinar

10/17/2022

Experience Stratasys Truck Tour - Clearfield Utah

10/14/2022

ASU School of Manufacturing Systems and Networks - Formal Opening Cele

10/14/2022

Experience Stratasys Truck Tour - Midvale Utah

10/12/2022

Experience Stratasys Truck Tour - Littleton Colorado

10/06/2022

Fluids Updates in Ansys 2022 R2 - Webinar

10/05/2022

Experience Stratasys Truck Tour - Colorado Springs

09/29/2022

White Hat Life Science Investor Conference - 2022

09/28/2022

2022 AZBio Awards

09/28/2022

Simulation Best Practices for Rotating Machinery Design & Development

09/21/2022

ExperienceIT NM 2022

09/21/2022

Additive Updates in Ansys 2022 R2 - Webinar

09/14/2022

Rocky Mountain Life Sciences Investor & Partnering Conference

09/08/2022

Ansys Optics Simulation User Group Meeting - Virtual

09/08/2022

Ansys Optics Simulation User Group Meeting

09/07/2022

SI & PI Updates in Ansys 2022 R2 - Webinar

08/31/2022

Simulation Best Practices for Developing Medical Devices - Webinar

08/24/2022

Mechanical Updates in Ansys 2022 R2 - Webinar

08/10/2022

Tucson after5 Tech Mixer: Ruda-Cardinal

08/05/2022

Flagstaff Tech Tour, 2022

08/02/2022

2022 CEO Leadership Retreat

08/01/2022

2022 CEO Leadership Retreat

07/27/2022

Thermal Integrity Updates in Ansys 2022 R1 - Webinar

07/20/2022

Simulation Best Practices for the Pharmaceutical Industry - Webinar

07/14/2022

NCMS Technology Showcase: Corpus Christi Army Depot

07/13/2022

NCMS Technology Showcase: Corpus Christi Army Depot

07/13/2022

Additive & Structural Optimization Updates in Ansys 2022 R1 - Webinar

07/07/2022

Arizona AADM Conference, 2022

06/29/2022

LS-DYNA Updates & Advancements in Ansys 2022 R1 - Webinar

06/23/2022

Simulation Best Practices for Wind Turbine Design - Webinar

06/15/2022

MAPDL Updates & Advancements in Ansys 2022 R1 - Webinar

06/01/2022

Mechanical Updates in Ansys 2022 R1 - pt. 2 Webinar

05/26/2022

Modelling liquid cryogenic rocket engines in Flownex - Webinar

05/25/2022

SMR & Advanced Reactor 2022

05/25/2022

05/24/2022

SMR & Advanced Reactor 2022

05/19/2022

RAPID + tct 2022

05/19/2022

Venture Cafe Roundtable: AI & Healthcare

05/18/2022

Tucson after5 Tech Mixer: World View

05/18/2022

RAPID + tct 2022

More Info

05/18/2022

Signal & Power Integrity Updates in Ansys 2022 R1 - Webinar

05/18/2022

Simulation World 2022

05/17/2022

RAPID + tct 2022

05/11/2022

Experience Stratasys Manufacturing Virtual Event

Search in PADT site

Contact Us

Most of our customers receive their support over the phone or via email. Customers who are close by can also set up a face-to-face appointment with one of our engineers.

For most locations, simply contact us: