Skip to Content.
Sympa Menu

opal - Re: [Opal] Reference particle in OPAL

opal AT

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Reference particle in OPAL

Chronological Thread  
  • From: Wei Hou Tan <tanweihou AT>
  • To: Nicole R Neveu <nneveu AT>, opal <opal AT>
  • Subject: Re: [Opal] Reference particle in OPAL
  • Date: Fri, 22 Jan 2021 22:16:20 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MWzGG36LpmJeygFxGtT0dQEQ+zBgNaFrNdVkuQRCO+M=; b=YM125NvseMZSof70+NvbHz3+PynSo4iWAsF2iV0rfzjXZx37gEM2P37oElmdGGqXylXah537hRpDyUKLDfentIIi7bRevpb/CMIW+3SlSlzhUiwPGkLtT2w9snPi/U8mI4tht0adNY/uqp6hPD7ENxTEHHnM5RuC2kVYjiiG1UbLoXekl2m9B/gkxnUf9623ULMsrKFafyLYtY1xxUcZeNYH6QbxXw183pbZRiIzJKmfOoK53xYiWg7jDm+rfZyT5XrxwnNhcKlo9moSV7MIX31rsIx5ICVlkHQjDi8lrJnFteg67UWdE8qUyJShBLhlCX8Ack1QoSxhCn0jyedJAg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=Y3VOQZ2z4whFJivJw+Zw3IpLRma9Xk5phr1kFdATyMCse4kWChfYWrA/2Q8u8lIpP1XX8rSF2f1EFI609Nw68ufTMospNNO1K247L1rcgeXKarhV/pYdWUuP72W9csfKFAbZYJRZlQlrmU3sUwZ0rMc1fpK0VkhhmPbTszJjaeIhvaAQDoV0ZF2Fc6xeIxKj1FQHv68ZQ+OTH2rhRBLim7PSM2TGV4vCrlLkCZ8cNQb1WxS9dTZBXDemCxG3O+UyjVWXqBsZVjvpxxUvLhNe97c6sgoEdddkOHk0bqcZIW+PbfAv/f1ncwjBT3tiuLrmkhOCD/99LJJiED3U3lv3EA==
  • Authentication-results: localhost; iprev=pass ( smtp.remote-ip=; spf=pass; dkim=pass header.s=selector1 header.a=rsa-sha256; dmarc=pass

Dear Nicole,

The distribution was generated by external scripts, which then converted into ASTRA and OPAL inputs.
The distribution comes with initial momentum pz, I did not add extra Ekin as shown in the code below.

Here's the distribution command look like

        FNAME = "opal.ini",
        EMITTED = True,
        NBIN = 100;


Wei Hou

From: Nicole R Neveu <nneveu AT>
Sent: Saturday, January 23, 2021 6:07 AM
To: Wei Hou Tan <tanweihou AT>; opal <opal AT>
Subject: Re: [Opal] Reference particle in OPAL

Hi Wei Hou,


When I did a similar exercise for the LCLS-II injector, one cause of discrepancy for me was the definition of Ekin.

Are you suppling the same particles distribution to ASTRA and OPAL?

Or letting the codes generate the distribution?

What does your distribution command look like?







From: <opal-request AT> on behalf of Wei Hou Tan <tanweihou AT>
Reply-To: Wei Hou Tan <tanweihou AT>
Date: Friday, January 22, 2021 at 1:59 PM
To: opal <opal AT>
Subject: [Opal] Reference particle in OPAL


Dear OPAL developers,


This is Wei Hou TAN, graduate student working with Prof. Philippe Piot in the Northern Illinois University.


I would like to learn OPAL, starting by cross-checking its results with ASTRA.


In my toy example, I simulated a rf gun with both ASTRA and OPAL.

However, I am having problems getting same results in OPAL.

I have checked that both ASTRA and OPAL have the same distributions, same RF phase.


I suspected that OPAL has a different definition of reference particle but I could not find any documentations on it.


What is OPAL convention of reference particle ?


Thank you.



Wei Hou

Archive powered by MHonArc 2.6.19.

Top of Page