Beyond gaps greater than total magnet length you will likely see increased leakage and with close magnet spacing you may see leakage effects with gaps at magnet length.
The linear approximation I gave is not really applicable with large changes in gap but works well enough if you don't stray too far from the magnets best operating point.
Flux[ Parent ]