I am attempting to generate a .vane file from the .dat file with the2termsflag. However, I struggle to get the end profile geometry correct. The lattice needs to end with a transition cell, followed by a flat m=1 cell and a fringe field. Unfortunately, I never succeed in the proper combination of both. Either the modulation of the transition cell is too low, or the m=1 cell is missing.
I have made many attempts where I adjust the cell type, cell length, and modulation of the last cells in the .dat file, but none gave me the desired result. Could you help me achieve a vane geometry where the transition cell has the proper shape, followed by a m=1 cell?
Generating .vane file with transition cell and m=1 section
Generating .vane file with transition cell and m=1 section
- Attachments
-
- rfq_simulations.ini
- (43.77 KiB) Downloaded 3 times
-
- rfq_simulation.dat
- (20.12 KiB) Downloaded 5 times
-
- FromTraceWin.inp
- (21.36 KiB) Downloaded 5 times
-
- toutatis.vane
- (5.55 MiB) Downloaded 4 times
-
- Global moderators
- Posts: 80
- Joined: Fri 28 Aug 2020 14:59
- Location: Paris-Saclay
- Country:
France (fr)
Re: Generating .vane file with transition cell and m=1 section
Hi
I would like to be sure about the problem you are highlighting. When I run Toutatis with your FromTraceWin.inp, I get the following vane profile at end:
Does it match your expectation? If not, please describe more precisely the gap between your expectation and what is plotted there.
Best,
Romuald
I would like to be sure about the problem you are highlighting. When I run Toutatis with your FromTraceWin.inp, I get the following vane profile at end:
Does it match your expectation? If not, please describe more precisely the gap between your expectation and what is plotted there.
Best,
Romuald
-
- Global moderators
- Posts: 80
- Joined: Fri 28 Aug 2020 14:59
- Location: Paris-Saclay
- Country:
France (fr)
Re: Generating .vane file with transition cell and m=1 section
Thinking more about the profile, if you want to produce a trancell not for the cell before the fringe field but the cell before, the code can not generate this because it will only apply trancell rules for the cell before the fringe field. But there is a work around, you can use an externally made .vane. So I suggest to proceed as follow:
1 run the code as you used to get a toutatis.vane with the right length for all the cells
2 modify with another tool (excel or script) the profile at the end to adjust the toutatis.vane => new_toutatis.vane.
3 modify FromTraceWin.inp by using theGeometryFileFlag 1 new_toutatis.vane
4 run the code again, in principle it should work.
I hope it helps,
Romuald
1 run the code as you used to get a toutatis.vane with the right length for all the cells
2 modify with another tool (excel or script) the profile at the end to adjust the toutatis.vane => new_toutatis.vane.
3 modify FromTraceWin.inp by using theGeometryFileFlag 1 new_toutatis.vane
4 run the code again, in principle it should work.
I hope it helps,
Romuald
Re: Generating .vane file with transition cell and m=1 section
Dear Romuald,
Thank you for the quick response! You are right, I would indeed like to apply the "transcell rules" to the cell before the flat section. I only manage to do this if I proceed directly to the fringe field. Your explanation confirms my suspicion that the combination of a transcell and a m=1 section is not possible.
I will have a go at the workaround that you suggest.
Thanks for the support!
Thank you for the quick response! You are right, I would indeed like to apply the "transcell rules" to the cell before the flat section. I only manage to do this if I proceed directly to the fringe field. Your explanation confirms my suspicion that the combination of a transcell and a m=1 section is not possible.
I will have a go at the workaround that you suggest.
Thanks for the support!