Parallelisation of micromagnetic simulations

The field of paleomagnetism attempts to understand in detail the the processes of the Earth by studying naturally occurring magnetic samples. These samples are quite unlike those fabricated in the laboratory. They have irregular shapes; they have been squeezed and stretched, heated and cooled and subjected to oxidation. However micromagnetic modelling allows us to simulate such samples and gain some understanding of how a paleomagnetic signal is acquired and how it is retained. Micromagnetics provides a theory for understanding how the domain structure of a magnetic sample alters subject to what it is made from and the environment that it is in. It furnishes the mathematics that describe the energy of a given domain structure and how that domain structure evolves in time. Combining micromagnetics and ever increasing computer power, it has been possible to produce simulations of small to medium size grains within the so-called single to pseudo single domain state range. However processors are no longer built with increasing speed but with increasing parallelism and it is this that must be exploited to model larger and larger paleomagnetic samples. The purpose of the work presented here is twofold. Firstly a micromagnetics code that is parallel and scalable is presented. This code is based on FEniCS, an existing finite element framework, and is shown to run on ARCHER the UK’s national supercomputing service. The strategy of using existing libraries and frameworks allow future extension and inclusion of new science in the code base. In order to achieve scalability, a spatial mapping technique is used to calculate the demagnetising field the most computationally intensive part of micromagnetic calculations. This allows grain geometries to be partitioned in such a way that no global communication is required between parallel processes the source of iv favourable scaling behaviour. The second part of the theses presents an exploration of domain state evolution in increasing sizes of magnetite grains. This simulation, whilst a first approximation that excludes magneto-elastic effects, is the first attempt to map out the transition from pseudo-single domain states to multi domain states using a full micromagnetic simulation.

[1]  D. Roweth,et al.  Cray XC ® Series Network , 2012 .

[2]  B. A. Lilley,et al.  LXXI. Energies and widths of domain boundaries in ferromagnetics , 1950 .

[3]  A. Muxworthy,et al.  Observing thermomagnetic stability of nonideal magnetite particles: Good paleomagnetic recorders? , 2014 .

[4]  David M. Beazley,et al.  SWIG: An Easy to Use Tool for Integrating Scripting Languages with C and C++ , 1996, Tcl/Tk Workshop.

[5]  D. R. Fredkin,et al.  Hybrid method for computing demagnetizing fields , 1990 .

[6]  William Gropp,et al.  Efficient Management of Parallelism in Object-Oriented Numerical Software Libraries , 1997, SciTools.

[7]  A. Muxworthy,et al.  Configurational anisotropy in single‐domain and pseudosingle‐domain grains of magnetite , 2006 .

[8]  W. Williams,et al.  Note on temperature dependence of exchange constant in magnetite , 1988 .

[9]  Gérard Meunier,et al.  Finite element modeling of unbounded problems using transformations: a rigorous, powerful and easy solution , 1992 .

[10]  W. Williams,et al.  An improved algorithm for micromagnetics , 1997 .

[11]  Anders Logg,et al.  Automated Solution of Differential Equations by the Finite Element Method: The FEniCS Book , 2012 .

[12]  H. Fangohr,et al.  A Systematic Approach to Multiphysics Extensions of Finite-Element-Based Micromagnetic Simulations: Nmag , 2007, IEEE Transactions on Magnetics.

[13]  D. Dunlop,et al.  Theory of partial thermoremanent magnetization in multidomain grains: 2. Effect of microcoercivity distribution and comparison with experiment , 1994 .

[14]  R. Pauthenet,et al.  Aimantation spontanée des ferrites , 1951 .

[15]  Wyn Williams,et al.  Three-dimensional micromagnetic modelling of ferromagnetic domain structure , 1989, Nature.

[16]  Mario Bebendorf,et al.  Hierarchical Matrices: A Means to Efficiently Solve Elliptic Boundary Value Problems , 2008 .

[17]  K. Fabian,et al.  Three-dimensional micromagnetic calculations for naturally shaped magnetite: Octahedra and magnetosomes , 2005 .

[18]  R. Merrill The Demagnetization Field of Multidomain Grains , 1977 .

[19]  D. Dunlop,et al.  Theory of partial thermoremanent magnetization in multidomain grains: 1. Repeated identical barriers to wall motion (single microcoercivity) , 1994 .

[20]  W. Williams,et al.  MAGNETIC FORCE MICROSCOPY IMAGING OF DOMAIN-WALLS IN MAGNETITE , 1992 .

[21]  Jan Valdman,et al.  Fast MATLAB assembly of FEM matrices in 2D and 3D: Edge elements , 2014, Appl. Math. Comput..

[22]  T. Gilbert A phenomenological theory of damping in ferromagnetic materials , 2004, IEEE Transactions on Magnetics.

[23]  William J. Dally,et al.  Technology-Driven, Highly-Scalable Dragonfly Topology , 2008, 2008 International Symposium on Computer Architecture.

[24]  D. Dunlop On the demagnetizing energy and demagnetizing factor of a multidomain ferromagnetic cube , 1983 .

[25]  A. Muxworthy,et al.  Visualized effect of oxidation on magnetic recording fidelity in pseudo-single-domain magnetite particles , 2014, Nature Communications.

[26]  W. Williams,et al.  Effects of the core‐shell structure on the magnetic properties of partially oxidized magnetite grains: Experimental and micromagnetic investigations , 2014 .

[27]  Florian Bruckner,et al.  magnum.fe: A micromagnetic finite-element simulation code based on FEniCS , 2013, 1301.3061.

[28]  Lukas Exl,et al.  Numerical methods for the stray-field calculation: A comparison of recently developed algorithms , 2012, 1204.4302.

[29]  Anders Logg,et al.  Unified form language: A domain-specific language for weak formulations of partial differential equations , 2012, TOMS.

[30]  J. C. Sabonnadiere,et al.  Finite element modeling of open boundary problems , 1990 .

[31]  A. N. Bogdanov,et al.  Magnetic Domains. The Analysis of Magnetic Microstructures , 1999 .

[32]  Simon R. Arridge,et al.  Solving Boundary Integral Problems with BEM++ , 2015, ACM Trans. Math. Softw..

[33]  Wyn Williams,et al.  Three-dimensional micromagnetic calculations for magnetite using FFT , 1996 .

[34]  Romain Ravaud,et al.  Magnetic Field Produced by a Parallelepipedic Magnet of Various and Uniform Polarization , 2009 .

[35]  V. Hoffmann,et al.  Magneto-optical Kerr effect in (titano)magnetite, pyrrhotite and hematite , 1990 .

[36]  F. Heider,et al.  Magnetic domain observations on magnetite and titanomaghemite grains (0.5–10 μm) , 1996 .

[37]  Carol S. Woodward,et al.  Enabling New Flexibility in the SUNDIALS Suite of Nonlinear and Differential/Algebraic Equation Solvers , 2020, ACM Trans. Math. Softw..

[38]  W. Beyer CRC Standard Mathematical Tables and Formulae , 1991 .