Hostname: page-component-74656f9884-6grmk Total loading time: 0 Render date: 2026-11-05T15:42:44.155Z Has data issue: false hasContentIssue false

Physics-constrained machine learning for generalisable turbulence modelling across flow regimes

Published online by Cambridge University Press:  01 September 2026

Qingyong Luo
Affiliation:
The State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences , Beijing 100190, PR China School of Engineering Sciences, University of Chinese Academy of Sciences, Beijing 100049, PR China
Hao-Chen Liu
Affiliation:
The State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences , Beijing 100190, PR China School of Engineering Sciences, University of Chinese Academy of Sciences, Beijing 100049, PR China
Xin-Lei Zhang*
Affiliation:
The State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences , Beijing 100190, PR China School of Engineering Sciences, University of Chinese Academy of Sciences, Beijing 100049, PR China
Guowei He*
Affiliation:
The State Key Laboratory of Nonlinear Mechanics, Institute of Mechanics, Chinese Academy of Sciences , Beijing 100190, PR China School of Engineering Sciences, University of Chinese Academy of Sciences, Beijing 100049, PR China
*
Corresponding authors: Guowei He, hgw@lnm.imech.ac.cn; Xin-Lei Zhang, zhangxinlei@imech.ac.cn
Corresponding authors: Guowei He, hgw@lnm.imech.ac.cn; Xin-Lei Zhang, zhangxinlei@imech.ac.cn

Abstract

Content of image described in text.

In this work we propose a physics-constrained machine learning approach to enhance the generalisability of neural-network-represented turbulence models across different flow regimes. Machine learning-augmented turbulence modelling has emerged to improve the predictive accuracy of the Reynolds-averaged Navier–Stokes method based on high-fidelity data. However, such data-driven models face difficulties in generalising well in different flow scenarios outside training datasets. Here we show that this issue can be alleviated by incorporating physical constraints of the Reynolds stress during the learning process. It is achieved with a physics-constrained learning approach based on the regularised ensemble Kalman method, which allows for model learning from limited velocity data and is flexible in imposing physical constraints. The method is used to learn a nonlinear eddy viscosity model, represented by a tensor-basis neural network, from velocity data in separated flows over periodic hills. Two physical constraints are incorporated during the model learning, i.e. the baseline coefficients to capture the log law of the wall and the algebraic Reynolds stress equation to inform the Reynolds stress anisotropy. Moreover, an adaptive penalty method is developed to enforce physical constraints in the feature space associated with canonical flows, avoiding the incompatibility with the training data from separated flows. Our results show that the proposed method can learn a generalisable turbulence model across different flow scenarios, including similar separated flows, canonical wall-bounded flows and complex flow configurations. Finally, the learned neural-network-based model function is discussed, demonstrating its consistency with the imposed physical constraints.

Information

Type
JFM Papers
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Figure 1. Figure 1 long description.Schematic of the physics-constrained machine learning method. (a) The closure problem in the nonlinear eddy viscosity framework, i.e. learning the tensor coefficient function g(θ)$\boldsymbol{g}(\boldsymbol \theta )$. (b) The input scalar features are fed into the neural-network-based closure and further propagated to velocity fields via the RANS solver, forming a closed loop where the features are updated during the RANS solving process. Then the loss function is formulated to involve the data loss and two constraints associated with the baseline coefficient and the modelled ARSE. The constraints are imposed adaptively with two activation functions Ag(θ1,θ2)$A_{g}(\theta _1,\theta _2)$ and AARSE(θ1,θ2)$A_{\textit{ARSE}}(\theta _1,\theta _2)$. The optimal closure function is obtained by minimising the loss function iteratively, which preserves the consistency with the imposed constraints and reduces the prediction discrepancies simultaneously.

Figure 1

Table 1. Summary of physical constraints used in the present work, in terms of the formula, applicable flow regimes and feature range.Table 1 long description.

Figure 2

Table 2. Summary of case set-ups for both model training and generalisability tests. The periodic hill case is used for model training in this work.Table 2 long description.

Figure 3

Figure 2. Figure 2 long description.Contours of the non-dimensional streamwise velocity Ux/Ub$U_x/U_b$ for flow over periodic hills. The results are compared among (a) DNS, (b) the baseline model, (c) the learned model without physical constraints, and (d) the learned model with physical constraints. Streamlines are indicated by black curves.

Figure 4

