Physics-constrained deep learning-based model for non-equilibrium flows

Edoardo Monti, Narendra Singh, Justin Sirignano, Jonathan F. MacArt, Marco Panesi, Giulio Gori2024

Abstract

In hypersonic applications, the construction of accurate and computationally affordable models for simulating non-equilibrium fluid flows is a challenging task. In particular, design-relevant cases are complex and data availability is poor, de facto hampering the development of constitutive relations of general validity. To circumvent this issue, we propose a methodology for building physics-constrained neural networks providing a correction to the constitutive relation included in the Navier-Stokes model, with a specific focus on rarefied flows. The approach is based on the premise that physical laws should be inherently encoded in robust and accurate closures. By requiring the fulfillment of these laws i.e., by introducing specific constraints to the training process of the neural network, we obtain correction terms coherent with the physics, enhancing the modeling of both the viscous stress tensor and the heat flux vector. The goal is to demonstrate the feasibility of the proposed approach and its potential to benchmark the test case of the 1D shock.

Introduction

Simulating hypersonic vehicles (Mach 5+) presents a significant challenge: the air often ceases to behave as a continuous medium. As the Knudsen number ($Kn$)—the ratio of the molecular mean free path to the characteristic physical length scale—increases beyond 0.1, the standard Navier-Stokes (NS) equations break down. While high-fidelity methods like Direct Simulation Monte Carlo (DSMC) provide accurate results by tracking individual molecules, they are computationally prohibitive for complex 3D engineering designs.

This research introduces a "middle ground" approach: a physics-constrained deep learning framework that augments efficient continuum solvers with corrections derived from non-equilibrium physics. By embedding fundamental physical laws directly into the neural network architecture, the model achieves near-DSMC accuracy at a fraction of the cost of standard solvers.

Methodology: Physics-Constrained Augmentation

The core of the proposed method is the augmentation of the standard Navier-Stokes equations. Rather than replacing the governing equations, the researchers use a neural network to predict scaling corrections, $f$ and $g$, for the viscous stress tensor ($\tau$) and the heat flux vector ($q$):

$$\tau = \tau_{NS}(1 + f)$$ $$q = q_{NS}(1 + g)$$

Nomenclature and symbols used in the augmented Navier-Stokes model.

Hard-Coded Physical Constraints

To ensure the model remains physically consistent, several constraints are "hard-coded" into the learning process:

  1. Noll’s Principles: Ensuring the model's predictions are independent of the coordinate system.
  2. Clausius-Duhem Inequality: This enforces the Second Law of Thermodynamics by ensuring non-negative entropy production. By using an ELU activation function to keep $f \geq -1$, the model is physically barred from violating thermodynamic limits.

Online Adjoint Training

The training process utilizes an "online" adjoint approach. The neural network is optimized while simultaneously solving the partial differential equations (PDEs). This loop ensures that the corrections $f$ and $g$ are mathematically consistent with the global flow field.

Flowchart of the physics-constrained training loop using an adjoint-based approach.

Datasets and Training

The model was trained and validated using high-fidelity DSMC data for 1D shock waves in Argon.

  • Training: Conducted at Mach numbers $M = 2, 5,$ and $8$.
  • Validation: The model's generalizability was tested on unseen Mach numbers ($M = 3, 4, 6, 7, 9,$ and $10$).

By non-dimensionalizing gradients and removing case-specific parameters from the input, the model is designed to be "plug-and-play," potentially applicable to 2D and 3D scenarios despite being trained on 1D data.

Key Results and Discussion

The DL-augmented model demonstrated significant improvements over traditional continuum models:

  • Error Reduction: For high Mach number flows ($M > 6$), the model achieved a 90% reduction in error compared to standard NS solvers.
  • Profile Matching: The pressure and temperature profiles closely matched the DSMC "gold standard," outperforming established models like the Variable Hard Sphere (VHS) and Sutherland viscosity models.
  • Computational Efficiency: The results were obtained at a cost comparable to standard NS simulations, orders of magnitude faster than full DSMC simulations.

Conclusion and Future Work

While the model is highly effective, it faces limitations in capturing the "Mott-Smith effect"—a temperature overshoot in the shock tail where effective thermal conductivity can actually become negative. Because the Second Law of Thermodynamics was strictly enforced as a positive conductivity constraint, the model cannot currently reproduce this specific anomaly.

Future research will focus on developing more flexible entropy conditions to account for complex velocity distributions and extending the 1D-trained model to complex 2D geometries, such as flow over flat plates, to further validate its general applicability in hypersonic design.

Summary updated

BibTeX
@misc{monti2024physics,
  author = {Edoardo Monti and Narendra Singh and Justin Sirignano and Jonathan F. MacArt and Marco Panesi and Giulio Gori},
  title = {{Physics-constrained deep learning-based model for non-equilibrium flows}},
  year = {2024},
  doi = {10.2514/6.2024-0654},
}
Figure