create_FEMM_magnet (method)¶
-
create_FEMM_magnet
(femm, label, is_mmf, is_eddies, materials, lam)[source]¶ Set the material of the magnet in FEMM
- Parameters
femm (FEMMHandler) – client to send command to a FEMM instance
label (str) – label of the magnet
is_mmfr (bool) – 1 to compute the lamination magnetomotive force / magnetic field
is_eddies (bool) – 1 to calculate eddy currents
materials (list) – list of materials already created in FEMM
lam (LamSlotMag) – Lamination to set the magnet material
- Returns
property, materials
- Return type
(str, list)