Simple Monte Carlo Radiation

I tried my hand at writing a simple Monte Carlo radiation transport code a couple of nights ago. It turned out not to be very difficult to write, and at only 50 lines of code, it produces some pretty amazing results:

This image represents the deposition of photon energy into a liquid drop suspended in a gas-fill container. The bright spot above and to the left of the droplet is the photon source.

Category(s): Research

One Response to Simple Monte Carlo Radiation

    Doug Miller says:

    Monte Carlo—it’s better than thinking!

Leave a Reply to Doug Miller Cancel reply

Your email address will not be published. Required fields are marked *