segmentation violation error

https://www.dacm-logiciels.fr/tracewin
Post Reply
ChinaZhaoliangchao
Neophyte
Neophyte
Posts: 10
Joined: Sun 24 Oct 2021 06:25
Country:
China (cn)
China

segmentation violation error

Post by ChinaZhaoliangchao »

Dear Didier,

Another problem happens when I use multiparticle mode with partran. A filed map is used to import the RFQ field. In this way, I can verify my design of a real RFQ. There is no problem in envelop mode.
Attachments
segmentation violation.jpg
segmentation violation.jpg (110.44 KiB) Viewed 2116 times
testRFQ.ini
(43.77 KiB) Downloaded 200 times
testRFQ.dat
(822 Bytes) Downloaded 169 times
RFQ.edz
(4.98 MiB) Downloaded 148 times
RFQ.edy
(5.1 MiB) Downloaded 206 times
RFQ.edx
(5.08 MiB) Downloaded 144 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: segmentation violation error

Post by FranceDidier »

Dear Zhaoliangchao,

First at all a remark about your project. You calculation step is clearly to small, reduce in "Multiparcle" -> "Step of calulation your step from 50 to 5. Or better, use 25 step by meter.

Ok, I have also an error at the end, but not the same. Mine is "Beam Energy lower then 0". I think before to try to use field map to simulate RFQ, the first step is to do simulaiton using usual RFQ_CELL elements. And when I'm using your design, you sent me in preceding post, clearly your RFQ design doesn't work at all. So please show me your RFQ cell simualion working before discussing the FIELD_MAP simulation

Regards,

Didier
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: segmentation violation error

Post by FranceDidier »

Finally, I was be able to simulate your field map RFQ design. To do that à set currant to 0 and step to 2 by beta*lambda.
That works, but clearly output beam distribution show a big issue a bout your design

Regards,

Didier
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: segmentation violation error

Post by FranceDidier »

Dear Zhaoliangchao,

I forgot a last point. I found out why your initial project crashed wiht a segmentation violation fault. It's a bug which has been fixed in the last TraceWin version.

Regards,

Didier
Post Reply