Skip to Content.
Sympa Menu

opal - RE: [Opal] DC gun simulation: Unexpected longitudinal phase spaces

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

RE: [Opal] DC gun simulation: Unexpected longitudinal phase spaces


Chronological Thread  
  • From: Dragos Constantin <Dragos.Constantin AT varian.com>
  • To: Simon Friederich <sifriede AT uni-mainz.de>, "Adelmann Andreas (PSI)" <andreas.adelmann AT psi.ch>
  • Cc: "opal AT lists.psi.ch" <opal AT lists.psi.ch>
  • Subject: RE: [Opal] DC gun simulation: Unexpected longitudinal phase spaces
  • Date: Fri, 11 Sep 2020 16:00:08 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=varian.com; dmarc=pass action=none header.from=varian.com; dkim=pass header.d=varian.com; arc=none
  • 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-SenderADCheck; bh=7GBcANj3JJNnkQb5BTSgQnT5omaPquECwi0Jp3mJvYc=; b=myHJV9Ls7X402ufEyCi1bN2d4mkyWwsbtCbXIuBEvi3llAO/hlI4qXVt+fNSA89eBJdlpFwyFpfPqNmV97l9Q2rMk2325cbXlspnB3usYUBZN4Mpa4HkjHbVC50QN2XOCb/Ix4JI+XdpM2COBeAJzD+/pgV0V9AfXFzwbjPT+7pnk9leqNGa/LOj0Py7QJUzHDRh9wRNUtyNX/MJKrrbthodMZv1wBLcb620ivwReD8atsVbQTgk4UsUzhaXb9AKhfzrwq8mHGxpPyPrKdufjyWoThQ2kmN0cYdvrTZ1pNg5tn67iAD8sGE4agzINiu8ERs0xPc9xAfPphxsOEBv1Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ODITdtfNi7yav6oXme/lpOq/jUyN78VGA1vVExbmEAz6ujasIGKf8310oIZXiIk8GNtug3Sbo1sFVGi0UN6VJz95pYOCdqWzMlnKkZSvbzGacln62x5DZKCN60nKTLCemPTkpK49fnTo7DM2ULPsmlnkdW39zZfKx1MvNfzojgt/hMNOzl3BXMBCQhKXigpYEp3rVoG03ov1XZfsXvs1Lt9ac5pEN3qta6AwbeOp2x9x0VcSGF0R8q8Glu0uIy7jJI3YbiMQAoKKz4llVWkLktx/UlEp9CHj9SmH04G021zL7bYbRL8nBGEWCY1Fhg5vb59/Q40FqXwrleeqpkMJ0w==
  • Authentication-results: localhost; iprev=pass (mail-mw2nam10on2113.outbound.protection.outlook.com) smtp.remote-ip=40.107.94.113; spf=pass smtp.mailfrom=varian.com; dkim=pass header.d=varian.com header.s=selector1 header.a=rsa-sha256; dmarc=pass header.from=varian.com
  • Authentication-results: uni-mainz.de; dkim=none (message not signed) header.d=none;uni-mainz.de; dmarc=none action=none header.from=varian.com;
  • Msip_labels: MSIP_Label_17651c48-2d63-44b6-8277-eb6890ca5893_Enabled=true; MSIP_Label_17651c48-2d63-44b6-8277-eb6890ca5893_SetDate=2020-09-11T16:00:06Z; MSIP_Label_17651c48-2d63-44b6-8277-eb6890ca5893_Method=Standard; MSIP_Label_17651c48-2d63-44b6-8277-eb6890ca5893_Name=Anyone (not protected); MSIP_Label_17651c48-2d63-44b6-8277-eb6890ca5893_SiteId=c49d9c49-4b11-4ccd-b137-72f88c68a252; MSIP_Label_17651c48-2d63-44b6-8277-eb6890ca5893_ActionId=26778d4e-96cb-4d00-93c8-7b5426442c61; MSIP_Label_17651c48-2d63-44b6-8277-eb6890ca5893_ContentBits=0

Hi Simon,

I supposed you have checked that the points inside the field maps are correctly ordered, e.g. for 3D field maps the z coordinate is the fastest and, y is next , and x is the slowest.

 

Did you try to normalize the field map?

 

Thanks,

