Hostname: page-component-7b7567c8c-tnzcf Total loading time: 0 Render date: 2026-11-15T08:57:19.268Z Has data issue: false hasContentIssue false

Interpreting neural network models of residual scalar flux

Published online by Cambridge University Press:  23 November 2020

G. D. Portwood*
Affiliation:
Los Alamos National Laboratory, Los Alamos, NM 87545, USA
B. T. Nadiga
Affiliation:
Los Alamos National Laboratory, Los Alamos, NM 87545, USA
J. A. Saenz
Affiliation:
Los Alamos National Laboratory, Los Alamos, NM 87545, USA
D. Livescu
Affiliation:
Los Alamos National Laboratory, Los Alamos, NM 87545, USA
*
†Email address for correspondence: portwood@lanl.gov

Abstract

We show that, in addition to providing effective and competitive closures, when analysed in terms of the dynamics and physically relevant diagnostics, artificial neural networks (ANNs) can be both interpretable and provide useful insights into the on-going task of developing and improving turbulence closures. In the context of large-eddy simulations (LES) of a passive scalar in homogeneous isotropic turbulence, exact subfilter fluxes obtained by filtering direct numerical simulations are used both to train deep ANN models as a function of filtered variables, and to optimise the coefficients of a turbulent Prandtl number LES closure. A priori analysis of the subfilter scalar variance transfer rate demonstrates that learnt ANN models outperform optimised turbulent Prandtl number closures and Clark-type gradient models. Next, a posteriori solutions are obtained with each model over several integral time scales. These experiments reveal, with single- and multi-point diagnostics, that ANN models temporally track exact resolved scalar variance with greater accuracy compared to other subfilter flux models for a given filter length scale. Finally, we interpret the artificial neural networks statistically with differential sensitivity analysis to show that the ANN models feature a dynamics reminiscent of so-called ‘mixed models’, where mixed models are understood as comprising both a structural and functional component. Besides enabling enhanced-accuracy LES of passive scalars henceforth, we anticipate this work to contribute to utilising neural network models as a tool in interpretability, robustness and model discovery.

Information

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

Figure 1.The time series of kinetic energy, scalar variance and their respective dissipation rates for the training dataset.

Figure 1

Table 1.Configuration of LES filter scales. A value of $\varDelta ^\ast =1$ indicates DNS resolution. Forcing is applied to the velocity field from largest scales in the domain until the smallest scale $L_f$.

Figure 2

Figure 2.Training and testing loss for each filter scale as a function of gradient descent iteration is shown in (a), where curves with decreasing losses correspond the finer filter scales. Central moments of the output parameter ${q_z}$, normalised by ground-truth data, for $\varDelta ^\ast =10$ as a function of gradient-descent iteration is shown in (b). Note that the mean of ${q_z}$ develops much faster than higher-order moments.

Figure 3

Figure 3.(a) Optimised coefficients for the PRS model as a function of filter width, demonstrating mild anomalous scaling from $\varDelta ^2$. (b) Mean-squared-error of $\boldsymbol {q}$ for each model, normalised by the variance of $\boldsymbol {q}_{DNS}$ for each filter width.

Figure 4

Figure 4.A priori comparison of the p.d.f.s of modelled and ground-truth production, normalised by ground-truth production standard deviation, log scales inset. Note that forward- and back-scatter are more accurately captured by the ANN models. Also, note the apparent convergence of the SAG model to the ANN model and explicitly filtered DNS results at the finest filter width in (d).

Figure 5

Figure 5.(a–d) Time series of relative error, with respect to filtered DNS solutions, of scalar variance $\langle \bar \phi ^2 \rangle$ at multiple filter scales. The finest filter is shown in (d), which demonstrates good performance for all models, while the ANN model features errors consistently an order of magnitude smaller than the PRS and SAG models. (e–h) Indicate time series of local MSE of the scalar concentration, normalised by flux variance. Note the strong improvement of the SAG model with decreasing filter scale.

Figure 6

Figure 6.Two-point diagnostics. (a–d) Second-order structure functions of resolved scalar in $z$, normalised by filtered DNS ground-truth data for each filter length. (e–h) Third-order structure functions in $z$ for the same filter length scales, normalised by ground-truth calculations using filtered DNS.

Figure 7

Figure 7.(a,b) Joint p.d.f.s of the derivative of the vertical residual flux with respect to the vertical scalar gradient ($D_1$) and with respect to the horizontal derivative of vertical velocity ($D_2$). Note that the distributions of the ANN and SAG models become more similar with decreasing filter scale.

Portwood et al. supplementary movie

A visualization of the evolution of passive scalar concentration, and associated local errors, in a-posteriori testing of residual flux models with Δ*=18.
Download Portwood et al. supplementary movie(Video)
Video 26.1 MB