Issue in avoiding to run a RFQ part
Posted: Mon 29 Sep 2025 08:16
Dear Didier,
I want to simulate a RFQ fieldmap + MEBT, and get the envelop of the linac.
Considering the output of RFQ fieldmap has multiple bunches,i adopt the following syntax to get the envelop and use the modified RFQ fieldmap output (merged into one bunch) as the input for MEBT.
DRIFT 0.00001 1000
DRIFT 0.00001 1000
DRIFT 0.00001 1000
RFQ_GAP_RMS_FFS 6.0766 6.2147
READ_OUT D:\Shuo\Tracewin\Isotope-2025\AllLinac\rfq_toutatis.out
RFQ_CELL 68000 3.751 0 1 17.012 -90 3 2.814 1 3.75
RFQ_CELL 68000 3.751 8e-005 1.0005 4.254 -90 4 2.814 0 3.75
lattice 2
RFQ_CELL 68000 3.751 0 1.001 4.254 -89.96 -2 2.814 0.0001 3.749
RFQ_CELL 68000 3.751 0.00025 1.0016 4.254 -89.94 2 2.814 0.0001 3.748
..................
lattice_end
RFQ_CELL 68000 3.751 0 1.8525 29.931 -50.72 -4 2.814 0 3.751
RFQ_CELL 68000 3.751 0 1 18 -90 -3 2.814 0 3.751
READ_DST D:\Shuo\Tracewin\Isotope-2025\AllLinac\rfq_Fldmap.dst
DRIFT 0.00001 1000
DRIFT 0.00001 1000
DRIFT 0.00001 1000
; ******MEBT******
........
The issue is that the position of the output is much longer than the linac. And the output seems incorrect. Regards,
Shuo
I want to simulate a RFQ fieldmap + MEBT, and get the envelop of the linac.
Considering the output of RFQ fieldmap has multiple bunches,i adopt the following syntax to get the envelop and use the modified RFQ fieldmap output (merged into one bunch) as the input for MEBT.
DRIFT 0.00001 1000
DRIFT 0.00001 1000
DRIFT 0.00001 1000
RFQ_GAP_RMS_FFS 6.0766 6.2147
READ_OUT D:\Shuo\Tracewin\Isotope-2025\AllLinac\rfq_toutatis.out
RFQ_CELL 68000 3.751 0 1 17.012 -90 3 2.814 1 3.75
RFQ_CELL 68000 3.751 8e-005 1.0005 4.254 -90 4 2.814 0 3.75
lattice 2
RFQ_CELL 68000 3.751 0 1.001 4.254 -89.96 -2 2.814 0.0001 3.749
RFQ_CELL 68000 3.751 0.00025 1.0016 4.254 -89.94 2 2.814 0.0001 3.748
..................
lattice_end
RFQ_CELL 68000 3.751 0 1.8525 29.931 -50.72 -4 2.814 0 3.751
RFQ_CELL 68000 3.751 0 1 18 -90 -3 2.814 0 3.751
READ_DST D:\Shuo\Tracewin\Isotope-2025\AllLinac\rfq_Fldmap.dst
DRIFT 0.00001 1000
DRIFT 0.00001 1000
DRIFT 0.00001 1000
; ******MEBT******
........
The issue is that the position of the output is much longer than the linac. And the output seems incorrect. Regards,
Shuo