Year: 2024
Type: article
Abstract: Field theories described by partial differential equations (PDEs) are the backbone of many areas in physics. Examples of such field theories include the Navier-Stokes equations, which describe how air flows around the wing of an airplane; the Schrödinger equation, which governs how microscopic particles behave; Maxwell's equations, which explain the behavior of electromagnetic fields; and the Nobel Prize-winning Ginzburg-Landau theory, which explains how superconductors work. Despite their importance, simulating field theories often requires specialized software and programming expertise. Even though there exist specialized software packages like FEniCS (Alnaes et al., 2015) for solving PDEs, these are often focused on numerical efficiency at the cost of legibility or user-friendliness and fall short in offering functionalities for visualizing and analyzing outcomes. In particular, in the realm of many field theories, the study of topological defects -small structures like vortices in fluids -is essential for understanding phenomena such as phase transitions, turbulence and pattern formation. Due to the shared mathematical structures of these topological defects, recent research has shown that a common computational framework can be used to study them across different physical systems, ranging from Bose-Einstein condensates to nematic liquid crystals and crystalline solids (Skogvoll et al., 2023). However, a unified computational framework that brings all these systems together is lacking. ComFiT aims to close this gap, catering to both researchers and educators in physics, by providing a user-friendly, object-oriented framework for setting up a physical system, solving PDEs in one, two and three dimensions, visualizing results, and tracking topological defects. In so doing, ComFiT also brings advanced models of phase-field crystal modeling and nematic liquid crystals to the Python ecosystem, which are currently scarcely available in the open-source community, especially for three dimensions. ComFiT sets itself apart from existing open-source Python software for solving PDEs in these ways:
DOI: 10.21105/joss.06599
Authors: Vidar Skogvoll, Jonas Rønning
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: diamond
OpenAlex ID: W4399539101
