Skip to Content.
Sympa Menu

opal - [Opal] Convert external particle distribution weighted by different macro charges to OPAL

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] Convert external particle distribution weighted by different macro charges to OPAL


Chronological Thread  
  • From: Simon Friederich <sifriede AT uni-mainz.de>
  • To: "opal AT lists.psi.ch" <opal AT lists.psi.ch>
  • Subject: [Opal] Convert external particle distribution weighted by different macro charges to OPAL
  • Date: Mon, 14 Sep 2020 10:39:37 +0200
  • Authentication-results: localhost; iprev=pass (ironport-1.zdv.net) smtp.remote-ip=134.93.178.241; spf=pass smtp.mailfrom=uni-mainz.de; dkim=pass header.d=uni-mainz.de header.s=20190702 header.a=rsa-sha256; dmarc=pass header.from=uni-mainz.de
  • Ironport-phdr: 9a23:LcBToRwJT43Cuq/XCy+O+j09IxM/srCxBDY+r6Qd2uMWIJqq85mqBkHD//Il1AaPAdyFrasa1aGO7+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglVhTexe65+IRS3oAneqsUbjpZpJ7osxBfOvnZGYfldy3lyJVKUkRb858Ow84Bm/i9Npf8v9NNOXLvjcaggQrNWEDopM2Yu5M32rhbDVheA5mEdUmoNjBVFBRXO4QzgUZfwtiv6sfd92DWfMMbrQ704RSiu4qF2QxLulSwJNSM28HvPh8JujKxVvRWhqR9xzYHab46aKPt+c7jHct8GX2dMRNpdWiJDD466coABD/ABPeFdr4TlulUOrB6+BQ6qBOjyyjFInH720rMn3Os/CwHG3RAvH9ITu3nTt9X1NakSUfq0zKbW0DrMcehb2Sr76IjJaxwhpOuDXbN2ccvQ00UgCh3Kg0yWpIf4MDybyv4DvHKH7+p8S+2vkWgnphl/rDWsxMoihJXFi4Max1zY6yl0wJs5KN26RUB0f9OpEIZcui+HO4drXs4sTGFmtTskx7MGuZO2czYGxZc5yxDfbfGMbouG4gr7WeafPDh1i2xpdbewihu870StxOjxW8qo31lXsyVIl9jBumwM2hHW7sWIUOdx80mk1DuLzA/T5O9ELEU6laXFNZIu2bs9mYEIvkvdESL6gEH7ga+Mekgg5+Sk8frrbqjnq5OGOYJ5iQfzObk0lMOlG+Q3KA0OUnCe+eS7ybLs41X0QK5Pjv0qiqnZt43aJdgDqq65HQBV1oEj5g6hADapzdgVk3YKIE9cdBKClIjkO1HOLOnmAfq+mVitkSpkx+7cMrLvBJXNL2HPnrD7crZ87U5dyRA/w95Q6Z5MC7EBJuz8WlPpudzWExA0PBK4zuPoBdhzyI8TV2eCD6yFP6zPrFCF4+MiL/WNaYIQvDvyMeQp6vDrgHI9glAdc6ep0J4ZaH+mAPhpOECUbmH3jdgfHmoGpg8+Q/briF2GXz5TfXGyX6ck6zEgCYKmA53DRoGzj7Ocwii2BYBWZmZHClyVFHfnbYSEW/ENaS6IP8BujCQIVaK9RI85yRGuqAj6xqJgLurM4CIYsYnu1Nx05+3IiREy7iZ4D9yG02GMVW17gmMIFHcK2/U1plR0zn+H0LNkmLpADt0V7PMDGlM9LZfY5+h7EMzpHBraf5GCSAD1bM+hBGQKT9c2xZcgeUdwF9i4jxvDl36xArEPlrGHCbQp9KOZ2nHwIdQ7x3uQh/pptEUvXsYabT7uvaV47QWGX4M=
  • Ironport-sdr: Jj9hVoBsPjvSEf866EjGSyDKvGHZNiMiLCIUU1QxUN6Nq6N9jNRFRv1ZmhY+KX96r7DuD0zS7O Hh6aFY9MCgsZjoeZhcxdG0l+UUiSVxOIZaZTyrwrRaAJ741FFUC0fWu8Z8U+rCpSNezHw1U/mz loLEQpt+8AhSXMEpG1Q8NEusIGcwcDpjH/SwxRaZcS+CL9Y8J3JvwZRCR/CXD9GzOtixA+V8+r 5ibqCXXdImijjS6K72/V4BTNUap1TMAX29V0rjWqBhPsoMI5OxZsZDH4BHmWhEznzHcrDEILSD 0kI=
  • Organization: Institut für Kernphysik, JGU Mainz

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,
Simon

P.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
----------------------------------------



Archive powered by MHonArc 2.6.19.

Top of Page