Two term potential approximation on RFQ

https://www.dacm-logiciels.fr/toutatis
Post Reply
Brazilgeorgekontogiorgos
Novice
Novice
Posts: 1
Joined: Thu 6 Apr 2023 15:09
Country:
Brazil (br)
Brazil

Two term potential approximation on RFQ

Post by Brazilgeorgekontogiorgos »

Hi

I have a fieldmap generated by TraceWin for a RFQ that I got from a colleague. I was trying to reproduce the same field (approximately) by using the 2-term potential. Unfortunately I could not do it properly. Could you help me to understand what parameters I have to add to the 2-term potential to match? I guess I am missing something related to the phase.

The potential equation I am using is attached.

Thanks
George
Attachments
2-term-potential.png
2-term-potential.png (13.58 KiB) Viewed 12739 times
focusing coefficient.png
focusing coefficient.png (6.31 KiB) Viewed 12739 times
FranceRomualdDuperrier
Global moderators
Global moderators
Posts: 80
Joined: Fri 28 Aug 2020 14:59
Location: Paris-Saclay
Country:
France (fr)
France

Re: Two term potential approximation on RFQ

Post by FranceRomualdDuperrier »

Hi

Not sure I can help but I will try first to clarify the statement of the problem. First TraceWin does not generate fielmaps but Toutatis does either as a standalone code or as a library within Tracewin. I guess your colleague managed the second case. Depending on how were the settings used by your colleague, the generated fielmap might be relatively close or far to a 2 term potential case. Thus I think you need to set a criterion that tells you that you "match" enough.

One last point that could help is that when Toutatis runs in graphical mode, the code displays recalculated A10, B and A from the .inp file and computed fields. The values can be exported to a text file and used for setting A. You could do that with the .inp file used by your colleague. Note that as he ran the code from Tracewin, the .inp file generated from the .dat can be found in the working directory.

Best,

Romuald
Post Reply