  A simulation package employing a Particle in Cell (PIC) method is developed
to study the high current beam transport and the dynamics of plasmas. This
package includes subroutines those are suited for various planned projects at
University of Frankfurt. In the framework of the storage ring project (F8SR)
the code was written to describe the beam optics in toroidal magnetic fields.
It is used to design an injection system for a ring with closed magnetic field
lines. The generalized numerical model, in Cartesian coordinates is used to
describe the intense ion beam transport through the chopper system in the low
energy beam section of the FRANZ project. Especially for the chopper system,
the Poisson equation is implemented with irregular geometries. The Particle In
Cell model is further upgraded with a Monte Carlo Collision subroutine for
simulation of plasma in the volume type ion source.
