C++ main module for emicrom Package  1.0
PUC files with 8 grains

The PUC consists in computing the equilibrium of the magnetization in a cube composed by 8 grains.

The size of the cube is 20 microns.

The mesh constains 128 cells in all directions. The distribution of the grains within the cube is described in the PUC geometry file

The matter parameters are as follow:

Ms Aimantations (A/m) 0.17e7
K Anisotropy (J/m^3) 4.8e4
A Exchange (J/m^3) 2.10e-8
L reference length (m) 1.5625e-7

The uniaxial anisotropy direction U1 is uniformly in the X-direction.

For each grain, the direction of anisotropy is transformed by spheric rotation defined with 3 angles thanks to the PUC grains file

The initial magnetism M is uniformly in the X direction.

anisotropy directions K1 along x over the domain.

The relaxation technics converges in 9928 iterations and stops because of the variation of energy is less than 1.e-8.

The value of magnetism field at equilibrium state are plot as follow:
equilibrium magnetism x-value equilibrium magnetism y-value equilibrium magnetism z-value

total magnetic excitation H norm of total magnetic excitation H equilibrium magnetism M colored by |H|

The variation of energies during the first iterations are as follow:
img src="../images/PUC8/puc-Edem.png" width="300px"/>
All energies uniaxial Anisotropy Energy demagnetized Energy exchange Energy

The hysteresis curve of the data leads to this kind of curve:
hysteresis curve