Category Ranking

98%

Total Visits

921

Avg Visit Duration

2 minutes

Citations

20

Article Abstract

We present NeuralMag, a flexible and high-performance open-source Python library for micromagnetic simulations. NeuralMag leverages modern machine learning frameworks, such as PyTorch and JAX, to perform efficient tensor operations on various parallel hardware, including CPUs, GPUs, and TPUs. The library implements a novel nodal finite-difference discretization scheme that provides improved accuracy over traditional finite-difference methods without increasing computational complexity. NeuralMag is particularly well-suited for solving inverse problems, especially those with time-dependent objectives, thanks to its automatic differentiation capabilities. Performance benchmarks show that NeuralMag is competitive with state-of-the-art simulation codes while offering enhanced flexibility through its Python interface and integration with high-level computational backends.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC12182442PMC
http://dx.doi.org/10.1038/s41524-025-01688-1DOI Listing

Publication Analysis

Top Keywords

nodal finite-difference
8
neuralmag
5
neuralmag open-source
4
open-source nodal
4
finite-difference code
4
code inverse
4
inverse micromagnetics
4
micromagnetics neuralmag
4
neuralmag flexible
4
flexible high-performance
4

Similar Publications

We present NeuralMag, a flexible and high-performance open-source Python library for micromagnetic simulations. NeuralMag leverages modern machine learning frameworks, such as PyTorch and JAX, to perform efficient tensor operations on various parallel hardware, including CPUs, GPUs, and TPUs. The library implements a novel nodal finite-difference discretization scheme that provides improved accuracy over traditional finite-difference methods without increasing computational complexity.

View Article and Find Full Text PDF

The inverse design approach in magnonics exploits the wave nature of magnons and machine learning to develop logical devices with functionalities that exceed the capabilities of analytical methods. While promising for analog, Boolean, and neuromorphic computing, current implementations face memory limitations that hinder the design of complex systems. This study presents a level-set parameterization method for topology optimization, combined with an adjoint-state approach for memory-efficient simulation of magnetization dynamics.

View Article and Find Full Text PDF

The incident angle of seismic waves influences the dynamic response of rock slopes. However, the relationship between the back-slope effect in strong earthquake areas and the incident angle has not been well-explained. Based on the equivalent nodal force method and the viscoelastic artificial boundary theory, the oblique incidence of seismic P-wave and SV-wave are carried out in FLAC3D software.

View Article and Find Full Text PDF

A Nodal Immersed Finite Element-Finite Difference Method.

J Comput Phys

March 2023

Departments of Mathematics, Applied Physical Sciences, and Biomedical Engineering, University of North Carolina, Chapel Hill, NC, USA.

The immersed finite element-finite difference (IFED) method is a computational approach to modeling interactions between a fluid and an immersed structure. The IFED method uses a finite element (FE) method to approximate the stresses, forces, and structural deformations on a and a finite difference (FD) method to approximate the momentum and enforce incompressibility of the entire fluid-structure system on a The fundamental approach used by this method follows the immersed boundary framework for modeling fluid-structure interaction (FSI), in which a force spreading operator prolongs structural forces to a Cartesian grid, and a velocity interpolation operator restricts a velocity field defined on that grid back onto the structural mesh. With an FE structural mechanics framework, force spreading first requires that the force itself be projected onto the finite element space.

View Article and Find Full Text PDF

A Model to Calculate the Current-Temperature Relationship of Insulated and Jacketed Cables.

Materials (Basel)

September 2022

Electrical Engineering Department, Universitat Politècnica de Catalunya, Rambla Sant Nebridi 22, 08222 Terrassa, Spain.

This paper proposes and validates using experimental data a dynamic model to determine the current-temperature relationship of insulated and jacketed cables in air. The model includes the conductor core, the inner insulation layer, the outer insulating and protective jacket and the air surrounding the cable. To increase its accuracy, the model takes into account the different materials of the cable (conductor, polymeric insulation and jacket) and also considers the temperature dependence of the physical properties, such as electrical resistivity, heat capacity and thermal conductivity.

View Article and Find Full Text PDF