Hostname: page-component-89b8bd64d-sd5qd Total loading time: 0 Render date: 2026-05-07T00:26:49.739Z Has data issue: false hasContentIssue false

Using graph neural networks for wall modeling in compressible anisothermal flows

Published online by Cambridge University Press:  10 April 2024

Dorian Dupuy*
Affiliation:
European Centre for Research and Advanced Training in Scientific Computing, Toulouse, France
Nicolas Odier
Affiliation:
European Centre for Research and Advanced Training in Scientific Computing, Toulouse, France
Corentin Lapeyre
Affiliation:
European Centre for Research and Advanced Training in Scientific Computing, Toulouse, France
*
Corresponding author: Dorian Dupuy; Email: dorian.dupuy@cerfacs.fr

Abstract

Compressible anisothermal flows, which are commonly found in industrial settings such as combustion chambers and heat exchangers, are characterized by significant variations in density, viscosity, and heat conductivity with temperature. These variations lead to a strong interaction between the temperature and velocity fields that impacts the near-wall profiles of both quantities. Wall-modeled large-eddy simulations (LESs) rely on a wall model to provide a boundary condition, for example, the shear stress and the heat flux that accurately represents this interaction despite the use of coarse cells near the wall, and thereby achieve a good balance between computational cost and accuracy. In this article, the use of graph neural networks for wall modeling in LES is assessed for compressible anisothermal flow. Graph neural networks are a type of machine learning model that can learn from data and operate directly on complex unstructured meshes. Previous work has shown the effectiveness of graph neural network wall modeling for isothermal incompressible flows. This article develops the graph neural network architecture and training to extend their applicability to compressible anisothermal flows. The model is trained and tested a priori using a database of both incompressible isothermal and compressible anisothermal flows. The model is finally tested a posteriori for the wall-modeled LES of a channel flow and a turbine blade, both of which were not seen during training.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2024. Published by Cambridge University Press
Figure 0

Table 1. Numerical parameters of the numerical simulations are included in the training database

Figure 1

Figure 1. Schematic representation of the scaling and data augmentation strategies, where the input space is formally decomposed into the dimension of a transformation $ \mathcal{P} $, with respect to which the model is assumed equivariant, and an intrinsic dimension, which represents of the physical content of the input data, invariant under $ \mathcal{P} $. The red crosses represent different simulations seen during training or at inference time. The blue areas are the portion of input space seen during training, which for illustrative purpose is assumed to be a sphere in the feature space.

Figure 2

Table 2. Strategies used to enforce the equivariance of the machine-learning model to various transformations, and references used to compute the scalings

Figure 3

Figure 2. Graphical representation of the Encode-Process-Decode architecture. The scaling (pre-processing) and unscaling (post-processing) steps correspond to the transformations as listed in Table 2.

Figure 4

Table 3. Coefficient of determination between the prediction of the graph neural network wall model and the reference for the wall shear stress prediction and the wall heat flux prediction in each dataset

Figure 5

Figure 3. Scaled wall-tangential velocity$ {u}^{+} $as a function of the scaled distance to the wall$ {y}^{+} $in each dataset using the local reference wall shear stress (top), the prediction of the ACSC model (center), and the prediction of the Full model (bottom) to compute the wall unit scaling ($ {}^{+} $). The red line is Reichardt’s law, given by equation (31). The black line is the mean profile of the reference simulation. It is given only when applicable that is in spatially homogeneous simulations. Two mean profiles are given in the case AC1 and AC2, one for the top (hot) wall and one for the bottom (cold) wall.

Figure 6

