I think i would do better to write a book on machine design, but never mind, i will give it here free of charge.
Magnetic flux passes through iron about 1000 times more easily than air, so that is why we use iron circuits in electrical machines. Even the dual rotor has an iron circuit ( the discs) that increases the flux, but the coils are in a long air gap and it needs a lot of magnet to produce a strong field in a large air gap.
If you make a tiny air gap you have no room for wire of useful thickness. This problem was solved by Pacinotti about 150 years ago by making slots in the iron core and winding the coils in the slots. You now have to look at things rather differently as the coil legs are in a region where there is virtually no flux. The flux passes through the iron teeth, but on its journey from N to S pole it links the coil via the iron core. This flux linkage reverses when the magnets move to the next pole pitch (magnet S to N ).
As the flux is passing from the magnet via the air gap to the teeth you have it split up into discrete lumps and something strange has to happen when a tooth comes from under the magnet. The air doesn't readily support the flux so the flux in the tooth drops rapidly as it leaves the magnet and transfers to the nearest one left under the magnet. If it is an open slot then this transfer is very snappy and there is a sudden disturbance in the flux path and a rapid change in flux results in a fast ripply peak in the coil voltage ( slot ripple). If the tips of the slots are bridged by a thin strip of iron then part of the flux transfer is via this bridge and the fall in flux in the leaving tooth is fairly gradual. Semi closed slots are a compromise that lets you wind it easily and have a compromise slot ripple.
It is this snapping flux and associated change in magnetic pull that causes cogging so the things are related.
Iron is very beneficial to the conduction of flux but it does cause other losses ( iron loss). Energy is needed to take the magnetic domains( the little bits that line up and carry the flux) round the magnetising loop. this is hysteresis loss and depends on the type of iron alloy. The other loss is caused by circulating currents in the iron and can occur in any conductor, this is eddy loss and can be almost completely prevented by breaking up the current paths so the voltage is too small to circulate significant currents. This is why we laminate cores.
I hope this is of some interest.
Flux