Simulation Technology & Applied Research, Inc N. Port Washington Rd., Suite 201, Mequon, WI P: Progress in Dark Current and Multipacting Modeling in the Analyst Finite Element Package* J. F. DeFord and B. Held Advanced Accelerator Concepts Workshop 2008 Santa Cruz, CA July 29, 2008 * Work supported by the Department of Energy Office of Science SBIR Program (DE-FG02-05ER84373 and DE-FG02-05ER84374)
Simulation Technology & Applied Research, Inc. Presentation Topics Particle tracking on tetrahedral meshes. Parallel scaling. Particle emission models. Multipacting statistics/output data. Dark current statistics. Particle-based adaptive mesh refinement. Ongoing work. Work has greatly benefited from a strong collaboration with I. Gonin, N. Solyak and others in Technical Division at FNAL.
Simulation Technology & Applied Research, Inc. What is Analyst??? Finite-element based support for electromagnetics. 3D electrostatics, magnetostatics, driven- frequency, and eigenmodes. 2D eigenmodes (RZ and XY). Particle tracking. Third-party solvers (ES-PIC, time-domain). Embedded CAD, meshing, visual/numerical post-processing. Python-based scripting. Focus on large problems, parallel processing. Interface runs on Windows, solvers on Windows/Linux.
Simulation Technology & Applied Research, Inc. User interface Embedded “help” Project Workspace Python window Multiple projects & windows
Simulation Technology & Applied Research, Inc. Particle tracking on FE meshes Explicitly track each element (find entrance and exit points). Use finite-element basis functions instead of interpolated fields. Use an adaptive time- step. Resonant orbit in spoke cavity (courtesy of I. Gonin, et al., Technical Division, FNAL.
Simulation Technology & Applied Research, Inc. Updating equations/process Use position/momentum at element entrance to determine exit point. Repeat calculation using exit momentum and compare. If difference is too large, introduce intermediate node and repeat.
Simulation Technology & Applied Research, Inc. Parallel scaling Particle decomposition: – Distribute particles across processors. – Efficient scaling because particles do not interact. Domain decomposition (under development): – Distribute mesh across processors (use virtual machine mechanism). – Potentially poor scaling because particles must be transferred between processors.
Simulation Technology & Applied Research, Inc. Parallel job queue/virtual machines Distributes multiple analyses over cluster nodes based on problem size to make best use of cluster. Requires batch system be present on distributed memory systems (Sun Grid Engine, PBS, etc.). For optimization algorithms that can generate concurrent evaluation points, ideal scaling should be attainable. This capability has been used on a workstation to allow simultaneous use of multiple cores for separate analyses. cpu/core 1 cpu/core 2 cpu/core 3 cpu/core n cpu/core 4 VM 1 VM 2 Batch system VM 2 Virtual machinesBatch systemUser interfaceProcs./cores
Simulation Technology & Applied Research, Inc. Emission models Fowler-Nordheim field emission: Secondary emission:
Simulation Technology & Applied Research, Inc. Multipacting statistical functions Function nameSymbolDefinition CounterCF(n)Total number of resonant primaries 1. Normalized counterNCF(n) Enhanced counterEF(n) Normalized enhanced counterNEF(n) YieldYF(n) Growth factorR(n) DistanceD(n) 1 A “resonant primary” is a primary resulting in a particle chain that includes at least one particle that survives for n impacts.
Simulation Technology & Applied Research, Inc. More multipacting output data Particle tables. Per-impact yield vs. location on model surface.
Simulation Technology & Applied Research, Inc. Orbit near “equator” of SNS cavity
Simulation Technology & Applied Research, Inc. Dark current computations Similar to multipacting problem only not looking for resonances. Field emit from surface, track particles until model exit. Collect statistics on where particles exit, exit energies, etc. Mark particles so that they can be filtered in various ways, e.g., by which model surface they exited.
Simulation Technology & Applied Research, Inc. Field emission in RF cavity RF cavity and mode E-field pattern. Analytic peak FN emission in peak field region. Peak field regions.
Simulation Technology & Applied Research, Inc. Field emission (2) Field emission region. Peak surface E-field over 1 RF cycle. Expected FN current density.
Simulation Technology & Applied Research, Inc. DC in RF module |E| for pi/2 phase advance per cell. Only particles that exit downstream.
Simulation Technology & Applied Research, Inc. Close-up of one cell
Simulation Technology & Applied Research, Inc. Output particle spectra Peaks correspond to distinct source regions within structure.
Simulation Technology & Applied Research, Inc. Adaptive mesh refinement (AMR) Idea is to use results from a previous analysis to refine the finite-element mesh in order to reduce errors.
Simulation Technology & Applied Research, Inc. AMR: Population metric Based upon idea that mesh should be refined in regions with relatively large local particle populations. Metric is given by: where is the total number of particles that traverse the k-th element.
Simulation Technology & Applied Research, Inc. AMR: Complexity metric Based upon an estimate of the complexity of the orbits within an element. Metric is of the form: where is the total number of particle knots within the k-th element. Particle track from previous element stopped at boundary. Track computed within element. Dots are “knots” in track. Exit location found to begin tracking in next element.
Simulation Technology & Applied Research, Inc. Antenna housing Antenna Second mode resonates at about 810 MHz Cavity with HOM coupler 1 1 Model of TESLA HOM coupler courtesy of I. Gonin, Technical Division, FNAL.
Simulation Technology & Applied Research, Inc. Adaptive mesh refinement # elements# tracks (M)Time (sec.) 33K7.9781/ K / K K/27.0K 853K K/112K
Simulation Technology & Applied Research, Inc. Ongoing work Adding more user control over primary and secondary models. More visualization/animation options for particles. Domain decomposition for tracking runs. Job management enhancements to support combined field-solve/particle track AMR loop.