Material assignment

Command: def_mat_air(x, y)

Defines the area selected by the coordinates x and y as air (superelement or subregion).

Parameter
x/y Coordinates of ‘seed’ point

Command: def_mat_fm(x, y, color, muer, rlen)

Defines the area selected by the coordinates x and y as a ferromagnetic material with constant permeability (superelement or subregion) (linear).

Parameter
x/y Coordinates of ‘seed’ point
color Colour (“blue”, “green”, …) (optional parameter)
muer Relative permeability
rlen Relative axial length (in z-direction), %

Note

The optional parameter color is supported since FEMAG Version 8.3 (Rev. 2462).

Command: def_mat_fm_nlin(x, y, color, mcvfile, rlen, orient)

Defines the area selected by the coordinates x and y as a ferromagnetic material with variable permeability (superelement or subregion) (nonlinear).

Parameter
x/y Coordinates of ‘seed’ point
color Colour (“blue”, “green”, …) (optional parameter)
mcvfile File name of the magnetization characteristic (with or without extension) in quotation marks; e.g., “M800-50A”
rlen Relative axial length (in z-direction), %
orient (optional) angle in degrees of magnetizing orientiation for anisotropic BH curves (since FEMAG Version 9.0.2 Rev. 3835)

Command: def_mcv(bh)

create a magnetization curve to be used by def_mat_fm_nlin (or mcvkey in parametrized slot models)

Parameter
bh name and properties of B-H curve (lua table)

Example

def_mcv({name='MCV1', type='soft iron', rho=7.65,
         b={0.0, 1.0499999523162842, 2.0999999046325684},
         h={{0.0, 42268.97265625, 84537.9453125},
            {0.0, 102766.9140625, 205533.828125}},
         alpha={0, 90}})

Command: def_mat_pm(x, y, color, Br, muer, orient, type, cond, rlen)

Defines the area selected by the coordinates x and y as a permanent-magnet material with constant permeability; (superelement or subregion) (linear).

Parameter
x/y Coordinates of ‘seed’ point
color Colour (“blue”, “green”, …) (optional parameter)
Br Remanent flux-density [T]
muer Relative permeability
orient Alignment or orientation of magnetization [deg] (with halbach polar number)
type Type of magnetization (parallel, radial, halbach, cartiso, poliso, cartaniso, polaniso)
cond Conductivity in S/m (optional; default value is 0)
rlen Relative axial length (in z-direction), %

Note

The parameter of conduction (cond) is supported since FEMAG Version 8.2 (Rev. 2120).

Command: def_mat_pm_nlin(x, y, color, mcvfile, orient, type, cond, rlen)

Defines the area selected by the coordinates x and y as a permanent-magnet material with variable permeability (superelement or subregion) (nonlinear).

Parameter
x/y Coordinates of ‘seed’ point
color Colour (“blue”, “green”, …) (optional parameter)
mcvfil File name of the magnetization characteristic (with extension) in quotation marks; e.g., “FERRIT”
orient Alignment or orientation of magnetization [deg]
type Type of magnetization (m.parallel, m.radial, m.halbach, m.cartiso, m.poliso, m.cartaniso, m.polaniso)
cond Conductivity in S/m (optional; default value is 0)
rlen Relative axial length (in z-direction), %

Command: set_mat_perm(x, y, muer1, muer2)

Assignment of magnetic conductivity (permeability). Other material properties remain unaffected.

Parameter
x/y Coordinates of ‘seed’ point
muer1 Relative permeability in x-direction
muer2 Relative permeability in y-direction (optional; default is muer2 = muer1)

Command: set_mat_cond(x, y, cond, rlen)

Defines the area selected by the coordinates x and y as an electrical conductor; (superelement or subregion). Other material properties remain unaffected.

Parameter
x/y Coordinates of ‘seed’ point
cond Conductivity [S/m]
rlen Relative axial length (in z-direction), % (optional)

Command: set_mat_velo(x, y, velsys, velo1, velo2)

Assigns a speed (Geschwindigkeit. Other material properties remain unaffected.

Parameter
x/y Coordinates of ‘seed’ point
velsys Reference system of movement (cartes, polar, cylind) (optional)
velo1 Velocity in the first coordinate [m/s]
velo2 Velocity in the second coordinate [m/s] or [rad/s]

If the optional argument velsys is not specified, the current reference system is selected; this is the typical case.

Command: search_mcv_file(filename)

Find an MCV file and add it to the file list.

Parameter
filename File name, without extension