Create a sinusoidal magnetic flux density with a line region.

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


  • Select name of the line region
  • Select a list of lines for the line region
  • Select name of spatial quantity
  • Select value of maximum flux density (in Tesla)
  • Select rotor external radius (in meter)
  • Select depth of the domain (in meter)
  • Select number of pole pairs
  • Select speed of the rotating field
  • Initial position (in mechanical degree)


  • Creation of a spatial quantity for the magnetic flux
  • Creation of the line region which will be directly applied to the lines selected