Overview of XOOPIC code - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

Overview of XOOPIC code

Description:

Title: 1 Author: Sungjin Kim Last modified by: Sungjin Kim Created Date: 9/14/2005 2:21:42 AM Document presentation format: – PowerPoint PPT presentation

Number of Views:32
Avg rating:3.0/5.0
Slides: 25
Provided by: Sungj1
Category:

less

Transcript and Presenter's Notes

Title: Overview of XOOPIC code


1
XOOPIC and MAGIC Codes for Electromagnetic Field
S.J. Kim and J.K. Lee
Contents
  • Overview of XOOPIC code
  • Overview of MAGIC code
  • Klystron simulation using XOOPIC code

2
Overview of XOOPIC Code
XOOPIC Features
  • Two dimension and three velocity
  • Cartesian (x-y) or cylindrical (r-z)
  • coordinates
  • Electrostatic or full electromagnetic field
  • Discrete model (Finite-Difference Method)
  • uniform or non-uniform mesh
  • Boltzmann and inertial electrons
  • Immobile and inertial ions
  • Monte-Carlo collision model
  • Complex boundaries conductor, cylindrical
    axis, wave ports,

  • absorption, transmission, emission.

Values of gridded quantities can be
approximated at intermediate points by
interpolation.
3
Program Flow
Electromagnetic fields on the mesh
Discretization mesh
Defined region of the discrete model
Individual particle (position, momentum, mass,
charging, numerical weight)
Group of similar particles
4
Maxwells Equations for Electromagnetic Field
Maxwells equations in integral form
C-1, L-1 coupling matrices with the
dimemsionality of capacitance and inductance.
Nonuniform orthogonal Yee mesh
5
Maxwell Curl Equations
Transverse magnetic (TM) set
Transverse electric (TE) set
The TM and TE field equations are advanced in
time using a leap frog advance. The currents
result from charged particle motion.
6
Velocity Advance
Relativistic Boris advance
  • Half acceleration
  • Rotation
  • Half acceleration

7
Charge Conserving Current Weighting Algorithm
Charge conserving current weighting

8
Overview of MAGIC Code
MAGIC code
Grid
Materials
Resistive Dielectric Conductors Scattering
foil Polarizer sheet Helix element General
current source Air chemistry Semiconductor
  • Particle-in-cell (PIC) approach
  • Maxwells equations on a finite-difference
  • grid for electromagnetic field

Uniform grid Manual grid Appended
regions Polynomial smoothly varying grid Pade
smoothly varying grid
Electromagnetic computational processing cycle
Geometry
Field algorithm
Cartesian coordinates Polar coordinates Cylindrica
l coordinates Spherical coordinates Mirror
symmetry boundary Periodic symmetry
boundary Absorbing boundary Outgoing wave
boundary Applied voltage boundary External
circuit voltage source Particle and field import
Standard leapfrog Time-reversible
leapfrog Semi-implicit Standard noise
filtering High-Q noise filtering Quasistatic Elect
rostatic ADI Electrostatic SOR Externally
specified magnet field Restricted TE or TM modes
  • Application fields microwave amplifiers,
  • antennas, sensors, fiber optics, lasers,
  • accelerator components, beam propagation,
  • pulsed power, plasma switches, microwave
  • plasma heating, ion sources, field emitter
  • arrays, semiconductor devices, wave
  • scattering, and coupling analyses

9
Method and Noise
Leapfrog time integration scheme
Well-centering
  • Particle-induced noise is introduced through the
    current term in Maxwells equations.

Transverse particle noise
Longitudinal particle noise
  • Spatial fluctuations in space charge and
  • the Gausss law constraint
  • The slow, self-heating instability
  • Charge allocation algorithm
  • Propagating, wave-like, electromagnetic nose
  • Large curl derivatives
  • Time-biased and high-Q algorithms

10
Time-Biased Algorithm
Time-biased algorithm semi-implicit scheme
a1, a2, and a3 determine the degree of spatial
filtering and the time-centering. ?i iteration
coefficient
?k/kmax normalized eigenmode kmax maximum
spatially-resolvable Fourier wave number
11
Charge Conservation Scheme
Langdon-Marder correction
Boris-DADI correction
12
Simulation Domain of Klystron
RF output port
RF input port
9.55 cm
10.05 cm
13.07 cm
E-beam
7.569 cm
6.66 cm
Cylindrical Axis
37.2 cm
  • Simulation condition
  • Beam emitter I 12 kA, ud 2.48e8 m/s
  • Input port Rin2300 ?, R20 ?, f7.69 GHz
  • Output port R47.124 ?

13
Example of Klystron Simulation
Phase space
Density
Kinetic energy
uz
14
Simulation Results at 0.5 ns
15
Simulation Results at 2.5 ns
16
Simulation Results at 10 ns
17
Simulation Results at 20 ns
18
Simulation Results at 6 us
19
KE as a Function of Beam Current
20
KE as a Function of Beam Energy
21
Klystron
3 cm
2 cm
Phase space
Density
Kinetic energy
uz
22
Simulation Results at 0.5 ns and 2.5 ns
23
Simulation Results at 10 ns and 20 ns
24
Simulation Results at 6 us
Write a Comment
User Comments (0)
About PowerShow.com