Skip to Content.
Sympa Menu

opal - [Opal] RE: Using a 3DDynamic Field Map

opal AT

Subject: The OPAL Discussion Forum

List archive

[Opal] RE: Using a 3DDynamic Field Map

Chronological Thread 
  • From: Norman Huang <norman-huang AT>
  • To: Andreas Adelmann <andreas.adelmann AT>, <opal AT>
  • Cc: Rick Bartman <krab AT>, Yi-Nong Rao <raoyn AT>, Thomas Planche <tplanche AT>
  • Subject: [Opal] RE: Using a 3DDynamic Field Map
  • Date: Tue, 18 Oct 2011 12:42:19 -0700
  • Importance: Normal
  • List-archive: <>
  • List-id: The OPAL Discussion Forum <>

After digging further into the code, it's apparent that a 3DDyanmic map (at least the FM3DDyanmic class) cannot be used to model quadrupoles. 

In line 171-176:

            FieldstrengthEz_m[i] /= Ezmax;
            FieldstrengthEx_m[i] /= Ezmax;
            FieldstrengthEy_m[i] /= Ezmax;
            FieldstrengthHz_m[i] /= Ezmax;
            FieldstrengthHx_m[i] /= Ezmax;
            FieldstrengthHy_m[i] /= Ezmax;

In a quadrupole, the Ez component is ideally 0, which makes this scaling function non physical. 

Is there an alternative way to specify an electric field map that only has non-zero values in the X and Y direction? Otherwise I'll be looking to creating a new field map class.


From: norman-huang AT
To: srussell AT; andreas.adelmann AT; opal AT
CC: krab AT; raoyn AT; tplanche AT
Subject: Using a 3DDynamic Field Map
Date: Mon, 17 Oct 2011 15:02:17 -0700

Hi everyone,

So we were able to get a somewhat reasonable result using both an analytic electrostatic and magnetic quadrupole, but with some errors in the position of the focal point.

We now want to do the same simulations, but use a field map instead of the analytic models. Previously, Andreas had suggested the use of 3DDynamic field map with very low frequency to mimic a 3D Electrostatic field map, as that function is yet to be implemented. 

I was wondering if anyone has an example that actually uses a 3DDyanmic map; all the examples I have on hand are ASTRA maps attached to RFCAVITIES and SOLENOID elements.


Archive powered by MHonArc 2.6.19.

Top of Page