We have obtained a variable magnetic field in center space region at the inner permanent magnets by changing their relative angle. We present the calculated alterable and rotary magnetic field direction and strength,design the permanent magnets structure and the automatic control system of the device, and analyse the application in the growth of the single crystal . The system not only can be applied in material sciences, but also widely in biomedical sciences, chemical sciences, and national defense.