Hostname: page-component-74656f9884-rdgjk Total loading time: 0 Render date: 2026-11-07T22:26:20.253Z Has data issue: false hasContentIssue false

Dimensional homogeneity constrained gene expression programming for discovering governing equations

Published online by Cambridge University Press:  18 April 2024

Wenjun Ma
Affiliation:
School of Aeronautic Science and Engineering, Beihang University, Beijing 100191, PR China
Jun Zhang*
Affiliation:
School of Aeronautic Science and Engineering, Beihang University, Beijing 100191, PR China
Kaikai Feng
Affiliation:
School of Aeronautic Science and Engineering, Beihang University, Beijing 100191, PR China
Haoyun Xing
Affiliation:
School of Aeronautic Science and Engineering, Beihang University, Beijing 100191, PR China
Dongsheng Wen
Affiliation:
School of Aeronautic Science and Engineering, Beihang University, Beijing 100191, PR China
*
†Email address for correspondence: jun.zhang@buaa.edu.cn

Abstract

Data-driven discovery of governing equations is of great significance for helping us understand intrinsic mechanisms and build physical models. Recently, numerous highly innovative algorithms have emerged, aimed at inversely discovering the underlying governing equations from data, such as sparse regression-based methods and symbolic regression-based methods. Along this direction, a novel dimensional homogeneity constrained gene expression programming (DHC-GEP) method is proposed in this work. The DHC-GEP simultaneously discovers the forms and coefficients of functions using basic mathematical operators and physical variables, without requiring preassumed candidate functions. The constraint of dimensional homogeneity is capable of filtering out the overfitting equations effectively. The key advantages of DHC-GEP compared with the original gene expression programming, including being more robust to hyperparameters, the noise level and the size of datasets, are demonstrated on two benchmark studies. Furthermore, DHC-GEP is employed to discover the unknown constitutive relations of two representative non-equilibrium flows. Galilean invariance and the second law of thermodynamics are imposed as constraints to enhance the reliability of the discovered constitutive relations. Comparisons, both quantitative and qualitative, indicate that the derived constitutive relations are more accurate than the conventional Burnett equations in a wide range of Knudsen numbers and Mach numbers, and are also applicable to the cases beyond the parameter space of the training data.

Information

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

Figure 1. Flowchart of discovering unknown governing equations from data. First, macroscopic flow field data is generated via microscopic molecular simulation. Then, the basic elements preselected for DHC-GEP are constituted with state variables, mathematical operators and other variables of concern. Taking the one-dimensional shock wave case as an example, the terminal set involves fundamental physical parameters (viscosity ($\mu$), heat conductivity ($\kappa$)), state variables (velocity ($u$), density ($\rho$), temperature ($\theta$)), gradient terms ($u_x$, $\rho _x$, $\theta _x$) and gradient-length local (GLL) Knudsen number (${Kn}_{\rho }$, ${Kn}_{\theta }$). The target variable is the heat flux in the $x$ direction ($q_x$). The gradient terms are computed with auto differentiation (AD) based on neural networks, which is introduced in Appendix A. Finally, based on the terminal and function sets, DHC-GEP conducts a global search in the space of mathematical expressions until a satisfactory equation that fits well with the target variable is obtained.

Figure 1

Figure 2. Main characteristics of DHC-GEP. (a) Flowchart of DHC-GEP. (b) Schematic diagram of a gene and its corresponding expression tree and mathematical expression. (c) Strategy of dimensional verification.

Figure 2

Figure 3. Four genes with different ORFs.

Figure 3

Figure 4. Schematic diagrams of genetic operators.

Figure 4

Table 1. Probabilities for genetic operators being invoked.

Figure 5

Algorithm 1 Modified addition function

Figure 6

Algorithm 2 Modified multiplication function

Figure 7

Figure 5. (a) Schematic diagram of the computational domain for the diffusion flow. (b) Distributions of density at the instants of $t= 0,\ 200\tau,\ 400\tau,\ 600\tau, 800\tau,\ 1000\tau$.

Figure 8

Table 2. Derived equations of DHC-GEP.

Figure 9

Table 3. Derived equations of DHC-GEP based on the datasets with different resolutions.

Figure 10

Figure 6. Temporal evolution of vorticity. (a) Taylor–Green vortex at the instants of $t = 0,100\tau, 200\tau$. Here, $\tau$ and $\lambda$ are the mean collision time and mean free path of argon gas molecules at standard condition, respectively. (b) Viscous flow around a cylinder at the instants of $t = 0\,{\rm s},\ 3\,{\rm s},\ 6\,{\rm s}$.

Figure 11

Figure 7. General structure of one-dimensional shock. Each variable is normalized with its maximum value in the computational domain.

Figure 12

Figure 8. Schematic diagram of the computational domain for one-dimensional shock.

Figure 13

Figure 9. Comparisons of the NSF equation, Burnett equation, augmented-Burnett equation (Au-Burnett), super-Burnett equation (Su-Burnett), derived equation of DHC-GEP and DSMC (exact solution) at $M{a_\infty } = 2.5,3.0,3.5,4.0,4.5$ and $5.0$ for the one-dimensional shock wave case.

Figure 14

Table 4. Relative errors of the derived equation of DHC-GEP, NSF equation, Burnett equation, Au-Burnett equation and Su-Burnett equation for the one-dimensional shock wave case.

Figure 15

Figure 10. (a) Schematic diagram of Poiseuille flow. (b) Profiles of velocity, density and temperature along the direction normal to the plate. Each variable ($U$) is normalized with ${U_{Normal}} = ( {U - {U_{\min }}} )/( {{U_{\max }} - {U_{\min }}} )$.

Figure 16

Table 5. Accelerations for different $Kn$.

Figure 17

Figure 11. Comparisons of the NSF equation, Burnett equation, augmented-Burnett equation (Au-Burnett), super-Burnett equation (Su-Burnett), derived equation of DHC-GEP and DSMC (exact solution) at $Kn = 0.2, 0.3, 0.35, 0.4, 0.5$ and $0.6$ for the rarefied Poiseuille flow case. Note that the NSF equation is equal to the Burnett equation in this case.

Figure 18

Table 6. Relative errors of the derived equation of DHC-GEP, NSF equation, Burnett equation, Au-Burnett equation and Su-Burnett equation for the rarefied Poiseuille flow case. Note that the NSF equation is equal to the Burnett equation in this case.

Figure 19

Figure 12. Comparisons of the results numerically computed with the DHC-GEP-derived/NSF constitutive relations for the one-dimensional shock wave with $M{a_\infty } = 3.0$.

Figure 20

Figure 13. Schematic diagram of backpropagation. (a) The input variables are passed forward, and the corresponding target variables are predicted at the output layer. (b) The gradients are propagated backwards using the chain rule of differential calculus.

Figure 21

Figure 14. The theoretical values of ${\partial ^2 \omega _z }/{\partial x^2}$ and the numerical values computed with automatic differentiation at the instants of $t = 0, 100\tau, 200\tau$. The contour lines represent the theoretical values, while the colour regions represent the numerical values obtained through automatic differentiation.

Figure 22

Table 7. Relative error of AD-computed ${\partial ^2 \omega _z }/{\partial x^2}$ and the corresponding derived governing equations at different noise levels.

Figure 23

Figure 15. Schematic diagram of how the Dc domain works.

Figure 24

Table 8. Probabilities for genetic operators of the Dc domain being invoked.