Search arXiv⌕ Search

arXiv · 2409.13958

Periodic micromagnetic finite element method

Abstract

Periodic micromagnetic finite element method (PM-FEM) is introduced to solve periodic unit cell problems using the Landau-Lifshitz-Gilbert equation. PM-FEM is applicable to general problems with 1D, 2D, and 3D periodicities. PM-FEM is based on a non-periodic FEM-based micromagnetic solver and extends it in several aspects to account for periodicities, including the computation of exchange and magnetostatic fields. For the exchange field, PM-FEM modifies the sparse matrix construction for computing the Laplace operator to include additional elements arising due to the periodicities. For the magnetostatic field, the periodic extensions include modifications in the local operators, such as gradient, divergence, and surface magnetic charges as well as the long-range superposition operator for computing the periodic scalar potential. The local operators are extended to account for the periodicities similar to handling the Laplace operator. For the long-range superposition operator, PM-FEM utilizes a periodic Green's function (PGF) and fast spatial convolutions. The PGF is computed rapidly via exponentially rapidly convergent sums. The spatial convolutions are accomplished via a modified fast Fourier transform based adaptive integral method that allows calculating spatial convolutions with non-uniform meshes in $O(N\log N)$ numerical operations. PM-FEM is implemented on CPU and GPU based computer architectures. PM-FEM allows efficiently handling cases of structures contained withing the periodic unit cell touching or not touching its boundaries as well as structures that protrude beyond the unit cell boundaries. PM-FEM is demonstrated to have about the same or even higher performance than its parent non-periodic code. The demonstrated numerical examples show the efficiency of PM-FEM for highly complex structures with 1D, 2D, and 3D periodicities.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Fangzhou Ai, Jiawei Duan, Vitaliy Lomakin. 2024-09-21. Periodic micromagnetic finite element method. https://arxiv.org/abs/2409.13958

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Discrete normalized gradient flow for two-component Bose-Einstein condensates: Energy dissipation, global convergence and sharp local convergence behavior

The gradient flow with semi-implicit discretization (GFSI) is the most widely used algorithm for computing the ground state of Gross-Pitaevskii energy functional. We apply GFSI to the two-component scenario with Josephson junction and rotating term, which is one of the most important and topical models in multi-component Bose-Einstein condensates (MBECs), and rigorously establish the following fundamental results for the first time. By introducing a Lagrange multiplier to reformulate GFSI into an equivalent form, we prove its energy dissipation property and global convergence to stationary states. More significantly, we uncover an intrinsic connection between this classical numerical PDE discretization rooted in imaginary-time evolution and Riemannian optimization, a state-of-the-art mathematical framework for manifold-constrained optimization. This connection enables us to fully characterize the local convergence behavior of GFSI within the Riemannian optimization framework. Together with the aforementioned global convergence result, this yields a complete global--local convergence theory for GFSI. Finally, numerical experiments comprehensively validate the theoretically predicted energy dissipation and convergence properties.

math.NA↗

Discretization, Uniform-in-Time Estimations and Approximation of Invariant Measures for Nonlinear Stochastic Differential Equations with Non-Uniform Dissipativity

The approximation of invariant measures for nonlinear ergodic stochastic differential equations (SDEs) is a central problem in scientific computing, with important applications in stochastic sampling, physics, and ecology. We first propose an easily applicable explicit Truncated Euler-Maruyama (TEM) scheme and prove its numerical ergodicity in the $L^p$-Wasserstein distance ($p\geqslant 1$). Furthermore, by combining truncation techniques with the coupling method, we establish a uniform-in-time $1/2$-order convergence rate in moments for the TEM scheme. Additionally, leveraging the exponential ergodicity of both the numerical and exact solutions, we derive a $1/2$-order convergence rate for the invariant measures of the TEM scheme and the exact solution in the $L^1$-Wasserstein distance. Finally, two numerical experiments are conducted to validate our theoretical results.

math.NA↗

Barotropic-Baroclinic Splitting for Multilayer Shallow Water Models with Exchanges

This work presents the numerical analysis of a barotropic-baroclinic splitting in a nonlinear multilayer framework with exchanges between the layers in terrain-following coordinates. The splitting is formulated as an exact operator splitting. The barotropic step handles free surface evolution and depth-averaged velocity via a well-balanced one-layer model, while the baroclinic step manages vertical exchanges between layers and adjusts velocities to their mean values. We show that the barotropic-baroclinic splitting preserves total energy conservation and meets both a discrete maximum principle and a discrete entropy inequality. Several numerical experiments are presented showing the gain in computational cost, particularly in low Froude simulations, with no loss of accuracy. The benefits of using a well-balancing strategy in the barotropic step to preserve the geostrophic equilibrium are inherited in the overall scheme.

math.NA↗