Monte Carlo Radiation Transfer I

Similar documents
Reflection Nebulae: can reflections from grains diagnose albedo?

MCRT: L4 A Monte Carlo Scattering Code

Monte Carlo Sampling

Mean Intensity. Same units as I ν : J/m 2 /s/hz/sr (ergs/cm 2 /s/hz/sr) Function of position (and time), but not direction

Enrico Fermi and the FERMIAC. Mechanical device that plots 2D random walks of slow and fast neutrons in fissile material

If light travels past a system faster than the time scale for which the system evolves then t I ν = 0 and we have then

Opacity and Optical Depth

MCRT L10: Scattering and clarification of astronomy/medical terminology

PHYS 390 Lecture 23 - Photon gas 23-1

Stars AS4023: Stellar Atmospheres (13) Stellar Structure & Interiors (11)

Spectroscopy Lecture 2

MCRT L9: Neutron Transport

1 CHAPTER 5 ABSORPTION, SCATTERING, EXTINCTION AND THE EQUATION OF TRANSFER

I ν. di ν. = α ν. = (ndads) σ ν da α ν. = nσ ν = ρκ ν

Interaction theory Photons. Eirik Malinen

de = j ν dvdωdtdν. (1)

Fundamental Stellar Parameters

1 Radiative transfer etc

Stellar Atmospheres: Basic Processes and Equations

Lecture 3: Specific Intensity, Flux and Optical Depth

Lecture 06. Fundamentals of Lidar Remote Sensing (4) Physical Processes in Lidar

3 Some Radiation Basics

2. NOTES ON RADIATIVE TRANSFER The specific intensity I ν

p(θ,φ,θ,φ) = we have: Thus:

Monte Carlo Methods:

Monte Carlo radiation transport codes

Interstellar Medium Physics

Applied Nuclear Physics (Fall 2006) Lecture 19 (11/22/06) Gamma Interactions: Compton Scattering

PHAS3135 The Physics of Stars

Analysis of Scattering of Radiation in a Plane-Parallel Atmosphere. Stephanie M. Carney ES 299r May 23, 2007

Monte Carlo Radiation Transport Kenny Wood

TRANSFER OF RADIATION

Scattering in Cold- Cathode Discharges

Monte Carlo Radiation Transport Kenny Wood

PC4262 Remote Sensing Scattering and Absorption

Electrodynamics of Radiation Processes

PHYS 5012 Radiation Physics and Dosimetry

Advanced Heat and Mass Transfer by Amir Faghri, Yuwen Zhang, and John R. Howell

Beer-Lambert (cont.)

3 The Friedmann-Robertson-Walker metric

Lecture 2 Solutions to the Transport Equation

Time-Dependent Perturbation Theory. Absorption and Emission of Radiation. Band Shapes and Convolution

SAMPLING SPECIAL DISTRIBUTIONS

Bethe-Block. Stopping power of positive muons in copper vs βγ = p/mc. The slight dependence on M at highest energies through T max

Astronomy 421. Lecture 13: Stellar Atmospheres II. Skip Sec 9.4 and radiation pressure gradient part of 9.3

Electromagnetic Spectra. AST443, Lecture 13 Stanimir Metchev

F = c where ^ı is a unit vector along the ray. The normal component is. Iν cos 2 θ. d dadt. dp normal (θ,φ) = dpcos θ = df ν

Assignment 4 Solutions [Revision : 1.4]

Addition of Opacities and Absorption

Weighting Functions and Atmospheric Soundings: Part I

PHYS 5012 Radiation Physics and Dosimetry

Laser Beam Interactions with Solids In absorbing materials photons deposit energy hc λ. h λ. p =

Synchrotron Radiation: II. Spectrum

Solutions: Homework 7

Uniformity of the Universe

Radiative transfer theory (Pure gas atmosphere)

Basic MonteCarlo concepts

12.815/12.816: RADIATIVE TRANSFER PROBLEM SET #1 SOLUTIONS

Radiation Processes. Black Body Radiation. Heino Falcke Radboud Universiteit Nijmegen. Contents:

Laser Types Two main types depending on time operation Continuous Wave (CW) Pulsed operation Pulsed is easier, CW more useful

The Black Body Radiation

The Radiative Transfer Equation

Lecture 4* Inherent optical properties, IOP Theory. Loss due to absorption. IOP Theory 12/2/2008

