Home / Examples / Magnetic Analysis (Gauss, Static Analysis/Harmonic analysis) / Example 5: Force between Two Magnets

The force between two magnets is analyzed.
The vectors of the magnetic field and the magnetic flux density, and the electromagnetic forces are solved.
Unless specified in the list below, the default conditions will be applied.
Results will vary depending on Femtet version and the PC environment.
Item |
Settings |
Analysis Space |
3D |
Model Unit |
mm |
Item |
Settings |
Solver |
Magnetic Analysis [Gauss] |
Analysis Type |
Static Analysis |
Options |
N/A |
Two solid bodies of magnets (mag1, mag2) are defined.
The magnetizing direction of the magnet is +Z by default.
Therefore, the top of the magnet is the N pole and the bottom is the S pole.
Mesh size is set at 0.5 [mm] as the magnetic field changes drastically between the magnets.
Set the gap between the bodies and mesh size properly to obtain valid calculation results.
See [Calculation of the Electromagnetic Force] for more details.

Body Number/Type |
Body Attribute Name |
Material Name |
0/Solid |
mag1 |
mag |
2/Solid |
mag2 |
mag |
* Available from the material DB
The material properties are set up as follows:
Material Name |
Tab |
Properties |
mag |
Permeability |
Material Type: Permanent Magnet |
Magnet |
Magnetization Strength: 0.5 |
No setting.
To see the electromagnetic force, go to the [Results] tab

and click [Table]
.

Two magnets are pulling each other with the approximate force of 2.4 [N] in the Z direction.
The vectors of the magnetic field are shown below.

The strong magnetic field is generated in the gap between the magnets.
In the figure below, the magnetic field of the inside of magnets is shown and that in the air is hidden.

You can see that the direction of the magnetic field at the magnet poles is opposite to that in the air.
The vectors of the magnetic flux density are shown below.

Inside the magnet, the directions of the magnetic flux are the reversal of those of the magnetic field.