SBAU419 November 2022 TMAG5170
In addition to setting the strength of the magnetic material, the specific shape and orientation of the magnet influences the observed magnetic field. Each of the shapes and the respective default orientations is discussed in detail.
For each magnet, the placement within the simulation follows the magnet center. For example, coordinates of (0,0,0) place the centroid of the magnet on the origin. For a ring magnet, this point is not located within the body of the magnet since there is a bore hole through this part of the magnet. This is important to keep in mind when selecting the sensor location to avoid placing the sensor inside of the magnet body. In some cases, it is helpful to set the "Z Position" of the magnet at 1/2 the vertical height of the magnet. This places the global origin on the face of the magnet. With the magnet in this position, it becomes easier to place the sensor based on a known air gap distance.
All magnet shapes assume a starting orientation, and it may be necessary to perform rotations in order to obtain the desired alignment to the sensor. All multi-axis rotations will take place in X->Y->Z order.