TL;DR
This paper introduces RANS-PINN, a novel physics-informed neural network framework that successfully integrates a two-equation ($k-\epsilon$) turbulence model to predict high-Reynolds-number fluid flows. By combining data-driven pre-training with a specialized logarithmic loss function, the framework overcomes the training instabilities typical of standard PINNs, delivering accurate, near-real-time parametric flow simulations.
What Problem Does This Paper Address?
Designing aerodynamic surfaces or thermal management systems traditionally requires running computationally expensive Computational Fluid Dynamics (CFD) simulations. While Physics-Informed Neural Networks (PINNs) have emerged as a promising mesh-free alternative to accelerate these evaluations, they notoriously struggle with turbulent flows at high Reynolds numbers ($Re$).
Turbulence introduces steep gradients (especially near walls) and highly non-convex loss landscapes. Standard PINNs frequently fail to converge or yield noisy, discontinuous solutions when forced to solve the underlying Navier-Stokes equations under these conditions. While simplified turbulence models like the Reynolds-Averaged Navier-Stokes (RANS) formulation are standard in engineering, integrating a robust two-equation RANS model (like the popular $k-\epsilon$ model) directly into a PINN framework has remained an open challenge due to severe optimization instabilities.
Methods
The authors present RANS-PINN, which incorporates the standard $k-\epsilon$ turbulence model equations directly into the network's regularization loss.
Key methodological innovations include:
- Separated Architecture: Instead of a single massive network, RANS-PINN uses separate Fourier Neural Operators (FNOs) for each output variable: velocity components ($u, v$), pressure ($p$), turbulent kinetic energy ($k$), and turbulent dissipation rate ($\epsilon$). They all share positional coordinates $(x, y)$ and the Reynolds number ($Re$) as inputs.
- Sequential "Warm-Start" Training: Rather than optimizing data and PDE losses simultaneously from scratch—which leads to slow convergence—the networks are first pre-trained purely on data. Physics constraints are only introduced after this initialization.
- Dynamic Loss Scaling: To prevent any single PDE constraint from dominating the gradient updates, the individual components of the PDE loss are dynamically scaled by the inverse of their corresponding residual values.
- Logarithmic Loss for Dissipation ($\epsilon$): Because the turbulence dissipation term ($\epsilon$) changes abruptly near walls and free shear regions, standard Mean Squared Error (MSE) fails. The authors apply a logarithmic loss function specifically to $\epsilon$ to stabilize training.
Datasets
The training and validation datasets were generated using high-fidelity numerical simulations from Simcenter STAR-CCM+ using a standard $k-\epsilon$ RANS model.
The framework was evaluated across three distinct geometric benchmarks:
- Flow over a cylinder: Used for both single-case validation and parametric training across six different Reynolds numbers ranging uniformly from $Re = 2800$ to $5600$.
- NACA 2412 Airfoil: Representing external aerodynamic flows with pressure gradients ($Re = 3 \times 10^5$).
- Backward-Facing Step: Characterized by sudden channel expansion, flow separation, and re-attachment ($Re = 5600$).
For each simulation, only a tiny fraction (3,000 spatial points) of the total mesh data (typically 61,000 points) was sampled for training.
Key Insights and Ideas
- The Power of a Warm Start: Simultaneous optimization of data and complex turbulent physics losses causes competing gradients that stall training. Pre-training on data provides a vital "homing alignment" before the physics constraints are turned on.
- Log-Loss is Essential for Turbulence: Standard MSE loss cannot cope with the orders-of-magnitude variations of the dissipation rate ($\epsilon$) near solid boundaries. Switching to a log-loss formulation eliminates non-physical discontinuities and stabilizes the entire optimization process.
Key Results
- Massive Error Reduction: For the cylinder case, adding the logarithmic loss for $\epsilon$ dropped the X-velocity validation error from 0.187 (standard data+PDE) down to 0.014.
- Excellent Generalization: The parametric RANS-PINN successfully predicted flow fields for unseen Reynolds numbers. Even when tested at $Re = 5700$—completely outside the training range—the model maintained low error metrics (X-velocity error of 0.153).
- Substantial Speedup: While a single traditional CFD simulation run took approximately 24 core-minutes, the trained parametric RANS-PINN yielded flow field predictions in near real-time.
Limitations and Future Work
The authors acknowledge that the ability of PINNs to fully replace traditional CFD solvers remains a subject of ongoing debate. While RANS-PINN excels as a fast surrogate model, this study was limited to 2D steady-state cases. Future extensions will need to address highly unsteady 3D turbulent flows and evaluate how the framework scales with even more complex industrial geometries.
Summary updated