Figure 3. Figure 3 long description.Comparison of mean velocity profiles among the DNS data, the baseline model, the learned model without constraints and the learned model with constraints for flows over periodic hills, in terms of (a) streamwise velocity component Ux$U_x$, and (b) normal velocity component Uy$U_y$.

Figure 5

Figure 4. Plots of physical constraint violations from the learned model with and without constraints for flows over periodic hills. (a) The g1$g_1$ constraint violation of the learned model without constraints. (b) The g1$g_1$ constraint violation of the learned model with constraints. (c) The ARSE constraint violation of the learned model without constraints. (d) The ARSE constraint violation of the learned model with constraints. The black dashed lines in panels (a) and (b) indicate (θ1−θ1ℓ)2+(θ2+θ1ℓ)2=3σ1$\sqrt {(\theta _1-\theta _{1\ell })^2 + (\theta _2+\theta _{1\ell })^2}=3\sigma _1$. The red dashed lines in panels (c) and (d) indicate θ1+θ2=0$\theta _1 + \theta _2 = 0$.

Figure 6

Figure 5. Figure 5 long description.Comparison of velocity contours and profiles for separated flows over the bump and NASA hump among the LES or experiment (Exp), the baseline, the learned model without constraints and the learned model with constraints. Panels (a) and (b) show the contour of normalised streamwise velocity (Ux/Uref$U_x/U_{\textit{ref}}$) over the bump and NASA hump, respectively. Panels (c) and (d) show the velocity profiles (Ux/Uref$U_x/U_{\textit{ref}}$ and Uy/Uref$U_y/U_{\textit{ref}}$) across different x/c$x/c$ locations for the bump and NASA hump, respectively.

Figure 7

Figure 6. Comparison of the skin friction coefficient (Cf$C_{\kern-1pt f}$) for separated flows over the bump and NASA hump among the LES or experiment (Exp), the baseline, the learned model without constraints and the learned model with constraints.

Figure 8

Figure 7. Comparison of mean velocity profiles in wall units (U+$U^+$ vs y+$y^+$) for turbulent channel flow at four friction Reynolds numbers: (a) Reτ=550$ \textit{Re}_{\tau }=550$, (b) Reτ=1000$ \textit{Re}_{\tau }=1000$, (c) Reτ=2000$ \textit{Re}_{\tau }=2000$, and (d) Reτ=5200$ \textit{Re}_{\tau }=5200$. The profiles compare the learned model with constraints (red solid line) with the DNS data (black circle), the baseline model (blue dashed line) and the learned model without constraints (green dotted line).

Figure 9

Figure 8. Figure 8 long description.Comparison of the mean velocity profile and skin friction coefficient for the ZPG boundary layer over a flat plate among theoretical reference, the baseline model and the learned models with and without constraints. (a) Mean velocity profile in wall units (U+$U^+$ vs y+$y^+$), where the theoretical reference is from Coles law (Coles 1956). (b) Skin friction coefficient (Cf$C_{\kern-1pt f}$) as a function of the momentum thickness Reynolds number (Reθ$ \textit{Re}_{\theta }$), where the theoretical reference is given by the K–S relation (Schoenherr 1932).

Figure 10

Figure 9. Comparison of the normalised streamwise velocity component (Ux/Ub$U_x/U_b$) (a) and the normalised cross-stream velocity component (Uy/Ub$U_y/U_b$) (b) in the cross-stream plane (y/h$y/h$ vs z/h$z/h$) for the fully developed turbulent square duct flow. The plot is organised into four columns representing results from the DNS, the baseline model, the learned model without constraints and the learned model with constraints.

Figure 11

Figure 10. Figure 10 long description.Comparison of the normalised streamwise and wall-normal velocity profiles in the square duct flow. The results from the learned model with constraints (red solid line) are compared with the DNS reference (black circle), the baseline model (blue dashed line) and the learned model without constraints (green dotted line).

Figure 12

Figure 11. Figure 11 long description.Comparison of the mean velocity components in the cross-stream plane (y/h$y/h$ vs z/h$z/h$) for the fully developed turbulent flow in a rectangular duct with an aspect ratio (AR) of 3 at Reb=5817$ \textit{Re}_{b} = 5817$. The plot presents the streamwise velocity (Ux/Ub$U_x/U_b$) (a) the wall-normal component (Uy/Ub$U_y/U_b$) (b) and the spanwise component (Uz/Ub$U_z/U_b$) (c) The plot is organised into four rows, representing results from the DNS, the baseline model, the learned model without constraints and the learned model with constraints. Here Ub$U_b$ is the bulk velocity and h$h$ is the half-height.

