I tried using command MATCH_FAM_GRAD, its not working here, not able to change Electric field intensity factor..It works for solenoids to vary magnetic field intensity factor. But here, I am using electric field map from POISSON code for einzel lens. Please suggest how to vary it to match next stage twiss parameters.
MATCH_FAM_GRAD 1 1
FIELD_MAP 4 142 0 10 0 1 1 1 file
How to vary electric field intensity factor in FIELD_MAP
-
- Global moderators
- Posts: 8
- Joined: Fri 2 Sep 2022 11:39
- Country:
France (fr)
Re: How to vary electric field intensity factor in FIELD_MAP
Dear Sarvesh,
As you are using electric field maps, the command "MATCH_FAM_FIELD" should do the job.
Regards,
Nicolas.
As you are using electric field maps, the command "MATCH_FAM_FIELD" should do the job.
Regards,
Nicolas.
-
- Initiated
- Posts: 45
- Joined: Wed 30 Mar 2022 16:12
- Location: IUAC Delhi and CERN Geneva
- Country:
India (in)
Re: How to vary electric field intensity factor in FIELD_MAP
Cannot find matching element commands
From->[PROCESS_MATCHING] : Family matching
This is the error coming if we use MATCH_FAM_FIELD
As per my experience, I have used MATCH_FAM_GRAD for electrostatic quadrupole also and it works very well.
From->[PROCESS_MATCHING] : Family matching
This is the error coming if we use MATCH_FAM_FIELD
As per my experience, I have used MATCH_FAM_GRAD for electrostatic quadrupole also and it works very well.
Re: How to vary electric field intensity factor in FIELD_MAP
Dear Saarvesh,
Yes I confirm that there is a problem with the type 4 field maps not being recognised as they should be with the FIELD_MATCH_FIELD command.
I suggest you use the ADJUST commands associated with the DIAG_TWISS diagnostics instead. In general, everything that was done with the MATCH_FAM_XXX commands can be done better with the more complete and powerful ADJUST commands. MATCH_FAM_XX will not be needed or supported in the future.
Regards,
Didier
Yes I confirm that there is a problem with the type 4 field maps not being recognised as they should be with the FIELD_MATCH_FIELD command.
I suggest you use the ADJUST commands associated with the DIAG_TWISS diagnostics instead. In general, everything that was done with the MATCH_FAM_XXX commands can be done better with the more complete and powerful ADJUST commands. MATCH_FAM_XX will not be needed or supported in the future.
Regards,
Didier
-
- Initiated
- Posts: 45
- Joined: Wed 30 Mar 2022 16:12
- Location: IUAC Delhi and CERN Geneva
- Country:
India (in)
Re: How to vary electric field intensity factor in FIELD_MAP
Thanks, I shall try this command