Chapter 7: Quantum Statistics

Astro 305 Lecture Notes Wayne Hu

E n = n h ν. The oscillators must absorb or emit energy in discrete multiples of the fundamental quantum of energy given by.

Compton Scattering I. 1 Introduction

What are Lasers? Light Amplification by Stimulated Emission of Radiation LASER Light emitted at very narrow wavelength bands (monochromatic) Light

Monday 9 September, :30-11:30 Class#03

Order of Magnitude Astrophysics - a.k.a. Astronomy 111. Photon Opacities in Matter

Problem Set 5 - Solution

E X A M. Probability Theory and Stochastic Processes Date: December 13, 2016 Duration: 4 hours. Number of pages incl.

The Formation of Spectral Lines. I. Line Absorption Coefficient II. Line Transfer Equation

Numerical Heat and Mass Transfer

Ay121 Problem Set 1. TA: Kathryn Plant. October Some parts are based on solutions by previous TAs Yuguang Chen and Rachel Theios.

CHAPTER 26. Radiative Transfer

= m H 2. The mean mass is 1/2 the mass of the hydrogen atom. Since, the m e << m p, the mean mass of hydrogen is close to 1/2 the mass of a proton.

Interaction of Electron and Photons with Matter

Nearly everything that we know about the Sun (& other stars) comes from the photons it emits into space.

7. Dust Grains & Interstellar Extinction. James R. Graham University of California, Berkeley

ν is the frequency, h = ergs sec is Planck s constant h S = = x ergs sec 2 π the photon wavelength λ = c/ν

To remain at 0 K heat absorbed by the medium must be removed in the amount of. dq dx = q(l) q(0) dx. Q = [1 2E 3 (τ L )] σ(t T 4 2 ).

PHYS 231 Lecture Notes Week 3

Stellar Atmospheres: A Computational Approach. Senior Project by Kathy Geise

Optical Depth & Radiative transfer

e = dn(p) u = 1 ρ dp The kinetic energy of a particle with momentum p and rest mass m is ɛ(p) = mc p2 m 2 c 1.

Electrodynamics Exam Solutions

I understand the relationship between energy and a quanta I understand the difference between an electron s ground state and an electron s excited

Goal: The theory behind the electromagnetic radiation in remote sensing. 2.1 Maxwell Equations and Electromagnetic Waves

What are Lasers? Light Amplification by Stimulated Emission of Radiation LASER Light emitted at very narrow wavelength bands (monochromatic) Light

Astro 201 Radiative Processes Solution Set 1. by Roger O Brient and Eugene Chiang

II. HII Regions (Ionization State)

External (differential) quantum efficiency Number of additional photons emitted / number of additional electrons injected

Chapter 7: Quantum Statistics

Random processes and probability distributions. Phys 420/580 Lecture 20

SIMPLE RADIATIVE TRANSFER

2. Special Relativity (SR) explicit Lorentz transformations Particles with m > 0 can always be seen as boosted from their rest frame

Lecture 3: Emission and absorption

Compton Storage Rings

Lecture Notes on Radiation Transport for Spectroscopy

Transcription:

Monte Carlo Radiation Transfer I Monte Carlo Photons and interactions Sampling from probability distributions Optical depths, isotropic emission, scattering

Monte Carlo Basics Emit energy packet, hereafter a photon Photon travels some distance Something happens Scattering, absorption, re-emission

Photon Packets Total luminosity = L each photon packet carries energy E i = L Δt / N, N = number of Monte Carlo photons. MC photon represents N γ real photons, where N γ = E i / hν i MC photon packet moving in direction θ contributes to the specific intensity: I ν = ΔI ν = de ν cosθ dadt dν dω E i cosθ ΔAΔt Δν ΔΩ Energy packet

I ν is a distribution function. MC works with discrete energies. Binning the photon packets into directions, frequencies, etc, enables us to simulate a distribution function: Spectrum: bin in frequency Scattering phase function: bin in angle I ν (spectrum) θ (phase function)

A dl Photon Interactions Volume = A dl Number density n Cross section σ Energy removed from beam per particle /t / ν / dω= I ν σ Total energy absorbed/scattered from beam /sec = I ν σ n A dl Total energy absorbed/scattered from beam /sec/area = I ν σ n dl

