Tracking with dipole field map

https://www.dacm-logiciels.fr/tracewin
Post Reply
Italycomunian
Initiated
Initiated
Posts: 49
Joined: Mon 30 Nov 2020 09:50
Location: Legnaro National Laboratories
Country:
Italy (it)
Italy
Contact:

Tracking with dipole field map

Post by Italycomunian »

Dear Didier,

we try to simulate a tracewin line from 2021, which contains two dipole fieldmaps which perfectly worked in the past Tracewin version. However we noticed that, with the new versions, we had some losses inside the dipoles, apparently because all positive energy particles are canceled from computation, in the field map.

In order to investigate the issue, we simplified the project (downlodable at the link), and, inputting a kind of zero-emittance macro-particle, we noticed a very strange trajectory in the fieldmaps, precisely at the end of the two dipoles, a kind of kick which was not present before. We are using the same magnetic factor we were using since 2021. The beamlet does not anymore follow the synchronous particle, for some reasons.

We checked with different project and it happened the same phenomena (losses with higher emittance, steering when using the beamlet). Could please you help us?
Best Regards,
Michele Comunian
Attachments
mrms_simm.rar
(149.11 MiB) Downloaded 6 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 1049
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Tracking with dipole field map

Post by FranceDidier »

Dear Michele,

I think, it's fixed now, please check and let me known.

Regards,

Didier
Italycomunian
Initiated
Initiated
Posts: 49
Joined: Mon 30 Nov 2020 09:50
Location: Legnaro National Laboratories
Country:
Italy (it)
Italy
Contact:

Re: Tracking with dipole field map

Post by Italycomunian »

Dear Didier,
I've still problems to center the dipole map.
I've simplify as much as possible the project and I put it here.
The dipole fileds map is the same as before (working from 2016 to 2021).
Best Regards,
Michele Comunian
X-Xp-envelope.png
X-Xp-envelope.png (88.08 KiB) Viewed 55 times
Attachments
test2.ini
(43.77 KiB) Downloaded 13 times
test2.dat
(431 Bytes) Downloaded 12 times
test2.cal
(70 Bytes) Downloaded 6 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 1049
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Tracking with dipole field map

Post by FranceDidier »

Dear Michele,

I tried with 2016, 2017, 2020, 2022 version and all give the same results !

Regards,

Didier
Italycomunian
Initiated
Initiated
Posts: 49
Joined: Mon 30 Nov 2020 09:50
Location: Legnaro National Laboratories
Country:
Italy (it)
Italy
Contact:

Re: Tracking with dipole field map

Post by Italycomunian »

Dear Didier,
Apologies for the oversight. We've reviewed the files, and you are absolutely right — with the latest version, the code works correctly, just as it did before.
Thank you for pointing that out.
Best regards,
Michele Comunian
Post Reply