Figure 4. Scaled temperature$ {T}^{+} $as a function of the scaled distance to the wall$ {y}^{+} $in each dataset using the local reference wall shear stress (top), the prediction of the ACSC model (center), and the prediction of the Full model (bottom) to compute the wall unit scaling ($ {}^{+} $). The red line is Kader’s law, given by equation ((32). The black line is the mean profile of the reference simulation. It is given only when applicable that is in spatially homogeneous simulations. Two mean profiles are given in the case AC1 and AC2, one for the top (hot) wall and one for the bottom (cold) wall.

Figure 7

Figure 5. Scatter plot between the target wall shear stress and the prediction of the uncoupled algebraic wall model, the coupled algebraic wall model, the ACSC model, and the Full model. The red line is identity.

Figure 8

Figure 6. Scatter plot between the target wall conductive heat flux and the prediction of the uncoupled algebraic wall model, the coupled algebraic wall model, the ACSC model, and the Full model. The red line is identity.

Figure 9

Figure 7. Average prediction of the baseline wall models and the graph neural network wall models in different test cases. The average is performed in both time and spanwise directions in the BFS simulation, the APG simulation, and the L89 simulation. Both$ \tau $ and $ q $are given in dimensional units, namely respectively Pa and W/m2.

Figure 10

Figure 8. Mean streamwise velocity, standard deviation of streamwise velocity, mean temperature, and standard deviation of temperature in large-eddy simulations of the symmetrically cooled channel flow SC2 with algebraic wall models and graph neural network wall models. The wall-resolved simulation presented in Appendix A is given for comparison.

Figure 11

Figure 9. Mean streamwise velocity, standard deviation of streamwise velocity, mean temperature, and standard deviation of temperature in large-eddy simulations of the symmetrically cooled channel flow SC2 with algebraic wall models and graph neural network wall models, using the Smagorinsky and Sigma subgrid-scale models. The wall-resolved simulation presented in Appendix A is given for comparison.

Figure 12

Figure 10. Mean streamwise velocity, standard deviation of streamwise velocity, mean temperature, and standard deviation of temperature in large-eddy simulations of the symmetrically cooled channel flow SC3 with algebraic wall models and graph neural network wall models. The wall-resolved simulation presented in Appendix A is given for comparison.

Figure 13

Table 4. Mean nondimensionalized wall shear stress$ \tau /\left(\rho {u}_c^2\right)={\left({u}_{\tau }/{u}_c\right)}^2 $, where$ {u}_c $is the centerline velocity, in large-eddy simulations of a channel flow at the friction Reynolds numbers$ {\mathit{\operatorname{Re}}}_{\tau }=395 $,$ {\mathit{\operatorname{Re}}}_{\tau }=950 $, and$ {\mathit{\operatorname{Re}}}_{\tau }=2000 $with an algebraic wall stress model and a machine-learning wall model

Figure 14

Table 5. Operating point conditions of the MUR235 test cases (Arts et al., 1990)

Figure 15

Figure 11. Left: Side view of the mesh, on the slice $ z/c=0.037 $. Right: Height of the first cell off the wall along the blade surface, in wall units.

Figure 16

Figure 12. Instantaneous field of axial velocity in the reference high-fidelity simulation of Dupuy et al. (2020) (top), the wall-modeled large-eddy simulation using the Sigma model (center), and the wall-modeled large-eddy simulation using the Smagorinsky model (bottom) on the plane$ z/c=0.037 $. The curvilinear abscissa$ {s}_1/c $along the blade is given in the figures for reference.

Figure 17

Figure 13. Wall shear stress and conductive heat flux along the blade surface using the Sigma model.

Figure 18

Figure 14. Wall shear stress and conductive heat flux along the blade surface, using the Smagorinsky and Sigma subgrid-scale models.

Figure 19

Figure 15. Overhead of the graph neural network wall model per iteration for 2, 4, 6, and 16 hybrid nodes.

Figure 20

Figure A1. Geometry of the symmetrically cooled channel flows SC1, SC2, and SC3.

Figure 21

Figure A2. Profiles with classical wall scaling of mean streamwise velocity (a), mean temperature (c), standard deviation of streamwise velocity (b) and standard deviation of temperature in the simulations SC1, SC2, and SC3 (d). The direct numerical simulation profiles of Kawamura et al. (1998) at $ {\mathit{\operatorname{Re}}}_{\tau }=395 $ and $ \mathit{\Pr}=0.71 $, in which temperature is a passive scalar, are given for comparison. The analytical profiles of Reichardt, given by equation ((31), and Kader, given by equation ((32), are also provided for reference.

Figure 22

Figure A3. Profiles with semi-local scaling of mean streamwise velocity (a), mean temperature (c), standard deviation of streamwise velocity (b) and standard deviation of temperature in the simulations SC1, SC2, and SC3 (d). The direct numerical simulation profiles of Kawamura et al. (1998) at $ {\mathit{\operatorname{Re}}}_{\tau }=395 $ and $ \mathit{\Pr}=0.71 $, in which temperature is a passive scalar, are given for comparison. The analytical profiles of Reichardt, given by equation ((31), and Kader, given by equation ((32), are also provided for reference.

Figure 23

Figure B1. Mean streamwise velocity and standard deviation of streamwise velocity in large-eddy simulations of a channel flow at friction Reynolds number Reτ=950 with an algebraic wall stress model and a graph neural network wall model. The unfiltered direct numerical simulation profile of Hoyas and Jiménez (2008) is given for comparison.

Submit a response

Comments

No Comments have been published for this article.