* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download MUPRO main program manual
Lorentz force wikipedia , lookup
Photon polarization wikipedia , lookup
Magnetic field wikipedia , lookup
Condensed matter physics wikipedia , lookup
Magnetic monopole wikipedia , lookup
Neutron magnetic moment wikipedia , lookup
Aharonov–Bohm effect wikipedia , lookup
Spin (physics) wikipedia , lookup
Superconductivity wikipedia , lookup
MUPRO main program manual Table of Content Effective property calculation 1 Purpose of the program 1.1 Elastic system 1.2 Dielectric system 1.3 Piezoelectric system 1.4 Magnetic system 1.5 Piezomagnetic system 1.6 Magnetoelectric system 1.7 Diffustion system 1.8 Thermal conduction system 2 Computation Method 3 Format of input files Ferromagnetic domain evolution 1. Purpose of the program 2. Simulation Method 2.1 Basic design 2.2 Magnetization dynamics 2.3 External field, stray field, and magnetostatic boundary condition 2.4 Magnetocrystalline anisotropy 2.5 MagnetoElastic interaction 2.6 Magnetic exchange interaction 2.7 DzyaloshinskiiMoriya interaction (DMI) 2.8 Thermal fluctuation 2.9 Spin torque 3. Input files MuProMag examples μMag Standard Problem #1 μMag Standard Problem #2 μMag Standard Problem #3 μMag Standard Problem #4 μMag Standard Problem #5 Example #6 Example #7 Example #8 1 Effective property calculation 1 Purpose of the program The program calculates effective elastic, electric, magnetic, diffusion, and conduction, etc. properties of a given composite system with arbitrary composite structure, and the spatial distribution of mechanical, electric, and magnetic, etc. variables responsive to applied external fields. 1.1 Elastic system Calculates the effective elastic stiffness c of a composite; calculates the spatial distribution of strain ε and stress σ responsive to an applied strain/stress. The following equation(s) are solved. ∇ ∙ σ = 0, where σ = Cε0 1.2 Dielectric system Calculates the dielectric permittivity κr of a composite; calculates the spatial distribution of electric field E, electric polarization P, and electric displacement D, responsive to an applied electric field. The following equation(s) are solved. ∇ ∙ D = 0, where D = ε0κrE 1.3 Piezoelectric system Calculates the effective elastic stiffness c, dielectric permittivity κr, and piezoelectric charge coefficient d of a composite; calculates the spatial distribution of strain ε, stress σ, electric field E, electric polarization P, and electric displacement D, responsive to applied strain/stress and/or electric field. The following equation(s) are solved. 1.4 Magnetic system Calculates the magnetic permeability μr of a composite; calculates the spatial distribution of magnetic field H, magnetization M, and magnetic induction B, responsive to an applied magnetic field. The following equation(s) are solved. ∇ ∙ B = 0 , where B = μ0μrH + qσ 2 1.5 Piezomagnetic system Calculates the effective elastic stiffness c, magnetic permeability μr, and piezomagnetic coefficient q of a composite; calculates the spatial distribution of strain ε, stress σ, magnetic field H, magnetization M, and magnetic induction B, responsive to applied strain/stress and/or magnetic field. The following equation(s) are solved. 1.6 Magnetoelectric system Calculates the effective elastic stiffness c, dielectric permittivity κr, magnetic permeability μr, piezoelectric charge coefficient d, piezomagnetic coefficient q, and magnetoelectric coefficient α of a composite; calculates the spatial distribution of strain ε, stress σ, electric field E, electric polarization P, electric displacement D, magnetic field H, magnetization M, and magnetic induction B, responsive to applied strain/stress and/or magnetic field. The following equation(s) are solved. 1.7 Diffustion system Calculates the effective diffusivity D of a composite; calculates the spatial profile of concentration c of a steady state diffusion. The following equation(s) are solved. ∇ ∙ (D∇c) = 0 1.8 Thermal conduction system Calculates the effective thermal conductivity k of a composite; calculates the spatial profile of temperature T of a steady state heat conduction. The following equation(s) are solved. ∇ ∙ (k∇T ) = 0 2 Computation Method The mechanical equilibrium, electrostatic equilibrium, magnetostatic equilibrium, steady diffusion, and/or thermal equilibrium equations are solved using the fourier spectral iterative perturbation method.13 3 3 Format of input files Users need to prepare two files as input: parameter.in Declares the size of the system, the type of properties considered, properties of each phase, and external fields applied. The format is as follows: Table 1 Format of the input file parameter.in Data in the file l3 n3 l1 n1 l2 n2 CS Np CF Explanation System real size in each direction (nm) Total number of simulation grids in each direction Choice of the system: 1elastic; 2dielectric; 3piezoelectric; 4magnetic; 5piezomagnetic; 6magnetoelectric; 7diffusivity; 8thermal conductivity total # of phases Choice of the format of the input file struct.in: 1order parameter array; 2phase id array phase ID IP c11 c22 c33 c44 c55 c66 c12 c23 c34 c45 c56 c13 c24 c35 c46 c14 c25 c36 c15 c26 c16 εr11 εr22 εr33 εr23 εr13 εr12 (For CS=2,3,6) relative dielectric permittivity tensor εr (unitless) d11 d21 d31 d12 d22 d32 d13 d23 d33 d14 d24 d34 d15 d25 d35 d16 d26 d36 (For CS=3,6) piezoelectric charge coefficient tensor d (C/N) μr11 μr22 μr33 μr23 μr13 μr12 q11 q21 q31 α11 α21 α31 k11 κ11 q12 q22 q32 α12 α22 α32 k22 κ22 q13 q23 q33 α13 α23 α33 k33 κ33 q14 q24 q34 α14 α24 α34 k23 κ23 q15 q25 q35 α15 α25 α35 k13 κ13 q16 q26 q36 α16 α26 α36 k12 κ12 CP FC ε11 (σ11 ) E1 ε22 (σ22 ) E2 ε33 (σ33 ) E3 ε23 (σ23 ) ε13 (σ13 ) ε12 (σ12 ) (For CS=1,3,4,6) elastic stiffness tensor c (Pa) (For CS=4,5,6) relative magnetic permeability tensor μr (unitless) (For CS=5,6) piezomagnetic coefficient tensor q (T/Pa) These lines are repeated Np times, each time providin g the propertie s of one phase. (For CS=6) magnetoelectric coefficient tensor α (C/(A.m)) (For CS=7) diffusivity tensor k (m2⋅s1) (For CS=8) thermal conductivity tensor κ (W⋅m1⋅K1) Choice of the problem to be solved: 1effective properties calculation; 2response to external field (For CP=2, and CS=1,3,4,6) flag of the mechanical boundary condition: whether to use an applied strain (or otherwise an applied stress) (For CP=2, and CS=1,3,4,6) (For CC=.true.) applied strain (unitless); (For CC=.false.) applied stress (Pa) (For CP=2, and CS=2,3,6) applied electric field (V⋅m1) 4 H1 C1 T1 H2 C2 T2 H3 C3 T3 (For CP=2, and CS=4,5,6) applied magnetic field (A⋅m1) (For CP=2, and CS=7) average composition gradient (mol⋅m4) (For CP=2, and CS=8) average temperature gradient (K⋅m1) struct.in Contains the phase structure of the composite with order parameter arrays written in a rowmajor order. This file has two possible formats according to CF=1, and CF=2, respectively, as defined in parameter.in. The format is as follows: Table 2.1 Format of the input file struct.in for CF=1 o1(1, 1, 1) Data in the file n2 n 3 o2(1, 1, 1) … oN p(1, 1, 1) o1(1, 1, 2) o2(1, 1, 2) … oN p(1, 1, 2) Volume fraction ok of phase k (k=1,2,…,Np) at grid point (1,1,1) (Similar as above) ⋮ o1(1, 1, n3) ⋮ o2(1, 1, n3) ⋮ … ⋮ oN p(1, 1, n3) o1(1, 2, 1) o2(1, 2, 1) … oN p(1, 2, 1) o1(1, 2, 2) o2(1, 2, 2) … oN p(1, 2, 2) ⋮ o1(1, 2, n3) ⋮ o2(1, 2, n3) ⋮ … ⋮ oN p(1, 2, n3) ⋮ o1(1, n2, 1) ⋮ o2(1, n2, 1) ⋮ … ⋮ oN p(1, n2, 1) o1(1, n2, 2) o2(1, n2, 2) … oN p(1, n2, 2) ⋮ o1(1, n2, n3) ⋮ o2(1, n2, n3) ⋮ ⋮ … oN p(1, n2, n3) o1(2, 1, 1) o2(2, 1, 1) … ⋮ o1(2, n2, n3) ⋮ o2(2, n2, n3) ⋮ ⋮ … oN p(2, n2, n3) ⋮ o1(n1, 1, 1) ⋮ o2(n1, 1, 1) ⋮ … n1 ⋮ o1(n1, n2, n3) oN p(2, 1, 1) ⋮ oN p(n1, 1, 1) Explanation Total number of simulation grids ⋮ ⋮ ⋮ o2(n1, n2, n3) … oN p(n1, n2, n3) Data in the file n1 n2 p(1, 1, 1) p(1, 1, 2) ⋮ p(1, 1, n3) p(1, 2, 1) p(1, 2, 2) ⋮ p(1, 2, n3) Table 2.2 Format of the input file struct.in for CF=2 n3 Explanation Total number of simulation grids in each direction ID of the dominant phase at grid point (1,1,1) (Similar as above) 5 ⋮ p(1, n2, 1) p(1, n2, 2) ⋮ p(1, n2, n3) p(2, 1, 1) ⋮ p(2, n2, n3) ⋮ p(n1, 1, 1) ⋮ p(n1, n2, n3) A sharp interface model is adopted for CF=2. References [1] S.Y. Hu, L.Q. Chen, A phasefield model for evolving microstructures with strong elastic inhomogeneity, Acta Mater. 49 (2001) 1879. [2] J.J. Wang, X.Q. Ma, Q. Li, J. Britson, L.Q. Chen, Phase transitions and domain structures of ferroelectric nanoparticles: Phase field model incorporating strong elastic and dielectric inhomogeneity, Acta Mater. 61 (2013) 7591. [3] J. J. Wang, Y. Song, X. Q. Ma, L.Q. Chen, and C.W. Nan, Static magnetic solution in magnetic composites with arbitrary susceptibility inhomogeneity and anisotropy, J. Appl. Phys. 117 (2015) 043907. 6 Ferromagnetic domain evolution 1. Purpose of the program The program simulates the microstructure evolution of a magnet under applied external fields. 2. Simulation Method 2.1 Basic design The total size of the simulation system is l1 × l2 × l3 , which is evenly discretized into n1 × n2 × n3 cuboid grids, i.e., the size of each simulation grid is Δl1 = l1/n1 , Δl2 = l2/n2 , and Δl3 = l3/n3 .. The simulation system can be one of the following types: Bulk, 3D; Bulk, 2D; Bulk, 1D; Thin film, 3D; Thin film, 2D; Islandonsubstrate, 3D; Islandonsubstrate, 2D; Freestanding finitesize magnet, 3D; Freestanding finitesize magnet, 2D; Freestanding finitesize magnet, 1D. A set of additional parameters are used to specify the system, which may include the film thickness nf, island (or finitesize magnet) thickness ni3, island (or finitesize magnet) lengths ni1 and ni2, and substrate thickness ns. Schematics of all types of systems and corresponding parameters are listed below. All the parameters are in the unit of grid numbers. Table 2.1 Types of systems System type and schematics Bulk, 3D Parameters specifying the system n1 n2 n3 nf ni3 Value of parameters Length of the system along x1 direction Length of the system along x2 direction Length of the system along x3 direction 0 0 7 Bulk, 2D n1 n2 n3 nf ni3 Length of the system along x1 direction 1 Length of the system along x3 direction 0 0 n1 n2 n3 nf ni3 n1 n2 n3 nf ns Length of the system along x1 direction 1 1 0 0 Length of the system along x1 direction Length of the system along x2 direction Length of the system along x3 direction Thickness of the film along x3 direction Thickness of the substrate along x3 direction n1 n2 n3 nf ns Length of the system along x1 direction 1 Length of the system along x3 direction Thickness of the film along x3 direction Thickness of the substrate along x3 direction n1 n2 n3 nf ni3 ns CIsland ni1 ni2 n1 n2 n3 nf ni3 Length of the system along x1 direction Length of the system along x2 direction Length of the system along x3 direction 0 Thickness of the island along x3 direction Thickness of the substrate along x3 direction 1 Length of the island along x1 direction Length of the island along x2 direction Length of the system along x1 direction 1 Length of the system along x3 direction 0 Thickness of the island along x3 direction Bulk, 1D Thin film, 3D Thin film, 2D Island(s)onsubstrate, 3D Island(s)onsubstrate, 2D 8 Freestanding finitesize magnet, 3D Freestanding finitesize magnet, 2D Freestanding finitesize magnet, 1D ns CIsland ni1 ni2 Thickness of the substrate along x3 direction 1 Length of the island along x1 direction 1 n1 n2 n3 nf ni3 ns CIsland ni1 ni2 n1 n2 n3 nf ni3 ns CIsland ni1 ni2 n1 n2 n3 nf ni3 ns CIsland ni1 ni2 Length of the system along x1 direction Length of the system along x2 direction Length of the system along x3 direction 0 Thickness of the magnet along x3 direction 0 1 Length of the magnet along x1 direction Length of the magnet along x2 direction Length of the system along x1 direction Length of the system along x2 direction 1 0 1 0 1 Length of the magnet along x1 direction Length of the magnet along x2 direction Length of the system along x1 direction 1 1 0 1 0 1 Length of the magnet along x1 direction 1 CIsland on input specifies whether the inplane (i.e., in x1x2 plane) shape of an island or a freestanding finitesize magnet be a rectangle (CIsland=1), an ellipse (CIsland=2), or any other arbitrary shape (CIsland=0), respectively. On setting CIsland=2, ni1 and ni2 would specify the major or minor axes of the ellipse along x1 and x2 directions, respectively. On setting CIsland=0, an arbitrary inplane shape defined in an input file islandShape.in would be adopted (see Section 3 for details). Cases for CIsland=2 and CIsland=0 are omitted in Table 2.1. For thin films and island(s)onsubstrate systems, the thickness of the substrate should be at least 11 grids, i.e., ns ≥ 11 . At all actual surfaces of a magnet, a number of at least 4 stacking layers of vacuum is needed, if one or more of the following components is considered: (demagnetizing) stray field, magnetoelastic interaction, exchange interaction, or DzyaloshinskiiMoriya interaction (DMI). For example, for simulating a cuboid island with a length of ni1 grids along x1 direction, n1 should be chosen following (n1 − ni1)/2 ≥ 4 . 9 Spatial distribution of the local magnetization vector M (x) = M Sm(x) is used to describe magnetic domain structure, where x is the position vector, MS is the spontaneous magnetization, and m is the normalized magnetization. The SI units are adopted in μPro® Mag and in this documentation. A set of Euler angle arrays including ϕ(x), θ(x), and ψ(x) are introduced to treat a polycrystal. These angle arrays rotate the system coordinate axes to the local crystallographic coordinate axes. The transformation matrix a from the system coordinates to the local crystallographic coordinates is (1) For example, transformation of a vector v from the system coordinates to local crystallographic coordinates follows vi′ = aijvj (i, j = 1, 2, 3) . Here a prime (‘) in a subscript following an index 1, 2, or 3 indicates the local crystalline coordinate, e.g., m1’(x) is the component of m(x) along the local crystallographic coordinate axis x1′ at position x. Note that Einstein summation convention is adopted throughout the documentation. 2.2 Magnetization dynamics Temporal evolution of m is governed by the LandauLifshitzGilbert (LLG) equation, i.e., (2) where t is the time, τ is the total torque, α is the damping constant, γ0 is the gyromagnetic ratio in m/(A ∙ s) . Heff is the effective magnetic field given by . (3) Where μ0 = 4π × 10 N/A is the vacuum permeability, and F[M] is the Helmholtz free energy of the system, as a functional of the magnetization distribution. Heff includes the following contributions: ● External field Hext ; ● Magnetic stray field or demagnetizing field Hd; ● Magnetocrystalline anisotropy field Hanis ; ● Magnetoelastic field Helas; ● Exchange interaction field Hexch; ● DzyaloshinskiiMoriya interaction (DMI) field HDMI; ● Thermal fluctuation field Htherm; −7 2 10 ● Effective field from spintransfer torque or spinorbit torque HST, as below, . (4) μPro® Mag provides two numerical methods for solving the LLG equation: ● IGS, implicit GaussSeidel projection method[1] implemented with FourierSpectral approach[2][3]. Contribution of the shortrange interaction H exch is implicitly considered, while other contributions to Heff are explicitly evaluated. ● RK4, the RungeKutta method. All contributions to Heff are explicitly evaluated. The time during magnetization evolution is discretized into time steps with a fixed duration Δt , i.e., t = ktΔt where kt is the step number. The recommended range for the value of Δt is 10−14s ≤ Δt ≤ 10−12s , for numerical stability and accuracy. 2.3 External field, stray field, and magnetostatic boundary condition The magnetic field H consists of external field and magnetostatic stray field, i.e., H = H ext + H stray . In μPro® Mag, the external field Hext is considered spatially uniform in the simulation system, in the unit of A/m. The volume density of external field energy is given by . (5) μPro Mag provides two options of specifying an option of choosing Hext on input: ● As a combination of a DC and an AC component, i.e., H ext = H DC + H ACsin(2πf AC ∙ t) ● As an array of the external magnetic field sequence H ext(t) The magnetostatic stray field energy is given by ® (6) The energy density is written as . (7) Hstray is obtained at each evolution step by solving the magnetostatic equilibrium equation (8) Two types of boundary condition are used for Hstray. In a period boundary condition, the simulation system is considered as a building block that appears repeatedly appear in 3D space, ˉ , where ϕ is the magnetic scalar and the stray field is expressed as H stray =− ∇ϕ + N D + M potential with a periodic boundary condition solved using the Fourier spectral method, as given 11 in Ref. [3], the 3×3 symmetric matrix ND is the demagnetizing factor which depends only on the macroscopic shape of the actual sample (not the shape of the simulation system, e.g., see Table ˉ is the average magnetization of the simulation system. In a finitesize boundary 2.2), and M condition, space outside the simulation system is considered to be filled by vacuum without magnetization, electric charge, or current etc., and the stray field is solved based on convolution theorem accelerated by FFT[4], without explicitly utilizing demagnetizing factors. Table 2.2 lists the recommended stray field boundary conditions and (when applicable) demagnetizing factors for typical types of systems. Table 2.2 Recommended stray field boundary condition and demagnetizing factor System type Boundary condition Bulk (periodic) Periodic Thin film (periodic inplane) Island(s)onsubstrate arrays (periodic inplane) Single group of island(s)onsubstrate Freestanding finitesize magnet Periodic Periodic Diagonal components (ND11, ND22, ND33, ND23, ND13, ND12) (0, 0, 0, 0, 0, 0) or (1/3, 1/3, 1/3, 0, 0, 0), or calculated based on the macroscopic shape of the sample (0, 0, 1, 0, 0, 0) (0, 0, 1, 0, 0, 0) Finitesize / Finitesize / 2.4 Magnetocrystalline anisotropy Two types of magnetocrystalline anisotropy are considered, the cubic anisotropy with magnetic easy axes along <100>, <110>, or <111> crystal axes, and the uniaxial anisotropy in ultrathin films with a magnetic easy/hard axis perpendicular to the film plane. The volume density of magnetocrystalline anisotropy energy is given by Cubic anisotropy (9A) Uniaxial anisotropy (9B) where K is the magnetocrystalline anisotropy coefficient. The anisotropy effective field is calculated as (10) 12 2.5 MagnetoElastic interaction The elastic energy density is given by (11) where c is the elastic stiffness tensor, ε is the strain, and ε0 is the stressfree strain calculated as (12) where λ100 and λ111 are saturation magnetostriction along <100> and <111> crystalline axes, respectively. The magnetoelastic effective field is written as (13) c(ε − ε0) . where σ is the stress field given by σ = Assuming that the elastic equilibrium condition holds at each evolution step, the strain and stress are obtained at each evolution step through solving the mechanical equilibrium equation (14) using a Fourier spectral method[5][6] based on Khachaturyan’s elasticity theory[7]. Table 2.3 summarizes the boundary conditions implemented in typical types of systems. Examples showing the influence of elastic boundary condition on the magnetic domain structure can be found in Ref.[8]. Table 2.3 Elastic boundary conditions System type Bulk (periodic) Thin film (periodic inplane) Island(s)onsubstrate Freestanding finitesize magnet Boundary condition 3d periodic, with specified applied strain εa or applied stress σa Thin film boundary condition (see Ref. [5] for details), with specified a a a inplane substrate strain εa (i.e., ε11 , ε22 , and ε12 ) Periodic inplane, stressfree island surfaces, with specified inplane a a a substrate strain εa (i.e., ε11 , ε22 , and ε12 ) Stressfree An iterative FourierSpectral method is used (see details in Ref. [6]) to solve equation (14) in elastically inhomogeneous systems (that is, spatially variant c), including: ● Islandonsubstrate system ● freestanding finitesize systems ● Polycrystals ● Filmonsubstrate system where the magnet and substrate have different elastic stiffness. 13 A convergence of the iterative approximation is claimed when the difference of total elastic energy between adjacent recursion loops is within a tolerance value Δe (arbitrary unit), i.e., (n) (n) |F elas − F (n−1) | ≤ Δe , where F elas is the total elastic energy of the nth iterative approximation. If elas convergence is not reached after the allowed maximum number nRecurs of recursion loops, the program claims to fail to solve the mechanical equilibrium equation and stops. An output file fort.72 will be generated and updated on solving the mechanical equilibrium equation with inhomogeneous elasticity, containing the total elastic energy (arbitrary unit) in every recursion loop. Both nRecurs and Δe are user adjustable (see Section 3) with recommended range of 5 3 100~2000 and 10 ~10 , respectively. 2.6 Magnetic exchange interaction The density of magnetic exchange energy is given by (15) where A is the exchange constant in the unit of J/m. The exchange field is expressed as (16) 2.7 DzyaloshinskiiMoriya interaction (DMI) The DMI module in μPro® Mag belongs to the interface type[9], which can be invoked when simulating an ultrathin magnetic thin film or island with perpendicular magnetic anisotropy. Consider a homogenous effective DMI constant D, the interface DMI energy density is given by (17) The effective magnetic field due to DMI is therefore expressed as (18) where e3 is the unit vector along the x3 direction. 14 2.8 Thermal fluctuation The thermal fluctuation field is given by H therm = η √ 2αkBT μ0M Sγ0ΔV Δt (19) where kB = 1.38064853 × 10−23J ∙ K −1 is the Boltzmann constant, T is the Kelvin temperature, ΔV = Δl1 × Δl2 × Δl3 is the volume of a grid, and η is a random vector with three independent components η1, η2, and η3 all obeying standard normal distribution. Values of these three components are independent at each evolution step. 2.9 Spin torque The spinorbit torque and Slonczewski spintransfer torque are given by τ ST = τ0 (20) 1+α2 (m × (mp × m) − α(mp × m)) Where mp is the normalized fixedlayer magnetization in the case of spintransfer torque, while represents the direction of spin current generated through Spin Hall Effect; and the prefactor τ 0 depends on the type of the spin torque. For spinorbit torque[10], (21) Where μB = 9.27400968 × 10 A ∙ m2 is the Bohr magneton, J is the electric current density, θSH is the spin Hall angle, e = 1.6021766209 × 10−19C is the elementary charge. d is the thickness of the free magnetization layer, as defined with the type of the system (see Table 2.1). For Slonczewski spintransfer torque[11][12], −24 (22) where is the spin polarization constant. The effective field corresponding to spinorbit torque or Slonczewski spintransfer torque is given by (23) 15 The ZhangLi spintransfer torque is given by[13] 1 B (24) τ ST = 1+α 2 2eM (1+ξ2) ((1 + ξα)m × (m × (J ∙ ∇)m) + (ξ − α)m × (J ∙ ∇)m) μ S where ξ is the degree of nonadiabaticity. The effective field corresponding to a ZhangLi spintransfer torque is given by (25) 3. Input files Users need to prepare one to five files as input: parameter.in Declares the size of the system, the type of properties considered, properties of each phase, and external fields applied. This file can be written using the GUI provided in μPro® package. The format is as follows: Table 3.1 Format of the input file parameter.in Data in the file l2 n2 nf CIsland ni1 ni2 l1 n1 ns l3 n3 ni3 CGrain φC θC ψC MS γ α FlAnis CAnis K1 K2 K3 Explanation System real size along x1, x2, and x3 directions (nm) Total number of simulation grids along x1, x2, and x3 directions See Section 2.1 See Section 2.1 See Section 2.1 Choice of input type of crystalline grain structure: 0Euler angles φ, θ, and ψ (°) array read from file eulerAng.in; 1single crystal with specified Euler angles (For CGrain=1) Euler angles φ, θ, and ψ (°) of the single crystal orientation MS – saturation magnetization (A/m); γ – electron gyromagnetic ratio (m/(A.s)); α – damping constant (unitless) Flag of whether to consider magnetocrystalline anisotropy (For FlAnis=true) Choice of type of magnetocrystalline anisotropy: 1cubic; 2uniaxial (For FlAnis=true and CAnis=1) K1, K2, K3 – cubic magnetocrystalline anisotropy coefficient K (J/m3); 16 FlStray FlPer ND11 ND23 ND22 ND13 ND33 ND12 CHext HDC1 HAC1 fAC A FlElas λ100 c1’1’ HDC2 HAC2 λ111 c1’2’ HDC3 HAC3 c4’4’ cs1’1’ cs1’2’ cs4’4’ FlStrain α ε11 α ( σ11 ) α ε22 α ) ( σ22 α ε12 α ) ( σ12 α ε33 α ) ( σ33 α ε13 α ) ( σ13 α ε23 α ) ( σ23 nRecurs Δe FST CST θSH ηSP ξSTT J1 J2 J3 mP 1 mP 2 mP 3 FlDMI D FlTherm T (For FlAnis=true and CAnis=2) K1, K2 – uniaxial magnetocrystalline anisotropy coefficient K (J/m3) Flag of whether to consider stray field (For FlStray=true) Flag of the magnetostatic boundary condition: whether to use a periodic (or otherwise finitesize) boundary (For FlStray=true and FlPer=true) demagnetizing factor ND (unitless) Choice of input type of external magnetic field: 0an array of field sequence read from file hExt.in with possible linear interpolations; 1DC and AC components defined in following lines, i.e., H ext = H DC + H ACsin(2πf AC ∙ t) (For CHext=1) DC component of external magnetic field HDC (A/m) (For CHext=1) magnitude of AC component of external magnetic field HAC (A/m) (For CHext=1) frequency of AC component of external magnetic field (Hz) Magnetic exchange energy coefficient (J/m) Flag of whether to consider magnetoelastic effect (For FlElas=true) Saturation magnetostriction λ (unitless) (For FlElas=true) Elastic stiffness c of the magnet in Voigt notation (Pa) (For film or island, and FlElas=true) Elastic stiffness cs of the substrate in Voigt notation (Pa) (For bulk and FlElas=true) Flag of the mechanical boundary condition: whether to use an applied strain (or otherwise an applied stress) (For film or island, and FElas=true) inplane substrate strain εa ; (For bulk, FlElas=true, and FlStrain=true) inplane components of applied strains εa (unitless); (For bulk, FlElas=true, and FlStrain=false) inplane components of applied stress σa (Pa) (For bulk, FlElas=true, and FlStrain=true) outofplane components of applied strains εa (unitless); (For bulk, FlElas=true, and FlStrain=false) outofplane components of applied stress σa (Pa) (For FlElas=true, and with inhomogeneous elastic stiffness in the system) nRecurs – maximum number of recursion loops for elastic solver; (For FlElas=true, and with inhomogeneous elastic stiffness in the system) Δe – maximum error for elastic solver Flag of whether to consider spin torque (For FlST=true) type of spin torque: 1spinorbit torque 2Slonczewski spintransfer torque 3ZhangLi spintransfertorque (For FlST=true, and CST=1) spin Hall angle in a spinorbit torque (For FlST=true, and CST=2) spin polarization constant in a Slonczewski spintransfer torque (For FlST=true, and CST=3) degree of nonadiabaticity in a ZhangLi spintransfer torque (For FlST=true, and CST=1 or 2) J3 – spinpolarized electric current density along x3 direction For FlST=true, and CST=3) J1, J2, J3 – spinpolarized electric current density J (For FlST=true, and CST=1 or 2) normalized magnetization mP in the fixed layer in a spin torque structure (unitless) Flag of whether to consider DzyaloshinskiiMoriya interaction (DMI) (For FlDMI=true) continuous effective DMI constant Flag of whether to consider thermal fluctuation field (For FlTherm=true) temperature (K) 17 CLLG Δt kt0 ktMax ktTable ktDist CInitialM a1 a2 a3 FlOutH FlOutE FlOutS Type of LLG numerical solver: 1implicit GaussSeidel using Fourier spectral 2explicit RK4 Time per evolution step (s) kt0 – number of the starting evolution step; ktMax – number of the finishing evolution step ktTable – output step interval for data table; ktDist – output step interval for spatial distribution Choice of input type of initial magnetization distribution: 0an array of magnetization distribution read from file Magnt.in; 1random orientation; 2specified uniform orientation; 3specified vortex domain (For CInitialM=2) axis of a uniform orientation of the initial magnetization; (For CInitialM=3) axis of a vortex of the initial magnetization FlOutH – flag of whether to output distribution of effective fields FlOutE – flag of whether to output distribution of energy densities (For FlElas=true) flag of whether to output distribution of eigenstrain, strain, and stress islandShape.in (optional) Contains an array Om2d(x1, x2) describing the 2d inplane shape of a magnetic island. This file is used only in an islandonsubstrate or a finitesize magnet system with CIsland=0, as defined in the file parameter.in. The format is as follows: Table 3.2 Format of the input file islndShape.in 1 ⋮ 1 ⋮ n1 Data in the file 1 om2d(1, 1) ⋮ n2 ⋮ n2 ⋮ om2d (1, n2) ⋮ om2d (n1, n2) Explanation If om2d(1, 1)=1, grid points (1, 1, k) where k is within the thickness of the island are considered within the magnetic island, i.e., om(1, 1, k)=1. If om2d(1, 1)=0, grid points (1, 1, k) where k is within the thickness of the island are considered vacuum, i.e., om(1, 1, k)=0. eulerAng.in (optional) Contains an array of the distribution of the Euler angles ϕ(x), θ(x), and ψ(x) of grains in polycrystals, arranged in a rowmajor order. This file is used only with CGrain=0, as defined in the file parameter.in. The format is as follows: Table 3.3 Format of the input file eulerAng.in n1 n2 n3 1 1 1 Data in the file φ(1, 1, 1) θ(1, 1, 1) ψ(1, 1, 1) Explanation Total number of simulation grids in each direction φ, θ, ψ – Euler angles of the grain containing the grid point (1, 1, 1) (°) 18 ⋮ 1 1 n3 φ(1, 1, n3) θ(1, 1, n3) ψ(1, 1, n3) θ(1, n2, n3) ψ(1, n2, n3) θ(n1, n2, n3) ψ(n1, n2, n3) ⋮ 1 n2 n3 φ(1, n2, n3) n1 n2 n3 φ(n1, n2, n3) ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ hExt.in (optional) Contains an array of the external magnetic field sequence H ext(kt) . This file is used only with CHext=0, as defined in the file parameter.in. The format is as follows: Table 3.4 Format of the input file hExt.in kt1 Data in the file Hext1(kt1) Hext2(kt1) Hext3(kt1) kt2 ⋮ ktn Hext1(kt2) ⋮ Hext1(ktn) Hext2(kt2) ⋮ Hext2(ktn) Hext3(kt2) ⋮ Hext3(ktn) Explanation Hext1(kt1), Hext2(kt1), and Hext3(kt1) – external magnetic field Hext at the kt1th evolution step (A/m) ⋮ ⋮ ⋮ In obtaining H ext(kt) at all evolution steps kt, the program considers linear interpolations of H ext(kt) between adjacent evolution steps kt provided in this file. magnt.in (optional) Contains an array of the distribution of initial magnetization m(x, kt0) , arranged in a rowmajor order. This file is used only with CInitialM=0, as defined in the file parameter.in. The format is as follows: Table 3.5 Format of the input file magnt.in Data in the file n1 n2 n3 1 1 1 m1(1, 1, 1) 1 1 n3 m1(1, 1, n3) m2(1, 1, 1) m3(1, 1, 1) m2(1, 1, n3) m3(1, 1, n3) m2(1, n2, n3) m3(1, n2, n3) m2(n1, n2, n3) m3(n1, n2, n3) ⋮ ⋮ 1 n2 n3 m1(1, n2, n3) ⋮ n1 n2 n3 m1(n1, n2, n3) Explanation Total number of simulation grids in each direction m1, m2, m3 – normalized initial magnetization m at grid point (1,1,1) (unitless) ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ 4 Ouput files 19 4.1 Files generated before doing evolution oMag.00000000.dat Contains an array of Om(x) (unitless), arranged in a rowmajor order. The data follow a similar format with those in magnt.in. The file is generated before simulating evolution steps. cGlob.00000000.dat (optional) Contains an array of C 11(x), C 22(x), and C 44(x) (Pa) in Voigt notation, arranged in a rowmajor order. The data follow a similar format with those in magnt.in. The file is generated before simulating evolution steps and only under FlElas=true. hExt.dat Contains an array of the external magnetic field sequence H ext1(kt), H ext2(kt), and H ext3(kt) (A/m) at all evolution steps. The data follow a similar format with those in hExt.in. The file is generated before simulating evolution steps. 4.2 Files generated during evolution steps avMagntz.dat Contains an array of average values of the normalized magnetization m ˉ 1(kt), m ˉ 2(kt), and m ˉ 3(kt) (unitless) inside the magnet at every ktTable evolution steps. The data follow a similar format with those in hExt.in. The file is updated every ktTable steps. avHEff.dat Contains an array of average values of the effective fields H ext1(kt), H ext2(kt), and H ext3(kt) , ˉ eff3(kt), Hˉ stray1(kt), H ˉ stray2(kt), H ˉ stray3(kt), H ˉ anis1(kt), Hˉ anis2(kt), Hˉ anis3(kt), Hˉ eff1(kt), Hˉ eff2(kt), H ˉ ST3(kt), Hˉ therm1(kt), H ˉ therm2(kt), Hˉ therm3(kt) Hˉ elas1(kt), Hˉ elas2(kt), Hˉ elas3(kt), Hˉ ST1(kt), Hˉ ST2(kt), H (A/m) inside the magnet at every ktTable evolution steps. The data follow a similar format with those in hExt.in. The file is updated every ktTable steps. avStrain.dat (optional) Contains an array of average values of the strain and eigenstrain εˉ11(kt), εˉ22(kt), εˉ33(kt), 0 (k ), ε0 (k ), ε0 (k ), ε0 (k ), ε0 (k ), ε0 (k ) (unitless) inside the εˉ23(kt), εˉ13(kt), εˉ12(kt), ε11 t 22 t 33 t 23 t 13 t 12 t magnet at every ktTable evolution steps. The data follow a similar format with those in hExt.in. The file is updated every ktTable steps, and only under FlElas=true. avStress.dat (optional) Contains an array of average values of the stress σˉ11(kt), σˉ 22(kt), σˉ 33(kt), σˉ23(kt), σˉ 13(kt), and σˉ12(kt) (Pa) inside the magnet at every ktTable evolution steps. The data follow a similar format with those in hExt.in. The file is updated every ktTable steps, and only under FlElas=true. 20 magnt.**.dat Contains an array of m1(x), m2(x), and m3(x) (unitless) at a certain evolution step, arranged in a rowmajor order, where ** represents the 8digit evolution step number. The data follow a similar format with those in magnt.in. A file is generated every ktDist steps. hEff.**.dat (optional) Contains an array of H ′eff1(x), H ′eff2(x), and H ′eff3(x) (A/m) at a certain evolution step, arranged in a rowmajor order, where ** represents the 8digit evolution step number. The data follow a similar format with those in magnt.in. A file is generated every ktDist steps and only under FlOutH=true. hStra.**.dat (optional) Contains an array of H stray1(x), H stray2(x), and H stray3(x) (A/m) at a certain evolution step, arranged in a rowmajor order, where ** represents the 8digit evolution step number. The data follow a similar format with those in magnt.in. A file is generated every ktDist steps and only under FlOutH=true and FlStray=true. hAnis.**.dat (optional) Contains an array of H anis1(x), H anis2(x), and H anis3(x) (A/m) at a certain evolution step, arranged in a rowmajor order, where ** represents the 8digit evolution step number. The data follow a similar format with those in magnt.in. A file is generated every ktDist steps and only under FlOutH=true and FlAnis=true. hElas.**.dat (optional) Contains an array of H elas1, H elas2, and H elas3 (A/m) at a certain evolution step, arranged in a rowmajor order, where ** represents the 8digit evolution step number. The data follow a similar format with those in magnt.in. A file is generated every ktDist steps and only under FlOutH=true and FlElas=true. hST.**.dat (optional) Contains an array of H ST1(x), H ST2(x), and H ST3(x) (A/m) at a certain evolution step, arranged in a rowmajor order, where ** represents the 8digit evolution step number. The data follow a similar format with those in magnt.in. A file is generated every ktDist steps and only under FlOutH=true and FlST=true. hTher.**.dat (optional) Contains an array of H therm1(x), H therm2(x), and H therm3(x) (A/m) at a certain evolution step, arranged in a rowmajor order, where ** represents the 8digit evolution step number. The data follow a similar format with those in magnt.in. A file is generated every ktDist steps and only under FlOutH=true and FlTherm=true. eigStn.**.dat (optional) 21 0 (x), ε0 (x), ε0 (x), ε0 (x), ε0 (x), and ε0 (x) (unitless) at a certain Contains an array of ε11 22 33 23 13 12 evolution step, arranged in a rowmajor order, where ** represents the 8digit evolution step number. The data follow a similar format with those in magnt.in. A file is generated every ktDist steps and only under FlOutS=true and FlElas=true. strain.**.dat (optional) Contains an array of ε11(x), ε22(x), ε33(x), ε23(x), ε13(x), and ε12(x) (unitless) at a certain evolution step, arranged in a rowmajor order, where ** represents the 8digit evolution step number. The data follow a similar format with those in magnt.in. A file is generated every ktDist steps and only under FlOutS=true and FlElas=true. stress.**.dat (optional) Contains an array of σ11(x), σ22(x), σ33(x), σ23(x), σ13(x), and σ12(x) (Pa) at a certain evolution step, arranged in a rowmajor order, where ** represents the 8digit evolution step number. The data follow a similar format with those in magnt.in. A file is generated every ktDist steps and only under FlOutS=true and FlElas=true. References [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] X.P. Wang, C. J. Garcıá Cervera, and W. E, “A Gauss–Seidel Projection Method for Micromagnetics Simulations,” J. Comput. Phys., vol. 171, no. 1, pp. 357–372, Jul. 2001. L.Q. Chen and J. Shen, “Applications of semiimplicit Fourierspectral method to phase field equations,” Comput. Phys. Commun., vol. 108, no. 2–3, pp. 147–158, 1998. J. Zhang and L.Q. Chen, “Phasefield microelasticity theory and micromagnetic simulations of domain structures in giant magnetostrictive materials,” Acta Mater., vol. 53, no. 9, pp. 2845–2855, May 2005. K. Fabian and A. Kirchner, “Threedimensional micromagnetic calculations for magnetite using FFT,” Geophys. J. …, pp. 89–104, 1996. Y. Li, S. Y. Hu, Z.K. Liu, and L.Q. Chen, “Effect of substrate constraint on the stability and evolution of ferroelectric domain structures in thin films,” Acta Mater., vol. 50, pp. 395–411, 2002. S. Y. Hu and L.Q. Chen, “A phasefield model for evolving microstructures with strong elastic inhomogeneity,” Acta Mater., vol. 49, no. 11, pp. 1879–1890, Jun. 2001. A. G. Khachaturyan, Theory of Structural Transformation in Solids. New York: Wiley, 1983. J.M. Hu, T. N. Yang, L.Q. Chen, and C.W. Nan, “Engineering domain structures in nanoscale magnetic thin films via strain,” J. Appl. Phys., vol. 114, no. 16, p. 164303, 2013. S. Rohart and A. Thiaville, “Skyrmion confinement in ultrathin film nanostructures in the presence of DzyaloshinskiiMoriya interaction,” Phys. Rev. B Condens. Matter Mater. Phys., vol. 88, no. 18, pp. 1–8, 2013. G. Finocchio, M. Carpentieri, E. Martinez, and B. Azzerboni, “Switching of a single 22 [11] [12] [13] ferromagnetic layer driven by spin Hall effect,” Appl. Phys. Lett., vol. 102, no. 21, 2013. J. C. Slonczewski, “Currentdriven excitation of magnetic multilayers,” J. Magn. Magn. Mater., vol. 159, no. 1–2, pp. L1–L7, Jun. 1996. L. Torres, L. LopezDiaz, E. Martinez, M. Carpentieri, and G. Finocchio, “Micromagnetic computations of spin polarized currentdriven magnetization processes,” J. Magn. Magn. Mater., vol. 286, no. SPEC. ISS., pp. 381–385, 2005. S. Zhang and Z. Li, “Roles of nonequilibrium conduction electrons on the magnetization dynamics of ferromagnets,” Phys. Rev. Lett., vol. 93, no. 12, pp. 1–4, 2004. 23 MuProMag examples 24 μMag Standard Problem #1 μMag Standard Problem #1 considers the MH hysteresis loop of a 1μm × 2μm × 20nm permalloy rectangle with the following material parameters: M S = 8 × 105A/m A = 1.3 × 10−11 J/m K 1 = 5 × 102 J/m3 (Uniaxial anisotropy) on applying a magnetic field approximately parallel to the long and short axis of the magnet. Result The solution using μPro® Mag is presented in the following figures. Since submitted solutions on the μMag website don’t agree with each other, the correctness of the solution couldn’t be tested. Figure MH hysteresis loop on applying a magnetic field parallel to the long axis (H // x1) and the short axis (H // x3), respectively. 25 Figure Remnant magnetic domain configuration on applying a magnetic field parallel to the long axis (left) and the short axis (right), respectively. Input Parameter.in 1100. 20. 2100. !simulation size (nm) 110 2 210 !# of simulation grids 0 0 !# of grid layers of substrate and film (if nf=0, the system is considered either a bulk or an island) (ns only for nf/=0 or ni3/=0) 26 1 !island inplane shape: 02d array in 'islandShape.in' 1rectangular or 2elliptical shape defined in the next line (only for nf=0 and ni3/=0) 100 2 200 !# of grids number of grids in the magnetic island (only for nf=0; if nf=0 and ni3=0, the system is considered bulk; ni1 and ni2 only for ni3≠0 and choiceIslandShape=1,2) 1 !grain structure: 0Euler angles phi, theta and psi (degree) array in 'eulerAng.in' 1single crystal with specified Euler angles 0. 0. 0. !Euler angles phi, theta and psi (degree) of the single crystal orientation (only for choiceGrainStruct=1) 800.E3 2.211E5 0.5 !saturation magnetization (A/m), electron gyromagnetic ratio (m/(A.s)), & damping constant (unitless) true !whether to consider magnetocrystalline anisotropy 2 !type of magnetocrystalline anisotropy: 1cubic 2uniaxial (only for flagAnisotropy=true) 5.E2 0. 0. !magnetocrystalline anisotropy coefficient (J/m^3) (only for flagAnisotropy=true; kc3 only for choiceAnisotropy=1) true !whether to consider stray field false !periodic (or finitesize) magnetostatic boundary? (only for flagStrayField=true) 27 0. 0. 0. !demagnetizing factor N11, N22, N33 (unitless) (only for flagStrayField=true and flagPeriodic=true) 0. 0. 0. !demagnetizing factor N23, N13, N12 (unitless) (only for flagStrayField=true and flagPeriodic=true) 0 !external magnetic field: 0array in 'hExt.in' with linear interpolations 1DC & AC components defined in following lines 0. 0. 0. !DC component of external magnetic field (A/m) (only for choiceHExt=1) 0. 0. 0. !peak amplitude of AC component of external magnetic field (A/m) (only for choiceHExt=1) 0. !frequency of AC component of external magnetic field (Hz) (only for choiceHExt=1) 1.3E11 !magnetic exchange constant (J/m) false !whether to consider magnetoelastic effect 0. 0. !saturation magnetostriction (unitless) (only for flagElastic=true) 0. 0. 0. !elastic stiffness (Voigt) (Pa) (only for flagElastic=true) 0. 0. 0. !elastic stiffness of substrate (Voigt) (Pa) (only for flagElastic=true) true !strain (or stress) elastic boundary condition? (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 28 0. 0. 0. !inplane substrate/applied strains/stress (1 or Pa) (only for flagElastic=true) 0. 0. 0. !outofplane applied strains/stress (1 or Pa) (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0 0. !recursion limit & tolerance of convergence for iterative elastic solver (only when the elastic stiffness of the system is inhomogeneous) false !whether to consider spin torque 1 !type of spin torque: 1spinorbit torque 2Slonczewski spintransfer torque 3ZhangLi spintransfer torque (only for flagST=true) 0. !spin Hall angle (only for flagST=true and choiceST=1) 0. !spin polarization constant (only for flagST=true and choiceST=2) 0. !degree of nonadiabaticity (only for flagST=true and choiceST=3) 0. 0. 0. !spinpolarized electric current density (only for flagST=true) (jElect(1) and jElect(2) only for choiceST=3) 0. 0. 0. !magnetization in the fixed layer in a spin torque structure (unitless) (only for flagST=true and choiceST=1,2) false !whether to consider DzyaloshinskiiMoriya interaction (DMI) 0. !continuous effective DMI constant (J/m^2) (only for flagDMI=true) 29 false !whether to consider thermal fluctuation 0. !temperature (K) (only for flagThermalFluc=true) 1 !type of LLG Solver: 1implicit GaussSeidel using Fourier spectral 2explicit RK4 1.E13 !time per evolution step (s) 0 1250000 !starting time step #; finishing time step # 500 50000 !output step interval for data table; output step interval for spatial distribution 1 !initial m distribution: 0'magnt.in' 1random orientation 2specified uniform orientation 3specified vortex domain 0. 0. 0. !axis of a uniform orientation, or a vortex domain, for the initial m distribution (only for choiceInitialM=2,3) false false !whether to output distribution of effective fields and energy densities false !whether to output distribution of eigenstrain, strain, and stress (only for flagElastic=true) For magnetic field applied parallel to the long axis hExt.in 4 0 0.E3 0.E3 0.E3 30 250000 39.789E3 0.E3 0.E3 750000 39.789E3 0.E3 0.E3 1250000 39.789E3 0.E3 0.E3 For magnetic field applied parallel to the short axis hExt.in 4 0 0.E3 0.E3 0.E3 250000 0.E3 0.E3 39.789E3 750000 0.E3 0.E3 39.789E3 1250000 0.E3 0.E3 39.789E3 31 μMag Standard Problem #2 μMag Standard Problem #2 considers the scaling effect on remnant magnetization mR and coercive field H C of a magnet with the size of 5d × d × 0.1d , i.e., mR and H C as a function of d/lex , with exchange length lex = √A/K m , where K m is the magnetostatic energy density defined as K m = 12 μ0M S2 . The magnetic field is applied in the [1,1,1] direction. Result The solution using μPro® Mag is presented in the following figures. The remnant magnetization agrees well with Streibl and Donahue’s solution submitted to the μMag group. 32 Figure Remnant magnetization mx−R as a function of d/lex . Figure Remnant magnetization my−R as a function of d/lex . 33 Figure Coercive field H C as a function of d/lex . Input For d/lex = 15 parameter.in 825. 225. 15. !simulation size (nm) 110 30 1 !# of simulation grids 0 0 !# of grid layers of substrate and film (if nf=0, the system is considered either a bulk or an island) (ns only for nf/=0 or ni3/=0) 34 1 !island inplane shape: 02d array in 'islandShape.in' 1rectangular or 2elliptical shape defined in the next line (only for nf=0 and ni3/=0) 100 20 1 !# of grids number of grids in the magnetic island (only for nf=0; if nf=0 and ni3=0, the system is considered bulk; ni1 and ni2 only for ni3≠0 and choiceIslandShape=1,2) 1 !grain structure: 0Euler angles phi, theta and psi (degree) array in 'eulerAng.in' 1single crystal with specified Euler angles 0. 0. 0. !Euler angles phi, theta and psi (degree) of the single crystal orientation (only for choiceGrainStruct=1) 500.E3 2.211E5 0.5 !saturation magnetization (A/m), electron gyromagnetic ratio (m/(A.s)), & damping constant (unitless) false !whether to consider magnetocrystalline anisotropy 1 !type of magnetocrystalline anisotropy: 1cubic 2uniaxial (only for flagAnisotropy=true) 0. 0. 0. !magnetocrystalline anisotropy coefficient (J/m^3) (only for flagAnisotropy=true; kc3 only for choiceAnisotropy=1) true !whether to consider stray field false !periodic (or finitesize) magnetostatic boundary? (only for flagStrayField=true) 0. 0. 0. !demagnetizing factor N11, N22, N33 (unitless) (only for flagStrayField=true and flagPeriodic=true) 35 0. 0. 0. !demagnetizing factor N23, N13, N12 (unitless) (only for flagStrayField=true and flagPeriodic=true) 0 !external magnetic field: 0array in 'hExt.in' with linear interpolations 1DC & AC components defined in following lines 0. 0. 0. !DC component of external magnetic field (A/m) (only for choiceHExt=1) 0. 0. 0. !peak amplitude of AC component of external magnetic field (A/m) (only for choiceHExt=1) 0. !frequency of AC component of external magnetic field (Hz) (only for choiceHExt=1) 15.708 E12 !magnetic exchange constant (J/m) !!Exchange length = 10nm false !whether to consider magnetoelastic effect 0. 0. !saturation magnetostriction (unitless) (only for flagElastic=true) 0. 0. 0. !elastic stiffness (Voigt) (Pa) (only for flagElastic=true) 0. 0. 0. !elastic stiffness of substrate (Voigt) (Pa) (only for flagElastic=true) true !strain (or stress) elastic boundary condition? (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0. 0. 0. !inplane substrate/applied strains/stress (1 or Pa) (only for flagElastic=true) 36 0. 0. 0. !outofplane applied strains/stress (1 or Pa) (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0 0. !recursion limit & tolerance of convergence for iterative elastic solver (only when the elastic stiffness of the system is inhomogeneous) false !whether to consider spin torque 1 !type of spin torque: 1spinorbit torque 2Slonczewski spintransfer torque 3ZhangLi spintransfer torque (only for flagST=true) 0. !spin Hall angle (only for flagST=true and choiceST=1) 0. !spin polarization constant (only for flagST=true and choiceST=2) 0. !degree of nonadiabaticity (only for flagST=true and choiceST=3) 0. 0. 0. !spinpolarized electric current density (only for flagST=true) (jElect(1) and jElect(2) only for choiceST=3) 0. 0. 0. !magnetization in the fixed layer in a spin torque structure (unitless) (only for flagST=true) false !whether to consider DzyaloshinskiiMoriya interaction (DMI) 0. !continuous effective DMI constant (J/m^2) (only for flagDMI=true) false !whether to consider thermal fluctuation 37 0. !temperature (K) (only for flagThermalFluc=true) 1 !type of LLG Solver: 1implicit GaussSeidel using Fourier spectral 2explicit RK4 5.E14 !time per evolution step (s) 0 1500000 !starting time step #; finishing time step # 2500 125000 !output step interval for data table; output step interval for spatial distribution 1 !initial m distribution: 0'magnt.in' 1random orientation 2specified uniform orientation 3specified vortex domain 1. 0. 0. !axis of a uniform orientation, or a vortex domain, for the initial m distribution (only for choiceInitialM=2,3) false false !whether to output distribution of effective fields and energy densities false !whether to output distribution of eigenstrain, strain, and stress (only for flagElastic=true) hExt.in 5 0 50.E3 50.E3 50.E3 124999 50.E3 50.E3 50.E3 125000 0.E3 0.E3 0.E3 250000 0.E3 0.E3 0.E3 1500000 50.E3 50.E3 50.E3 38 μMag Standard Problem #3 μMag Standard Problem #3 models the transition of the stable magnetic domain structure from a flower state to a vortex state on increasing size of a magnet. A cubic magnet with edge length L expressed in units of lex = √A/K m , where $$K_m$$ is the magnetostatic energy density defined as K m = 12 μ0M S2 , is considered. The magnet has a uniaxial magnetocrystalline anisotropy with K u = 0.1 K m and easy axis parrellel to the principle axis x3 of the cube. Result Flower and vortex state domains simulated using μPro® Mag are plotted. Transition size, corresponding average magnetization, and energy densities are listed and compared with solutions submitted to the μMag group[1]. Figure Stable flower state (left) and vortex state (right) magnetic domain structure in cubic magnet with L/lex = 8.40 and L/lex = 8.50 , respectively. 39 Table Transition size, corresponding average magnetization, and energy densities Input For L/lex = 8.46 , flower state parameter.in 105.75 105.75 105.75 !simulation size (nm) 50 50 50 !# of simulation grids 0 0 !# of grid layers of substrate and film (if nf=0, the system is considered either a bulk or an island) (ns only for nf/=0 or ni3/=0) 1 !island inplane shape: 02d array in 'islandShape.in' 1rectangular or 2elliptical shape defined in the next line (only for nf=0 and ni3/=0) 40 40 40 !# of grids number of grids in the magnetic island (only for nf=0; if nf=0 and ni3=0, the system is considered bulk; ni1 and ni2 only for ni3≠0 and choiceIslandShape=1,2) 1 !grain structure: 0Euler angles phi, theta and psi (degree) array in 'eulerAng.in' 1single crystal with specified Euler angles 40 0. 0. 0. !Euler angles phi, theta and psi (degree) of the single crystal orientation (only for choiceGrainStruct=1) 500.E3 2.211E5 0.5 !saturation magnetization (A/m), electron gyromagnetic ratio (m/(A.s)), & damping constant (unitless) true !whether to consider magnetocrystalline anisotropy 2 !type of magnetocrystalline anisotropy: 1cubic 2uniaxial (only for flagAnisotropy=true) 15.708E3 0. 0. !magnetocrystalline anisotropy coefficient (J/m^3) (only for flagAnisotropy=true; kc3 only for choiceAnisotropy=1) true !whether to consider stray field false !periodic (or finitesize) magnetostatic boundary? (only for flagStrayField=true) 0. 0. 0. !demagnetizing factor N11, N22, N33 (unitless) (only for flagStrayField=true and flagPeriodic=true) 0. 0. 0. !demagnetizing factor N23, N13, N12 (unitless) (only for flagStrayField=true and flagPeriodic=true) 1 !external magnetic field: 0array in 'hExt.in' with linear interpolations 1DC & AC components defined in following lines 0. 0. 0. !DC component of external magnetic field (A/m) (only for choiceHExt=1) 41 0. 0. 0. !peak amplitude of AC component of external magnetic field (A/m) (only for choiceHExt=1) 0. !frequency of AC component of external magnetic field (Hz) (only for choiceHExt=1) 15.708E 12 !magnetic exchange constant (J/m) !!Exchange length = 10nm false !whether to consider magnetoelastic effect 0. 0. !saturation magnetostriction (unitless) (only for flagElastic=true) 0. 0. 0. !elastic stiffness (Voigt) (Pa) (only for flagElastic=true) 0. 0. 0. !elastic stiffness of substrate (Voigt) (Pa) (only for flagElastic=true) true !strain (or stress) elastic boundary condition? (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0. 0. 0. !inplane substrate/applied strains/stress (1 or Pa) (only for flagElastic=true) 0. 0. 0. !outofplane applied strains/stress (1 or Pa) (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0 0. !recursion limit & tolerance of convergence for iterative elastic solver (only when the elastic stiffness of the system is inhomogeneous) false !whether to consider spin torque 42 1 !type of spin torque: 1spinorbit torque 2Slonczewski spintransfer torque 3ZhangLi spintransfer torque (only for flagST=true) 0. !spin Hall angle (only for flagST=true and choiceST=1) 0. !spin polarization constant (only for flagST=true and choiceST=2) 0. !degree of nonadiabaticity (only for flagST=true and choiceST=3) 0. 0. 0. !spinpolarized electric current density (only for flagST=true) (jElect(1) and jElect(2) only for choiceST=3) 0. 0. 0. !magnetization in the fixed layer in a spin torque structure (unitless) (only for flagST=true) false !whether to consider DzyaloshinskiiMoriya interaction (DMI) 0. !continuous effective DMI constant (J/m^2) (only for flagDMI=true) false !whether to consider thermal fluctuation 0. !temperature (K) (only for flagThermalFluc=true) 1 !type of LLG Solver: 1implicit GaussSeidel using Fourier spectral 2explicit RK4 1.E14 !time per evolution step (s) 43 0 500000 !starting time step #; finishing time step # 10000 50000 !output step interval for data table; output step interval for spatial distribution 2 !initial m distribution: 0'magnt.in' 1random orientation 2specified uniform orientation 3specified vortex domain 0. 0. 1. !axis of a uniform orientation, or a vortex domain, for the initial m distribution (only for choiceInitialM=2,3) false false !whether to output distribution of effective fields and energy densities false !whether to output distribution of eigenstrain, strain, and stress (only for flagElastic=true) For L/lex = 8.46 , vortex state parameter.in 105.75 105.7 5 105. 75 !simulation size (nm) 50 50 50 !# of simulation grids 0 0 !# of grid layers of substrate and film (if nf=0, the system is considered either a bulk or an island) (ns only for nf/=0 or ni3/=0) 1 !island inplane shape: 02d array in 'islandShape.in' 1rectangular or 2elliptical shape defined in the next line (only for nf=0 and ni3/=0) 40 40 40 !# of grids number of grids in the magnetic island (only for nf=0; if nf=0 and ni3=0, the system is 44 considered bulk; ni1 and ni2 only for ni3≠0 and choiceIslandShape=1,2) 1 !grain structure: 0Euler angles phi, theta and psi (degree) array in 'eulerAng.in' 1single crystal with specified Euler angles 0. 0. 0. !Euler angles phi, theta and psi (degree) of the single crystal orientation (only for choiceGrainStruct=1) 500.E3 2.211 E5 0.5 !saturation magnetization (A/m), electron gyromagnetic ratio (m/(A.s)), & damping constant (unitless) true !whether to consider magnetocrystalline anisotropy 2 !type of magnetocrystalline anisotropy: 1cubic 2uniaxial (only for flagAnisotropy=true) 15.708E3 0. 0. !magnetocrystalline anisotropy coefficient (J/m^3) (only for flagAnisotropy=true; kc3 only for choiceAnisotropy=1) true !whether to consider stray field false !periodic (or finitesize) magnetostatic boundary? (only for flagStrayField=true) 0. 0. 0. !demagnetizing factor N11, N22, N33 (unitless) (only for flagStrayField=true and flagPeriodic=true) 0. 0. 0. !demagnetizing factor N23, N13, N12 (unitless) (only for flagStrayField=true and flagPeriodic=true) 1 !external magnetic field: 0array in 'hExt.in' with linear interpolations 1DC & AC components defined in following lines 45 0. 0. 0. !DC component of external magnetic field (A/m) (only for choiceHExt=1) 0. 0. 0. !peak amplitude of AC component of external magnetic field (A/m) (only for choiceHExt=1) 0. !frequency of AC component of external magnetic field (Hz) (only for choiceHExt=1) 15.708E1 2 !magnetic exchange constant (J/m) !!Exchange length = 10nm false !whether to consider magnetoelastic effect 0. 0. !saturation magnetostriction (unitless) (only for flagElastic=true) 0. 0. 0. !elastic stiffness (Voigt) (Pa) (only for flagElastic=true) 0. 0. 0. !elastic stiffness of substrate (Voigt) (Pa) (only for flagElastic=true) true !strain (or stress) elastic boundary condition? (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0. 0. 0. !inplane substrate/applied strains/stress (1 or Pa) (only for flagElastic=true) 0. 0. 0. !outofplane applied strains/stress (1 or Pa) (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0 0. !recursion limit & tolerance of convergence for iterative elastic solver (only when the elastic stiffness of the system is inhomogeneous) false !whether to consider spin torque 46 1 !type of spin torque: 1spinorbit torque 2Slonczewski spintransfer torque 3ZhangLi spintransfer torque (only for flagST=true) 0. !spin Hall angle (only for flagST=true and choiceST=1) 0. !spin polarization constant (only for flagST=true and choiceST=2) 0. !degree of nonadiabaticity (only for flagST=true and choiceST=3) 0. 0. 0. !spinpolarized electric current density (only for flagST=true) (jElect(1) and jElect(2) only for choiceST=3) 0. 0. 0. !magnetization in the fixed layer in a spin torque structure (unitless) (only for flagST=true) false !whether to consider DzyaloshinskiiMoriya interaction (DMI) 0. !continuous effective DMI constant (J/m^2) (only for flagDMI=true) false !whether to consider thermal fluctuation 0. !temperature (K) (only for flagThermalFluc=true) 1 !type of LLG Solver: 1implicit GaussSeidel using Fourier spectral 2explicit RK4 1.E14 !time per evolution step (s) 0 5000 00 !starting time step #; finishing time step # 47 10000 5000 0 !output step interval for data table; output step interval for spatial distribution 3 !initial m distribution: 0'magnt.in' 1random orientation 2specified uniform orientation 3specified vortex domain 1. 0. 0. !axis of a uniform orientation, or a vortex domain, for the initial m distribution (only for choiceInitialM=2,3) false false !whether to output distribution of effective fields and energy densities false !whether to output distribution of eigenstrain, strain, and stress (only for flagElastic=true) References [1] http://www.ctcms.nist.gov/~rdm/results3.html 48 μMag Standard Problem #4 μMag Standard Problem #4 considers the magnetization dynamics in a of a 500nm × 125nm × 3nm permalloy magnet. The magnet is first relaxed to a equilibrium state by applying a saturating magnetic field along the [1, 1, 1] direction, which is then slowly reduced to zero. A magnetic field is further applied to reverse the magnetization, where the magnetization dynamics is assessed. The following material parameters are adopted: M S = 8×105 A/m A = 1.3×10−11 J/m K = 0 α = 0.02 γ0 = 2.211×105 m/(A.s) Two switching events with different magnetic fields are considered: Field (1): μ0H x = − 24.6 mT , μ0H y = 4.3 mT , μ0H z = 0.0 mT , which is approximately a 25mT field directly 170° counterclockwise from the positive x axis. Field (2): μ0H x = − 35.5 mT , μ0H y = − 6.3 mT , μ0H z = 0.0 mT , which is approximately a 36mT field directly 190° counterclockwise from the positive x axis. Result Time sequence of magnetization during switching is modeled using μPro® Mag. Results from both the implicit GaussSeidel projection method and the Runge Kutta method (RK4) for solution of the LLG equation are shown, both of which agree well with solutions submitted to the μMag group. 49 50 Figure Time sequence of average magnetization on applying field (1). 51 52 Figure Time sequence of average magnetization on applying field (2). Input For solving the LLG equation using the implicit GaussSeidel projection method parameter.in 546.875 171.875 3. simulation size (nm) 140 44 1 # of simulation grids 0 0 # of grid layers of substrate and film (if nf=0, the system is considered either a bulk or an island) (ns only for nf/=0 or ni3/=0) 53 1 island inplane shape: 02d array in 'islandShape.in' 1rectangular or 2elliptical shape defined in the next line (only for nf=0 and ni3/=0) 128 32 1 # of grids number of grids in the magnetic island (only for nf=0; if nf=0 and ni3=0, the system is considered bulk; ni1 and ni2 only for ni3≠0 and choiceIslandShape=1,2) 1 grain structure: 0Euler angles phi, theta and psi (degree) array in 'eulerAng.in' 1single crystal with specified Euler angles 0. 0. 0. Euler angles phi, theta and psi (degree) of the single crystal orientation (only for choiceGrainStruct=1) 800.E3 2.211E5 0.02 saturation magnetization (A/m), electron gyromagnetic ratio (m/(A.s)), & damping constant (unitless) false whether to consider magnetocrystalline anisotropy 1 type of magnetocrystalline anisotropy: 1cubic 2uniaxial (only for flagAnisotropy=true) 0. 0. 0. magnetocrystalline anisotropy coefficient (J/m^3) (only for flagAnisotropy=true; kc3 only for choiceAnisotropy=1) true whether to consider stray field false periodic (or finitesize) magnetostatic boundary? (only for flagStrayField=true) 0. 0. 0. demagnetizing factor N11, N22, N33 (unitless) (only for flagStrayField=true and flagPeriodic=true) 54 0. 0. 0. demagnetizing factor N23, N13, N12 (unitless) (only for flagStrayField=true and flagPeriodic=true) 0 external magnetic field: 0array in 'hExt.in' with linear interpolations 1DC & AC components defined in following lines 0. 0. 0. DC component of external magnetic field (A/m) (only for choiceHExt=1) 0. 0. 0. peak amplitude of AC component of external magnetic field (A/m) (only for choiceHExt=1) 0. frequency of AC component of external magnetic field (Hz) (only for choiceHExt=1) 13.E12 magnetic exchange constant (J/m) false whether to consider magnetoelastic effect 0. 0. saturation magnetostriction (unitless) (only for flagElastic=true) 0. 0. 0. elastic stiffness (Voigt) (Pa) (only for flagElastic=true) 0. 0. 0. elastic stiffness of substrate (Voigt) (Pa) (only for flagElastic=true) true strain (or stress) elastic boundary condition? (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0. 0. 0. inplane substrate/applied strains/stress (1 or Pa) (only for flagElastic=true) 55 0. 0. 0. outofplane applied strains/stress (1 or Pa) (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0 0. recursion limit & tolerance of convergence for iterative elastic solver (only when the elastic stiffness of the system is inhomogeneous) false whether to consider spin torque 1 type of spin torque: 1spinorbit torque 2Slonczewski spintransfer torque 3ZhangLi spintransfer torque (only for flagST=true) 0. spin Hall angle (only for flagST=true and choiceST=1) 0. spin polarization constant (only for flagST=true and choiceST=2) 0. degree of nonadiabaticity (only for flagST=true and choiceST=3) 0. 0. 0. spinpolarized electric current density (only for flagST=true) (jElect(1) and jElect(2) only for choiceST=3) 0. 0. 0. magnetization in the fixed layer in a spin torque structure (unitless) (only for flagST=true) false whether to consider DzyaloshinskiiMoriya interaction (DMI) 0. continuous effective DMI constant (J/m^2) (only for flagDMI=true) false whether to consider thermal fluctuation 56 0. temperature (K) (only for flagThermalFluc=true) 1 type of LLG Solver: 1implicit GaussSeidel using Fourier spectral 2explicit RK4 1.E14 time per evolution step (s) 0 900000 starting time step #; finishing time step # 100 100000 output step interval for data table; output step interval for spatial distribution 2 initial m distribution: 0'magnt.in' 1random orientation 2specified uniform orientation 3specified vortex domain 1. 1. 1. axis of a uniform orientation, or a vortex domain, for the initial m distribution (only for choiceInitialM=2,3) false false whether to output distribution of effective fields and energy densities false whether to output distribution of eigenstrain, strain, and stress (only for flagElastic=true) For switching under field (1) hExt.in 4 0 1.E5 1.E5 1.E5 400000 0.E3 0.E3 0.E3 800000 0.E3 0.E3 0.E3 57 800001 19.57606E3 3.42183E3 0.E3 For switching under field (2) hExt.in 4 0 1.E5 1.E5 1.E5 400000 0.E3 0.E3 0.E3 800000 0.E3 0.E3 0.E3 800001 28.2500E3 5.01338E3 0.E3 58 μMag Standard Problem #5 μMag Standard Problem #5 considers effect the ZhangLi spintransfertorque. A spinpolarized electric current of j = 1012 A/m along x1 direction is applied to 100nm × 100nm × 10nm permalloy magnet with an initial vortex structure. The following parameters are adopted: M S = 8 × 105A/m A = 1.3 × 10−11J/m K = 0 α = 0.1 γ0 = 2.211 × 105m/(A ∙ s) Result The obtained magnetic vortex structure and timedependent average magnetization is shown below. It agrees well with the OOMMF solution. Figure Initial vortex structure (left) and the vortex structure after applying the current for 5ns (right). 59 Figure Timedependent average magnetization under the applied electric current. Input For initial relaxation of the magnetic vortex domain structure parameter.in 125. 125. 1 0. simulation size (nm) 50 50 2 # of simulation grids 60 0 0 # of grid layers of substrate and film (if nf=0, the system is considered either a bulk or an island) (ns only for nf/=0 or ni3/=0) 1 island inplane shape: 02d array in 'islandShape.in' 1rectangular or 2elliptical shape defined in the next line (only for nf=0 and ni3/=0) 40 40 2 # of grids number of grids in the magnetic island (only for nf=0; if nf=0 and ni3=0, the system is considered bulk; ni1 and ni2 only for ni3≠0 and choiceIslandShape=1,2) 1 grain structure: 0Euler angles phi, theta and psi (degree) array in 'eulerAng.in' 1single crystal with specified Euler angles 0. 0. 0. Euler angles phi, theta and psi (degree) of the single crystal orientation (only for choiceGrainStruct=1) 800.E3 2.211 E5 0. 1 saturation magnetization (A/m), electron gyromagnetic ratio (m/(A.s)), & damping constant (unitless) false whether to consider magnetocrystalline anisotropy 1 type of magnetocrystalline anisotropy: 1cubic 2uniaxial (only for flagAnisotropy=true) 0. 0. 0. magnetocrystalline anisotropy coefficient (J/m^3) (only for flagAnisotropy=true; kc3 only for choiceAnisotropy=1) true whether to consider stray field false periodic (or finitesize) magnetostatic boundary? (only for flagStrayField=true) 61 0. 0. 0. demagnetizing factor N11, N22, N33 (unitless) (only for flagStrayField=true and flagPeriodic=true) 0. 0. 0. demagnetizing factor N23, N13, N12 (unitless) (only for flagStrayField=true and flagPeriodic=true) 1 external magnetic field: 0array in 'hExt.in' with linear interpolations 1DC & AC components defined in following lines 0. 0. 0. DC component of external magnetic field (A/m) (only for choiceHExt=1) 0. 0. 0. peak amplitude of AC component of external magnetic field (A/m) (only for choiceHExt=1) 0. frequency of AC component of external magnetic field (Hz) (only for choiceHExt=1) 1.3E11 magnetic exchange constant (J/m) false whether to consider magnetoelastic effect 0. 0. saturation magnetostriction (unitless) (only for flagElastic=true) 0. 0. 0. elastic stiffness (Voigt) (Pa) (only for flagElastic=true) 0. 0. 0. elastic stiffness of substrate (Voigt) (Pa) (only for flagElastic=true) true strain (or stress) elastic boundary condition? (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0. 0. 0. inplane substrate/applied strains/stress (1 or Pa) (only for flagElastic=true) 62 0. 0. 0. outofplane applied strains/stress (1 or Pa) (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0 0. recursion limit & tolerance of convergence for iterative elastic solver (only when the elastic stiffness of the system is inhomogeneous) false whether to consider spin torque 1 type of spin torque: 1spinorbit torque 2Slonczewski spintransfer torque 3ZhangLi spintransfer torque (only for flagST=true) 0. spin Hall angle (only for flagST=true and choiceST=1) 0. spin polarization constant (only for flagST=true and choiceST=2) 0. degree of nonadiabaticity (only for flagST=true and choiceST=3) 0. 0. 0. spinpolarized electric current density (only for flagST=true) (jElect(1) and jElect(2) only for choiceST=3) 0. 0. 0. magnetization in the fixed layer in a spin torque structure (unitless) (only for flagST=true) false whether to consider DzyaloshinskiiMoriya interaction (DMI) 0. continuous effective DMI constant (J/m^2) (only for flagDMI=true) false whether to consider thermal fluctuation 0. temperature (K) (only for flagThermalFluc=true) 63 1 type of LLG Solver: 1implicit GaussSeidel using Fourier spectral 2explicit RK4 1.E13 time per evolution step (s) 0 1000 00 starting time step #; finishing time step # 100 1000 0 output step interval for data table; output step interval for spatial distribution 3 initial m distribution: 0'magnt.in' 1random orientation 2specified uniform orientation 3specified vortex domain 0. 0. 1. axis of a uniform orientation, or a vortex domain, for the initial m distribution (only for choiceInitialM=2,3) false false whether to output distribution of effective fields and energy densities false whether to output distribution of eigenstrain, strain, and stress (only for flagElastic=true) For domain evolution under the applied electric current parameter.in 125. 125. 10. simulation size (nm) 50 50 2 # of simulation grids 0 0 # of grid layers of substrate and film (if nf=0, the system is considered either a bulk or an island) (ns only for nf/=0 or ni3/=0) 1 island inplane shape: 02d array in 'islandShape.in' 1rectangular or 2elliptical shape defined in the next line (only for nf=0 and ni3/=0) 64 40 40 2 # of grids number of grids in the magnetic island (only for nf=0; if nf=0 and ni3=0, the system is considered bulk; ni1 and ni2 only for ni3≠0 and choiceIslandShape=1,2) 1 grain structure: 0Euler angles phi, theta and psi (degree) array in 'eulerAng.in' 1single crystal with specified Euler angles 0. 0. 0. Euler angles phi, theta and psi (degree) of the single crystal orientation (only for choiceGrainStruct=1) 800.E3 2.211E5 0.1 saturation magnetization (A/m), electron gyromagnetic ratio (m/(A.s)), & damping constant (unitless) false whether to consider magnetocrystalline anisotropy 1 type of magnetocrystalline anisotropy: 1cubic 2uniaxial (only for flagAnisotropy=true) 0. 0. 0. magnetocrystalline anisotropy coefficient (J/m^3) (only for flagAnisotropy=true; kc3 only for choiceAnisotropy=1) true whether to consider stray field false periodic (or finitesize) magnetostatic boundary? (only for flagStrayField=true) 0. 0. 0. demagnetizing factor N11, N22, N33 (unitless) (only for flagStrayField=true and flagPeriodic=true) 0. 0. 0. demagnetizing factor N23, N13, N12 (unitless) (only for flagStrayField=true and flagPeriodic=true) 1 external magnetic field: 0array in 'hExt.in' with linear interpolations 1DC & AC components defined in following lines 0. 0. 0. DC component of external magnetic field (A/m) (only for choiceHExt=1) 0. 0. 0. peak amplitude of AC component of external magnetic field (A/m) (only for choiceHExt=1) 65 0. frequency of AC component of external magnetic field (Hz) (only for choiceHExt=1) 1.3E1 1 magnetic exchange constant (J/m) false whether to consider magnetoelastic effect 0. 0. saturation magnetostriction (unitless) (only for flagElastic=true) 0. 0. 0. elastic stiffness (Voigt) (Pa) (only for flagElastic=true) 0. 0. 0. elastic stiffness of substrate (Voigt) (Pa) (only for flagElastic=true) true strain (or stress) elastic boundary condition? (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0. 0. 0. inplane substrate/applied strains/stress (1 or Pa) (only for flagElastic=true) 0. 0. 0. outofplane applied strains/stress (1 or Pa) (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0 0. recursion limit & tolerance of convergence for iterative elastic solver (only when the elastic stiffness of the system is inhomogeneous) true whether to consider spin torque 3 type of spin torque: 1spinorbit torque 2Slonczewski spintransfer torque 3ZhangLi spintransfer torque (only for flagST=true) 0. spin Hall angle (only for flagST=true and choiceST=1) 0. spin polarization constant (only for flagST=true and choiceST=2) 0.05 degree of nonadiabaticity (only for flagST=true and choiceST=3) 66 1.E12 0. 0. spinpolarized electric current density (only for flagST=true) (jElect(1) and jElect(2) only for choiceST=3) 0. 0. 0. magnetization in the fixed layer in a spin torque structure (unitless) (only for flagST=true) false whether to consider DzyaloshinskiiMoriya interaction (DMI) 0. continuous effective DMI constant (J/m^2) (only for flagDMI=true) false whether to consider thermal fluctuation 0. temperature (K) (only for flagThermalFluc=true) 1 type of LLG Solver: 1implicit GaussSeidel using Fourier spectral 2explicit RK4 1.E13 time per evolution step (s) 0 50000 starting time step #; finishing time step # 100 10000 output step interval for data table; output step interval for spatial distribution 0 initial m distribution: 0'magnt.in' 1random orientation 2specified uniform orientation 3specified vortex domain 0. 0. 0. axis of a uniform orientation, or a vortex domain, for the initial m distribution (only for choiceInitialM=2,3) false false whether to output distribution of effective fields and energy densities false whether to output distribution of eigenstrain, strain, and stress (only for flagElastic=true) 67 Example #6 This example considers the relaxed magnetic domain structure of a 100nmthick nickel thin film. The nickel is considered isotropic, with the following parameters adopted: M S = 4.85×105A/m A = 8.2×10−12J/m K = 0 α = 0.3 γ0 = 2.42×105m/(A.s) λ100 = λ111 =− 32.9×10−6 c11 = 246.5 GP a c12 = 147.3GP a c44 = 49.6GP a The substrate is assumed to possess an elastic stiffness equal to the thin film magnet. The effect of biaxial substrate mismatch strains εS(= ε11 = ε22) are investigated. Result The obtained equilibrium magnetization distribution at εS = 0.003 and εS = 0.004 are shown below. The out of plane component of the magnetization is measured by calculating $$$$ averaged throughout the sample, which shows a trend to increase with increasing εS . 68 Figure Equilibrium magnetization distribution, which shows striped outofplane domains with Neel type domain walls at εS = 0.004 , and a similar structure with relatively smaller outofplane component at εS = 0.003 . 69 Figure Average outofplane magnetization component $$$$ of the equilibrium magnetization as a function of substrate strain εS . It shows that $$$$ increases with increasing εS and dominates at εS > 0.004 . Input For biaxial substrate strain εS > 0.004 parameter.in 3000. 3000. 250. simulation size (nm) 300 300 25 # of simulation grids 11 10 # of grid layers of substrate and film (if nf=0, the system is considered either a bulk or an island) (ns only for nf/=0 or ni3/=0) 70 1 island inplane shape: 02d array in 'islandShape.in' 1rectangular or 2elliptical shape defined in the next line (only for nf=0 and ni3/=0) 0 0 0 # of grids number of grids in the magnetic island (only for nf=0; if nf=0 and ni3=0, the system is considered bulk; ni1 and ni2 only for ni3≠0 and choiceIslandShape=1,2) 1 grain structure: 0Euler angles phi, theta and psi (degree) array in 'eulerAng.in' 1single crystal with specified Euler angles 0. 0. 0. Euler angles phi, theta and psi (degree) of the single crystal orientation (only for choiceGrainStruct=1) 4.85E5 2.42E 5 0.3 saturation magnetization (A/m), electron gyromagnetic ratio (m/(A.s)), & damping constant (unitless) false whether to consider magnetocrystalline anisotropy 1 type of magnetocrystalline anisotropy: 1cubic 2uniaxial (only for flagAnisotropy=true) 0. 0. 0. magnetocrystalline anisotropy coefficient (J/m^3) (only for flagAnisotropy=true; kc3 only for choiceAnisotropy=1) true whether to consider stray field true periodic (or finitesize) magnetostatic boundary? (only for flagStrayField=true) 0. 0. 0. demagnetizing factor N11, N22, N33 (unitless) (only for flagStrayField=true and flagPeriodic=true) 0. 0. 0. demagnetizing factor N23, N13, N12 (unitless) (only for flagStrayField=true and flagPeriodic=true) 1 external magnetic field: 0array in 'hExt.in' with linear interpolations 1DC & AC components defined in following lines 0. 0. 0. DC component of external magnetic field (A/m) (only for choiceHExt=1) 71 0. 0. 0. peak amplitude of AC component of external magnetic field (A/m) (only for choiceHExt=1) 0. frequency of AC component of external magnetic field (Hz) (only for choiceHExt=1) 8.2E12 magnetic exchange constant (J/m) true whether to consider magnetoelastic effect 32.9E6 32.9 E6 saturation magnetostriction (unitless) (only for flagElastic=true) 246.5E9 147.3 E9 49.6 E9 elastic stiffness (Voigt) (Pa) (only for flagElastic=true) 246.5E9 147.3 E9 49.6 E9 elastic stiffness of substrate (Voigt) (Pa) (only for flagElastic=true) true strain (or stress) elastic boundary condition? (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0.0040 0.004 0 0. inplane substrate/applied strains/stress (1 or Pa) (only for flagElastic=true) 0. 0. 0. outofplane applied strains/stress (1 or Pa) (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 1000 1.E4 recursion limit & tolerance of convergence for iterative elastic solver (only when the elastic stiffness of the system is inhomogeneous) false whether to consider spin torque 1 type of spin torque: 1spinorbit torque 2Slonczewski spintransfer torque 3ZhangLi spintransfer torque (only for flagST=true) 0. spin Hall angle (only for flagST=true and choiceST=1) 0. spin polarization constant (only for flagST=true and choiceST=2) 0. degree of nonadiabaticity (only for flagST=true and choiceST=3) 72 0. 0. 0. spinpolarized electric current density (only for flagST=true) (jElect(1) and jElect(2) only for choiceST=3) 0. 0. 0. magnetization in the fixed layer in a spin torque structure (unitless) (only for flagST=true) false whether to consider DzyaloshinskiiMoriya interaction (DMI) 0. continuous effective DMI constant (J/m^2) (only for flagDMI=true) false whether to consider thermal fluctuation 0. temperature (K) (only for flagThermalFluc=true) 1 type of LLG Solver: 1implicit GaussSeidel using Fourier spectral 2explicit RK4 5.E13 time per evolution step (s) 0 50000 starting time step #; finishing time step # 1000 10000 output step interval for data table; output step interval for spatial distribution 1 initial m distribution: 0'magnt.in' 1random orientation 2specified uniform orientation 3specified vortex domain 1. 0. 0. axis of a uniform orientation, or a vortex domain, for the initial m distribution (only for choiceInitialM=2,3) false false whether to output distribution of effective fields and energy densities false whether to output distribution of eigenstrain, strain, and stress (only for flagElastic=true) 73 Example #7 This is an example following the calculations in Ref. [1]. It studies the transition of a Bloch wall to a Neel wall on increasing coefficient D of DMI, in a 300nm × 500nm × 0.6nm magnet with the following parameters adopted: M S = 1.1×106 A/m A = 1.6×10−11J/m K 1 = 1.27×106J/m3 (Uniaxial anisotropy) Result The obtained magnetic domain wall moments (the integrated magnetization m across the domain wall ϕi = ∫ x1∖across∖domain∖wall midx1 as a function of D are shown below. It agrees well with the solutions given by qΦ model [1] and Mumax [2]. 74 Figure Simulated magnetization distribution across the domain wall. 75 Figure Simulated domain wall moments as a function of D. Input We start from a two domain structure with a sharp wall, and let the domain wall configuration first relax at D = 0, and then restabilize at certain D. For structure relaxation at D = 0 parameter.in 310. 500. 0. 6 simulation size (nm) 310 1 1 # of simulation grids 76 0 0 # of grid layers of substrate and film (if nf=0, the system is considered either a bulk or an island) (ns only for nf/=0 or ni3/=0) 1 island inplane shape: 02d array in 'islandShape.in' 1rectangular or 2elliptical shape defined in the next line (only for nf=0 and ni3/=0) 300 1 1 # of grids number of grids in the magnetic island (only for nf=0; if nf=0 and ni3=0, the system is considered bulk; ni1 and ni2 only for ni3≠0 and choiceIslandShape=1,2) 1 grain structure: 0Euler angles phi, theta and psi (degree) array in 'eulerAng.in' 1single crystal with specified Euler angles 0. 0. 0. Euler angles phi, theta and psi (degree) of the single crystal orientation (only for choiceGrainStruct=1) 1.1E6 2.42 E5 0. 3 saturation magnetization (A/m), electron gyromagnetic ratio (m/(A.s)), & damping constant (unitless) true whether to consider magnetocrystalline anisotropy 2 type of magnetocrystalline anisotropy: 1cubic 2uniaxial (only for flagAnisotropy=true) 1.27E6 0. 0. magnetocrystalline anisotropy coefficient (J/m^3) (only for flagAnisotropy=true; kc3 only for choiceAnisotropy=1) true whether to consider stray field false periodic (or finitesize) magnetostatic boundary? (only for flagStrayField=true) 77 0. 0. 0. demagnetizing factor N11, N22, N33 (unitless) (only for flagStrayField=true and flagPeriodic=true) 0. 0. 0. demagnetizing factor N23, N13, N12 (unitless) (only for flagStrayField=true and flagPeriodic=true) 1 external magnetic field: 0array in 'hExt.in' with linear interpolations 1DC & AC components defined in following lines 0. 0. 0. DC component of external magnetic field (A/m) (only for choiceHExt=1) 0. 0. 0. peak amplitude of AC component of external magnetic field (A/m) (only for choiceHExt=1) 0. frequency of AC component of external magnetic field (Hz) (only for choiceHExt=1) 1.6E11 magnetic exchange constant (J/m) false whether to consider magnetoelastic effect 0. 0. saturation magnetostriction (unitless) (only for flagElastic=true) 0. 0. 0. elastic stiffness (Voigt) (Pa) (only for flagElastic=true) 0. 0. 0. elastic stiffness of substrate (Voigt) (Pa) (only for flagElastic=true) true strain (or stress) elastic boundary condition? (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0. 0. 0. inplane substrate/applied strains/stress (1 or Pa) (only for flagElastic=true) 78 0. 0. 0. outofplane applied strains/stress (1 or Pa) (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0 0. recursion limit & tolerance of convergence for iterative elastic solver (only when the elastic stiffness of the system is inhomogeneous) false whether to consider spin torque 1 type of spin torque: 1spinorbit torque 2Slonczewski spintransfer torque 3ZhangLi spintransfer torque (only for flagST=true) 0. spin Hall angle (only for flagST=true and choiceST=1) 0. spin polarization constant (only for flagST=true and choiceST=2) 0. degree of nonadiabaticity (only for flagST=true and choiceST=3) 0. 0. 0. spinpolarized electric current density (only for flagST=true) (jElect(1) and jElect(2) only for choiceST=3) 0. 0. 0. magnetization in the fixed layer in a spin torque structure (unitless) (only for flagST=true) false whether to consider DzyaloshinskiiMoriya interaction (DMI) 0. continuous effective DMI constant (J/m^2) (only for flagDMI=true) false whether to consider thermal fluctuation 0. temperature (K) (only for flagThermalFluc=true) 79 1 type of LLG Solver: 1implicit GaussSeidel using Fourier spectral 2explicit RK4 5.E14 time per evolution step (s) 0 5000 00 starting time step #; finishing time step # 5000 5000 0 output step interval for data table; output step interval for spatial distribution 3 initial m distribution: 0'magnt.in' 1random orientation 2specified uniform orientation 3specified vortex domain 0.01 1. 0. 01 axis of a uniform orientation, or a vortex domain, for the initial m distribution (only for choiceInitialM=2,3) false false whether to output distribution of effective fields and energy densities false whether to output distribution of eigenstrain, strain, and stress (only for flagElastic=true) For subsequent evolution at D = 0.08 mJ/m2 parameter.in 310. 500. 0. 6 simulation size (nm) 310 1 1 # of simulation grids 0 0 # of grid layers of substrate and film (if nf=0, the system is considered either a bulk or an island) (ns only for nf/=0 or ni3/=0) 80 1 island inplane shape: 02d array in 'islandShape.in' 1rectangular or 2elliptical shape defined in the next line (only for nf=0 and ni3/=0) 300 1 1 # of grids number of grids in the magnetic island (only for nf=0; if nf=0 and ni3=0, the system is considered bulk; ni1 and ni2 only for ni3≠0 and choiceIslandShape=1,2) 1 grain structure: 0Euler angles phi, theta and psi (degree) array in 'eulerAng.in' 1single crystal with specified Euler angles 0. 0. 0. Euler angles phi, theta and psi (degree) of the single crystal orientation (only for choiceGrainStruct=1) 1.1E6 2.42 E5 0. 3 saturation magnetization (A/m), electron gyromagnetic ratio (m/(A.s)), & damping constant (unitless) true whether to consider magnetocrystalline anisotropy 2 type of magnetocrystalline anisotropy: 1cubic 2uniaxial (only for flagAnisotropy=true) 1.27E6 0. 0. magnetocrystalline anisotropy coefficient (J/m^3) (only for flagAnisotropy=true; kc3 only for choiceAnisotropy=1) true whether to consider stray field false periodic (or finitesize) magnetostatic boundary? (only for flagStrayField=true) 0. 0. 0. demagnetizing factor N11, N22, N33 (unitless) (only for flagStrayField=true and flagPeriodic=true) 0. 0. 0. demagnetizing factor N23, N13, N12 (unitless) (only for flagStrayField=true and flagPeriodic=true) 81 1 external magnetic field: 0array in 'hExt.in' with linear interpolations 1DC & AC components defined in following lines 0. 0. 0. DC component of external magnetic field (A/m) (only for choiceHExt=1) 0. 0. 0. peak amplitude of AC component of external magnetic field (A/m) (only for choiceHExt=1) 0. frequency of AC component of external magnetic field (Hz) (only for choiceHExt=1) 1.6E11 magnetic exchange constant (J/m) false whether to consider magnetoelastic effect 0. 0. saturation magnetostriction (unitless) (only for flagElastic=true) 0. 0. 0. elastic stiffness (Voigt) (Pa) (only for flagElastic=true) 0. 0. 0. elastic stiffness of substrate (Voigt) (Pa) (only for flagElastic=true) true strain (or stress) elastic boundary condition? (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0. 0. 0. inplane substrate/applied strains/stress (1 or Pa) (only for flagElastic=true) 0. 0. 0. outofplane applied strains/stress (1 or Pa) (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0 0. recursion limit & tolerance of convergence for iterative elastic solver (only when the elastic stiffness of the system is inhomogeneous) 82 false whether to consider spin torque 1 type of spin torque: 1spinorbit torque 2Slonczewski spintransfer torque 3ZhangLi spintransfer torque (only for flagST=true) 0. spin Hall angle (only for flagST=true and choiceST=1) 0. spin polarization constant (only for flagST=true and choiceST=2) 0. degree of nonadiabaticity (only for flagST=true and choiceST=3) 0. 0. 0. spinpolarized electric current density (only for flagST=true) (jElect(1) and jElect(2) only for choiceST=3) 0. 0. 0. magnetization in the fixed layer in a spin torque structure (unitless) (only for flagST=true) true whether to consider DzyaloshinskiiMoriya interaction (DMI) 0.08E3 continuous effective DMI constant (J/m^2) (only for flagDMI=true) false whether to consider thermal fluctuation 0. temperature (K) (only for flagThermalFluc=true) 1 type of LLG Solver: 1implicit GaussSeidel using Fourier spectral 2explicit RK4 5.E14 time per evolution step (s) 83 0 5000 00 starting time step #; finishing time step # 5000 5000 0 output step interval for data table; output step interval for spatial distribution 0 initial m distribution: 0'magnt.in' 1random orientation 2specified uniform orientation 3specified vortex domain 0. 0. 0. axis of a uniform orientation, or a vortex domain, for the initial m distribution (only for choiceInitialM=2,3) false false whether to output distribution of effective fields and energy densities false whether to output distribution of eigenstrain, strain, and stress (only for flagElastic=true) References [1] Thiaville, A., Rohart, S., Jué, É., Cros, V., & Fert, A. (2012). Dynamics of Dzyaloshinskii domain walls in ultrathin magnetic films. EPL (Europhysics Letters), 100(5), 57002. [2] Vansteenkiste, A., Leliaert, J., Dvornik, M., Helsen, M., GarciaSanchez, F., & Van Waeyenberge, B. (2014). The design and verification of MuMax3. AIP Advances, 4(10), 0–22. 84 Example #8 This example demonstrates the magnetic domain structure in a single crystal or polycrystalline 850nm (minor axis) × 2200nm (major axis) × 5nm (thickness) elliptical cylinder permalloy island with the following parameters adopted: M S = 8.0×105 A/m A = 1.3×10−11 J/m Cubic magnetocrystalline anisotropy with different K 1 are used and compared with each other. Result 85 Figure Simulated magnetization distribution in polycrystal and single crystal islands with different K 1 . Input parameter.in 900. 2250. 5. simulation size (nm) 180 450 1 # of simulation grids 0 0 # of grid layers of substrate and film (if nf=0, the system is considered either a bulk or an island) (ns only for nf/=0 or ni3/=0) 86 2 island inplane shape: 02d array in 'islandShape.in' 1rectangular or 2elliptical shape defined in the next line (only for nf=0 and ni3/=0) 170 440 1 # of grids number of grids in the magnetic island (only for nf=0; if nf=0 and ni3=0, the system is considered bulk; ni1 and ni2 only for ni3≠0 and choiceIslandShape=1,2) 0 grain structure: 0Euler angles phi, theta and psi (degree) array in 'eulerAng.in' 1single crystal with specified Euler angles 0. 0. 0. Euler angles phi, theta and psi (degree) of the single crystal orientation (only for choiceGrainStruct=1) 800.E3 2.211 E5 0.02 saturation magnetization (A/m), electron gyromagnetic ratio (m/(A.s)), & damping constant (unitless) true whether to consider magnetocrystalline anisotropy 1 type of magnetocrystalline anisotropy: 1cubic 2uniaxial (only for flagAnisotropy=true) 1.E5 0.E5 0.E5 magnetocrystalline anisotropy coefficient (J/m^3) (only for flagAnisotropy=true; kc3 only for choiceAnisotropy=1) true whether to consider stray field false periodic (or finitesize) magnetostatic boundary? (only for flagStrayField=true) 0. 0. 0. demagnetizing factor N11, N22, N33 (unitless) (only for flagStrayField=true and flagPeriodic=true) 87 0. 0. 0. demagnetizing factor N23, N13, N12 (unitless) (only for flagStrayField=true and flagPeriodic=true) 1 external magnetic field: 0array in 'hExt.in' with linear interpolations 1DC & AC components defined in following lines 0. 0. 0. DC component of external magnetic field (A/m) (only for choiceHExt=1) 0. 0. 0. peak amplitude of AC component of external magnetic field (A/m) (only for choiceHExt=1) 0. frequency of AC component of external magnetic field (Hz) (only for choiceHExt=1) 13.E12 magnetic exchange constant (J/m) !!Exchange length = 10nm false whether to consider magnetoelastic effect 0. 0. saturation magnetostriction (unitless) (only for flagElastic=true) 0. 0. 0. elastic stiffness (Voigt) (Pa) (only for flagElastic=true) 0. 0. 0. elastic stiffness of substrate (Voigt) (Pa) (only for flagElastic=true) true strain (or stress) elastic boundary condition? (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0. 0. 0. inplane substrate/applied strains/stress (1 or Pa) (only for flagElastic=true) 88 0. 0. 0. outofplane applied strains/stress (1 or Pa) (only for bulk, i.e. nf=0 and ni3=0, and flagElastic=true) 0 0. recursion limit & tolerance of convergence for iterative elastic solver (only when the elastic stiffness of the system is inhomogeneous) false whether to consider spin torque 1 type of spin torque: 1spinorbit torque 2Slonczewski spintransfer torque 3ZhangLi spintransfer torque (only for flagST=true) 0. spin Hall angle (only for flagST=true and choiceST=1) 0. spin polarization constant (only for flagST=true and choiceST=2) 0. degree of nonadiabaticity (only for flagST=true and choiceST=3) 0. 0. 0. spinpolarized electric current density (only for flagST=true) (jElect(1) and jElect(2) only for choiceST=3) 0. 0. 0. magnetization in the fixed layer in a spin torque structure (unitless) (only for flagST=true) false whether to consider DzyaloshinskiiMoriya interaction (DMI) 0. continuous effective DMI constant (J/m^2) (only for flagDMI=true) false whether to consider thermal fluctuation 89 0. temperature (K) (only for flagThermalFluc=true) 1 type of LLG Solver: 1implicit GaussSeidel using Fourier spectral 2explicit RK4 5.E13 time per evolution step (s) 0 1000 00 starting time step #; finishing time step # 1000 1000 0 output step interval for data table; output step interval for spatial distribution 2 initial m distribution: 0'magnt.in' 1random orientation 2specified uniform orientation 3specified vortex domain 0. 1. 0. axis of a uniform orientation, or a vortex domain, for the initial m distribution (only for choiceInitialM=2,3) false false whether to output distribution of effective fields and energy densities false whether to output distribution of eigenstrain, strain, and stress (only for flagElastic=true) We also used the input file eulerAng.in as attached, which is generated by a grain growth program. 90