Rectangular aperture in field map

https://www.dacm-logiciels.fr/tracewin
Chinashliu
Competent
Competent
Posts: 90
Joined: Fri 5 Feb 2021 04:36
Country:
China (cn)
China

Rectangular aperture in field map

Post by Chinashliu »

Hi Didier,

I noticed there's a way to define the aperture in field maps with .ouv file, but the aperture is round. I'm wondering if it's possible to define rectangular aperture? I was doing some work about dipole field maps, in which the aperture is a rectangle.

Kinds,
shliu
User avatar
FranceDidier
Administrator
Administrator
Posts: 863
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Rectangular aperture in field map

Post by FranceDidier »

Hi Shliu,

Actually, there are 3 ways..
You can also overlay a 3D aperture map "FIELD_MAP 1000 ...". It allows you to define any form of aperture.

Regards,

Didier
Chinashliu
Competent
Competent
Posts: 90
Joined: Fri 5 Feb 2021 04:36
Country:
China (cn)
China

Re: Rectangular aperture in field map

Post by Chinashliu »

Hi Didier,

I don't quite get your point. "FIELD_MAP 1000 ..." also defines round apertures, right?
User avatar
FranceDidier
Administrator
Administrator
Posts: 863
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Rectangular aperture in field map

Post by FranceDidier »

Sorry, type is 10000, corresponding to 3D aperture map. An usual 3D Field map syntax, but where '1' is matter and '0' is vacuum

Didier

Code: Select all

geom parameter is an integer, made of 5 figures, defining the field map type :
o	unit figure (10^0)		: static electric field,
o	tens figure (10^1)		: static magnetic field,
o	hundreds figure (10^2)		: RF electric field,
o	thousands figure (10^3)		: RF magnetic field,
o	ten thousands figure (10^4)	: 3D aperture map (since 2.4.0.1 version),
Chinashliu
Competent
Competent
Posts: 90
Joined: Fri 5 Feb 2021 04:36
Country:
China (cn)
China

Re: Rectangular aperture in field map

Post by Chinashliu »

OK, I see. In that case, "Ka" should be set to 0 if my understanding is correct? And how to define the field_map file (I mean, it is still in .ouv file or just field map files)?
User avatar
FranceDidier
Administrator
Administrator
Posts: 863
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Rectangular aperture in field map

Post by FranceDidier »

Hi,

Typically you use one of your 3 field_map of your magnetic element, where you replace field value by '0':vaccum and the rest is set to '1':materail
Whatever ka or ke. This should represent your actual aperture.

Regards,

Didier
Chinashliu
Competent
Competent
Posts: 90
Joined: Fri 5 Feb 2021 04:36
Country:
China (cn)
China

Re: Rectangular aperture in field map

Post by Chinashliu »

I see. Thank you!
Chinashliu
Competent
Competent
Posts: 90
Joined: Fri 5 Feb 2021 04:36
Country:
China (cn)
China

Re: Rectangular aperture in field map

Post by Chinashliu »

Hi Didier,

My lattice file is written as below:

Field_map_path Field_Maps/3D
SUPERPOSE_MAP 0 0 0 0 0 0
FIELD_MAP 0070 1160 0 150 -1.08704 0 0 0 Q1 0
SUPERPOSE_MAP 0 0 0 0 0 0
FIELD_MAP 10000 1160 0 150 -1.08704 0 0 0 Q1_APTR 0
SUPERPOSE_MAP 1000 0 0 0 0 0
FIELD_MAP 0070 1000 0 250 1.01208 0 0 0 Q2 0
end

The Q1_APTR.bsz file is written as:
232 1.160000
120 -0.300000 0.300000
32 -0.080000 0.080000
1
1
1
...
0
0
0
...
1
1
1
...

There's an error saying that the .ouv file is needed.

So are there any mistakes? Or do you mind sharing a simple example?

Kinds,
Shliu
User avatar
FranceDidier
Administrator
Administrator
Posts: 863
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Rectangular aperture in field map

Post by FranceDidier »

Dear Shliu,

Simply, you aperture field_map file name must be "Q1_APTR.ouv" !

Regards,

Didier
Chinashliu
Competent
Competent
Posts: 90
Joined: Fri 5 Feb 2021 04:36
Country:
China (cn)
China

Re: Rectangular aperture in field map

Post by Chinashliu »

Seems it works. Thank you!
Post Reply