opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
Re: [Opal] OPAL-T photo injector simulation: Inconsistent ELEMEDGE / L values and deleted particles while simulation is running.
Chronological Thread
- From: Christof Metzger-Kraus <christof.j.kraus AT gmail.com>
- To: "Li, Zhi" <zql810 AT mail.usask.ca>
- Cc: "Boland, Mark" <mark.boland AT usask.ca>, "opal AT lists.psi.ch" <opal AT lists.psi.ch>
- Subject: Re: [Opal] OPAL-T photo injector simulation: Inconsistent ELEMEDGE / L values and deleted particles while simulation is running.
- Date: Wed, 14 Oct 2020 07:03:42 +0200
- Authentication-results: localhost; iprev=pass (mail-io1-f46.google.com) smtp.remote-ip=209.85.166.46; 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
Hi Zhi,
the positions of the elements in the output depend on relative start and length of the field map. E.g. if the field map starts at -0.1 m then the reported start of the element is shifted by these 0.1 m upstream.
I’ll have a look at the other problem. In general particles can be deleted when they hit a collimator or when they leave a field on the side.
Best regards
Christof
Li, Zhi <zql810 AT mail.usask.ca> schrieb am Mi. 14. Okt. 2020 um 05:24:
Dear OPAL developers,
My name is Zhi Li. I'm a research assistant at the Canadian Light Source, working with Dr. Mark Boland.
Recently I was tasked to run photo injector simulations using OPAL-T. The components in my simulation consists of two solenoid field maps, a RF field map, and the input file. I used CST EM/Microwave Studio for the field maps.
Since I'm a first time OPAL-T user, my strategy is to adopt the example photo injector input file here:
and modify the parameters to fit my needs.
Currently there are two major problems in my simulation:
1) I noticed that the "ELEMEDGE" and "L" values defined in the input file are inconsistent in the OUT file.
For example, in the input file the values are:
While the corresponding values in the out file are:
2) Particles are being deleted during the simulation.
All three field maps that I'm using for the simulation are exported from CST Studio and formatted according to the specified 2D Magnetostatic and 2D Dynamics criteria.
I have attached the input, output, field map files and the original CST Studio (before any modification in python) in the following link.
If someone can give me some guidance on how to fix problem 1) and 2), that would be greatly appreciated. Thank you in advance!
Best regards,Zhi
-
[Opal] OPAL-T photo injector simulation: Inconsistent ELEMEDGE / L values and deleted particles while simulation is running.,
Li, Zhi, 10/14/2020
- Re: [Opal] OPAL-T photo injector simulation: Inconsistent ELEMEDGE / L values and deleted particles while simulation is running., Christof Metzger-Kraus, 10/14/2020
Archive powered by MHonArc 2.6.19.