Download as pdf or txt
Download as pdf or txt
You are on page 1of 28

Latest Developments

in 3D Charged Particle Simulations


Felix Wolfheimer, CST AG

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


CST STUDIO SUITE - Overview

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


CST PARTICLE STUDIO
Solver for particles in static fields including space charge or in harmonic
Tracking fields excluding space charge.

Particle Self-consistent transient field and particle solver including full space
In Cell charge effects at all frequencies.

Transient solver with special beam excitation (predefined fixed straight


Wakefield beam path)

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Tracking Algorithm
Workflow
1. Calculate electro- and magnetostatic fields.
2. Move particles according to the previously
calculated force. Trajectories
3. Adjust trajectories/fields according to
space-charge (gun iteration).

Velocity
update

Position update

Leap Frog Scheme

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Gun Iteration - Space Charge Effect
Gun Iteration START
Without gun iteration:

Calculate electrostatic
field distribution

Relaxation of Track particles and


space-charge monitor space-charge With gun iteration:

Has space-charge
converged?

END

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Tracking Solver - Typical Application (I)
Electron Gun

Focussing Iron yoke (non linear)


electrode

Anode

Cathode

E-static field M-static field


Permanent magnets

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Tracking Solver - Typical Application (II)
Electron Gun

Design Value:
41mA

Space charge effect is included via gun


iteration and space charge limited emission.

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


CST PARTICLE STUDIO
Solver for particles in static fields including space charge or in harmonic
Tracking fields excluding space charge.

Particle Self-consistent transient field and particle solver including full space
In Cell charge effects at all frequencies.

Transient solver with special beam excitation (predefined fixed straight


Wakefield beam path)

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Particle in Cell (PIC) Algorithm
Self-consistent modeling of Relativistic equation of motion
a collision free plasma.
Macro charges (e.g. q=106 e- )

Current caused by particle motion acts as


source in Maxwell's equations.

curl

A priori charge conserving algorithm.

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


PIC Solver - Typical Applications (I)
Time signal

DFT

Waveguide
Output Power

Particle Trajectory E-Field

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


PIC Solver - Typical Applications (II)
C-Band Linear Accelerator E-field of accelerating eigenmode

Particle trajectory

[1] Design, simulation and measurement conducted by M. Ruf, K. Thurn and L.-P. Schmidt at Chair for High Frequency
Technology, University of Erlangen-Nuremberg

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


PIC Solver - Typical Applications (III)
Particle Beam

RF Input Slow Wave Structure

Emission
surface

Particle Energy

RF Out

Time signals
DFT

[1] R. Zheng and X. Chen, "Design and 3-D Simulation of Microfabricated Folded Waveguide for a 220GHz Broadband Travelling-Wave
Tube Application", Proceedings of the IVEC 2009, Rome, Italy, April 28-30, pp. 135-136, 2009.

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


CST PARTICLE STUDIO
Solver for particles in static fields including space charge or in harmonic
Tracking fields excluding space charge.

Particle Self-consistent transient field and particle solver including full space
In Cell charge effects at all frequencies.

Transient solver with special beam excitation (predefined fixed straight


Wakefield beam path)

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Wakefield Solver
The Wakefield solver computes the wake potential:

Excitation (pencil beam with Beam path Integration path


logitudinal Gaussian shape)

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Wakefield Solver - Typical Application
150
Beam Position Monitor

Port Signal
0

-150
0 7
Time/ns

Note: Beta smaller Detailed view


than 1 is possible.

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


New Features Overview

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Geometry Handling - Hexahedral Mesh
PBA (Perfect Boundary
Approximation):
-Very accurate, but
relies on valid CAD
shapes.

FPBA (Fast PBA):


-Faster than PBA
-Can handle even CAD
models with artifacts
-Less accurate as
compared to PBA

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Geometry Handling - Hexahedral Mesh
EFPBA is now the default algorithm used for solvers based on hexahedral meshes

Enhanced FPBA provides both the robustness of FPBA and the accuracy of PBA.

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Eigenmode Solver
 Curved tetrahedral mesh available (up to 3rd order)
 Improved performance and convergence for many
examples

 Tetrahedral mesh: quick


convergence, < 2 min to
Model courtesy of Lancaster University, calculate 9 modes
Dr. Graeme Burt
CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com
Eigenmode Solver: Lorentz Force Detuning

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Mechanics: Lorentz Force Detuning

Cavity is fixed here


CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com
Deformed Mesh (scaled)

Outlook

 Sensitivity analysis for


eigenmode solver to evaluate
from Lorentz force.
 Automation with System
Assembly and Modeling (SAM)
possible.

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


2D Magnetostatic Solver
 Rotational and translational symmetry is available.
 Can be selected in mesh dialog.
 Automatic mesh adaption.

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


PIC Solver: GPU Computing

Nvidia Tesla 20 cards Number of Mesh Cells 1,000,188


are supported
Av. Particle Number 7.74e5

Time CPU (Dual Xeon 5620) 1h 14m 44s

Time GPU 12m 25s

Total Speed Up* 6.02

Time Domain Speed Up 6.65

* Matrix calculation & post-processing


are not running on GPU
GPU CPU
CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com
PIC Solver: Secondary Electron Emission Models
New model: Vaughan Advantages:
Only a few parameters to configure
Disadvantage:
Limited curve shapes
Only true secondaries
Not supported on the GPU, yet.

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


PIC Solver: Secondary Electron Emission Models
New model: Import Advantages:
Easiest definition
Loading of measurement data possible
GPU support
Disadvantage:
Only true secondaries

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Post Processing - Emittance

Emittance definition used: Emittance often used by accelerator people:

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com


Any Questions?

CST – COMPUTER SIMULATION TECHNOLOGY | www.cst.com

You might also like