multi-beams simulation in pic1d hands-on section 4

6
Multi-beams simulation in PIC1D Hands-on section 4

Upload: thomas-underwood

Post on 14-Jan-2016

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Multi-beams simulation in PIC1D Hands-on section 4

Multi-beams simulation in PIC1D

Hands-on section 4

Page 2: Multi-beams simulation in PIC1D Hands-on section 4

Initialization in velocity of multi-beams

Lorentz distribution:

( ) ( )lorentz uniformp v dv p v dv

The density of probability is equal for any distribution:

2 2

1

( )

tan( ( 0.5)) .

vB

uniformD B

uniform B D

vdv P

v v v

v P v v

We can use this result to initialize v of particles and use some differentvb and vd to get multi-beams. Then we do similar things like hands-onsection 2.

Page 3: Multi-beams simulation in PIC1D Hands-on section 4

1D Vlasov-Poisson equations

Equation of PIC weight

Page 4: Multi-beams simulation in PIC1D Hands-on section 4

Flow chart of PIC1D

Push particles with the equation of motion

Set the initial conditions Mainly (x, v)

Gather particles into gridand calculate the electric

field E.

PIC method

Locate E into ever particle

t = t + dt

end

t = t (end)

Page 5: Multi-beams simulation in PIC1D Hands-on section 4

Plot of 2 beams in phase space

Page 6: Multi-beams simulation in PIC1D Hands-on section 4

Plot of 5 beams in phase space