how can I alter zlongit and ztransverse element in elegant

Moderators: cyao, michael_borland

Post Reply
li.chao
Posts: 45
Joined: 18 Aug 2021, 08:59

how can I alter zlongit and ztransverse element in elegant

Post by li.chao » 28 Aug 2021, 11:42

Hi,

This is Chao.

Recently, I would like to use the zlongit and ztransvsere element for simulation.
In my *.ele file, I use alter_element to have a quick change of the impedance file to be used.

My command used in *.ele file is as following:

&alter_elements name=zz_kick, type=zlongit, item=zreal, value="KICKER_100.sdds=f+ImZzHElegant" &end

however, elegant gives error as
error scanning value KICKER_100.sdds\=f\+ImZzHElegant for namelist member value"

What should I do to cover that.

Great thanks
yours sincerely Chao

michael_borland
Posts: 1927
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: how can I alter zlongit and ztransverse element in elegant

Post by michael_borland » 07 Sep 2021, 01:23

Chao,

The following syntax should do what you want

Code: Select all

&alter_elements name=zz_kick, type=zlongit, item=zreal, string_value="KICKER_100.sdds=f+ImZzHElegant" &end
The value field expects a numerical value. To specify a string value, use string_value instead.

--Michael

li.chao
Posts: 45
Joined: 18 Aug 2021, 08:59

Re: how can I alter zlongit and ztransverse element in elegant

Post by li.chao » 13 Sep 2021, 15:30

Great thanks. I did not notice that in the mammal. It is very clear.
Thanks again

Post Reply