Figure 13

Figure 12. Comparison of normalised velocity profiles among the baseline model, the unconstrained model, the constrained model and the DNS for the rectangular duct flow (AR=3$\text{AR}=3$). The profiles are extracted along the half-height and half-width lines in the cross-stream plane (z/h$z/h$ vs y/h$y/h$).

Figure 14

Figure 13. Figure 13 long description.Flow configurations for 3-D test cases involving different flow regimes. (a) Profile and 3-D view of the FAITH hill. (b) Cross-sectional views (top and side) of the 3-D diffuser geometry. The indicated cross-sections are used for the following comparison.

Figure 15

Figure 14. Contours of the mean streamwise velocity component for flows over the FAITH hill with comparison among the experiments, the baseline and the learned model with and without physical constraints. The solid black line indicates the contour level at U/U∞=0$U/U_{\infty } = 0$.

Figure 16

Figure 15. Figure 15 long description.Comparison of the mean velocity profiles for the FAITH hill case among truth, the baseline model, the learned model without constraints and the learned model with constraints. In panel (a) the velocity profile at the upstream location of x/h=−9$x/h = -9$ is presented, where the truth represents Coles’ law for the turbulent boundary layer. In panel (b), velocity profiles at various downstream locations within the separation bubble are presented, where the truth represents experimental measurements. The solid black line outlines the hill geometry.

Figure 17

Figure 16. Comparison of the mean streamwise velocity contours across five distinct streamwise locations within the expansion section x/h=2,5,8,12, and 15$ x/h = 2, 5, 8, 12, \text{ and } 15$. The panels present results from (a) DNS (Ohlsson et al.2010), (b) baseline model, (c) learned model without constraints, and (d) learned model with constraints. The flow is visualised in the y/h (wall-normal)$ y/h \text{ (wall-normal)}$ versus z/h (spanwise)$ z/h \text{ (spanwise)}$ plane. The colour bar indicates the range of Ux/Ub$U_x/U_b$, with the dark blue region representing the severe reverse flow. The solid black line marks Ux/Ub=0$ U_x/U_b = 0$, clearly showing the separated flow region at each location.

Figure 18

Figure 17. Figure 17 long description.Comparison of the mean streamwise velocity profiles and the separation topology for flows in the rectangular diffuser, along the spanwise plane at z/h=2.918$ z/h = 2.918$. The results from the DNS, the baseline, the learned model without constraints and the learned model with constraints are compared. Panel (a) shows the evolution of the normalised streamwise velocity profiles in the wall-normal direction (y/h$y/h$) at various streamwise locations (x/h$x/h$) along the spanwise plane at z/h=2.918$ z/h = 2.918$. Panel (b) illustrates the overall flow topology with the contour level Ux/Ub=0$ U_x/U_b = 0$ in the x/h$ x/h$ (streamwise) versus y/h$ y/h$ (wall-normal) plane along the spanwise plane at z/h=2.918$ z/h = 2.918$.

Figure 19

Figure 18. Comparison of (a) the normalised eddy viscosity (νt/ν$\nu _t / \nu$) in the flow over periodic hills, (b) the Reynolds shear stress in channel flow, and (c) the imbalance between the Reynolds normal stresses in the square duct flow.

Figure 20

Figure 19. Figure 19 long description.Comparison of the two tensor coefficients g1$g_1$ and g2$g_2$ as functions of the two invariants θ1$\theta _1$ and θ2$\theta _2$. Panels (a) and (b) show the distribution of the coefficient −g1$-g_1$ for the constrained and the unconstrained models, respectively. The green solid line marks g1=−0.18$g_1=-0.18$ and the black dashed line denotes θ1+θ2=0$\theta _1+\theta _2=0$. Panels (c) and (d) show the distribution of the coefficient −g2$-g_2$ for the constrained and the unconstrained models, respectively.

Figure 21

Figure 20. The procedure of the physics-constrained learning of the tensor-basis neural network (TBNN) based on the regularised ensemble Kalman method: (a) pre-training the neural-network weights using baseline model coefficients, (b) generate initial samples of neural-network weights, (c) update neural-network weights based on physical constraints, (d) RANS simulation with the TBNN-based closure embedded, (e) update neural-network weights based on observation data y$\mathsf{y}$.

Figure 22

Table 3. Evaluation scores of the proposed physics-constrained model on the turbulence closure challenge benchmark.Table 3 long description.