The method of virtual work utilizes that, under constant magnetic flux conditions (
Ref. 5), the total magnetic force on a system is computed as
where is the rotational angle about the axis.
Under the condition of constant currents, the total force and torque are computed in the same way but with opposite signs,
Under the condition of constant charges, the total electric force and torque on a system are computed as
Under the condition of constant potentials, the total electric force and torque on a system are computed as