arXiv Science⌕ Search

arXiv subjects

Zixuan Cui

Publications and source records attributed to Zixuan Cui.

2 recordsLinked to original sources

A Heterogeneous CPU-GPU Framework for Finite Element Micromagnetic Simulations on Tetrahedral Meshes

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 $μ$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.

physics.comp-ph↗

A $p$-adaptive treecode solution of the Poisson equation in the general domain

Raising the order of the multipole expansion is a feasible approach for improving the accuracy of the treecode algorithm. However, a uniform order for the expansion would result in the inefficiency of the implementation, especially when the kernel function is singular. In this paper, a $p$-adaptive treecode algorithm is designed to resolve the efficiency issue for problems defined on a general domain. Such a $p$-adaptive implementation is realized through i). conducting a systematical error analysis for the treecode algorithm, ii). designing a strategy for a non-uniform distribution of the order of multipole expansion towards a given error tolerance, and iii). employing a hierarchy geometry tree structure for coding the algorithm. The proposed $p$-adaptive treecode algorithm is validated by a number of numerical experiments, from which the desired performance is observed successfully, i.e., the computational complexity is reduced dramatically compared with the uniform order case, making our algorithm a competitive one for bottleneck problems such as the demagnetizing field calculation in computational micromagnetics.

math.NA↗