Pyrit: A finite element based field simulation software written in Python

Jonas Bundschuh,M. Greta Ruppert,Yvonne Späeck-Leigsnering
DOI: https://doi.org/10.1108/compel-01-2023-0013
2023-09-28
COMPEL The International Journal for Computation and Mathematics in Electrical and Electronic Engineering
Abstract:Purpose The purpose of this paper is to present the freely available finite element simulation software Pyrit. Design/methodology/approach In a first step, the design principles and the objective of the software project are defined. Then, the software's structure is established: The software is organized in packages for which an overview is given. The structure is based on the typical steps of a simulation workflow, i.e., problem definition, problem-solving and post-processing. State-of-the-art software engineering principles are applied to ensure a high code quality at all times. Finally, the modeling and simulation workflow of Pyrit is demonstrated by three examples. Findings Pyrit is a field simulation software based on the finite element method written in Python to solve coupled systems of partial differential equations. It is designed as a modular software that is easily modifiable and extendable. The framework can, therefore, be adapted to various activities, i.e., research, education and industry collaboration. Research limitations/implications The focus of Pyrit are static and quasistatic electromagnetic problems as well as (coupled) heat conduction problems. It allows for both time domain and frequency domain simulations. Originality/value In research, problem-specific modifications and direct access to the source code of simulation tools are essential. With Pyrit, the authors present a computationally efficient and platform-independent simulation software for various electromagnetic and thermal field problems.
engineering, electrical & electronic,computer science, interdisciplinary applications,mathematics, applied
What problem does this paper attempt to address?