68,895 research outputs found
Computing the demagnetizing tensor for finite difference micromagnetic simulations via numerical integration
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)
High order direct Arbitrary-Lagrangian-Eulerian schemes on moving Voronoi meshes with topology changes
We present a new family of very high order accurate direct
Arbitrary-Lagrangian-Eulerian (ALE) Finite Volume (FV) and Discontinuous
Galerkin (DG) schemes for the solution of nonlinear hyperbolic PDE systems on
moving 2D Voronoi meshes that are regenerated at each time step and which
explicitly allow topology changes in time.
The Voronoi tessellations are obtained from a set of generator points that
move with the local fluid velocity. We employ an AREPO-type approach, which
rapidly rebuilds a new high quality mesh rearranging the element shapes and
neighbors in order to guarantee a robust mesh evolution even for vortex flows
and very long simulation times. The old and new Voronoi elements associated to
the same generator are connected to construct closed space--time control
volumes, whose bottom and top faces may be polygons with a different number of
sides. We also incorporate degenerate space--time sliver elements, needed to
fill the space--time holes that arise because of topology changes. The final
ALE FV-DG scheme is obtained by a redesign of the fully discrete direct ALE
schemes of Boscheri and Dumbser, extended here to moving Voronoi meshes and
space--time sliver elements. Our new numerical scheme is based on the
integration over arbitrary shaped closed space--time control volumes combined
with a fully-discrete space--time conservation formulation of the governing PDE
system. In this way the discrete solution is conservative and satisfies the GCL
by construction.
Numerical convergence studies as well as a large set of benchmarks for
hydrodynamics and magnetohydrodynamics (MHD) demonstrate the accuracy and
robustness of the proposed method. Our numerical results clearly show that the
new combination of very high order schemes with regenerated meshes with
topology changes lead to substantial improvements compared to direct ALE
methods on conforming meshes
- …