Surrogate modeling for fluid flows based on physics-constrained deep learning without simulation data

Luning Sun, Han Gao, Shaowu Pan, Jian-Xun WangComputer 2019 · DOI

TL;DR

This paper introduces a novel "data-free" deep learning approach for creating surrogate models of fluid dynamics. By embedding the governing physical equations (Navier-Stokes) directly into the training process, they can accurately predict fluid behavior without needing any prior simulation data, significantly reducing computational costs for complex analyses.

What Problem Does This Paper Address?

Traditional methods for simulating fluid dynamics, like Computational Fluid Dynamics (CFD), are computationally expensive and time-consuming. This is especially problematic for "many-query" applications such as real-time medical diagnostics, surgical planning, or design optimization, where numerous simulations are required. While deep learning (DL) offers a promising alternative for creating "surrogate models" (faster approximations), existing DL methods typically rely on large datasets of simulation results, which are themselves costly to generate. This paper tackles the challenge of building accurate and efficient fluid dynamics surrogates when such simulation data is scarce or unavailable.

Methods

The core innovation is a physics-constrained deep learning (DL) framework. Instead of training a DL model on existing simulation data, the authors devise a structured Deep Neural Network (DNN) architecture that enforces the governing physical laws. Specifically:

  • Physics-Informed Loss Function: The Navier-Stokes equations are incorporated directly into the loss function of the DNN. The training process aims to minimize the residuals of these equations, effectively forcing the DNN to learn solutions that satisfy fluid dynamics principles.
  • Hard Boundary Condition Enforcement: Initial and boundary conditions are not just penalized but are "hard-encoded" into the DNN's architecture. This is achieved by constructing the DNN's output as a sum of a particular solution that satisfies the conditions and a learned component that captures the general solution.
  • Structured DNN Architecture: A fully-connected neural network (FC-NN) is used, with specific input layers for time, spatial coordinates, and parametric variables. The network is trained to predict velocity and pressure fields.
  • Automatic Differentiation (AD): AD is employed to efficiently and accurately compute the derivatives required for the physics-based loss function.

This approach is termed "data-free" because it bypasses the need for pre-computed CFD simulation data for training.

Datasets

The paper does not use any pre-existing datasets for training. Instead, the DNN is trained using the governing equations themselves. For validation, the authors compare their DNN surrogate predictions against results obtained from traditional CFD simulations using the OpenFOAM solver. These CFD simulations are performed for various idealized flow scenarios (circular pipe flow, stenotic flow, aneurysmal flow) with varying fluid properties and geometries.

Key Insights and Ideas

  • Data-Free Learning is Feasible for Complex Fluids: The most significant insight is that accurate surrogate models for complex fluid dynamics (governed by Navier-Stokes) can be built without any simulation data, relying solely on the underlying physics.
  • Hard Boundary Conditions are Crucial: The study highlights that for complex geometries, "hard" enforcement of boundary conditions is significantly more effective than "soft" enforcement (penalty-based), which can lead to inaccurate results.
  • Physics-Constrained Learning Offers Massive Speedups: The trained DNN surrogates can perform forward evaluations (e.g., uncertainty propagation) orders of magnitude faster (up to 2000x) than traditional CFD simulations.
  • Mesh-Free Advantage: The DL approach is mesh-free, eliminating the laborious and error-prone process of mesh generation, which is a major bottleneck in traditional CFD, especially for complex or moving geometries.

Key Results

  • Excellent Agreement: The physics-constrained DNN surrogates achieve excellent agreement with CFD benchmarks for flow fields (velocity, pressure) and quantities of interest (e.g., wall shear stress) in various cardiovascular flow scenarios.
  • Accurate Uncertainty Propagation: The DNN surrogates accurately propagate uncertainties in fluid properties (viscosity) and domain geometry, producing probability distributions that closely match CFD-based Monte Carlo simulations.
  • Significant Speedup: Uncertainty propagation using the DNN surrogate is up to 2000 times faster than using CFD simulations. For example, 500 MC samples take ~10 CPU seconds with the DNN vs. ~20,000 CPU seconds with CFD.
  • Robustness: The method demonstrates robustness across different flow conditions, including varying viscosity and geometry in stenotic and aneurysmal flows.

Limitations and Future Work

  • Training Cost: While evaluation is fast, the offline training process for the DNN can still be computationally intensive.
  • Convergence Guarantee: The non-convex nature of DNN optimization means convergence to a global minimum is not guaranteed, though the authors found empirically good local minima.
  • Scalability: The authors acknowledge that scalability for high-dimensional complex problems remains a challenge.
  • Future Work: The paper suggests that further advances in DNN training efficiency (e.g., using specialized hardware like photonic chips) could further enhance the applicability of this method. The authors also note that while the current work focuses on 2D flows, extending to 3D problems is a natural next step. The paper also briefly discusses the impact of adaptive activation functions, suggesting further exploration in this area.

Summary updated

BibTeX
@inproceedings{sun2019surrogate,
  author = {Luning Sun and Han Gao and Shaowu PAN and Jian-Xun Wang},
  title = {{Surrogate modeling for fluid flows based on physics-constrained deep learning without simulation data}},
  booktitle = {Computer},
  year = {2019},
  doi = {10.1016/j.cma.2019.112732},
}
Figure