+ All Categories
Home > Documents > Multi-beams simulation in PIC1D Hands-on section 4.

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

Date post: 14-Jan-2016
Category:
Upload: thomas-underwood
View: 218 times
Download: 0 times
Share this document with a friend
Popular Tags:
6
Multi-beams simulation in PIC1D Hands-on section 4
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


Recommended