Page 1 of 1

Big difference results between KQUAD and QUAD

Posted: 14 May 2021, 03:45
by Cai_Meng
Dear Elegant experts,

when I designed an achromatic lattice, there are big difference results between KQUAD and QUAD lattice with "default_order=3". Although, two lattice have same "etay" (*.twi) , the simulation results with QUAD-lattice looks good, but the simulation results with KQUAD-lattice show that the R36 sames not zero (*.sig & *.out). The results and lattice file are presented as attachments. Could you give me some suggestions? Are there some unreasonable settings ?

Thank you very much!

Best regards,
Cai

Re: Big difference results between KQUAD and QUAD

Posted: 14 May 2021, 10:53
by michael_borland
Cai,

You need to use more slices for the KQUAD elements to get accurate integration. The defaults are rarely sufficient.

Try changing

Code: Select all

KQUAD,...
to

Code: Select all

KQUAD,INTEGRATION_ORDER=6,N_SLICES=10,...
I did this and the agreement on s36 was essentially perfect.

--Michael

Re: Big difference results between KQUAD and QUAD

Posted: 16 May 2021, 20:29
by Cai_Meng
Hi Michael,

Thanks very much! It does work after increasing the value "N_KICKS".

Best regards,
Cai