product

applications

support

Main >> Downloads >> Cylinder PM force 3D

free tool for QuickField simulation software, permanent magnet force 3D

This script calculates the force and torque acting between several axially magnetized cylinders, arbitrarily positioned in 3D space.

Calculation is based on the discretization of the prismatic surface by user-defined number of divisions, and numerical integration of the surface integrals using the formulas:
**F** = 0.5 ∫(**H**(**B**·**n**) + **B**(**H**·**n**) - **n**(**H**·**B**))*ds*
**T** = 0.5 ∫([**r**x**H**](**B**·**n**) + [**r**x**B**](**H**·**n**) - [**r**x**n**](**H**·**B**))*ds*,

where **F** and **T** are vectors of the magnetic force and torque,
**r** and **n** are the radius vector and the normal vector to the surface element,
**B** and **H** are the flux density and strength vectors of the combined magnetic field.

Script allows to combine the field of up to 5 magnetized cylinders. Input parameters of the script are the fields marked yellow on the sheet *UI* of the Excel document. Output results are displayed in the fields marked blue on the same sheet.

Simulation examples:

Magnetic forces between two axially magnetized cylinders. Case 1: Cylinders are coaxial,

Magnetic forces between two axially magnetized cylinders. Case 2: Cylinder axes are parallel,

Magnetic forces between two axially magnetized cylinders. Case 3: Cylinder axes are orthogonal.

The software is provided "as is" and the author disclaims all warranties with regard to this software including all implied warranties of merchantability and fitness. in no event shall the author be liable for any special, direct, indirect, or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software.