Energy-based, geometric, and compositional formulation of fluid and plasma models
Markus Lohmayer, Michael Kraus, Sigrid Leyendecker
TL;DR
This work develops and demonstrates the Exergetic Port-Hamiltonian Systems (EPHS) framework for energy-based, coordinate-invariant modeling of coupled fluid and plasma dynamics. By composing models from storage, reversible, and irreversible subsystems through a power-preserving graphical language, it builds from a 1D ideal barotropic fluid to a 3D NSF fluid, and further to Maxwell, EMHD, and MHD models, ensuring thermodynamic consistency via exergy-based storage and Dirac/Onsager structures. The approach guarantees energy conservation and non-negative entropy production, while supporting reuse and modular extension across physical domains. The geometric, exterior-calculus formulation facilitates coordinate-free modeling and lays groundwork for structure-preserving discretization and potential integration with scientific machine learning in multiphysics contexts.
Abstract
Fluid dynamics plays a crucial role in various multiphysics applications, including energy systems, electronics cooling, and biomedical engineering. Developing models for complex coupled systems can be challenging and time-consuming. In particular, ensuring the consistent integration of models from diverse physical domains requires meticulous attention. Considering the example of (electro-)magneto hydrodynamics (on a fixed spatial domain and with linear polarization and magnetization), this article demonstrates how relatively complex models can be composed from simpler parts by means of a formal language for multiphysics modeling. The Exergetic Port-Hamiltonian Systems (EPHS) modeling language features a simple graphical syntax for expressing the energy-based interconnection of subsystems. This reduces cognitive load and facilitates communication, especially in multidisciplinary environments. As the example demonstrates, existing models can be easily integrated as subsystems of new models. Specifically, an ideal fluid model is used as a subsystem of a Navier-Stokes-Fourier fluid model, which in turn is reused as a subsystem of an (electro-)magneto hydrodynamics model. The energy-based, compositional approach simplifies understanding complex models, and it makes it easy to encapsulate, reuse, and replace (parts of) models. Moreover, structural properties of EPHS models guarantee fundamental properties of thermodynamic systems, such as conservation of energy, non-negative entropy production, and Onsager reciprocal relations.
