Monte Carlo Radiation Analysis

Category: Thermal – Radiation | Revised 2026-10-01
CAE visualization for monte carlo radiation theory - technical simulation diagram
Monte Carlo Radiation Analysis

Theory: counting rays to compute radiation

Overview

🙋

Monte Carlo uses random numbers. Can that give accurate answers?

🎓

With enough rays, yes — but error shrinks only with the square root of ray count, so accuracy gets expensive. In exchange, complex shapes, wavelength- or direction-dependent properties, and absorbing or scattering gases are all handled by the same ray-following procedure. Let's check how well Monte Carlo matches exact solutions — the view factor between two disks and transmissivity through an absorbing layer — and how it changes with ray count.

View factor and statistical error

$$ F_{12} \approx \frac{N_{hit}}{N},\qquad \sigma_F \approx \sqrt{\frac{F(1-F)}{N}},\qquad \sin\theta = \sqrt{R_\theta},\ \phi = 2\pi R_\phi $$

Points on surface 1 are chosen uniformly and directions cosine-distributed to match diffuse emission ($R$ uniform random in 0–1). The fraction hitting surface 2 is the view factor. Hit-or-miss is binomial, so scatter is $\sqrt{F(1-F)/N}$.

An absorbing layer

$$ s = -\frac{\ln R}{\kappa},\qquad \tau_{collimated} = e^{-\kappa L},\qquad \tau_{diffuse} = 2E_3(\kappa L) $$

$s$ is the distance to absorption, sampled from an exponential distribution with absorption coefficient κ. Diffuse light includes oblique rays with longer paths, so it transmits less than a collimated beam.

Coffee Break Trivia

From Los Alamos to thermal radiation

The Monte Carlo method was devised in the 1940s at Los Alamos by Ulam, von Neumann and others to compute neutron transport, named after Monaco's casino district. Howell and others applied it to thermal radiation in the 1960s, for furnaces and spacecraft of complex shape. Today film computer graphics compute lighting with the same ray-tracing idea.

Worked examples

Example 1: view factor between facing disks

Two coaxial disks of radius 1, spacing 1; exact value 0.38197. Ten runs with different random seeds for each ray count.

RaysMeanStd devTheoretical std
1000.37100.06710.0486
1,0000.38760.01220.0154
10,0000.38290.00380.0049
100,0000.38200.00120.0015
1,000,0000.38190.00060.0005

Example 2: transmissivity of an absorbing layer

Optical thickness κLCollimated MCexp(−κL)Diffuse MC2E₃(κL)
0.10.90450.90480.83230.8326
10.36780.36790.21850.2194
30.05030.04980.01800.0179

Each with 200,000 rays.

🙋

It takes a million rays just to settle the fourth decimal place. That's a lot.

🎓

That's Monte Carlo's weakness: a tenfold error cut needs 100 times the rays. But however complex the shape or numerous the surfaces, the error decreases the same way. Compared with methods whose view-factor matrix grows rapidly with surface count, Monte Carlo gains as problems get harder. In practice, set ray count from required accuracy (say 1% in heat flux) and confirm results settle as it doubles and quadruples. Variance reduction (importance sampling, reciprocity) improves accuracy for the same ray count.

Analysis tips

  1. First verify the code on simple shapes with exact solutions.
  2. Double ray count and confirm scatter falls as 1/√N.
  3. Check results with reciprocity A₁F₁₂ = A₂F₂₁ and summation ΣF = 1.
  4. Small or rarely hit surfaces have large error; allocate rays preferentially.
  5. Record RNG quality and seeds for reproducibility.
Coffee Break Trivia

“A small sensor's temperature fluctuated”

In a furnace radiation analysis, a small wall-mounted temperature sensor's computed temperature varied by tens of kelvins from run to run. Its area was tiny compared with the furnace, so very few rays hit it. Importance sampling — firing more rays toward the sensor with correspondingly lower weights — cut the scatter to a few kelvins for the same run time. With Monte Carlo, check that enough rays reach the locations of interest.

Common mistakes

Mistakes and fixes

MistakeEffectFix
Uniform directionsNot diffuse emissionUse cosine weighting
Too few raysNoisy resultsSize by 1/√N
Rays miss small surfacesLocal errorImportance sampling
No reciprocity checkBugs missedCheck sums and reciprocity
Unfixed seedsNot reproducibleRecord seeds
🙋

I'd like to learn related topics.

Related Simulators

Experience the theory firsthand with the interactive simulator for this field

All Simulators

Related fields

Structural AnalysisFluid Analysis (CFD)Manufacturing & Process Simulation
Rate this article
Thank you for your feedback!
Helpful
More details
Report error
Helpful
0
More details
0
Report error
0