NIFS-533

FULL TEXT (PDF, 431 KB)


Author(s):

S. Kawata, C. Boonmee, T. Teramoto, L. Drska, J. Limpouch, R. Liska and M. Sinor

Title:

Computer-Assisted Particle-in Cell Code Development

Date of publication:

Dec. 1997

Key words:

PIC code, Particle code, Program generation, Particle simulation, Computer-assisted simulation, Plasma simulation, Weibel instability

Abstract:

This report presents a new approach for an electromagnetic Particle-in-Cell (PIC) code development by a computer: in general PIC codes have a common structure, and consist of a particle pusher, a field solver, charge and current density collections, and a field interpolation. Because of the common feature, the main part of the PIC code can be mechanically developed on a computer. In this report we use the packages FIDE and GENTRAN of the REDUCE computer algebra system for discretizations of field equations and a particle equation, and for an automatic generation of Fortran codes. The approach proposed is successfully applied to the development of 1.5-dimensional PIC code. By using the generated PIC code the Weibel instability in a plasma is simulated. The obtained growth rate agrees well with the theoretical value.

List of NIFS Report (1997)Return toContents Page Return toNIFS Homepage
footer
 National Institute for Fusion Science
logo Copyright: National Institute for Fusion Science (NIFS)
Address: 322-6,Oroshi-cho, Toki, GIFU, 509-5292, Japan
Telephone:+81-572-58-2222