Since version 2026, Flux 3D and Flux PEEC are no longer available.

Please use SimLab to create a new 3D project or to import an existing Flux 3D project.

Please use SimLab to create a new PEEC project (not possible to import an existing Flux PEEC project).

/!\ Documentation updates are in progress – some mentions of 3D may still appear.

HalbachMagnetization2D.PFM

Description

Generate Halbach magnetization for the selected face regions. A new material Halbach_magnet with the desired orientation and remanence induction will be defined and assigned to these face regions.

Note: For more details about this macro, consult this additional document

Input

  • Remanent flux density (in Tesla)
  • Magnet relative permeability
  • Angle for maximum remanent induction (in degree)
  • Number of pole pairs
  • Face regions of the magnets with Halbach magnetization

Output

  • Create a new material with the desired magnetization profile and assign it to the magnet’s face region