Skip to Content.
Sympa Menu

opal - Re: [Opal] OPAL treatment of travelling wave structures

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] OPAL treatment of travelling wave structures


Chronological Thread  
  • From: "Adelmann Andreas (PSI)" <andreas.adelmann AT psi.ch>
  • To: "Lucas Thomas Geoffrey (PSI)" <thomas.lucas AT psi.ch>
  • Cc: "opal AT lists.psi.ch" <Opal AT lists.psi.ch>
  • Subject: Re: [Opal] OPAL treatment of travelling wave structures
  • Date: Thu, 22 Sep 2022 15:24:27 +0000
  • Accept-language: en-US, de-CH
  • Authentication-results: mc1; iprev=pass (psi-seppmail1.ethz.ch) smtp.remote-ip=129.132.93.141; spf=pass smtp.mailfrom=psi.ch; dmarc=skipped

Hi Tom, alternatively you can add this structure to one of the examples from the 
manual and stop after the autophasing phase, by setting number of timesteps to one. 

You then get the fields the particle experiences written in one of the files in the data directory. 


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
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 22 Sep 2022, at 16:52, Lucas Thomas Geoffrey (PSI) <thomas.lucas AT psi.ch> wrote:

Hi Jochem,
 
Yes this looks like what I’m looking for. Thanks!
 
Now to shift through and see whether I can find the smoothing J
 
Cheers,
Tom
 
__________________________________________
Paul Scherrer Institut 
Dr. Thomas Geoffrey Lucas
WMHA/B17
Forschungsstrasse 111
5232 Villigen PSI
Schweiz

Telefon: +41 56 310 50 81
E-Mail: thomas.lucas AT psi.ch
 
From: Snuverink Jochem (PSI) <jochem.snuverink AT psi.ch> 
Sent: Donnerstag, 22. September 2022 15:28
To: Lucas Thomas Geoffrey (PSI) <thomas.lucas AT psi.ch>
Cc: opal AT lists.psi.ch
Subject: Re: OPAL treatment of travelling wave structures
 
Hi Tom,
 
I don't know if someone already answered you. I am not an expert at all on the travelling wave element, but you can find the code implementation here:
 
Hope that helps,
Cheers, Jochem

From: opal-request AT lists.psi.ch <opal-request AT lists.psi.ch> on behalf of Lucas Thomas Geoffrey (PSI) <thomas.lucas AT psi.ch>
Sent: Tuesday, September 20, 2022 12:24 PM
To: Adelmann Andreas (PSI) <andreas.adelmann AT psi.ch>
Cc: opal AT lists.psi.ch <Opal AT lists.psi.ch>
Subject: RE: [Opal] OPAL treatment of travelling wave structures
 
Hi Andy,
 
I’m trying to completely replicate and therefore benchmark my injector simulations against the results of you/Gardar’s and also those performed in ASTRA so I don’t have an OPAL file working example (which is what I think you meant). However, here is the reconstructed 1D Ez fieldmap (blue real and red imaginary) I made using the maths from the OPAL manual with the idea that the input/output couplers are treated as standing waves and the inner cells are treated as travelling wave (both pretty valid assumptions however the actual place where they become TW from SW is more complicated as it is a gradual transition).

<image001.png>
 
You can see the sharp edge on the fieldmap around the coupler-cell transitions. These will be of course smoothed internally in the code (well I assume). Just asking about what style of smoothing you use?
 
The reason this is a new issue is that I previously used the full 1D fieldmap from the ANSYS calculation of the TW structures however I wasn’t able to completely reconstruct your/the ASTRA results with this. I got very similar results but not as close as other benchmark studies therefore I thought to use this TWS approximation which is performed in your code as well as ASTRA rather than using the full 1D fieldmap.

Cheers,
Tom
 
__________________________________________
Paul Scherrer Institut 
Dr. Thomas Geoffrey Lucas
WMHA/B17
Forschungsstrasse 111
5232 Villigen PSI
Schweiz

Telefon: +41 56 310 50 81
E-Mail: thomas.lucas AT psi.ch
 
From: Adelmann Andreas (PSI) <andreas.adelmann AT psi.ch> 
Sent: Dienstag, 20. September 2022 12:06
To: Lucas Thomas Geoffrey (PSI) <thomas.lucas AT psi.ch>
Cc: opal AT lists.psi.ch
Subject: Fwd: OPAL treatment of travelling wave structures
 
Hi Tom I am forwarding this to the OPAL mailing list. Can you also add a fully working example?
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
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 
============================================

 

Begin forwarded message:
 
From: "Lucas Thomas Geoffrey (PSI)" <thomas.lucas AT psi.ch>
Subject: OPAL treatment of travelling wave structures
Date: 20 September 2022 at 11:02:52 CEST
To: "Adelmann Andreas (PSI)" <andreas.adelmann AT psi.ch>
 
Dear Andy,
 
I am looking at the OPAL manual at the section of the travelling wave structures: http://amas.web.psi.ch/opal/Documentation/master/OPAL_Manual.html#sec.elements.travelingwave
 
Using this method we achieve a nice TWS field however on the edges of the fringe field and middle cells we have a discontinuity which needs to be smoothed for the derivatives. May I ask how this is smoothed inside OPAL?
 
Best,
Tom
__________________________________________
Paul Scherrer Institut 
Dr. Thomas Geoffrey Lucas
WMHA/B17
Forschungsstrasse 111
5232 Villigen PSI
Schweiz

Telefon: +41 56 310 50 81
E-Mail: 
thomas.lucas AT psi.ch




Archive powered by MHonArc 2.6.19.

Top of Page