numerical algorithms for electron beams

41
Numerical Algorithms for Electron Beams Samir Naqos Department of Mathematics Numerical Algorithms for Electron Beams – p.1

Upload: others

Post on 12-Feb-2022

15 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Numerical Algorithms for Electron Beams

Numerical Algorithms for ElectronBeams

Samir Naqos

Department of Mathematics

Numerical Algorithms for Electron Beams – p.1

Page 2: Numerical Algorithms for Electron Beams

Outline

Radiation Oncology

Electron Beams: Physical properties

Radiation Therapy planning

Algorithms for Electron Beams

A model Problem

The fully discrete scheme

Characteristic Schemes

Implementation

Results and conclusions

Numerical Algorithms for Electron Beams – p.2

Page 3: Numerical Algorithms for Electron Beams

Motivations

1 person in 3 will develop some form ofcancer in their life time.

1 person in 5 will die from that cancer.

Cancer is the second leading cause of death,but exceeds all other diseases in terms ofyears of working life lost.

About half of all cancer patients receiveradiation therapy.

Numerical Algorithms for Electron Beams – p.3

Page 4: Numerical Algorithms for Electron Beams

Motivations

1 person in 3 will develop some form ofcancer in their life time.

1 person in 5 will die from that cancer.

Cancer is the second leading cause of death,but exceeds all other diseases in terms ofyears of working life lost.

About half of all cancer patients receiveradiation therapy.

Numerical Algorithms for Electron Beams – p.3

Page 5: Numerical Algorithms for Electron Beams

Motivations

1 person in 3 will develop some form ofcancer in their life time.

1 person in 5 will die from that cancer.

Cancer is the second leading cause of death,but exceeds all other diseases in terms ofyears of working life lost.

About half of all cancer patients receiveradiation therapy.

Numerical Algorithms for Electron Beams – p.3

Page 6: Numerical Algorithms for Electron Beams

Motivations

1 person in 3 will develop some form ofcancer in their life time.

1 person in 5 will die from that cancer.

Cancer is the second leading cause of death,but exceeds all other diseases in terms ofyears of working life lost.

About half of all cancer patients receiveradiation therapy.

Numerical Algorithms for Electron Beams – p.3

Page 7: Numerical Algorithms for Electron Beams

Motivations

Any improvements to radio therapy will bene-fit a great number of people.

Numerical Algorithms for Electron Beams – p.4

Page 8: Numerical Algorithms for Electron Beams

Radiation Oncology

Use of radiation to kill diseased cells

The ultimate goal:Destroy the tumor with minimal damage to the normaltissue.

Electrons, photons (X-ray), protons, neutrons. . .

Numerical Algorithms for Electron Beams – p.5

Page 9: Numerical Algorithms for Electron Beams

Radiation Oncology

Use of radiation to kill diseased cells

The ultimate goal:Destroy the tumor with minimal damage to the normaltissue.

Electrons, photons (X-ray), protons, neutrons. . .

Numerical Algorithms for Electron Beams – p.5

Page 10: Numerical Algorithms for Electron Beams

Radiation OncologyThey typically deliver 4 to5MeV electron beams.Electron therapy is used totreat superficial tumor.

Numerical Algorithms for Electron Beams – p.6

Page 11: Numerical Algorithms for Electron Beams

Radiation therapy planning

Calculate dose, or energy deposited per unit mass.

3D image of the tumor and surronding tissue.

choose a set of beams (intuitively).

calculate the dose.

generate a graph showing the dose volume distribution.

Decision weither the chosen set is optimal.

Numerical Algorithms for Electron Beams – p.7

Page 12: Numerical Algorithms for Electron Beams

Electron beams: Physical and clinical aspects

Interactions, ionization.

Energy deposition.Collisional losses

Radiative losses

Biological effects.

Numerical Algorithms for Electron Beams – p.8

Page 13: Numerical Algorithms for Electron Beams

Electron beams: Mathematical models

Variants of Boltzmann transport equation.

