In this post and in the accompanying video, we will learn how to set up and perform a basic ray tracing task with COMSOL Multiphysics. In the second part, we will learn how to generate spot diagrams and in the third part, we will learn how to generate aberration plots. Note: First read this post and then watch the video.
For simplicity and presentation clarity we will analyze ray propagation through a thin lens. Everything learned in this post can be generalized to more complex systems. Consider a sketch shown in the following figure.
We consider a thin spherical lens with lens surface diameters of
Under the paraxial ray assumption (as well as under some other assumptions, see for example Eugene Hecht’s book : “Optics”), the positions
(1)
where
(2)
where
(3)
or using the fact that in this case
(4)
The equation (4) is useful since it enables to estimate the focal point location. This is important for verifying COMSOL simulations and for comparing simulations with a priori knowledge derived from the physical laws. This situation corresponds to the following ray-tracing images computed using COMSOL Multiphysics.
On the other hand, when the object point is far away from the lens (tends to infinity) then the image object is at the focal point. This means that the rays coming from the object far away from the lens tend to be parallel to the optical axis and they are focused at the focal point. That is,
(5)
In that case from (1), we have
(6)
or using the fact that in this case
(7)
Comparing the last equation with (4), we conclude that for a thin lens, the lengths of the focal points for the two cases are the same. Ray tracing for the case when the object point is far away from the lens is visualized by the following figures that are generated using COMSOL Multiphysics.
By expressing the focal distance either from (4) or (7), we obtain
(8)
Following the convention rules, when substituting values for
In our COMSOL simulations, we have