opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
Re: [Opal] Convert external particle distribution weighted by different macro charges to OPAL
Chronological Thread
- From: "Adelmann Andreas (PSI)" <andreas.adelmann AT psi.ch>
- To: Simon Friederich <sifriede AT uni-mainz.de>
- Cc: "opal AT lists.psi.ch" <opal AT lists.psi.ch>
- Subject: Re: [Opal] Convert external particle distribution weighted by different macro charges to OPAL
- Date: Tue, 15 Sep 2020 18:51:23 +0000
- Accept-language: en-US, de-CH
Dear Simon I do not know anyone who did this. One would also
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 14 Sep 2020, at 10:39, Simon Friederich <sifriede AT uni-mainz.de> wrote:
Dear all,
From CST I can export a particle distribution. In contrast to OPAL (and propably most of the other available simulation codes):
CST weights the macro particles by different macro charges instead of having the same macro-charge for all particles. The number of particles is (almost) equally distributed (slightly influenced by the simulation accuracy).
I am thinking of a way to convert the CST distribution to one, that can be used in OPAL (using FROMFILE).
Has anyone faced this task before and has a method/script that (s)he might share?[I've looked into the python script by Bettina Kuske and Dieter Faulbaum (HZB), that converts an ASTRA distribution to OPAL, but it's unfortunately not suitable as ASTRA has a const. macro-charge for all particles, right?]
Thanks again in advance.
Best regards,
SimonP.S.: I am sorry, that I've opened a second request mail, but being able to convert CST distributions to OPAL would circumvent the DC acceleration problem (see my last listing mail) for now.
-- ----------------------------------- 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 ----------------------------------------
-
[Opal] Convert external particle distribution weighted by different macro charges to OPAL,
Simon Friederich, 09/14/2020
- Re: [Opal] Convert external particle distribution weighted by different macro charges to OPAL, Adelmann Andreas (PSI), 09/15/2020
-
Re: [Opal] Convert external particle distribution weighted by different macro charges to OPAL,
Christof Metzger-Kraus, 09/16/2020
- Re: [Opal] Convert external particle distribution weighted by different macro charges to OPAL, Simon Friederich, 09/16/2020
Archive powered by MHonArc 2.6.19.