The Fermi pencil beam equation.Determine quatitatively the broadening ofthe beam.

Numerical Algorithms for Electron Beams – p.9

Page 14: Numerical Algorithms for Electron Beams

The monoenergetic transport equation

let Q := [0, L] × R × R be a homogeneous slab.

ω·∇Xψ(X, ω)+σt(X)ψ(X, ω) =

S2

σs(X, ω·ω′)ψ(X, ω) dω′ in Q×S2,

(0)

and associated with the boundary conditions

ψ(L, y, z, ω) = 0 if ξ < 0,

ψ(0, y, z, ω) = 1

2πδ(1 − ξ)δ(y)δ(z) if ξ > 0,

(0)

Numerical Algorithms for Electron Beams – p.10

Page 15: Numerical Algorithms for Electron Beams

The monoenergetic transport equation

with X = (x, y, z) ∈ Q, ω = (ξ, η, ζ) ∈ S2. describing the spreading of

a pencil beam of particles normally incident at the boundary (0, y, z) of

the slab Q. ψ is the density of particles at the point X moving in the

direction of ω. σt is the total cross section, whereas σs is the scattering

cross section.

Numerical Algorithms for Electron Beams – p.11

Page 16: Numerical Algorithms for Electron Beams

The Fermi pencil beam equation

Derived from the Fokker-Planck equation.

ω0 · ∇xψF = σ∆ηζψF ,

ψF (0, y, z, η, ζ) = δ(y)δ(z)δ(η)δ(ζ), if ξ > 0,

ψF (L, y, z, η, ζ) = 0, if ξ < 0,

(0)

here ω0 = (1, η, ζ), where (η, ζ) ∈ R × R and ∆η,ζ = ∂2/∂η2 + ∂2/∂ζ.

Numerical Algorithms for Electron Beams – p.12

Page 17: Numerical Algorithms for Electron Beams

A model problem

ux + zuy = εuzz, (x, x⊥) ∈ Q,

uz(x, y,±z0) = 0, for(x, y) ∈ Ix × Iy,

u(x,±y0, z) = 0, Γ−

β\ {suppf},

u(0, x⊥) = f(x⊥),

(0)

where Γ−

β:= {(x, x⊥) ∈ ∂Q : β · n < 0}, β = (1, z, 0), and x⊥ ≡ (y, z) is

the transversal variable. Further, n := n(x, x⊥) is the outward unitnormal to Γ at (x, x⊥) ∈ Γ.

Numerical Algorithms for Electron Beams – p.13

Page 18: Numerical Algorithms for Electron Beams

A model problem

Our model problem corresponds to a forward-

backward (z changes the sign), convection dom-

inated (ε is small), convection-diffusion equation

of degenerate type (convection in (x, y) and diffu-

sion in z).

Numerical Algorithms for Electron Beams – p.14

Page 19: Numerical Algorithms for Electron Beams

Standard Galerkin

Find uh ∈ Vh,β , such that

(uh,x, χ)⊥ + (zuh,y, χ) + (εuh,z, χz)⊥ = 0, ∀χ ∈ Vh,β ,

uh(0, x⊥) = fh(x⊥),(0)

where fh is a finite element approximation of f . The mesh size h isrelated to ε according to:

h2 ≤ ε ≤ h.(0)

Numerical Algorithms for Electron Beams – p.15

Page 20: Numerical Algorithms for Electron Beams

A Semi Streamline Diffusion Method

The test function has the form v + δvβ with δ ≥ ε,β = (z, 0), vβ = β · ∇⊥v and ∇⊥ = (∂/∂y, ∂/∂z),and v satisfies the boundary conditions.

(ux + uβ − εuzz, v + δvβ)⊥ = (ux, v)⊥ + δ(ux, vβ)⊥ + (uβ, v)⊥ + δ(uβ, vβ)⊥ + (εuz, vz)⊥ + δ(εuz, (vβ)z)⊥ = 0.(0)

Numerical Algorithms for Electron Beams – p.16

