hyperion-rt / hyperion

Hyperion Radiative Transfer Code
http://www.hyperion-rt.org
BSD 2-Clause "Simplified" License
52 stars 26 forks source link

Questions of Warnings. #26

Closed hyissue closed 11 years ago

hyissue commented 11 years ago

WARNING: photon exceeded maximum number of interactions - killing [do_lucy] WARNING: not in correct cell - killing [grid_integrate] WARNING: cannot find next wall - killing [grid_integrate_noenergy] WARNING: not in correct cell - killing [grid_integrate_noenergy] WARNING: photon exceeded maximum number of interactions - killing [main]

what do these warnings indicate?

astrofrog commented 11 years ago

This usually means that the density is very high and that from time to time there are numerical issues with the photons. One way to reduce the number of warnings is to make use of the modified random walk:

http://docs.hyperion-rt.org/en/latest/setup/setup_conf.html?highlight=modified%20random%20walk#diffusion

astrofrog commented 11 years ago

If you only see a few of these warnings, it's not a problem, but if you see many hundreds or thousands of warnings, it indicates a real issue. Another reason you might see some of these warnings is if a source is not located inside the grid for example.