Computing the demagnetizing tensor for finite difference micromagnetic simulations via numerical integration
Creators
Description
In the finite difference method which is commonly used in computational micromagnetics, the demagnetizing field is usually computed as a convolution of the magnetization vector field with the demagnetizing tensor that describes the magnetostatic field of a cuboidal cell with constant magnetization. An analytical expression for the demagnetizing tensor is available, however at distances far from the cuboidal cell, the numerical evaluation of the analytical expression can be very inaccurate. Due to this large-distance inaccuracy numerical packages such as OOMMF compute the demagnetizing tensor using the explicit formula at distances close to the originating cell, but at distances far from the originating cell a formula based on an asymptotic expansion has to be used. In this work, we describe a method to calculate the demagnetizing field by numerical evaluation of the multidimensional integral in the demagnetizing tensor terms using a sparse grid integration scheme. This method improves the accuracy of computation at intermediate distances from the origin. We compute and report the accuracy of (i) the numerical evaluation of the exact tensor expression which is best for short distances, (ii) the asymptotic expansion best suited for large distances, and (iii) the new method based on numerical integration, which is superior to methods (i) and (ii) for intermediate distances. For all three methods, we show the measurements of accuracy and execution time as a function of distance, for calculations using single precision (4-byte) and double precision (8-byte) floating point arithmetic. We make recommendations for the choice of scheme order and integrating coefficients for the numerical integration method (iii). - Highlights: • We study the accuracy of demagnetization in finite difference micromagnetics. • We introduce a new sparse integration method to compute the tensor more accurately. • Newell, sparse integration and asymptotic method are compared for all ranges. • We provide a recommendation for optimal sparse integration scheme and parameters
Availability note (English)
Available from http://dx.doi.org/10.1016/j.jmmm.2015.01.013Additional details
Identifiers
- DOI
- 10.1016/j.jmmm.2015.01.013;
- arXiv
- arXiv:1403.1978v3;
- PII
- S0304-8853(15)00015-3;
Publishing Information
- Journal Title
- Journal of Magnetism and Magnetic Materials
- Journal Volume
- 381
- Journal Issue
- Complete
- Journal Page Range
- p. 440-445
- ISSN
- 0304-8853
- CODEN
- JMMMDC
INIS
- Country of Publication
- Netherlands
- Country of Input or Organization
- International Atomic Energy Agency (IAEA)
- INIS RN
- 47038397
- Subject category
- S75: CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND SUPERFLUIDITY;
- Descriptors DEI
- ASYMPTOTIC SOLUTIONS; COMPARATIVE EVALUATIONS; COMPUTER CALCULATIONS; DEMAGNETIZATION; FINITE DIFFERENCE METHOD; MAGNETIC FIELDS; MAGNETIC MATERIALS; MAGNETISM; MAGNETIZATION; O CODES; TENSORS; VECTOR FIELDS
- Descriptors DEC
- CALCULATION METHODS; COMPUTER CODES; EVALUATION; ITERATIVE METHODS; MATERIALS; MATHEMATICAL SOLUTIONS; NUMERICAL SOLUTION
Optional Information
- Copyright
- Copyright (c) 2015 Elsevier Science B.V., Amsterdam, The Netherlands, All rights reserved.