Page 21: Numerical Algorithms for Electron Beams

The fully discrete problem

We split the SSD variational formulation as follows:

a(u, v) = (uβ , v)I⊥ + δ(εuβ , uβ)I⊥ + (εuz, vz)I⊥ + δ(εuz, (vβ)z)I⊥ ,(-1)

b(u, v) = δ(u, vβ)I⊥ + (u, v)I⊥ ,(-1)

and rewrite the problem as

find a solution u ∈ H1β(I⊥) such that

b(ux, v) + a(u, v) = 0, ∀v ∈ H1β(I⊥).

(-1)

Numerical Algorithms for Electron Beams – p.17

Page 22: Numerical Algorithms for Electron Beams

The fully discrete problem

We consider the "space-time-discrete" ansatz

uh(x, y, z) =

M∑

i=1

ξi(x)φi(y, z),(-1)

where M ∼ 1/h. We replace v by φj for j = 1, · · · ,M . This gives thediscretization method

M∑

i=1

ξ′i(x)b(φi, φj) +

M∑

i=1

ξi(x)a(φi, φj), j = 1, · · · ,M.(-1)

Or in matrix form,

Bξ′i(x) +Aξi(x) = 0.(-1)

Numerical Algorithms for Electron Beams – p.18

Page 23: Numerical Algorithms for Electron Beams

The fully discrete problem

Now we discretize in x using Backward Euler to get

B(Unh − Un−1

h ) + knAUnh = 0.(-1)

B = (bij) is the matrix with entries bij = b(φi, φj) and A = (aij) with

entries aij = a(φi, φj).

Numerical Algorithms for Electron Beams – p.19

Page 24: Numerical Algorithms for Electron Beams

Characteristic schemes

The idea is exact transport + projection.

Numerical Algorithms for Electron Beams – p.20

Page 25: Numerical Algorithms for Electron Beams

Characteristic schemes

Jx + zJy = εJzz, (x, x⊥) ∈ Q,

Jz(x, y,±z0) = 0, for(x, y) ∈ Ix × Iy,

J(x,±y0, z) = 0, Γ−

β\ {suppf},

J(0, x⊥) = f(x⊥),

(-1)

where Q is a bounded domainQ ≡ Ix × Iy × Iz = [0, L] × [−y0, y0] × [−z0, z0],Γ−

β:= {(x, x⊥) ∈ ∂Q : β · n < 0}, β = (1, z, 0), x⊥ ≡ (y, z) is the

transversal variable and n := n(x, x⊥) is the outward unit normal to Γ

at (x, x⊥) ∈ Γ.

Numerical Algorithms for Electron Beams – p.21

Page 26: Numerical Algorithms for Electron Beams

Characteristic schemes

L(J) := Jx + β · ∇⊥J − ε∆⊥J = 0,(-1)

where ε ≈ Cσ. ∆⊥ := ∂2/∂y2 + ∂2/∂z2 is the transversal Laplacianoperator, and β ≡ (z, 0).

Numerical Algorithms for Electron Beams – p.22

Page 27: Numerical Algorithms for Electron Beams

Characteristic Galerkin

For n = 1, 2 . . . , N

find Jh,n ∈ Vn such that∫

Iy×Iz

Jh,n(x⊥)v(x⊥) dx⊥ =∫

Iy×Iz

Jh,n−1(x⊥ − hnβ)v(x⊥) dx⊥,

(-1)

where hn = xn − xn−1 and Jh,0 = f .

Numerical Algorithms for Electron Beams – p.23

Page 28: Numerical Algorithms for Electron Beams

Characteristic Galerkin

Jh,n = PnTnJh,n−1,(-1)

Numerical Algorithms for Electron Beams – p.24

Page 29: Numerical Algorithms for Electron Beams

Characteristic Streamline Diffusion

For n = 1, 2, . . . , N , find Jh ≡ Jh|Sn ∈ Vn such that

Sn

(Jhx +β·∇⊥J

h)(v+δ(vx+β·∇⊥v)) dxdx⊥+

