How Does Thermal Deformation Change Lens Performance? Coupled Analysis with Zemax OpticStudio and Ansys Mechanical
How surface deformation, element displacement and tilt, and temperature-dependent refractive index affect optical performance, and how a STOP analysis that combines Ansys Mechanical with the STAR tools in Zemax OpticStudio supports optical, mechanical and thermal design decisions.
Published
A lens delivers its designed performance only when its surface shapes, element spacings and refractive indices match the design values. In a real instrument, changes in ambient temperature, heat from nearby electronics and absorbed laser light gradually pull these quantities away from nominal. Even a small surface deformation, or a small optical-path change caused by an index shift, becomes significant once it is no longer negligible compared with the wavelength, and it shows up as focus shift or loss of resolution.
Structural, thermal and optical performance (STOP) analysis estimates these effects before a prototype is built by linking structural and thermal simulation with optical analysis. This article looks at that coupled workflow from the optical designer’s side: temperature and deformation are calculated in Ansys Mechanical, and optical performance is evaluated in Zemax OpticStudio. It covers how temperature changes optical performance, how the analysis proceeds, which metrics to compare before and after thermal loading, and how the results feed back into design decisions. A worked example from the structural-analysis side, published by JSOL Corporation, is introduced later in the article.
Three ways temperature changes optical performance
Temperature affects optical performance through three main mechanisms. In a real instrument they occur together, but each is represented differently in the optical model and calls for a different design response, so it pays to separate them before interpreting any results.
Surface shape changes
If a homogeneous, unconstrained lens warmed up uniformly, its shape would simply scale while staying geometrically similar. Real lenses, however, have non-uniform temperatures and are held by mounts that constrain part of each surface. If the center becomes hotter than the edge, for example, the center can expand more and the surface can bulge in the middle. A lens held at a few points around its rim can also pick up non-rotationally-symmetric deformation that reflects the contact layout. The direction and size of the deformation depend on the lens geometry, the thermal expansion of the material, the temperature distribution and the mechanical constraints.
These deformations appear as sag errors relative to the design surface and translate directly into wavefront error. For a mirror, the surface error acts twice on reflection, so the same deformation has a larger optical effect.
Element position and tilt change
Barrels, spacers and lens holders also expand and contract with temperature. Spacings between lenses change, and whole elements can shift sideways or tilt relative to the optical axis. Even when the surface shapes stay the same, this rigid-body motion alone moves the focus, introduces coma and astigmatism from decenter and tilt, and shifts the image.
When the barrel and the lens are made of materials with different thermal expansion, a temperature change also loads the mount. That load moves the elements and can also deform their surfaces. Because the two mechanisms are coupled through the mount, optics and mechanics are hard to evaluate in isolation.
Refractive index changes with temperature
The refractive index of optical glasses and polymers changes with temperature. The thermo-optic coefficient (dn/dT) varies widely between materials and can be negative. If a whole lens changes temperature uniformly, its optical power changes and the main effect is a focus shift.
If there is a temperature distribution inside the lens, the index also varies from point to point and the lens behaves like a gradient-index medium. Thermal lensing in optics that carry high-power laser beams is closely tied to this mechanism. The resulting index distribution depends on the size and sign of the material’s dn/dT and on the shape of the temperature field. Unlike surface deformation, this change is not visible from outside, so it is easy to miss unless the analysis treats it explicitly.
Example display of refractive-index change inside lenses. The upper left shows the lens layout; the other five panels show the index change (Delta Index) in each lens, in color, for exposure times from 10 s to 3600 s. Both the shape and the magnitude of the distribution change with exposure time. Each panel has its own color scale, so colors cannot be compared directly between panels.
Stress can also make the index anisotropic (stress birefringence), but this article concentrates on the three mechanisms above.
What OpticStudio handles on its own, and when you need structural and thermal analysis
Not every temperature study needs structural analysis. In Zemax OpticStudio you can set up a configuration for each temperature condition and use the thermal expansion coefficients and thermal index data in the material catalogs to update radii, thicknesses, air spaces and refractive indices. The Make Thermal tool builds these temperature configurations automatically. For index changes to be applied, the setting that adjusts index data to the environment must be enabled. When the whole system changes temperature more or less uniformly, as in an ambient-temperature study, this approach is a good way to see the trends first.
Effects that vary from place to place, such as temperature gradients inside a lens, constraint from the mount or non-uniform barrel deformation, are better handled by calculating temperature and deformation with finite element analysis (FEA) and bringing the results into the optical model. In OpticStudio, the STAR tools provide that bridge.
The STOP workflow: calculate in Mechanical, evaluate in OpticStudio
A STOP analysis defines the heat sources, calculates temperature and deformation in Ansys Mechanical, and brings that data into Zemax OpticStudio to evaluate optical performance. Only when the heat source is light absorbed in the optical system does the workflow start with an optical calculation of that heat source.
STOP analysis workflow. The dashed path applies only when absorbed light is a heat source. Orange lines show where the calculation restarts after an optical, mechanical or thermal design change. Click or tap the diagram to open it at full size.
Define the heat sources
Start by deciding what drives the temperature change. Ambient temperature changes and heat from nearby electronics or heaters are applied as thermal boundary conditions or heat loads, independently of the optical analysis. In that case no heat-source data is needed from the optical side.
The situation is different when the light passing through the system is itself the heat source, as in laser processing heads or high-power illumination optics. A small fraction of the light is absorbed in coatings and in the glass, turns into heat, and that heat in turn changes the optical performance. Here, non-sequential ray tracing in OpticStudio is used to calculate the optical power absorbed by each surface and component. Surface absorption is derived from the coating properties and bulk absorption from the material’s absorption properties, and volume detectors can record how the absorbed power is distributed inside a lens. The data is then formatted for the thermal solver, for example with a script, and read into Mechanical as a heat load.
Calculate temperature and deformation in Mechanical
In Mechanical, a thermal analysis gives the temperature field, which is then applied as a load in a structural analysis to calculate deformation. Including the barrel, mounts and adhesive joints in the model, not just the lenses, lets the results capture constraint-driven surface deformation and element displacement. To study how conditions evolve over time, for example just after start-up, a transient thermal analysis gives temperature and deformation at each time step.
When the heat source comes from the optical analysis, the optical data points and the structural mesh generally do not coincide. The JSOL example introduced below describes in detail how such data is mapped onto the structural mesh.
Transfer the temperature and deformation data
The calculated surface deformation and the temperature field inside each lens are exported as text files per optical surface or component and read into OpticStudio. Since Ansys 2026 R1, the function that exports this data from Mechanical ships with Mechanical as an add-on. Besides surface deformation and temperature, it can export stress data for evaluating stress birefringence.
STAR is not limited to Mechanical: data from other FEA or CFD (computational fluid dynamics) tools can also be imported once it is put into the required format.
Apply the data to the optical model with STAR
In OpticStudio, the tools in the STAR tab assign the imported data to optical surfaces and components. Because FEA meshes are often too coarse for optical analysis, surface deformation data is fitted numerically and added to the sag of each optical surface. A fit assessment tool shows the difference between the original FEA data and the fit, and it is worth checking before evaluating any performance.
Temperature data is converted to refractive index for the specified temperature and material and then fitted in three dimensions. During ray tracing, the resulting index distribution is treated as a gradient index (GRIN). Besides temperature, STAR can also handle direct index data and stress data for stress birefringence.
It is important to separate two things here: removing rigid-body motion before the fit, and modeling element displacement and tilt. For each surface, STAR calculates the translation and tilt of the whole surface, that is, its rigid-body motion (RBM), and, depending on the setting, subtracts it before fitting the remaining surface deformation. Large RBMs reduce fit accuracy, so this removal is part of the fitting process. When RBMs are small, removing them can increase the fit error, so the decision should be based on the calculated RBM values and the resulting fit errors.
Which deformation is applied to the optical model is a separate choice. STAR can apply both RBMs and surface deformation, only the deformation without RBMs, or only the RBMs. Optical engineers usually treat RBMs mainly as a line-of-sight (boresight) error and the remaining deformation as a performance error, so evaluating them separately makes it easier to trace the cause of a degradation. The RBMs in STAR are per-surface translations and tilts. To evaluate a lens displaced or tilted as a single element, either check that the RBMs of its surfaces are consistent with that motion, or take the element’s displacement and tilt from the FEA results and enter them as decenters and tilts in the OpticStudio lens data.
Once the data is applied, the sequential analyses in OpticStudio can be used as usual with the thermal and structural effects included. When many conditions have to be run, the workflow can be automated through ZOS-API.
The STAR tools require a Zemax OpticStudio Enterprise license. The differences between editions are summarized in our Zemax OpticStudio edition comparison.
Evaluate and feed back into the design
Finally, the system is evaluated under identical conditions with and without the thermal load, and the differences are examined. If performance does not meet the requirements, decide which part of the design to change and recalculate. An optical design change restarts from the optical model (including the absorbed-power calculation when light is the heat source), a change in mounting restarts from the structural analysis, and a change in heat paths or heat-source layout restarts from the thermal analysis. Being able to run this loop before building hardware is the main benefit of the coupled analysis.
What to compare before and after thermal loading
The basic rule is to evaluate both states under the same conditions: the same fields, wavelengths, pupil settings and treatment of the image plane. With those fixed, compare the following metrics. Each one measures something different, so no single metric should be used on its own.
Focus shift
Changes in optical power and in lens spacing first appear as a shift in focus. Evaluating both with the image plane fixed at its design position and with the best image plane found again shows how much of the degradation is simple defocus. The focus shift itself is also the basis for sizing the travel of a focus mechanism.
Wavefront error
Wavefront error describes, over the whole pupil, how far the wavefront at the exit pupil departs from an ideal reference sphere. RMS and peak-to-valley values give its overall size, and a Zernike decomposition shows what it is made of. Because it separates an increase in defocus alone from increases in astigmatism, coma, spherical aberration or higher-order terms that reflect the mount geometry, it is well suited to finding causes. See wavefront analysis for more on the method.
Spot diagram
A spot diagram is a geometric-optics plot of where many rays land on the image plane. It gives an intuitive picture of the size and shape of the blur and of centroid shifts. It does not represent intensity distribution or diffraction, however. In near-diffraction-limited systems, once the spot is smaller than the diffraction blur (the Airy disk), differences between spots no longer reflect differences in real image quality, so spot diagrams should be read together with wavefront error and MTF.
It helps to keep three quantities apart. A wavefront map shows the phase error in the pupil, a spot diagram shows where rays land on the image plane, and the point spread function (PSF) or a cross-section of a focused beam shows the intensity distribution on the image plane. All three describe “blur”, but they measure different things, so comparisons should always set like against like. Image quality analysis explains when to use each metric.
MTF
The MTF shows how much of the object’s contrast survives in the image at each spatial frequency and is widely used to evaluate imaging resolution. For before-and-after comparisons, a through-focus MTF, calculated while stepping the focus position, is often more informative than MTF values at a single spatial frequency. See MTF for the calculation methods and their differences.
Which metric matters most depends on the application. Imaging systems rely mainly on MTF, whereas for laser processing optics the focus position at the work plane, the focused spot size, wavefront error and beam position errors are more direct measures.
What refocusing recovers, and what remains
The part of the thermal degradation caused by focus shift can be recovered by readjusting the image plane or a lens group, that is, by refocusing. In a through-focus MTF, if the peak has only moved sideways, refocusing brings performance back close to its original level. In the wavefront, this corresponds to the defocus term.
What refocusing cannot recover is any drop in the height of the through-focus MTF peak. The main contributors are:
astigmatism and higher-order aberrations from non-rotationally-symmetric surface deformation, for example deformation that reflects the mount contact layout
coma and astigmatism from element decenter and tilt
the part of the gradient-index distribution caused by temperature gradients that does not act as a simple power change (spherical aberration and similar terms)
changes in which the best image plane differs from field to field, since no single image-plane position can bring every field into focus
A shift in the position of the image or beam itself (the tilt term in the wavefront) is not recovered by refocusing either. It is a separate error from blur and affects positional accuracy in measurement or processing. Refocusing also only helps if the product has a way to adjust focus. For fixed-focus optics such as many camera modules, the question is whether the focus shift itself stays within tolerance.
Example of degradation that refocusing does not recover. Left: RMS spot radius (polychromatic, field 1) as the focus is moved over ±0.12 mm; it stays almost constant and well above the diffraction-limit line. Right: wavefront map of the same optical system (1.064 µm, 0° field), with 9.50 waves peak to valley and 1.67 waves RMS remaining. The display shows a state dominated by aberrations that do not shrink when the focus is readjusted.
Hypothetical example: Consider a lens held at three points around its rim and heated at its center by absorbed light. If the temperature distribution is smooth and symmetric about the center, much of the resulting change in index and surface shape often appears as a change in optical power, that is, a focus shift, and that part may be recoverable by refocusing. If the temperature profile departs from a simple parabolic shape, however, spherical aberration and similar terms remain. In addition, deformation linked to the three mounting points stays in the wavefront as a three-fold (trefoil) component that refocusing cannot remove. In a through-focus MTF, the first effect would appear as a sideways shift of the peak and the second as a lower peak. Which components appear, and how strongly, depends on the lens geometry, materials, temperature distribution and mechanical constraints. This example is a hypothetical illustration of trends; it is not a numerical result and not part of the JSOL example.
Turning the results into design decisions
A STOP analysis is valuable not only because it quantifies degradation but because it shows where the degradation comes from. Once the comparison above separates focus shift, aberrations from element displacement, aberrations from surface deformation and aberrations from index distributions, it becomes clear whether the optics, the mechanics or the thermal design should change.
Optical design decisions
If focus shift dominates, consider revising the glass choice and power distribution so that the change in optical power with temperature and the image-plane shift caused by barrel expansion cancel out, an approach known as athermalization. If a focus mechanism is planned, the thermal focus shift helps define its required travel.
Checking the effect of deformation lens by lens identifies the thermally sensitive elements, whose materials and shapes can then be reviewed first. In optics that carry laser light, choosing low-absorption coatings and materials is itself a way to reduce the heat source. After changing the optical design, re-balance performance with optical optimization and evaluate the thermal effects again.
Mechanical design decisions
If non-rotationally-symmetric aberrations or aberrations from decenter and tilt are large, the mounting method is a likely cause. Reviewing the number and placement of contact points, retaining-ring preload, the amount and location of adhesive, and the thermal expansion mismatch between barrel and lens can change the shape of the deformation itself.
When the optical side can state concretely which aberration components matter and by how much, mechanical designers can choose a direction for countermeasures more easily. A Zernike breakdown of the aberrations serves as a shared language for that discussion.
Thermal design decisions
Focus shift from a uniform temperature change can sometimes be absorbed by refocusing or athermalization, whereas degradation from temperature gradients tends to remain. Thermal design should therefore aim to reduce temperature differences within and between optical elements, not just the average temperature. Besides revising heat paths and heat-source placement, transient results also give an estimate of how long performance takes to stabilize after start-up.
How this relates to tolerancing
Thermal degradation is a loss of performance separate from manufacturing and assembly errors. Evaluating manufacturing and assembly errors with tolerancing, and thermal and structural deformation with STOP analysis, then deciding how to allocate the performance margin between them, keeps the specification consistent.
After a design change, recalculate in Mechanical and OpticStudio to confirm its effect. The loop runs more smoothly when the optical and mechanical engineers agree in advance on the metrics and pass/fail criteria they will use.
JSOL’s example: a coupled analysis of laser processing optics
JSOL Corporation presents an analysis that couples Zemax OpticStudio with Ansys Mechanical in a Japanese-language article on its technical blog, published on January 30, 2025, on structural and optical analysis of optical lenses for predicting defocus caused by thermal deformation. Written from the structural-analysis side, it shows the coupling steps concretely and is a useful reference for turning the workflow described here into an actual analysis.
The example concerns laser processing optics. Internal heat generation and heat flux data for the lenses and mirrors, obtained from the optical analysis in OpticStudio, are imported into Mechanical and mapped onto a structural model whose mesh does not match the optical data; transient thermal and thermal stress analyses follow. The resulting deformation is exported in a format for OpticStudio, and optical results with and without the thermal and structural perturbations are compared. In terms of the diagram above, it follows the path that starts from absorbed light (the dashed branch). The original article explains the structural side in detail, including model size, computation time and the Mechanical settings.
The article reflects the procedure as of January 2025, when exporting from Mechanical required installing a separate extension (plug-in) provided by Ansys. Since Ansys 2026 R1, this export function ships with Mechanical as an add-on. The same workflow therefore applies, but steps and screens can differ depending on the software version.
This case study was developed jointly by JSOL Corporation and LightBridge. JSOL handled the structural and thermal analysis, while LightBridge handled the optical analysis. Further details are available in JSOL’s technical blog article (in Japanese).
Talk to us about evaluating thermal effects on optical performance
LightBridge sells and supports Zemax OpticStudio. We can help with the optical side of the coupled workflow, including confirming the edition you need for STAR, deciding which metrics to compare before and after thermal loading, and applying temperature and deformation data to the optical model. The Zemax OpticStudio product page describes the software’s capabilities and applications.
For structural and thermal analysis in Ansys Mechanical, including workflow and licensing questions, JSOL provides its own contact page (in Japanese).
JSOL Corporation, technical blog article on structural and optical analysis of optical lenses for predicting defocus caused by thermal deformation (in Japanese), January 30, 2025. https://www.jsol-cae.com/tech-blog/20250130.html
We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.
Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.
Essential Website Cookies
These cookies are strictly necessary to provide you with services available through our website and to use some of its features.
Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.
We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.
We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.
Google Analytics Cookies
These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.
If you do not want that we track your visit to our site you can disable tracking in your browser here:
Other external services
We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.
Google Webfont Settings:
Google Map Settings:
Google reCaptcha Settings:
Vimeo and Youtube video embeds:
Other cookies
The following cookies are also needed - You can choose if you want to allow them:
Privacy Policy
You can read about our cookies and privacy settings in detail on our Privacy Policy Page.