Multi-particle tracking in presence of long range resistive wall in ultra-low emittance ring

Moderators: cyao, michael_borland

Post Reply
Pradeep
Posts: 17
Joined: 04 Jun 2019, 07:33

Multi-particle tracking in presence of long range resistive wall in ultra-low emittance ring

Post by Pradeep » 16 Dec 2019, 02:28

Dear Dr. Borland,
I want to study the effect of long range resistive wall on beam motion using multi-particle tracking with Pelegant. In input *.lte file I defined 1536 slices with 1000 electrons in every slice so there are total 1536000 electrons. In *.ele I defined one bunch consist 1000 electrons and n_duplicate 1535. The tracking for 5000 turns was defined. The Pelegant run give error "Unable to open file <rootname>.wp1006 for writing (SDDS_InitializeOutput)". The program read up-to <rootname>.wp1005. Please find attached the error for your comments and suggestions.
with regards
Pradeep Kumar
Attachments
slurm-25226.out
(11.84 KiB) Downloaded 172 times

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Multi-particle tracking in presence of long range resistive wall in ultra-low emittance ring

Post by michael_borland » 16 Dec 2019, 09:39

Pradeep,

The most common cause of an error message like this is that you have two elegant jobs running, trying to write to the same file. The second most likely cause is that you have a incompletely terminated job that was writing to the file; in this case, the filesystem has not released the lock on the file.

The fact that the filename is <rootname>.wp1006 suggests that you have an error in the use of macro substitution. Your commandline should have -macro=rootname=<yourRootname>,... Further, the .lte file cannot contain macro substitutions. As described in the manual, you can get the rootname for filename composition in the .lte file using the "%s" sequence.

--Michael

Pradeep
Posts: 17
Joined: 04 Jun 2019, 07:33

Re: Multi-particle tracking in presence of long range resistive wall in ultra-low emittance ring

Post by Pradeep » 17 Dec 2019, 06:13

Dear Dr. Borland,
I tried to implement but still the problem persist. Please see the lattice6.lte, run6.ele and error showing "Unable to open file run6.wp1006 for writing (SDDS_InitializeOutput)" for your comments and correction.
with regards,
Pradeep Kumar
Attachments
slurm-25253.out
(7.94 KiB) Downloaded 160 times
run6.ele
(618 Bytes) Downloaded 189 times
lattice6.lte
(187.54 KiB) Downloaded 188 times

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Multi-particle tracking in presence of long range resistive wall in ultra-low emittance ring

Post by michael_borland » 17 Dec 2019, 13:17

Pradeep,

I'm guessing that the problem is a limit in your file server on the number of open files. Try setting USE_DISCONNECT =1 on all the WATCH elements.

--Michael

Pradeep
Posts: 17
Joined: 04 Jun 2019, 07:33

Re: Multi-particle tracking in presence of long range resistive wall in ultra-low emittance ring

Post by Pradeep » 18 Dec 2019, 04:42

Dear Dr. Borland,
I added USE_DISCONNECT =1 on all the WATCH elements, but it give same error. Please find attached lattice6.lte and error for your comments and correction.
with regards,
Pradeep Kumar
Attachments
slurm-25268.out
(7.94 KiB) Downloaded 158 times
lattice6.lte
(214.57 KiB) Downloaded 170 times

Pradeep
Posts: 17
Joined: 04 Jun 2019, 07:33

Multi-particle tracking in presence of long range resistive wall in ultra-low emittance ring

Post by Pradeep » 02 Jun 2021, 04:39

Can we include Intra Beam Scattering (IBS) for the study of beam instability in presence of Long Range Resisitive wall wake (LRWAKE) using elegant/pelegant code? Please help.
Pradeep Kumar

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Multi-particle tracking in presence of long range resistive wall in ultra-low emittance ring

Post by michael_borland » 11 Jun 2021, 18:33

Pradeep,

Yes, just insert an IBSCATTER element into the beamline. It will perform bunch-by-bunch IBS modeling as long as you leave BUNCHED_BEAM_MODE=1.

--Michael

Pradeep
Posts: 17
Joined: 04 Jun 2019, 07:33

Multi-particle tracking in presence of long range resistive wall in ultra-low emittance ring

Post by Pradeep » 19 Oct 2021, 23:29

Hi, I am using elegant 2020.5. I tried to generate bunch train using elegant example but facing problem.First, I run generateBunch command and get bunch.sdds file but when I use command generateBunchTrain I get generateBunchTrain command not found. The screen shot of command and bunch.sdds file is attached. Please help me to get output train1.sdds
with regards,
Pradeep Kumar
Attachments
bunch.sdds
(469.05 KiB) Downloaded 71 times
generateBunchTrain_command.pdf
(122.9 KiB) Downloaded 171 times

Post Reply