用数值积分计算微磁学有限差分模拟的退磁张量
Computing the demagnetizing tensor for finite difference micromagnetic simulations via numerical integration
摘要:
在计算微磁学中常用的有限差分法中,退磁场通常被计算为磁化矢量场与描述具有恒定磁化的长方体单元的静磁场的退磁场张量的卷积。退磁张量的解析表达式是可用的,但是在远离立方体单元的距离处,解析表达式的数值计算可能非常不准确。由于这种大距离的不准确性,数值软件包(如OOMMF)在靠近原始单元的距离处使用显式公式计算退磁张量,但在远离原始单元的距离处必须使用基于渐近展开的公式。在这项工作中,我们描述了一种方法来计算退磁场的数值计算的多维积分的退磁张量项使用稀疏网格积分计划。这种方法提高了计算精度在中间距离的原点。我们计算和报告的准确性(i)的精确张量表达式,这是最好的短距离的数值评估,(ii)最适合大距离的渐近展开,和(iii)的新方法的基础上数值积分,这是优于方法(i)和(ii)的中间距离。对于所有这三种方法,我们显示的测量精度和执行时间作为距离的函数,计算使用单精度(4字节)和双精度(8字节)浮点运算。对数值积分方法的格式阶数和积分系数的选择提出了建议。
英文摘要:
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 demagnetization 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).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。