opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: "Kuske, Bettina" <bettina.kuske AT helmholtz-berlin.de>
- To: Wei Hou Tan <tanweihou AT outlook.com>, Nicole R Neveu <nneveu AT stanford.edu>
- Cc: opal <opal AT lists.psi.ch>
- Subject: RE: [Opal] Loading initial distribution from Astra
- Date: Fri, 14 Feb 2020 11:04:23 +0000
- Accept-language: de-DE, en-US
Hi Wie Hou,
as Nicole pointed out; you have to use “WRITETOFILE = True,” command to get the initial distribution. Besides: · ASTRA uses the z and pz relative to the reference particle, and OPAL uses absolute values. · Units in OPAL are ‘m’ for position and ‘bg’ for the momentum · ASTRA uses ‘m’ and ‘eV/c’ So there is a little more conversion to be done. (also the different order: x, px, y py, z, pz)
Bettina
From: opal-request AT lists.psi.ch <opal-request AT lists.psi.ch>
On Behalf Of Wei Hou Tan
Hi Nicole,
I am doing fine here, Philippe is quite happy with OPAL and hence we decide to use it to cross check results from ASTRA, IMPACT-T, etc. There was no error when I ran both OPAL and ASTRA, just that they both gave different distributions. I suspect that something is wrong when I converted ASTRA distribution (particle.ini) to OPAL format (opal.ini) but I could not figure out yet. Here I attach log files from ASTRA and OPAL for your reference.
Thanks.
Regards Wei Hou From: Nicole R Neveu <nneveu AT stanford.edu>
Hi Wei Hou,
I’m doing good, and you?
Also, could you please send your error message? I probably won’t get to this today, but I’ll try to take a look soon. I’m doing similar comparisons.
Thanks,
Nicole
From:
Wei Hou Tan <tanweihou AT outlook.com>
Hi Nicole,
How are you ? Here I attach all related input files for both ASTRA and OPAL. Thanks.
Regards Wei Hou From: Nicole R Neveu <nneveu AT stanford.edu>
Hi Wei-Hou,
Can you please send error file / related input files.
Thanks,
Nicole
From:
<opal-request AT lists.psi.ch> on behalf of Wei Hou Tan <tanweihou AT outlook.com>
Guten Tag,
This is Wei-Hou TAN, graduate student from the Northern Illinois University working with Prof. Philippe Piot.
I would like to use my ASTRA initial distribution in OPAL to compare both ASTRA and OPAL simulation results. However, I could not make it work. The step0 distribution in OPAL hdf5 file is different from that of in ASTRA, it is shorter.
Here is what I did: I generated my ASTRA distribution in the following format, then rearranged columns in red circles to produce correct format for OPAL.
Then in OPAL, I wrote the following: Dist: DISTRIBUTION, TYPE = FROMFILE, FNAME = "opal.ini", EMISSIONMODEL = ASTRA, EMITTED = True;
Is it correct ? Thank you.
Regards Wei Hou Helmholtz-Zentrum Berlin für Materialien und Energie GmbH Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V. Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher Geschäftsführung: Prof. Dr. Bernd Rech (Sprecher), Prof. Dr. Jan Lüning, Thomas Frederking Sitz Berlin, AG Charlottenburg, 89 HRB 5583 Postadresse: Hahn-Meitner-Platz 1 D-14109 Berlin |
- [Opal] Loading initial distribution from Astra, Wei Hou Tan, 02/12/2020
- <Possible follow-up(s)>
- Re: [Opal] Loading initial distribution from Astra, Nicole R Neveu, 02/12/2020
- Message not available
- Re: [Opal] Loading initial distribution from Astra, Nicole R Neveu, 02/12/2020
- Re: [Opal] Loading initial distribution from Astra, Wei Hou Tan, 02/12/2020
- Re: [Opal] Loading initial distribution from Astra, Nicole R Neveu, 02/12/2020
- RE: [Opal] Loading initial distribution from Astra, Kuske, Bettina, 02/14/2020
- RE: [Opal] Loading initial distribution from Astra, Kuske, Bettina, 02/14/2020
- Message not available
- Re: [Opal] Loading initial distribution from Astra, Wei Hou Tan, 02/14/2020
- Re: [Opal] Loading initial distribution from Astra, Wei Hou Tan, 02/12/2020
- Re: [Opal] Loading initial distribution from Astra, Nicole R Neveu, 02/12/2020
- Message not available
Archive powered by MHonArc 2.6.19.