Page 1 of 1

N_cavities in FTRFMODE seems doesn't work

Posted: 04 Apr 2022, 09:51
by Siwei_Wang
Dear Michael,

Recently I'm studying transverse effect of cavity Higher Order Modes using the element FTRFMODE. I found that when I changed the n_cavities from 8 to 1 it gives me the same result. Then I downloaded the newest elegant source code and looked into the code, it seems in both 'RFMODE', 'TRFMODE' and 'FRFMODE', when calculating the bin voltage, it is multiplied by n_cavities, but this is not the case in 'FTRFMODE'. Is it a bug or should I do some other settings in the element FTRFMODE to simulate multi cavities?

Best regards,
Siwei

Re: N_cavities in FTRFMODE seems doesn't work

Posted: 23 May 2022, 11:36
by michael_borland
Siwei,

It's a bug. Thanks for pointing it out. It will be fixed in the next release.

--Michael