In this paper, a simulator named “MagTetris” is proposed for fast magnetic field (B-field) and force calculation for permanent magnet arrays (PMAs) designs consisting of cuboid and arc-shaped magnets (approximated by cuboids) with arbitrary configurations. The proposed simulator can compute the B-field of a PMA on arbitrary observation planes and the magnetic force acting on any magnet/group of magnets. An accelerated calculation method for B-fields of PMAs is developed based on the current model of permanent magnet, which is further extended to magnetic force calculation. The proposed method and the associated codes were validated with numerical simulation and experimental results. The calculation speed of “MagTetris” is at least 500 times higher than that using finite-element method (FEM)-based software with uncompromised accuracy. Compared with a freeware in Python, Magpylib, “MagTetris” has a calculation acceleration of greater than 50% using the same language. “MagTetris” has a simple data structure, which can be easily migrated to other programming languages maintaining similar performances. This proposed simulator can accelerate a PMA design and/or allow designs with high flexibility considering the B-field and force simultaneously. It can facilitate and accelerate innovations of magnet designs to advance dedicated portable MRI in terms of compactness, weight, and performance.
Read full abstract