pyleecan.Functions.FEMM.create_FEMM_magnet module

create_FEMM_magnet(femm, is_mmf, is_eddies, materials, mag_obj, T_mag)[source]

Set the material of the magnet in FEMM

Parameters:
  • femm (FEMMHandler) – client to send command to a FEMM instance

  • 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

  • mag_obj (Magnet) – Magnet object to set the material

  • T_mag (float) – Permanent magnet temperature [deg Celsius]

Returns:

property, materials

Return type:

(str, list)