Thermodynamically consistent physics-informed neural networks for hyperbolic systems

Ravi G. Patel, Indu Manickam, Nathaniel A. Trask, Mitchell A. Wood, Myoungkyu Lee, Ignacio Tomas, Eric C. CyrJournal of Computational Physics 2020

TL;DR

This paper introduces a novel "control volume" approach to physics-informed neural networks (PINNs) that significantly improves their ability to handle hyperbolic systems, like those governing fluid dynamics and shock waves. By integrating classical finite volume methods, their approach naturally enforces conservation laws and thermodynamic consistency, leading to more robust and accurate solutions, especially for inverse problems like inferring material equations of state.

What Problem Does This Paper Address?

Traditional physics-informed neural networks (PINNs) have shown promise in solving partial differential equations (PDEs) by incorporating physical laws into the neural network's training objective. However, they often struggle with hyperbolic systems, particularly those involving discontinuities like shocks. These challenges stem from issues with PDE discretization, boundary condition enforcement, and ensuring conservation laws are met. This can lead to non-physical oscillations and unstable solutions. Furthermore, applying PINNs to inverse problems, such as determining material properties (equations of state) from observational data, is complicated by the need for solutions that are not only accurate but also physically consistent and stable when integrated into existing simulation codes.

Methods

The authors propose a new formulation called Control Volume Physics-Informed Neural Networks (cvPINNs). Instead of relying on point-wise collocation (like traditional PINNs), cvPINNs discretize the problem domain into space-time control volumes. This approach naturally enforces conservation laws by integrating the flux across cell boundaries.

Key methodological contributions include:

  • Space-time integral form: The conservation laws are formulated in their integral form, which is then discretized over space-time control volumes.
  • Natural boundary condition enforcement: Boundary and initial conditions are incorporated directly into the control volume formulation, eliminating the need for separate penalty terms and associated hyperparameter tuning.
  • Thermodynamic consistency: The framework allows for the incorporation of physical biases, such as entropy inequalities and total variation diminishing properties, which are crucial for handling discontinuities and ensuring physically meaningful solutions.
  • Inverse problem formulation: The cvPINNs framework is extended to inverse problems by minimizing a combined loss function that includes both the physics residual and a data fidelity term. This allows for the extraction of unknown parameters, such as equations of state, from observational data.

Datasets

The paper utilizes several datasets for training and evaluation:

  • Direct Simulation Monte Carlo (DSMC) data: Used to generate data for the Sod shock tube problem with Argon, serving as a benchmark for extracting equations of state for compressible gas dynamics.
  • Molecular Dynamics (MD) simulations: Used to generate data for shock hydrodynamics of copper, enabling the inference of equations of state for non-fluid materials.
  • Synthetic data: Generated for canonical hyperbolic systems like Burgers, Euler, and Buckley-Leverett equations to test the forward simulation capabilities of cvPINNs.

Key Insights and Ideas

  • Control volumes are key for hyperbolic systems: Discretizing conservation laws in a control volume framework naturally enforces conservation, a critical aspect often challenging for traditional PINNs.
  • Thermodynamic consistency is achievable and crucial: By incorporating entropy and total variation constraints, cvPINNs can produce stable solutions even in the presence of shocks and discontinuities, avoiding non-physical oscillations.
  • Inverse problems benefit from physical biases: When inferring equations of state, imposing thermodynamic consistency constraints leads to more robust and generalizable models, even with limited data.
  • cvPINNs offer a bridge to traditional methods: The control volume formulation makes it easier to integrate with established finite volume methods, allowing for the incorporation of well-understood numerical techniques.

Key Results

  • Improved accuracy and stability: cvPINNs demonstrated significantly improved accuracy and stability for hyperbolic problems, particularly in capturing shock fronts without spurious oscillations, compared to traditional PINNs.
  • Successful EOS extraction: The method successfully inferred equations of state for both gases (Argon) and solids (Copper) from simulated data, showing good agreement with known models and experimental data.
  • Robustness to data scarcity: The thermodynamic regularization in cvPINNs enabled the extraction of stable and reasonably accurate equations of state even with limited training data.
  • Compatibility with unstructured meshes: The paper shows that cvPINNs can be applied to unstructured meshes, increasing its applicability to complex geometries.

Limitations and Future Work

  • Optimization error: The authors acknowledge that handling optimization error remains a major challenge for achieving competitive accuracy with traditional numerical methods, especially as neural network size increases.
  • Generalizability of black-box models: While black-box neural network parameterizations for EOS can fit training data well, they may lack generalizability without thermodynamic consistency constraints.
  • Future work: The authors suggest exploring operator regression for learning complex closures (e.g., for turbulence modeling) and further investigating techniques to improve convergence of error with respect to network size. They also highlight the potential for cvPINNs in modeling non-equilibrium kinetics.

Summary updated

Abstract

Physics-informed neural network architectures have emerged as a powerful tool for developing flexible PDE solvers which easily assimilate data, but face challenges related to the PDE discretization underpinning them. By instead adapting a least squares space-time control volume scheme, we circumvent issues particularly related to imposition of boundary conditions and conservation while reducing solution regularity requirements. Additionally, connections to classical finite volume methods allows application of biases toward entropy solutions and total variation diminishing properties. For inverse problems, we may impose further thermodynamic biases, allowing us to fit shock hydrodynamics models to molecular simulation of rarefied gases and metals. The resulting data-driven equations of state may be incorporated into traditional shock hydrodynamics codes.
BibTeX
@article{patel2020thermodynamically,
  author = {Ravi G. Patel and Indu Manickam and Nathaniel A. Trask and Mitchell A. Wood and Myoungkyu Lee and Ignacio Tomas and Eric C. Cyr},
  title = {{Thermodynamically consistent physics-informed neural networks for hyperbolic systems}},
  journal = {Journal of Computational Physics},
  year = {2020},
  url = {https://openreview.net/forum?id=K1ATLiOgUu},
}
Figure