Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 62
    • Issues 62
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Wiki
    • Examples
  • RFPhotoInjector

Last edited by gsell Sep 16, 2021
Page history

RFPhotoInjector

This example describes a rf-photo injector, as part of the Argonne Wakefield Accelerator (AWA). The model based on the paper by N.R. Neveu et al., and benchmarks three codes: GPT, ASTRA and OPAL.

Goal

Here we will run the rf-photo injector (OPAL_t)

Preparation

If you do not have already access to OPAL, you can visit the download page. In case OPAL is on your cluster please check with the administrator how to use. PSI user please click here.

Needed Input Files

For this project we need input files, that you obtain by clicking on links below:

  1. Inputfile RFphotoinjector.in
  2. Two solenoid field maps: M_440.T7 and BF_550.T7
  3. RF gun field map DriveGun.T7

Run the Photo Injector Simulation

For this calculation the initial conditions are all set in the input file. Run OPAL with

opal RFphotoinjector.in | tee RFphotoinjector.out

For postprocessing visit here. The results for the case with a 32^3 mesh and 1E5 macro particles are shown in the following figures:

RFphoto5mNoMinStep

RFphotoNoMinStep

Clone repository
  • Examples
    • FFA
    • RFPhotoInjector
    • cyclotron
    • regressiontestexamples
  • FFA school prerequisites
  • For Developers
    • CodingStyle
    • Compile OPAL at CSCS
    • Compile OPAL
    • Compile required software
    • File Format for stat Storage
    • Most Used Directories in the Code
    • OPAL Development Workflow
    • Pmodules
    • Release Procedure
    • Setup build environment at PSI
View All Pages