Monte-Carlo ray tracing

A 2-D Monte-Carlo ray trace with unpolarised Fresnel and TIR — and the 2θ_c/π analytic benchmark.

Lessons

  1. Lesson 1
    Isotropic dipole and the escape cone

    A 2-D point source, and the angular wedge that gets out.

    ~7 min read
  2. Lesson 2
    Fresnel at each interface

    R_s and R_p unpolarised at every bounce — the tool's full-loss accounting.

    ~7 min read
  3. Lesson 3
    How many rays is enough

    Standard error of a Bernoulli vs sample size.

    ~7 min read
  4. Lesson 4
    Reading the ray-trace output

    Escape top, TIR-trapped, Fresnel-bounce-quit — three bins.

    ~7 min read
  5. Lesson 5
    The 2θ_c/π analytic reference

    A no-loss closed form to sanity-check the Monte Carlo.

    ~7 min read

References

  • Modest, M. F. Radiative Heat Transfer, 3rd ed. (Academic Press, 2013). §21 — Monte Carlo basics.
  • Born, M. & Wolf, E. Principles of Optics, 7th ed. (Cambridge, 1999). §1.5 — Fresnel equations.
  • Marsaglia, G. Xorshift RNGs. Journal of Statistical Software 8:14 (2003).
  • Zdanowicz, A. et al. Light extraction from organic light-emitting diodes. Journal of Applied Physics 91, 595 (2002).

Further exploration — related tools

  • title— Edge-lit plate brightness-map render — see hot spots dissolve as Kriya cladding widens the TIR acceptance cone
  • title— Edge-lit light guide: ray propagation, extraction features, luminance uniformity
  • title— EQE gain from index-matching extraction layer (ray-optics / CPS dipole)