Dragos

 

 

Dragos Constantin, PhD
Sr. Research Scientist

 

Varian Medical Systems
3120 Hansen Way, MS G201, Palo Alto, CA 94304 United States

dragos.constantin AT varian.com
T +650.424.5914 | F +650.842.5035
varian.com


Varian Logo


This message may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, distribution, or copying of this message, or any attachments, is strictly prohibited. If you have received this message in error, please advise the sender by reply e-mail, and delete the message and any attachments. Thank you.

 

 

 

 

From: opal-request AT lists.psi.ch <opal-request AT lists.psi.ch> On Behalf Of Simon Friederich
Sent: Friday, September 11, 2020 1:36 AM
To: Adelmann Andreas (PSI) <andreas.adelmann AT psi.ch>
Cc: opal AT lists.psi.ch
Subject: Re: [Opal] DC gun simulation: Unexpected longitudinal phase spaces

 

Good morning Andreas,

Please follow this link to the fieldmaps (named cst2opal_100keV_xyz_3DDynamic.t7 and cst2opal_100keV_xz_2DDynamic.t7)

https://seafile.rlp.net/d/0b482f64c9c84e339dc5/

Best regards,

Simon

Am 11.09.2020 um 10:24 schrieb Adelmann Andreas (PSI):

Hello Simon, I can not see an obvious mistake. Please share the 

field maps then I can have  detailed look at the problem.

 

 

Thanks & 

Cheers A

------
Dr. sc. math. Andreas (Andy) Adelmann
Head a.i. Labor for Scientific Computing and Modelling 
Paul Scherrer Institut OHSA/ CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Zoom ID: 470-582-4086 Password: AdA
-------------------------------------------------------
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 10 Sep 2020, at 15:40, Simon Friederich <sifriede AT uni-mainz.de> wrote:

 

Dear OPAL-Team,

I am trying to simulate a DC electron source. I implemented a 2DDynamics fieldmap into OPAL, that I've exported from CST. Furthermore I've set the frequency to 1 Hz as shown in the DC Gun example.

Unfortunately the longitudinal phase spaces look unexpected. Here I've plotted the h5-output for the gun simulation as well as a pure drift simulation of a 100keV electron beam (same bunch sizes and parameters but the energy is fixed) as comparison.

<flaghcfdkllelgbc.png>

One can see a strange saw-tooth like pattern convoluted with another almost trident-like one.

This is my emitted gaussian distribution (nothing special, I'd say):

distr_gauss:
    DISTRIBUTION,
    TYPE = GAUSS,
    SIGMAR = 0.5e-3, CUTOFFR = 3,
    CUTOFFLONG = 3;

distr_debug:
    distr_gauss,
    EMITTED=true,
    SIGMAT = 10.0e-12,
    NBIN = 0,  // This I've varied
    EMISSIONSTEPS=10,  // this I've varied too
    EMISSIONMODEL = NONE;

Maybe you see something obvious, that I did wrong? (I've also put my input file in the attachement, the fieldmaps are quite large, if you want them I'll add a seafile link)

I've compared the Ez-field of the reference particle. It looks exactly like the one I've exported from CST. (My next idea was to dumb all E-fields and plot this, but this could be a lot of work and might not bring up the source of the problem). And I've also imported a 3DDynamics field, but there is also no difference to be seen (the source has a cylindrical symmetry, so both should work).

Best regards and thank you very much as always in advance

Simon

-- 
-----------------------------------
Dr. Simon Friederich
Helmholtz-Institut Mainz
Kollaboration B/ACID
Johannes Gutenberg-Universit├Ąt Mainz
Staudingerweg 18
55128 Mainz, Deutschland
 
Tel.: +49 (0)6131 39-23160
E-Mail: sifriede AT uni-mainz.de
----------------------------------------

<dc_gun.in>

 

-- 
-----------------------------------
Dr. Simon Friederich
Helmholtz-Institut Mainz
Kollaboration B/ACID
Johannes Gutenberg-Universit├Ąt Mainz
Staudingerweg 18
55128 Mainz, Deutschland
 
Tel.: +49 (0)6131 39-23160
E-Mail: sifriede AT uni-mainz.de
----------------------------------------



Archive powered by MHonArc 2.6.19.

Top of Page