Ray Tracing of Pinhole Camera During a Solar Eclipse
Application ID: 129301
This model demonstrate how to simulate ray tracing in a pinhole camera viewing a solar eclipse. To keep the model dimensions in check, the Sun and Moon are approximated using planar discs with the appropriate angular size (~0.5 degree) relative to the pinhole.
In this example, the first study performs a parametric sweep of the Moon’s position to demonstrate the various stages of the solar eclipse. The second study performs a parametric sweep over the pinhole’s aperture radius to demonstrate the focusing effect of a smaller pinhole.
This model is inspired by the solar eclipse of April 8, 2024.

This model example illustrates applications of this type that would nominally be built using the following products:
however, additional products may be required to completely define and model it. Furthermore, this example may also be defined and modeled using components from the following product combinations:
The combination of COMSOL® products required to model your application depends on several factors and may include boundary conditions, material properties, physics interfaces, and part libraries. Particular functionality may be common to several products. To determine the right combination of products for your modeling needs, review the Grille des Spécifications and make use of a free evaluation license. The COMSOL Sales and Support teams are available for answering any questions you may have regarding this.