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: Christof Metzger-Kraus <christof.j.kraus AT gmail.com>
- To: Simon Friederich <sifriede AT uni-mainz.de>
- Cc: opal <opal AT lists.psi.ch>
- Subject: Re: [Opal] Convert external particle distribution weighted by different macro charges to OPAL
- Date: Wed, 16 Sep 2020 17:54:24 +0200
- Authentication-results: localhost; iprev=pass (mail-il1-f177.google.com) smtp.remote-ip=209.85.166.177; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com
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.