Sn

ε∇⊥Jh·∇⊥v dxdx⊥+

I⊥

Jh,n+ vn

+ dx⊥ =

I⊥

Jh,n− vn

+ dx⊥, ∀v ∈ Vn,

(-1)

where vn±(x⊥) = lim∆x→0 v(x± ∆x, x⊥),

ε = max(ε,F(ChαR(Jh))/Mn, with

R(Jh) = |Jhx + β · ∇⊥J

h| + |[Jh]|/h.(-1)

Numerical Algorithms for Electron Beams – p.25

Page 30: Numerical Algorithms for Electron Beams

Characteristic Streamline Diffusion

The streamline diffusion modification is given by δ(vx + β · ∇⊥v). If β isapproximated by piecewise constants on each slab, the streamlinediffusion modification will disappear in the CSD-method.

Numerical Algorithms for Electron Beams – p.26

Page 31: Numerical Algorithms for Electron Beams

Characteristic Streamline Diffusion

For n = 1, 2, . . . , N , find Jh,n ∈ Vn such that∫

I⊥

ε∇⊥Jh,n·∇⊥v dxdx⊥+

I⊥

Jh,nv dx⊥ =

I⊥

TnJh,n−1v dx⊥, ∀v ∈ Vn,

(-1)

where Jh,0 = f and ε = F(Chαn|Jh,n − TnJ

h,n−1|)/Mn.

Numerical Algorithms for Electron Beams – p.27

Page 32: Numerical Algorithms for Electron Beams

Characteristic Streamline Diffusion

We introduce

(Pnw, v) = (ε∇⊥Pnw,∇⊥v) = (w, v), ∀v ∈ Pn,(-1)

to get

Jh,n = PnTnJh,n−1.(-1)

Numerical Algorithms for Electron Beams – p.28

Page 33: Numerical Algorithms for Electron Beams

Implementation

DOLFINuser level.module level.kernel level.Object Orientedness.

Numerical Algorithms for Electron Beams – p.29

Page 34: Numerical Algorithms for Electron Beams

Implementation

Exact Solution.

J(x, y, z) =

√3

πεx2e−2(3(y/x)2−3(y/2)z+z2)/(εx).(-1)

Numerical Algorithms for Electron Beams – p.30

Page 35: Numerical Algorithms for Electron Beams

Implementation

Exact Solution.

−1−0.5

00.5

1

−1

−0.5

0

0.5

10

0.05

0.1

0.15

0.2

0.25

Numerical Algorithms for Electron Beams – p.31

Page 36: Numerical Algorithms for Electron Beams

Results

Initial conditions used

Numerical Algorithms for Electron Beams – p.32

Page 37: Numerical Algorithms for Electron Beams

Results

Exact solution at x = 1.0

−1−0.5

00.5

1 −1

−0.5

0

0.5

1

0

100

200

300

400

500

600

Numerical Algorithms for Electron Beams – p.33

Page 38: Numerical Algorithms for Electron Beams

Results

Computed solution using CSD.

−1−0.5

00.5

1

−1−0.5

00.5

1−100

0

100

200

300

400

500

600

Numerical Algorithms for Electron Beams – p.34

Page 39: Numerical Algorithms for Electron Beams

Results

Formation of layers.

−1−0.5

00.5

1

−1

−0.5

0

0.5

10

0.1

0.2

0.3

0.4

0.5

layers associated with large steps in x

Numerical Algorithms for Electron Beams – p.35

Page 40: Numerical Algorithms for Electron Beams

Results

Oscillatory bahaviour.

−1−0.5

00.5

1

−1

−0.5

0

0.5

10

0.2

0.4

0.6

0.8

1

Numerical Algorithms for Electron Beams – p.36

Page 41: Numerical Algorithms for Electron Beams

Results

Streamline Diffusion and CharacteristicStreamline Diffusion are stable and accuratemethods for similar problems.

Numerical Algorithms for Electron Beams – p.37