A Heterogeneous CPU-GPU Framework for Finite Element Micromagnetic Simulations on Tetrahedral Meshes
Zekai Zheng, Zixuan Cui, Guanghui Hu
Key points
From the paper's conclusion- We validate the framework using cases from all five $\mu$Mag standard problems, covering quasistatic hysteresis, equilibrium configurations, field-driven dynamics, and spin-transfer-torque dynamics.
Abstract
The design of magnetic storage materials relies on repeated micromagnetic simulations. Within each simulation, the demagnetization field evaluation and the sparse linear solve are executed at every time step and together dominate the computational cost. To address these bottlenecks, we develop a heterogeneous CPU-GPU framework that exploits the complementary computational capabilities of the two processors. In the existing AFEMAG solver, developed by Yang et al [J. Comput. Phys. 431 (2021) 110142], computationally intensive boundary integral evaluations and sparse linear solves limit performance. We offload these operations to the GPU while retaining assembly and iteration control on the CPU. We validate the framework using cases from all five $\mu$Mag standard problems, covering quasistatic hysteresis, equilibrium configurations, field-driven dynamics, and spin-transfer-torque dynamics. This approach accelerates simulations across the benchmark suite; notably, for Standard Problem 3 on a mesh of 137,313 nodes, augmenting the CPU with one NVIDIA A100 GPU yields a $17.1\times$ speedup over the CPU-only configuration. The heterogeneous AFEMAG framework thus provides an efficient and practical platform for micromagnetic simulations in the design of magnetic storage materials.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- mumax+: extensible GPU-accelerated micromagnetics and beyondnpj Computational Materials · 2026
- Claude-SpinDynamics: a cross-platform, dual-precision CPU/GPU micromagnetic simulator with native mumax3 script compatibilityarXiv · 2026
- Highly Efficient Norm Preserving Numerical Schemes for Micromagnetic Energy MinimizationAdvances in Applied Mathematics and Mechanics · 2026
- Fast Galerkin Multigrid Method for Unstructured MeshesACM Transactions on Graphics · 2025
- Multi-GPU Acceleration of Interface Problems in FEniCS, with Application to Cardiac ModelingarXiv · 2026
- Scaled boundary finite elements for FFT-based computational micromechanicsarXiv · 2026