Abstract
We study linear stability of solutions to the Navier–Stokes equations with stochastic viscosity. Specifically, we assume that the viscosity is given in the form of a stochastic expansion. Stability analysis requires a solution of the steady-state Navier-Stokes equation and then leads to a generalized eigenvalue problem, from which we wish to characterize the real part of the rightmost eigenvalue. While this can be achieved by Monte Carlo simulation, due to its computational cost we study three surrogates based on generalized polynomial chaos, Gaussian process regression and a shallow neural network. The results of linear stability analysis assessment obtained by the surrogates are compared to that of Monte Carlo simulation using a set of numerical experiments.
Introduction
In fluid dynamics, the transition from smooth, laminar flow to chaotic, turbulent flow is a critical threshold for engineering design. This transition is traditionally analyzed through the lens of linear stability in the Navier-Stokes equations. However, real-world applications often involve inherent uncertainties in physical parameters, such as viscosity. When viscosity is modeled as a stochastic variable, the deterministic stability problem transforms into a computationally intensive stochastic assessment.
To determine the probability of instability, researchers typically rely on Monte Carlo (MC) simulations. While robust, MC methods require thousands of iterations, each involving the solution of a nonlinear partial differential equation (PDE) followed by a large-scale generalized eigenvalue problem. This "computational tax" makes real-time or iterative design optimization nearly impossible. This paper evaluates the efficacy of three surrogate models—generalized Polynomial Chaos (gPC), Gaussian Process (GP) regression, and Shallow Neural Networks (NN)—to accelerate this assessment without sacrificing accuracy.
Methodology
The Stability Problem
The core objective is to characterize the real part of the rightmost eigenvalue of the linearized Navier-Stokes operator. If this value is positive, the flow is unstable. With stochastic viscosity, this eigenvalue becomes a random variable, and we seek its probability density function (PDF).
Surrogate Models
Three distinct mathematical frameworks were employed to approximate the mapping between stochastic viscosity parameters and the stability eigenvalue:
- Generalized Polynomial Chaos (gPC): A non-intrusive approach that approximates the output using a series of orthogonal polynomials. The model is trained using collocation points derived from a Smolyak sparse grid, which significantly reduces the number of required full-scale simulations.
- Gaussian Process (GP) Regression: Also known as Kriging, this statistical model treats the output as a realization of a Gaussian process. It is particularly valued for its ability to provide a mean prediction and a measure of uncertainty (variance) simultaneously.
- Shallow Neural Networks (NN): A machine learning approach utilizing a single hidden layer with 20 neurons. To mitigate the risk of overfitting given the small training datasets, the authors utilized Bayesian regularization during the training phase.
A significant finding in the methodology was the efficiency of training data: the same sparse grid points used for gPC served as an optimal training set for both the GP and NN models, ensuring a fair and efficient comparison.
Numerical Experiments
The surrogates were tested against two classic benchmarks in computational fluid dynamics:
- Flow Around a Cylinder: This setup exhibits a Hopf bifurcation, where the steady flow becomes oscillatory.
- Expansion Flow Around a Symmetric Step: This setup demonstrates a pitchfork bifurcation, where the flow loses its symmetry.
The experiments considered varying levels of uncertainty, with Coefficients of Variation (CoV) set at 1% and 10%, and stochastic spaces ranging up to 5 dimensions.
Results and Discussion
Computational Efficiency
The primary advantage of the surrogate approach is the massive reduction in temporal cost. A single full-scale simulation run required approximately 30 seconds. In contrast, evaluating a trained surrogate for 1,000 different viscosity realizations took between 0.02 and 0.04 seconds. This represents a speedup of several orders of magnitude, transforming a task that would take hours into one that takes milliseconds.
Accuracy and Convergence
Despite the speed, accuracy remained high. The Root Mean Square Error (RMSE) for the surrogates typically fell between $10^{-5}$ and $10^{-8}$. All three models produced PDFs that were virtually indistinguishable from the ground-truth Monte Carlo results.
Key insights from the performance analysis include:
- Data Pre-processing: For the GP and NN models, standardizing the input data (scaling to zero mean and unit variance) was essential for convergence.
- Dimensionality: As the dimensionality of the stochastic expansion increased, the GP and NN models showed greater robustness than gPC, suggesting they may be better suited for higher-dimensional engineering problems.
- Probability of Instability: The surrogates accurately predicted the probability of the flow becoming unstable (e.g., identifying an 89.7% chance of instability) with negligible error compared to the full MC simulation.
Conclusion
This study demonstrates that surrogate learning models can effectively replace expensive Monte Carlo simulations for the linear stability analysis of Navier-Stokes equations with stochastic viscosity. By using as few as 29 carefully selected training points from a sparse grid, models can be trained to predict stability outcomes with high precision. Future work will focus on extending these methods to higher-dimensional stochastic spaces and exploring their application in fully time-dependent, chaotic turbulent flows.
Summary updated