The set-up of the variable speed simulation in open-circuit of the surface permanent magnet machine is presented in the Simulation set-up tutorial, the corresponding simulation project is tuto_SPMSM_01.
The subdomain electromagnetic model is activated using
Input.Simu.type_Bmodel = 1;
The subdomain model can account for different magnetization patterns (radial, parallel, or Hallbach) of the surface magnets.
The obtained airgap flux density spatial distribution can be plotted with plot_B_space :
You can run the basic post processings and variable speed post processings showed at the beginning of the tutorial.