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: "Lucas Thomas Geoffrey (PSI)" <thomas.lucas AT psi.ch>
  • 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
  • Date: Thu, 22 Sep 2022 20:36:35 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=psi.ch; dmarc=pass action=none header.from=psi.ch; dkim=pass header.d=psi.ch; 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=P6rwGPBU/24q+qybewY1OabLzWcCgIdVrPORWWhqwxI=; b=eUr2kRpvcVgyBkDMoOyZZ+a5Cdpj22JK2Yp2LbZp7QBYfMp4cxvVIByumXG/u/nuZLhAjvmcqHTJPatuAp1Sbb70IbJLbgM6MtMxs6WgH1dlIjjNvF8U70FSqghTBYEWfZyxLXAsmzdiS0kZKWSDE0nLyKAwoF7cG6kZNOhq50JOPlF7SdkiGTS+zd9LBZosea89NZ/0ZFIqJSSHPuXTDY7pPWVRB+cI6lU31pvGaFt14L/ZlnYU/1kNBwtAMMo4Zil/utMdCq+kJM0O6rbejzW9d+sKvwkTaPOZJ1mYFMHCswYawAzPimonLn7phc6nhOT066DjxxAVNzJZQandyw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nrn5ZNZ3KMVA+HgPw27YyCn6rGnnpUeSANeA1rAfyZ96GFpMm1k9a4Mo9o/xtEYJKNR1UcsJXZOA5jNiY0m2noYrlE+lgngQ+Fk0+pjt3CLFK6UyifwjvAXb8QgmAdtQ6LzM4OMylskCa2+pluVM4bf1QPoSFWeUL90G8J5C1oL3e7QcBN3orRkz1tp7lizxD0XxNqRWjBxQfXne6ryY9wdKoD+gtrfPkU121kzDVl/R0wWkyyZ12YHs0xInajeRy2NACSTj7WW94BN66rzjYBAoh5GD8i3nY/X1FVczDUuQCf86+38hUDWDbmY6CQsvnnce8f1vTbXI/O5T2EJwlw==
  • Authentication-results: mc1; iprev=pass (psi-seppmail1.ethz.ch) smtp.remote-ip=129.132.93.141; spf=pass smtp.mailfrom=psi.ch; dkim=pass header.d=dpsich.onmicrosoft.com header.s=selector1-dpsich-onmicrosoft-com header.a=rsa-sha256; dmarc=skipped
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=psi.ch;

Hi Andy,

 

Thanks, this is also a good suggestion. I think I should have enough to produce the same fieldmaps for my benchmark study.

 

I’ll follow up if I have any further issues.

 

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: Donnerstag, 22. September 2022 17:24
To: Lucas Thomas Geoffrey (PSI) <thomas.lucas AT psi.ch>
Cc: opal AT lists.psi.ch
Subject: Re: [Opal] OPAL treatment of travelling wave structures

 

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