论文标题
用表面电流进行磁场建模:Biffitools的实施和使用
Magnetic-field modeling with surface currents: Implementation and usage of bfieldtools
论文作者
论文摘要
我们提出了一个新颖的开源Python软件包BfieldTools,用于磁性质量计算,并在任意形状的表面上具有当前密度。该软件的核心功能依赖于表面电流密度的流功能表示及其在三角形网格上的离散化。尽管此流函数技术在某些领域是众所周知的,但迄今为止,相关的软件实现尚未发布或仅限于特定应用程序。使用BfieldTools,我们旨在生产一般,易于使用且有据可查的开源软件。该软件包纯粹是在Python编写的;我们没有明确使用低级语言,而是通过广泛的矢量化和使用Numpy库来解决计算瓶颈。该软件包可以轻松部署,快速代码开发并促进该软件将软件应用于实际问题。在本文中,我们描述了该软件包,并大量证明其使用,重点是其主要应用之一 - 线圈设计。
We present a novel open-source Python software package, bfieldtools, for magneto-quasistatic calculations with current densities on surfaces of arbitrary shape. The core functionality of the software relies on a stream-function representation of surface-current density and its discretization on a triangle mesh. Although this stream-function technique is well-known in certain fields, to date the related software implementations have not been published or have been limited to specific applications. With bfieldtools, we aimed to produce a general, easy-to-use and well-documented open-source software. The software package is written purely in Python; instead of explicitly using lower-level languages, we address computational bottlenecks through extensive vectorization and use of the NumPy library. The package enables easy deployment, rapid code development and facilitates application of the software to practical problems. In this paper, we describe the software package and give an extensive demonstration of its use with an emphasis on one of its main applications -- coil design.