Page 1 of 1

Electrostatic Bend

Posted: Mon 30 May 2022 22:30
by jarnovandewalle
When using a toroidal electrostatic bender (parameter ne=3 in BEND_ELE), I get the following error message in Tracewin:

>Sqrt error
>From->[Elements]: Initialization of electric dipole: Element:6-
>From->[Calc] : Ref particle transport

Is the toroidal bender matrix elements implemented ?
It is not possible to give the powers of the radial dependence of the electric field, like in
E(x) = E_0*(1- sum_i(x/r_0)^i ) where i=1...5

Re: Electrostatic Bend

Posted: Tue 31 May 2022 12:33
by Didier
First of all, hello,

Could you please attach the files of your project generating this error, it would help me a lot to understand the problem and maybe be able to better understand the following question. I am not very used to using this type of element.

Regards,

Didier

Re: Electrostatic Bend

Posted: Fri 3 Jun 2022 16:39
by Didier
Dear jarnovandewalle,

This bug has been fixed in last version

Regards,

Didier