Skip to Content.
Sympa Menu

opal - Re: [Opal] Question regarding multipole element and fringe-field of quadrupole magnet

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Question regarding multipole element and fringe-field of quadrupole magnet


Chronological Thread  
  • From: Adelmann Andreas <andreas.adelmann AT psi.ch>
  • To: "Kim, Seongyeol" <seongyeol.kim AT anl.gov>
  • Cc: "Piot, Philippe R. G." <ppiot AT anl.gov>, "opal AT lists.psi.ch" <Opal AT lists.psi.ch>
  • Subject: Re: [Opal] Question regarding multipole element and fringe-field of quadrupole magnet
  • Date: Sat, 8 Jul 2023 08:33:57 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 104.47.22.46) smtp.rcpttodomain=anl.gov smtp.mailfrom=psi.ch; dmarc=pass (p=none sp=none pct=100) action=none header.from=psi.ch; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ebsukIAMMUR4v9WKP6GC7mT2fdVRSGVI5bOXEPQLsnU=; b=UWXszUqcNwf1t5eDQjqQGytE06HOeR3uiaMvvYVGeUx/pGNtde7+262S65Yzyp6punRi5h7QstLBI88YXoZz2kz0RZZi7m9TuaPc4a7DF0qe/uKZTsi4tbl5R/3YdCy5vTQhABf8Q6IdAledAszD3wl3i4u7Ovci5M78Ev4907L5cejT3yLIVZwLomEdzGF2FlABnG0l0en7gr4yvGG0d78rVFpvMX/e4hoexXVad4GiFh/cfmk9exyg6nSEUPZ1ZIH6lN9qFazBXpYHGQEaDd4I2kcKjTH8+Vol8SY/IsDFMMVwbNSWnJOhO0WsLvyr6FtaBCPWiQzFrhSuJuFwCw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WCdb44l+sJe0Bymuze4X8AE7h1pTzJXxSg1h+0avAZe3ZPUm9+gDjxM/JFTsHAh2+sDRswzmZSuRtNZ2vYtek9mrGNe6zh7TnHaDlBsf9iAs01aeQwrb36qvGpGh5/PD76/QKtuGd9Yskqc69DwtF9g3u2ZMZ2puW5eaD7oet3EUu6Sg5/xLGUIgREzZGNy2hV9eWk/UoQIkxIot5L/AjG5VHwsiImVOzbE1g03aZVkK5enCrnrQZOvps9Z0KZ/AL4TgWgat3stsWJfz/4lmXVPLwKeLehp4wy4qj1XC+UqkZvWo+GLrbuJgtHcI0BZNYeHWboaarm3TdfxRDqjsHQ==
  • Authentication-results: mc2.ethz.ch; iprev=pass (mail-zr0che01on2069.outbound.protection.outlook.com) smtp.remote-ip=40.107.24.69; spf=pass smtp.mailfrom=psi.ch; dkim=pass header.d=psi.ch header.s=selector2 header.a=rsa-sha256; dmarc=pass header.from=psi.ch
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=psi.ch;

Hi Seongyeol good to hear from you!

There is an example in the manual (http://amas.web.psi.ch/opal/Documentation/master/#sec.elements.multipole) that guides you how to mimic a quadrupole with a multiple, check below.

M27: MULTIPOLE, L=1, ELEMEDGE=3.8, KN={0.0,0.11};

QP1: QUADRUPOLE, L=1.20, ELEMEDGE=-0.5265, K1=0.11;

Unfortunately we do not yet have a regression test for this but looking at the implementation I am quite confident that it works :). 

In OPAL-t there are no fringe fields implemented for the multipole element. Maybe you could try to overlap a dipole with zero bending
but the multipole field. In 11.9 there is a general multipole description however to my knowledge this is not yet implemented in OPAL-t.

Cheers A
------
Dr. sc. math. Andreas (Andy) Adelmann
Paul Scherrer Institut OHSA/D17 CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Zoom ID: 470-582-4086 Password: AdA
Zoom Link: https://ethz.zoom.us/j/4705824086?pwd=dFcvT1pMMGY0bHg0dTNncUNZZTJkZz09

-------------------------------------------------------
Friday: ETH HPK G 28   +41 44 633 3076
============================================
The more exotic, the more abstract the knowledge, 
the more profound will be its consequences.
Leon Lederman 
============================================

On 7 Jul 2023, at 04:20, Kim, Seongyeol <seongyeol.kim AT anl.gov> wrote:

Hi Andreas,

Hello, this is Seongyeol Kim with the AWA. 

These days, I am performing the OPAL simulations to understand what the emittance growth during the beam propagation along drift-quadrupole beamline, and I would like to ask you some questions about implementing geometric aberration and fringe field of the quadrupole magnet.
  • I would like to know how to use the multipole to add nonlinear filed of the quadrupole magnet (to have geometric aberration and to see the phase space distortion). 
  • I am wondering if you could let me know some example of how to apply the multipole element on the quadrupole magnet to see that aberration. 
  • For instance, do you have some nonlinear field of the quadrupole magnet, and the example of multipole with specific strength?
I am wondering if there is a way to add the fringe field on the quadrupole magnet. If there is, could you please let me know?
Thank you very much, and I am looking forward to hearing from you!
Best regards,
Seongyeol




Archive powered by MHonArc 2.6.24.

Top of Page