Initial magnetization
- Init Mag: Name of routine to use to initialize the
simulation magnetization directions (as a function of position), and
routine parameters, if any. Optional, with default Random. The list
of routines is long, and it is easy to add new ones. See the file
oommf/app/mmsolve/maginit.cc for details. A few of the more
useful routines are:
- Random
Random directions on the unit sphere. This
is somewhat like a quenched thermal demagnetized state.
- Uniform theta phi
Uniform magnetization in the direction
indicated by the two additional parameters, theta and phi, where the first is the angle
from the -axis (in degrees), and the second is the angle
from the -axis (in degrees) of the projection onto the
-plane.
- Vortex
Fits an idealized vortex about the center of the
sample.
- avfFile filename
The second parameter specifies an OVF/VIO (i.e., “any”
vector field) file to use to
initialize the magnetization. The grid in the input file will
be scaled as necessary to fit the grid in the current
simulation. The file must be accessible to the intended solver
application.
OOMMF Documentation Team
September 27, 2024