0

Photon Moving Through Sun

Photon movement simulated in the Sun Photon Moving Through Sun is a Java-based application that simulates the path of photons in radiative transport as they escape from the Sun. Photons do not travel in a straight line, but rather collide with larger particles and get redirected in a fashion. This simulation models that process using a random walk in polar coordinates. The step size for this random walk are determined by the mean free path, the average distance the photon will travel before colliding with another particle. This mean free path (l) is equal to the inverse of the product of the density (p) and the opacity (k): l = 1/(k*p). The density and opacity of the Sun are not constant throughout, but rather change at different distances from the center. However, these values are not agreed upon among the scientific communtiy. Using different values of the mean free path, physicists give the average escape time of photons anywhere from between 100,000 years and 1,000,000 years. As a result, the program was designed not only to take into account a few different physicists’ values (both average and linearly decreasing values) but it also allows the user to input their own values. Requirements: ยท Java

Leave a Reply