Introduction
In the field of fluid dynamics, macroscopic equations such as the Euler or Navier-Stokes equations serve as the standard for modeling equilibrium flows. However, these models often fail when applied to non-equilibrium regimes, such as high-altitude flight in rarefied gases or micro-scale fluidic devices. While kinetic models like the Bhatnagar-Gross-Krook (BGK) equation provide high accuracy in these scenarios by tracking particle distributions, they are computationally prohibitive for large-scale applications.
This research introduces a machine learning framework that bridges this gap by embedding the Conservation-dissipation Formalism (CDF) of thermodynamics directly into neural networks. The result is a system capable of learning partial differential equations (PDEs) that are not only computationally efficient but also physically consistent, stable, and interpretable.
The Challenge of Non-Equilibrium Flows
The primary difficulty in fluid modeling is finding a macroscopic model that maintains the speed of Euler equations while capturing the accuracy of kinetic models. Previous attempts to use deep learning for PDE discovery often resulted in "black box" models. These models frequently violated fundamental physical laws—such as the Second Law of Thermodynamics—and suffered from numerical instability when making predictions outside their training distribution.
Methodology: The CDF Framework
The authors address these issues by using the CDF framework to structure the neural network's learning process. Instead of allowing a network to approximate a PDE arbitrarily, the framework constrains the equations to take the form of hyperbolic balance laws. This ensures the model is "symmetrizable hyperbolic," a mathematical property that guarantees the equations are well-posed and numerically stable.
Learning Thermodynamic Potentials
Within the CDF framework, the system's behavior is governed by two primary unknown components:
- The Entropy Function ($\eta$): Representing the system's thermodynamic state.
- The Dissipation Matrix ($M$): Governing how the system returns to equilibrium.
The researchers utilize fully-connected neural networks to represent these specific functions. To ensure thermodynamic validity, they employ specific architectural constraints, such as the softplus activation function, to force the entropy function to be concave and the dissipation matrix to be positive definite. Furthermore, the model is designed to maintain Galilean invariance, ensuring that physical predictions remain consistent regardless of the observer's constant velocity.
Experimental Setup and Training
The model was trained using high-fidelity data generated from a 1D BGK kinetic model. Notably, the training set consisted of only 50 sets of smooth initial data (sine waves for density and temperature).
To test the model's robustness, it was evaluated against the Sod shock tube problem, a classic benchmark involving a high-pressure gas expanding into a low-pressure zone, creating discontinuities. The evaluation spanned four orders of magnitude of the Knudsen number ($\epsilon$), ranging from near-equilibrium ($10^{-3}$) to highly non-equilibrium ($10^1$) states.
Key Results and Insights
Generalization to Discontinuities
A significant finding of this research is the model's ability to generalize. Despite being trained exclusively on smooth data, the CDF-constrained network successfully predicted the behavior of shocks and discontinuities. This suggests that the physical constraints forced the network to learn underlying thermodynamic principles rather than simply interpolating the training data.
Accuracy and Robustness
- Error Rates: For smooth solutions, the relative $L^1$ and $L^2$ errors were consistently below 3%. Even in the presence of discontinuities, errors remained below 6%.
- Superiority over Euler: In high-Knudsen number regimes (non-equilibrium), the learned model significantly outperformed standard Euler equations, which typically fail to capture the "smeared" profile of non-equilibrium shocks.
- Stability: Due to the hard-coded mathematical structure of the CDF, the model remained stable throughout simulations, avoiding the "explosions" common in unconstrained neural PDE solvers.
Conclusion
By embedding the Conservation-dissipation Formalism into the architecture of neural networks, this research demonstrates that it is possible to learn PDEs that are both interpretable and physically robust. This "physics-by-design" approach ensures that AI models respect the Second Law of Thermodynamics and maintain stability across diverse flow regimes. Future work aims to extend this framework to multi-dimensional flows and incorporate experimental data to further refine the model's predictive power in complex, real-world environments.
Summary updated