How is the geometry defined in mumax3 API?

How is the geometry defined in mumax3 API?

mumax3 has powerful API to programatically define geometries. A number of primitive shapes are defined, like ellipses, rectangles, etc. They can be transformed (rotated, translated) and combined using boolean logic (add, sub, inverse). All positions are specified in meters and the origin lies in the center of the simulation box.

What happens when you change the mesh in mumax3?

The mesh can be changed at any later time in the simulation. This will cause the magnetization to be stretched onto the new mesh if needed, and the geometry and regions to be re-calculated. After resize some cells which had zero magnetization may now fall inside the magnet geometry, they will be initialized to random magnetization.

How is ext _ makegrains used in mumax3?

The built-in extension ext_makegrains is used to define grain-like regions using Voronoi tessellation. We vary the material parameters in each grain. Scaling the exchange coupling between regions can be used to obtain antiferromagnetic coupling like the RKKY interaction.

Which is more robust, relax or mumax3?

In that case, Relax () is more robust (albeit much slower). mumax3 has powerful API to programatically define geometries. A number of primitive shapes are defined, like ellipses, rectangles, etc. They can be transformed (rotated, translated) and combined using boolean logic (add, sub, inverse).

What do you need to know about mumax 3?

Web interface showing the spatial magnetization. mumax 3 includes a browser-based user interface that lets you follow a running simulation or modify it on-the-fly, be it on your local machine or remotely. mumax3 provides simple yet powerful input scripting.

How to set the initial magnetization in mumax3?

The initial magnetization is set by assigning a Config to m, setting it in separate regions, or by loading a file directly. Assigning to a material parameter sets a value in all regions. E.g.: Disable magnetostatic interaction per region (default=0, set to 1 to disable). E.g.:

What is the value of edgesmooth in mumax3?

EdgeSmooth=n means n³ samples per cell are used to determine its volume. EdgeSmooth=0 implies a staircase approximation, while EdgeSmooth=8 results in quite accurately resolved edges. Note: these are 3D geometries seen from above. The displayed cell filling is averaged along the thickness (notable in ellipse and layers example).