Intensity differential over dl is di ν = - I ν n σ dl. Therefore I ν (l) = I ν (0) exp(-n σ l) Fraction scattered or absorbed / length = n σ n σ = volume absorption coefficient = ρ κ Mean free path = 1 / n σ = average dist between interactions Probability of interaction over dl is n σ dl Probability of traveling dl without interaction is 1 n σ dl L N segments of length L / N Probability of traveling L before interacting is P(L) = (1 n σ L / N) (1 n σ L / N) = (1 n σ L / N) N = exp(-n σ L) P(L) = exp(-τ) τ = number of mean free paths over distance L.

Probability Distribution Function PDF for photons to travel τ before an interaction is exp(-τ). If we pick τ uniformly over the range 0 to infinity we will not reproduce exp(-τ). Want to pick lots of small τ and fewer large τ. Same with a scattering phase function: want to get the correct number of photons scattered into different directions, N exp(-τ) forward and back scattering, etc. τ

Cumulative Distribution Function CDF = Area under PDF = P( x) dx Randomly choose τ, θ, λ, so that PDF is reproduced ξ is a random number uniformly chosen in range [0,1] X ξ = P(x) dx X P(x) d x = 1 a b a This is the fundamental principle behind Monte Carlo techniques and is used to sample randomly from PDFs.

e.g., P(θ) = cos θ and we want to map ξ to θ. Choose random θs to fill in P(θ) P(θ) F(ξ) θ i θ ξ i 1 ξ A ξ i θ i 1 = P( θ) dθ = sinθi θi = sin ξi 0 Sample many random θ i in this way and bin them, we will reproduce the curve P(θ) = cos θ.

Choosing a Random Optical Depth P(τ) = exp(-τ), i.e., photon travels τ before interaction ξ = τ 0 e τ dτ = 1 e τ τ = log(1 ξ ) Since ξ is in range [0,1], then (1-ξ) is also in range [0,1], so we may write: τ = logξ Physical distance, L, that the photon has traveled from: τ = L 0 nσ ds

Random Isotropic Direction Solid angle is dω = sin θ dθ dφ, choose (θ, φ) so they fill in PDFs for θ and φ. P(θ) normalized over [0, π], P(φ) normalized over [0, 2π]: P(θ) = ½ sin θ P(φ) = 1 / 2π Using fundamental principle from above: ξ = ξ = θ P(θ)dθ = 1 2 0 φ θ 0 P(φ)dφ = 1 2π 0 sinθ dθ = 1 (1 cosθ) 2 φ 0 dφ = φ 2π θ = φ = cos 1 (2ξ 1) 2π ξ Use this for emitting photons isotropically from a point source, or choosing isotropic scattering direction.

Rejection Method Used when we cannot invert the PDF as in the above examples to obtain analytic formulae for random θ, λ, etc. P(x) P max a y 1 x 1 x 2 y 2 b e.g., P(x) can be complex function or tabulated Multiply two random numbers: uniform probability / area Pick x 1 in range [a, b]: x 1 = a + ξ(b - a), calculate P(x 1 ) Pick y 1 in range [0, P max ]: y 1 = ξ P max If y 1 > P(x 1 ), reject x 1. Pick x 2, y 2 until y 2 < P(x 2 ): accept x 2 Efficiency = Area under P(x) x

Calculate π by the Rejection Method Pick N random positions (x i, y i ): x i in range [-R, R]: x i = (2ξ - 1) R y i in range [-R, R]: y i = (2ξ - 1) R Reject (x i, y i ) if x i 2 + y i 2 > R 2 Number accepted / N = π R 2 / 4R 2 N A / N = π / 4 2 R FORTRAN 77: Increase accuracy (S/N): large N do i = 1, N x = 2.*ran 1. y = 2.*ran 1. if ( (x*x + y*y).lt. 1. ) NA = NA + 1 end do pi = 4.*NA / N

Albedo Photon gets to interaction location at randomly chosen τ, then decide whether it is scattered or absorbed. Use the albedo or scattering probability. Ratio of scattering to total opacity: a = σ S σ + σ S To decide if a photon is scattered: pick a random number in range [0, 1] and scatter if ξ < a, otherwise photon absorbed Now have the tools required to write a Monte Carlo radiation transfer program for isotropic scattering in a constant density slab or sphere A