The efficiency of cylindrical magnetic field inductors is determined by the value of the field inside their working chamber. This field is driven by a three-phase stator winding. The electrical quantities and magnetic induction in the inductor depend on its shortening. The purpose of this work is to determine the rational shortening of the stator winding. The solution of the problem is achieved on the basis of numerical calculations of magnetic fields in the FEMM software package using the finite element method. The construction of physical and geometric design models of the stator, calculations of magnetic fields and electromagnetic parameters of the inductor are automated using the created Lua script built into the FEMM program. The pictures of the distribution of magnetic field lines with diametric and shortened stator windings are given. A comparison is made between the EMF and the winding voltage, as well as the distribution of the magnetic induction over the surface of the working chamber and along the center line of the teeth with different variants of shortening the winding pitch.