Page 1 of 1

a question about Phi_RF and Superpose field maps

Posted: Fri 13 Oct 2023 11:47
by Dreamer
Dear Didier:
I have question about meaning of phi_Rf and Superpose field maps, and I encountered some problems, the question is long , So I put it in PDF.

Best regards,
Li

Re: a question about Phi_RF and Superpose field maps

Posted: Mon 16 Oct 2023 03:11
by Dreamer
And the frequency of my beam is 162.5MHz

Re: a question about Phi_RF and Superpose field maps

Posted: Tue 17 Oct 2023 09:38
by Didier
Dear Li,

Please try this very simple example 2 time, changing the frequency:

DRIFT 0 100
FREQ 162.5
;FREQ 325
FIELD_MAP 7700 210 55 20 -1.36 1.36 0 0 electromagnetic 0
DRIFT 0 100
END

You'll see that in both cases, the resulting synchronous phase will not be the same. The SUPERPOSE or SET_SYNC_PHASE commands are not the problem here. It's quite normal for the field seen by the beam to depend on the frequency, and it's even written in your field equation: W = 2.π.Freq.

Regards,

Didier

Re: a question about Phi_RF and Superpose field maps

Posted: Wed 18 Oct 2023 03:34
by Dreamer
Dear Didier:
Thank you very much for your answer,I may not have been clear about my question. In my question, lattice 3 hand lattice 4 have the same cell1,
but the cell2 of lattice 3 is

freq 325
lattice 3 1

DRIFT 85.13 20 0 0 0
FIELD_MAP 70 345.1 0 20 0.572458 1 0 0 solenoid 0
SET_SYNC_PHASE
FIELD_MAP 7700 210 -32 20 -1.5 1.5 0 0 electromagnetic 0
End

the cell2 of lattice 4 is

freq 325
lattice 3 1
DRIFT 85.13 20 0 0 0
superpose_map 0 0 0 0 0 0
FIELD_MAP 70 350 0 20 0.572458 1 0 0 solenoid 0
superpose_map 345.1 0 0 0 0 0
SET_SYNC_PHASE
FIELD_MAP 7700 210 -32 20 -1.5 1.5 0 0 electromagnetic 0
End

They have same length and frequency. The only difference is that in cell2, the solenoid part of the superposition field is removed, I think they should be in the same phase(phi_rf). but I got a different phase,

Best regards,
Li

Re: a question about Phi_RF and Superpose field maps

Posted: Thu 19 Oct 2023 16:27
by Didier
Dear Li,

Sorry for my misunderstanding of your problem.
It's clearer now, and indeed this RF phase becomes false under the conditions you mention.
I've corrected the problem. Please upgrade your code.

Regards,

Didier

Re: a question about Phi_RF and Superpose field maps

Posted: Fri 20 Oct 2023 03:33
by Dreamer
Dear Didier,
It works!


Best Regards
Li