For that, you have to use a mechanical set of coupled load type, and to define the inertia and the friction coefficients. Flux will start the motor and find out the no load speed. This is also explained in our brushless tutorial BrushlessIPMMotor available in
C:\Altair\FluxDocExamples_12.3\Examples2D\Tutorial_Technical\BrushlessIPMMotor