Simulating electron flow in the applied-B diode

Abstract
Electron flow in and into an applied-B ion diode is calculated, including the effects of turbulence produced by streaming instabilities. A technique is developed for including these effects in a numerical simulation. The results of two-dimensional simulations using this technique in the electromagnetic particle-in-cell code magic are presented.