610 likes | 730 Views
AC274: Particles in Cell ( phase-space fluids). Phase-space fluids. S ystems with soft (long- range ) interations : Grazing collisions (small deflections ) Each particle feels a collective soft interaction. Plasmas , A strophysics Biological fluids , Electrophoresis ,.
E N D
AC274: Particles in Cell (phase-space fluids)
Phase-spacefluids Systems with soft (long-range) interations: Grazing collisions (small deflections) Eachparticlefeels a collective soft interaction Plasmas, Astrophysics Biologicalfluids, Electrophoresis,
Particle-Particle: hard-core Field-Particle: smooth Particle: mesh-free Field: mesh bound
Lengthscales and resolution Smooth force:
PIC: solution procedure • Charge assign to the grid (P2G) • Solve field eq.s on the grid (GG) • Compute forces on the particles (G2P) • Move particles (PP)
G-P duality Charge Potential Force Transfer operators: Weight and Green P2G: G2P:
PIC algorithm GG: Chargeassign: 2.GG: Solve Poisson:
Vlasov-Poisson 3. GP: Force interpolation 4. PP: MoveParticles
ChargeAssign: Locate Grid NW NE P=(x,y) SE SW
ChargeAssign: NGP 3 2 P 0 1
ChargeAssign: PWC NW NE P SW SE
ChargeAssign: PWlin NE=2 NW=3 p=(x,y) b a SW=0 SE=1
Force interp: NGP NW NE SW SE
Force interp: PWC NW NE SW SE
Force interp: PWL 2 3 p b 0 1 a
Chargeassign: NGP 7 6 8 5 3 1 4 2
Chargeassign: PWC 7 6 8 5 3 1 4 2
Spuriousforces PwL: -a*(1-a)+(1-a)*a; = 0 for any a PwC: -a*1/2+(1-a)*1/2=1/2-a; = 0 only for a=1/2 NGP: -a*1, or (1-a)*1; = 0 never BUT: if <a>=1/2 bothpwc and ngpgive zero on average!
Choosing the kernel Use the samekernel Or: Force kernel G equal or lowerorderthanchargekernelW
Poisson Solver Spectral(ifyoucan…)
Poisson Solver: RES Special case: Laplace
Thomas algorithm Bwdsweep Fwd sweep
Thomas 2D ADI
Position Verlet Staggered: (4th, reversible) Q: How do we start-off?