impactx icon indicating copy to clipboard operation
impactx copied to clipboard

Use measured field profile

Open zhangli28 opened this issue 7 months ago • 3 comments

Hi,

Is it possible to use a measured magnetic field profile (1D) for chicane simulation ?

I measured the magnetic field along the direction of propagation of the electron beam. Now, I want to use this real field profile in the chicane simulation.

Thank you. Zhang

zhangli28 avatar May 29 '25 17:05 zhangli28

Hi @zhangli28 . Can you tell us a bit more about the application that you have in mind (e.g., is this a low-energy ring, etc.)? Also, I assume your 1D magnetic field data describes By as a function of longitudinal coordinate z through the magnet center. Is this correct?

cemitch99 avatar Jun 12 '25 20:06 cemitch99

Ping @zhangli28 : when you have the time, please see the questions above 🙏

ax3l avatar Jun 28 '25 20:06 ax3l

Hi @cemitch99 and @ax3l,

Sorry for my very late response. I was caught with some accident and not able to work for sometime.

The measured magnetic field profile (either 1D or 2D) is for chicane magnets, which is very important to simulate close to real situation and is very sensitive to the real magnetic field extent. But in simulation, normally it is customary to use a magnet and assume uniform magnetic field up to the length of the magnet. However, in real situation the magnetic field may have some fluctuations and don't have sharp cuts off (hard edge), instead have a falling and rising profile.

If chicane or even a single bending dipole magnet is simulated with a possibility to include a measured magnetic profile then there will be very good reliability in the results.

zhangli28 avatar Jul 14 '25 17:07 zhangli28