Varying the value of charge
Moderators: cyao, michael_borland
Varying the value of charge
I am tracking the particles to study the beam instability. The lattice file includes charge, impedance files and various watch points and other elements. Every time I vary the value of charge in the lattice file, then perform the tracking. I want to use use &vary element in run file to change the charge value from initial to final in defined steps. Please help me to modify my run file accordingly. How can we generate the tracking results in a single .w2 file for all charge values. If I have to generate separate .w2 files for each charge value, then what modifications I have to do. I have attached the run file for the reference.
- Attachments
-
- run2.ele
- (517 Bytes) Downloaded 233 times
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Varying the value of charge
Here's an example of how to do something similar to what you want to do.
--Michael
--Michael
- Attachments
-
- 2021-01-11.zip
- (1.72 KiB) Downloaded 271 times