Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
O OPALManualWiki
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 0
    • Merge requests 0
  • 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
  • snuverink_j
  • OPALManualWiki
  • Wiki
  • beam command

Last edited by Jochem Snuverink Sep 12, 2017
Page history

beam command

Table of Contents
  • 1. Beam Command

1. Beam Command

All OPAL commands working on a beam require the setting of various quantities related to this beam. These are entered by a BEAM command:

label:BEAM, PARTICLE=name, MASS=real, CHARGE=real,
      ENERGY=real, PC=real, GAMMA=real, BCURRENT=real,
       NPART=real, BUNCHED=logical, BFREQ=real;

The label is optional, it defaults to UNNAMED_BEAM. . The particle mass and charge are defined by:

PARTICLE

The name of particles in the machine.

OPAL knows the mass and the charge for the following particles:

POSITRON

The particles are positrons (MASS=m_e, CHARGE=1),

ELECTRON

The particles are electrons (MASS=m_e, CHARGE=-1),

PROTON

The particles are protons (default, MASS=m_p, CHARGE=1),

ANTIPROTON

The particles are anti-protons (MASS=m_p, CHARGE=-1).

HMINUS

The particles are h- protons (MASS=m_{h^{-}}, CHARGE=-1).

CARBON

The particles are carbons (MASS=m_c, CHARGE=12).

URANIUM

The particles are of type uranium (MASS=m_u, CHARGE=35).

MUON

The particles are of type muon (MASS=m_\mu, CHARGE=-1).

DEUTERON

The particles are of type deuteron (MASS=m_d, CHARGE=1).

XENON

The particles are of type xenon (MASS=m_{xe}, CHARGE=20).

For other particle names one may enter:

MASS

The particle mass in GeV.

CHARGE

The particle charge expressed in elementary charges.

The other attributes are:

BFREQ

The bunch frequency in MHz.

BCURRENT

The bunch current in A. \mathrm{BCURRENT} = Q \times \mathrm{BFREQ} with Q the total charge.

NPART

The number of macro particles for the simulations

Clone repository
  • autophase
  • beam command
  • benchmarks
  • control
  • conventions
  • distribution
  • elements
  • fieldmaps
  • fieldsolvers
  • format
  • geometry
  • Home
  • introduction
  • lines
  • opal madx
View All Pages