The following tutorials use SimLab with the Flux solver for the modeling and analysis of a 2D electric motor. The studied device, a brushless DC motor with surface permanent magnet, includes the following elements:
- a fixed part (stator) including yoke, slots, and windings.
- an air gap.
- a movable part (rotor) with surfaced magnets.
Step 1 - deals with the motor geometry and mesh construction with Simlab sketcher.

Here are the files to follow the tutorial:
Step 2 - deals with motor physics definition and solving process for the following cases:
- Cogging torque analysis
- Back EMF analysis
- Constant speed analysis

Here are the files to follow the tutorial: