Modeling and calculation method of average velocity profile in transitional flow field

Through Lie group analysis and gene editing methods based on RANS equations, the problem of modeling the average velocity profile in the boundary layer transition is solved, and the accurate characterization of the average velocity profile of the transition flow field and the high-precision description of the Reynolds stress components are achieved , fills the technical gap and provides an effective method for complex flow modeling.

CN118378569BActive Publication Date: 2024-08-23CALCULATION AERODYNAMICS INST CHINA AERODYNAMICS RES & DEV CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410819106.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-08-23
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

In the existing technology, the modeling study of the average velocity profile during the boundary layer transition process has not been effectively solved, resulting in difficulties in determining the average velocity profile of the transition flow field.

Method used

Through the RANS equations based on the transition flow field, the local expression of the length function is obtained, the local scaling law function set of the length function is determined, and it is used as a function library for gene expression programming, and Lie group analysis is performed to determine the length function The expression group whose parameters are satisfied is combined with the gene editing method to determine the average velocity profile of the transition flow field.

Benefits of technology

It fills the gap in the research on transition boundary layer average profile modeling and provides a method for complex flow average profile modeling. Through Lie group analysis and machine learning methods, it ensures that the results have clear physical connotations, and realizes the analysis of average velocity profiles and Reynolds numbers. Each component of stress is characterized with near-DNS accuracy, and only a small number of cross-section samples are needed to obtain the expression of the full flow field.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118378569B
    Figure CN118378569B
Patent Text Reader

Abstract

The present application provides a modeling and calculation method for the average velocity profile of a transitional flow field, including: obtaining a local expression of a length function based on a RANS equation group of a transitional flow field; determining a set of local scaling law functions of the length function based on the RANS equation group, and using the set of local scaling law functions of the length function as a function library for genetic expression programming; substituting the length function that satisfies the scaling law into a locally approximated RANS equation to obtain a RANS equation closed by the length function; performing Lie group analysis on the RANS equation closed by the length function to determine a set of expressions satisfied by the parameters of the length function; performing gene editing based on the function library, and determining the average velocity profile of the transitional flow field in combination with the set of expressions satisfied by the parameters of the length function. A characterization of the average velocity profile close to DNS accuracy is achieved, while reducing the sample size required for modeling and improving the expression modeling accuracy of the entire flow field profile.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computational fluid dynamics technology, and in particular to a transitional flow field average velocity profile modeling and calculation method. The present application also relates to a transitional flow field average velocity profile modeling and calculation device, a computing device, and a computer-readable storage medium. Background Art

[0002] From the perspective of basic research and engineering application, the modeling of the average profile of the boundary layer based on clear physical / mathematical constraints is a core topic. At the basic research level, the principle behind the average profile model of the boundary layer reflects the physical constraints of the wall on the boundary layer; at the engineering application level, the accurate modeling of the average profile plays an indispensable basic supporting role in building and optimizing turbulence / transition models.

[0003] With the development of algebraic models based on Lie group analysis methods, the algebraic expression of the average profile of the turbulent boundary layer has been obtained based on unified principles and methods. The average profile expression obtained by Lie group analysis of the RANS equation and its boundary conditions has a clear physical connotation. However, for the boundary layer transition process, the modeling research of the average velocity profile is still in a blank state. The continuous deformation of the average profile in the flow direction during the boundary layer transition makes the determination of the average velocity profile of the transition flow field still face difficulties. Summary of the invention

[0004] In view of this, the embodiment of the present application provides a transitional flow field average velocity profile modeling and calculation method to solve the technical defects existing in the prior art. The embodiment of the present application also provides a transitional flow field average velocity profile modeling and calculation device, a computing device, and a computer readable storage medium.

[0005] According to a first aspect of an embodiment of the present application, a transitional flow field average velocity profile modeling and calculation method is provided, comprising:

[0006] According to the RANS equations of the transitional flow field, the local expression of the length function is obtained;

[0007] According to the RANS equations, a set of local scaling law functions of length functions is determined, and the set of local scaling law functions of length functions is used as a function library of gene expression programming;

[0008] Substitute the length function that satisfies the scaling law into the local approximate RANS equation to obtain the RANS equation with closed length function.

[0009] Performing Lie group analysis on the RANS equation closed by the length function to determine a set of expressions satisfied by the parameters of the length function;

[0010] Gene editing is performed based on the function library, and in combination with the expression group satisfied by the parameters of the length function, the average velocity profile of the transitional flow field is determined.

[0011] Optionally, performing Lie group analysis on the RANS equation closed by the length function to determine a group of expressions satisfied by the parameters of the length function includes:

[0012] Performing Lie group analysis on the RANS equation closed by the length function to determine the state vector;

[0013] generating an infinitesimal generator according to the state vector;

[0014] Substituting the infinitesimal generator into the RANS equation closed by the length function to obtain a deterministic equation;

[0015] According to the deterministic equation, the length function satisfying the scaling law is matched to obtain a set of expressions satisfied by the parameters of the length function.

[0016] Optionally, generating an infinitesimal generator according to the state vector comprises:

[0017] Performing definition transformation processing on the independent variable state vector in the state vector, and performing definition transformation processing on the dependent variable state vector in the state vector;

[0018] The infinitesimal generator is determined based on the transformation result.

[0019] Optionally, determining a set of local scaling law functions of length functions according to the RANS equations includes:

[0020] Based on the RANS equations, determining a series of scaling law functions;

[0021] A random parameter is introduced into the series of scaling law functions to generate a set of local scaling law functions of length functions, wherein the set elements in the set of local scaling law functions of length functions satisfy the invariance of Lie group stretching group transformation.

[0022] Optionally, the gene editing based on the function library and combining the expression group satisfied by the parameters of the length function to determine the average velocity profile of the transitional flow field includes:

[0023] Performing gene editing based on the function library and determining the global optimal expression of the length function in combination with the expression group satisfied by the parameters of the length function;

[0024] According to the global optimal expression and the RANS equations, the average velocity profile of the transitional flow field is determined.

[0025] Optionally, performing gene editing based on the function library and determining a global optimal expression of the length function in combination with an expression group satisfied by the parameters of the length function comprises:

[0026] Based on the function library, by controlling the length of the gene sequence, the individual expressions of the initial population are obtained;

[0027] Define a first hyperparameter, a second hyperparameter, and the number of individuals in the initial population of a machine learning method to obtain an initial population corresponding to the individual expression;

[0028] The global optimal expression is determined according to the initial population and in combination with the expression group satisfied by the parameters of the length function.

[0029] Optionally, determining the global optimal expression according to the initial population in combination with an expression group satisfied by parameters of the length function includes:

[0030] Based on the initial population, performing fitting based on a gene expression method to obtain a local optimal expression of the length function, wherein the fitting object is a set element in a set of local scaling law functions of the length function;

[0031] According to the local optimal expression, the average cross section of the global flow position is taken as a learning object, and the expression group satisfied by the parameters of the length function is trained to obtain the global optimal expression.

[0032] Optionally, the method of training the expression group satisfied by the parameters of the length function according to the local optimal expression and taking the average cross section of the global flow position as a learning object to obtain the global optimal expression includes:

[0033] Determine a first scaling law value function included in a group of expressions satisfied by parameters of the length function;

[0034] Adding random scaling to the first scaling law value function to obtain a second scaling law value function;

[0035] Taking the first scaling law value function as a basic expression, training an expression group satisfied by the parameters of the length function to obtain an initial global optimal expression;

[0036] The second scaling law value function is used as a random expression, the expression group satisfied by the parameters of the length function is trained, and the initial global optimal expression is adjusted based on the training result to obtain the global optimal expression

[0037] According to a second aspect of an embodiment of the present application, a transitional flow field average velocity profile modeling and calculation device is provided, comprising:

[0038] An acquisition module is configured to acquire a local expression of the length function according to a set of RANS equations of the transition flow field;

[0039] A function library determination module is configured to determine a set of length function local scaling law functions according to the RANS equations, and use the set of length function local scaling law functions as a function library for gene expression programming;

[0040] A substitution module is configured to substitute the length function satisfying the scaling law into the local approximation RANS equation to obtain the RANS equation closed by the length function;

[0041] An analysis module is configured to perform Lie group analysis on the RANS equation closed by the length function to determine a set of expressions satisfied by the parameters of the length function;

[0042] The gene editing module is configured to perform gene editing based on the function library and determine the average velocity profile of the transitional flow field in combination with the expression group satisfied by the parameters of the length function.

[0043] According to a third aspect of an embodiment of the present application, a computing device is provided, including:

[0044] Memory and processor;

[0045] The memory is used to store computer executable instructions, and when the processor executes the computer executable instructions, the steps of the transitional flow field average velocity profile modeling and calculation method are implemented.

[0046] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the transitional flow field average velocity profile modeling and calculation method are implemented.

[0047] According to a fifth aspect of an embodiment of the present application, a chip is provided, which stores a computer program, and when the computer program is executed by the chip, the steps of the transitional flow field average velocity profile modeling and calculation method are implemented.

[0048] The modeling and calculation method of the average velocity profile of the transitional flow field provided in this application obtains the local expression of the length function according to the RANS equations of the transitional flow field; determines the set of local scaling law functions of the length function according to the RANS equations, and uses the set of local scaling law functions of the length function as the function library of genetic expression programming; substitutes the length function that satisfies the scaling law into the local approximate RANS equation to obtain the RANS equation closed by the length function; performs Lie group analysis on the RANS equation closed by the length function to determine the set of expressions satisfied by the parameters of the length function; performs gene editing based on the function library, and determines the average velocity profile of the transitional flow field in combination with the set of expressions satisfied by the parameters of the length function. Fills the research gap of the average profile modeling of the transitional boundary layer and provides a method for the modeling of the average profile of complex flows; embeds the similarity solution obtained by the Lie group analysis into the genetic programming algorithm, and improves the learning efficiency by selecting a set of alternative functions while ensuring that the machine learning results have clear physical connotations; expands the basic research results of the turbulent boundary layer through machine learning methods, and describes the average profile of the transitional and even more complex boundary layer flows in the future. The average velocity profile and each component of Reynolds stress can be described with an accuracy close to DNS. The profile expression has a clear physical connotation and a clear law of parameter variation. Only a small number of profile samples are needed to obtain the expression of a large number of profiles in the entire flow field. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0050] Figure 1 It is a flow chart of a transition flow field average velocity profile modeling and calculation method provided in one embodiment of the present application;

[0051] Figure 2 It is a flow chart of a wall physical constraint genetic programming algorithm for a transition flow field average velocity profile modeling and calculation method provided in one embodiment of the present application;

[0052] Figure 3 It is a schematic diagram of the average velocity profile characterization result of a transition flow field average velocity profile modeling and calculation method provided in one embodiment of the present application;

[0053] Figure 4 1 is a schematic structural diagram of a transition flow field average velocity profile modeling and calculation device provided in one embodiment of the present application;

[0054] Figure 5It is a structural block diagram of a computing device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0055] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0056] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.

[0057] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.

[0058] First, the terms involved in one or more embodiments of the present invention are explained.

[0059] Transition: A fluid mechanics term that refers to the point where laminar flow changes to turbulent flow. The calculation and prediction of the transition point is a key prerequisite for designing aircraft.

[0060] Average velocity profile: Decompose the turbulent velocity into time-averaged quantity and pulsating quantity, and use the average quantity of turbulence to approximate the turbulent problem, which is the Reynolds average of turbulence. The average velocity profile is to express the velocity type after the turbulent Reynolds average, which is similar to the laminar velocity profile.

[0061] GEP: Gene Expression Programming is a new adaptive evolutionary algorithm based on the structure and function of biological genes.

[0062] Incompressible: In continuum mechanics, incompressible flow is a flow in which the divergence of the velocity is equal to zero, more precisely called isochoric flow, and the fluid density remains constant in turbulence. This ideal flow can be used to simplify theoretical analysis.

[0063] Turbulence: When the flow velocity increases to a very high level, streamlines are no longer clearly discernible, there are many small vortices in the flow field, laminar flow is destroyed, and there is not only sliding but also mixing between adjacent flow layers. At this time, the fluid moves irregularly, and a component velocity perpendicular to the axis of the flow tube is generated. This kind of movement is called turbulence, also known as turbulent flow, disturbed flow or turbulent flow.

[0064] In the present application, a transitional flow field average velocity profile modeling and calculation method is provided. The present application also relates to a transitional flow field average velocity profile modeling and calculation device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0065] Figure 1 A flow chart of a transitional flow field average velocity profile modeling and calculation method provided according to an embodiment of the present application is shown, which specifically includes the following steps:

[0066] Step S101: obtaining a local expression of the length function according to the RANS equations of the transitional flow field;

[0067] Step S102: determining a set of local scaling law functions of length functions according to the RANS equations, and using the set of local scaling law functions of length functions as a function library of gene expression programming;

[0068] Step S103: Substitute the length function satisfying the scaling law into the local approximate RANS equation to obtain a RANS equation with a closed length function;

[0069] Step S104: performing Lie group analysis on the RANS equation closed by the length function to determine a set of expressions satisfied by the parameters of the length function;

[0070] Step S105: Gene editing is performed based on the function library, and the average velocity profile of the transitional flow field is determined in combination with the expression group satisfied by the parameters of the length function.

[0071] Among them, the transition flow field can be understood as a flow field that includes laminar flow, transition and turbulence; after performing random stretching analysis on the RANS equations, the stretching coefficient equation can be obtained, and then through the local dominant equilibrium mechanism analysis, the local approximate stretching coefficient equation can be obtained. Through the local approximate stretching coefficient equation, the local expression of the length function can be determined.

[0072] Based on this, in step S101, taking the incompressible turbulent channel boundary layer as an example, the RANS equations can be expressed as the following formula:

[0073] (1)

[0074] (2)

[0075] (3)

[0076] (4)

[0077] (5)

[0078] in, is the flow direction coordinate, is the Reynolds average speed, is the wall distance, determined by the wall normal coordinate, is the flow pulsation velocity, is the wall normal pulsation velocity, is the spanwise pulsation velocity, is the pressure pulsation, is the Laplace operator. It should be noted that the superscript “+” in the above formula refers to the wall viscosity scale, which is determined by the fluid dynamics viscosity coefficient and the wall friction velocity. This means that the Reynolds mean of the variables in the equation is calculated. It is the friction Reynolds number defined by the boundary layer thickness, which is determined by the boundary layer thickness, fluid dynamics viscosity coefficient and wall friction velocity.

[0079] Then, based on formulas (1)-(5), the local expression of the length function is obtained as follows:

[0080] (6)

[0081] in, Reynolds stress and average shear The length function defined, and Indicates the pulsation speed in different directions, subscript , Different values ​​of correspond to components in different directions (1 corresponds to the stream direction, 2 corresponds to the wall normal direction, and 3 corresponds to the span direction).

[0082] Furthermore, in step S102, according to the RANS equations, a process of determining a set of local scaling law functions of the length function is specifically implemented as follows in this embodiment:

[0083] Based on the RANS equations, a series of scaling law functions are determined; random parameters are introduced into the series of scaling law functions to generate a set of local scaling law functions of length functions, wherein the set elements in the set of local scaling law functions of length functions satisfy the invariance of Lie group stretching group transformation.

[0084] Specifically, taking the above-mentioned incompressible turbulent channel boundary layer as an example, the formulas (1)-(4) in the RANS equations are analyzed one by one for two-term balance, three-term balance and other situations, and a series of scaling law functions are obtained. Random parameters are introduced into some parameters in the series of scaling law functions that are difficult to determine directly. The generated length function local scaling law function set is:

[0085] (7)

[0086] in, for The local expression of is the local scaling law satisfied by the length function, and its value is obtained by analyzing the equilibrium mechanism of formulas (1)-(4). is the coefficient to be determined.

[0087] It should be noted that the elements in the above length function local scaling function set, namely , satisfying the invariance of Lie group stretch group transformation. After determining the set of local scaling functions of the length function, the set of local scaling functions of the length function is used as the function library of the GEP method. In addition, by controlling the length of the gene sequence, the individual expression of the initial population can be obtained as follows:

[0088] (8)

[0089] in, is the wall scaling law obtained by Taylor expansion of the wall boundary condition, is the outer zone stretching coordinate, M (usually 4 or 5) and is the local scaling law obtained by applying the group analysis method (with partial random scaling), which is derived from formula (7), with the parameter and is a parameter to be determined, and With length function The size of has a correlation relationship, which represents the characteristic size of the wall-attached vortex. With length function The local scaling law is related to the height of the wall normal, which reflects the change of the equilibrium mechanism of formulas (1)-(4) in the wall normal. n is a hyperparameter of the entire machine learning method, which controls the length of the gene sequence.

[0090] Further, in step S103, in the above-mentioned incompressible turbulent channel boundary layer, taking the viscous bottom layer as an example, based on equation (8), equation (6) is approximated as a scaling law function, and the length function satisfying the scaling law is obtained as follows:

[0091] (9)

[0092] in, is the flow direction coordinate, represents the normalized wall normal coordinate, For the length function Parameters , which only follows the flow direction coordinate change, is the thickness of the viscous bottom layer, corresponding to the parameters of the viscous bottom layer .

[0093] Afterwards, the length function that satisfies the scaling law is substituted into the local approximate RANS equation, that is, formula (9) is substituted into formula (1), and the RANS equation closed by the length function is obtained as follows:

[0094] (10)

[0095] in, is the normal average velocity, is the wall friction velocity, is the fluid dynamic viscosity coefficient.

[0096] Further, in step S104, taking the above-mentioned incompressible turbulent channel boundary layer as an example, Lie group analysis is performed on the RANS equation closed by the length function to determine the process of the state vector, and each quantity in the RANS equation closed by the length function is taken as a function to obtain the state vector as follows:

[0097] (11)

[0098] in, is the independent variable It should be noted that since this is a flow Lie group analysis of the length function, the independent variables only include , is the state vector of the dependent variable. In addition, and Separate the processing and assume that Remain unchanged.

[0099] Furthermore, according to the state vector, the process of determining the expression group satisfied by the parameters of the length function is specifically implemented as follows in this embodiment:

[0100] Generate an infinitesimal generator according to the state vector; substitute the infinitesimal generator into the RANS equation closed by the length function to obtain a deterministic equation; match the length function that satisfies the scaling law according to the deterministic equation to obtain a group of expressions satisfied by the parameters of the length function.

[0101] Furthermore, the process of generating infinitesimal generators according to the state vector is specifically implemented as follows in this embodiment:

[0102] The independent variable state vector in the state vector is subjected to definition transformation processing, and the dependent variable state vector in the state vector is subjected to definition transformation processing; and the infinitesimal generator is determined based on the transformation result.

[0103] Among them, taking the above-mentioned incompressible turbulent channel boundary layer as an example, the independent variable state vector of the state vector With the dependent variable state vector Perform definition transformation processing to obtain , , and according to the result of the definition transformation, determine the infinitesimal generator and It should be noted that these two infinitesimal generators can be expressed as, , .

[0104] Substituting the infinitesimal generator into formula (10), we get the following deterministic equation:

[0105] (12)

[0106] in, and are group transformations of the independent and dependent variables, respectively. is the parameter of the group transformation, is the vector with respect to the variable The infinitesimal generator vector of is the infinitesimal generator vector for the transformation of the dependent variable group, , , , , and They are vectors Infinitesimal generators for different variables (distinguished by subscripts) in . and is the group transformation parameter. And the expression in formula (12) Characterization parameters Satisfies the scaling function.

[0107] After that, for the remaining parameters and Carry out the same operation to obtain the parameters and The scaling law function is satisfied locally, and finally the length function that satisfies the scaling law is matched, that is, the infinitesimal generator is solved by the deterministic equation (10), and the parameter is determined by the infinitesimal generator and The local expression of and The complete expression of , to get the parameter of the length function and The set of expressions that satisfy this is:

[0108] (13)

[0109] (14)

[0110] in, and They are and The approximate value in the fully developed turbulent region at infinite Reynolds number is It is the flow to a specific location, distinguishing the different stages of boundary layer transition development. hour, is the target parameter determined by the genetic programming algorithm, Controls the length of the gene sequence that controls the flow of parameters to expression. It is a training hyperparameter in the genetic programming algorithm, and the scaling law is a parameter that controls the local growth rate of the parameter.

[0111] Furthermore, based on the function library, gene editing is performed, and in combination with the expression group satisfied by the parameters of the length function, the process of determining the average velocity profile of the transitional flow field is specifically implemented as follows in this embodiment:

[0112] Gene editing is performed based on the function library, and the global optimal expression of the length function is determined in combination with the expression group satisfied by the parameters of the length function; the average velocity profile of the transitional flow field is determined based on the global optimal expression and the RANS equation group.

[0113] Furthermore, gene editing is performed based on the function library, and the global optimal expression of the length function is determined in combination with the expression group satisfied by the parameters of the length function. In this embodiment, the specific implementation method is as follows:

[0114] Based on the function library, individual expressions of the initial population are obtained by controlling the length of the gene sequence; a first hyperparameter and a second hyperparameter of the machine learning method and the number of individuals of the initial population are defined to obtain the initial population corresponding to the individual expression; based on the initial population and in combination with the expression group satisfied by the parameters of the length function, the global optimal expression is determined.

[0115] Further, according to the initial population, in combination with the expression group satisfied by the parameters of the length function, a global optimal expression is determined. In this embodiment, the specific implementation is as follows:

[0116] Based on the initial population, a fitting method based on the gene expression method is performed to obtain the local optimal expression of the length function, wherein the fitting object is a set element in the set of local scaling law functions of the length function; according to the local optimal expression, the average profile of the global flow position is taken as a learning object, and the expression group satisfied by the parameters of the length function is trained to obtain the global optimal expression.

[0117] Further, according to the local optimal expression, the average cross section of the global flow position is taken as the learning object, and the expression group satisfied by the parameters of the length function is trained to obtain the global optimal expression. In this embodiment, the specific implementation method is as follows:

[0118] Determine a first scaling law value function included in the group of expressions satisfied by the parameters of the length function; add a random scale to the first scaling law value function to obtain a second scaling law value function; use the first scaling law value function as a basic expression to train the group of expressions satisfied by the parameters of the length function to obtain an initial global optimal expression; use the second scaling law value function as a random expression to train the group of expressions satisfied by the parameters of the length function, and adjust the initial global optimal expression based on the training result to obtain the global optimal expression.

[0119] Among them, taking the above-mentioned incompressible turbulent channel boundary layer as an example, after determining the expression group satisfied by the parameters of the length function, namely formula (13) and formula (14), it is necessary to ensure the scaling law , that is, the first scaling law value function satisfies the following formula:

[0120] (15)

[0121] After adding random scaling, the second scaling law value function is obtained as follows:

[0122] (16)

[0123] It should be noted that and is a random number between {0,9}. In the actual learning process, formula (15) is used as the basic expression, and then the random expression (16) is introduced based on the obtained learning results to improve the efficiency of the learning process and ensure the accuracy of the learning results.

[0124] Specifically, by performing gene editing on formula (8), the initial population is obtained as follows:

[0125] (17)

[0126] in , , which are the beginning and end of the gene sequence, remain fixed to ensure the legitimacy of the gene sequence. From the gene bank, that is, formula (7), replace different , that is, to carry out fitting based on the gene expression method, and obtain the new sequence expression as follows:

[0127] (18)

[0128] The two sequences of formula (17) and formula (18) can be exchanged, mutated, and genetically operated according to the traditional genetic programming algorithm. Finally, the relative error of the average profile is used as the individual adaptability to perform evolutionary selection on the population. In addition, the same method can be used to program formula (13) and formula (14), and the gene expression corresponding to formula (13) and formula (14) does not require additional constraints and is a legal sequence.

[0129] In summary, if Figure 2 As shown in the flowchart of the wall physical constraint genetic programming algorithm for modeling and calculating the average velocity profile of a transitional flow field, in the knowledge-driven method, the function library is obtained through equation balance mechanism analysis and Lie group analysis, that is, the set of local scaling law functions of the length function is determined through the RANS equation group and the local expression of the length function, such as the process of obtaining formula (7) through formulas (1)-(6) mentioned above, and then physical constraints are performed, that is, the first hyperparameter is defined , the second hyperparameter and the number of individuals in the initial population, we get the initial population, which is formula (17).

[0130] After that, the local expression is obtained through the initial population. The evolutionary algorithm needs to be constrained by data based on the high-precision flow field in data-driven. Specifically, for the initial population corresponding to formula (8), that is, formula (17), a fitting based on the gene expression method is performed based on the partial average profile to obtain the hyperparameter The local optimal expression controlled by , where the fitting object is the set of local scaling law functions of the length function, i.e., the set elements in formula (7), and the first scaling law value function, i.e., formula (15), is used as the basic expression. The local expression evolution algorithm is further used to obtain the final expression, i.e., for Parameters and , taking the average profile at more flow positions x as the learning object, training parameter formula (13) and formula (14), we get The global optimal expression of Figure 2 The large sample introduced in the evolutionary algorithm can be understood as the introduction of the second scaling law value function, that is, the introduction of formula (16).

[0131] It should be noted that and The global optimal expression needs to be verified in the entire transition flow field. If it fails, the hyperparameters need to be reselected and the training process needs to be repeated until a qualified result is obtained before the subsequent steps are performed. The global optimal expression finally obtained is introduced into the formula (1) of the RANS equations to determine the average velocity profile. Specifically, the average velocity profile is as follows: Figure 3 The schematic diagram of the average velocity profile characterization result of a transition flow field average velocity profile modeling and calculation method is shown in the figure. The model prediction result of the average velocity profile is consistent with the DNS data. DNS is the abbreviation of direct numerical simulation. Specifically, it is the direct numerical simulation data of the transition of the flat-plate boundary layer with an incoming flow turbulence of 6%. It proves that the accuracy of the model prediction result of the average velocity profile meets the requirements. Through the above methods, the research gap of the transition boundary layer average profile modeling is filled, and a method for the modeling of complex flow average profile is provided; the similarity solution obtained by Lie group analysis is embedded in the genetic programming algorithm, and the learning efficiency is improved by selecting a set of alternative functions while ensuring that the machine learning results have clear physical connotations; through machine learning methods, the basic research results of turbulent boundary layers are expanded to characterize the transition and even more complex boundary layer flow average profiles in the future. The average velocity profile is characterized with a precision close to DNS, and the profile expression has a clear physical connotation, the parameter change law is clear, and only a small number of profile samples are needed to obtain the expression of a large number of profiles in the entire flow field.

[0132] Corresponding to the above method embodiment, the present application also provides an embodiment of a transition flow field average velocity profile modeling and calculation device, Figure 4 FIG. 1 shows a schematic diagram of a transition flow field average velocity profile modeling and calculation device provided in an embodiment of the present application. Figure 4 As shown, the device comprises:

[0133] An acquisition module 402 is configured to acquire a local expression of the length function according to the RANS equations of the transition flow field;

[0134] A function library determination module 404 is configured to determine a set of length function local scaling law functions according to the RANS equations, and use the set of length function local scaling law functions as a function library for gene expression programming;

[0135] A substitution module 406 is configured to substitute the length function satisfying the scaling law into the local approximation RANS equation to obtain a RANS equation with a closed length function;

[0136] An analysis module 408 is configured to perform a Lie group analysis on the RANS equation closed by the length function to determine a set of expressions satisfied by the parameters of the length function;

[0137] The gene editing module 410 is configured to perform gene editing based on the function library, and determine the average velocity profile of the transitional flow field in combination with the expression group satisfied by the parameters of the length function.

[0138] In an optional embodiment, the analysis module 408 is further configured to:

[0139] Perform Lie group analysis on the RANS equation closed by the length function to determine the state vector; generate infinitesimal generators based on the state vector; substitute the infinitesimal generators into the RANS equation closed by the length function to obtain a deterministic equation; match the length function that satisfies the scaling law based on the deterministic equation to obtain a group of expressions satisfied by the parameters of the length function.

[0140] In an optional embodiment, the analysis module 408 is further configured to:

[0141] The independent variable state vector in the state vector is subjected to definition transformation processing, and the dependent variable state vector in the state vector is subjected to definition transformation processing; and the infinitesimal generator is determined based on the transformation result.

[0142] In an optional embodiment, the function library determination module 404 is further configured to:

[0143] Based on the RANS equations, a series of scaling law functions are determined; random parameters are introduced into the series of scaling law functions to generate a set of local scaling law functions of length functions, wherein the set elements in the set of local scaling law functions of length functions satisfy the invariance of Lie group stretching group transformation.

[0144] In an optional embodiment, the gene editing module 410 is further configured to:

[0145] Gene editing is performed based on the function library, and the global optimal expression of the length function is determined in combination with the expression group satisfied by the parameters of the length function; the average velocity profile of the transitional flow field is determined based on the global optimal expression and the RANS equation group.

[0146] In an optional embodiment, the gene editing module 410 is further configured to:

[0147] Based on the function library, individual expressions of the initial population are obtained by controlling the length of the gene sequence; a first hyperparameter and a second hyperparameter of the machine learning method and the number of individuals of the initial population are defined to obtain the initial population corresponding to the individual expression; based on the initial population and in combination with the expression group satisfied by the parameters of the length function, the global optimal expression is determined.

[0148] In an optional embodiment, the gene editing module 410 is further configured to:

[0149] Based on the initial population, a fitting method based on the gene expression method is performed to obtain the local optimal expression of the length function, wherein the fitting object is a set element in the set of local scaling law functions of the length function; according to the local optimal expression, the average profile of the global flow position is taken as a learning object, and the expression group satisfied by the parameters of the length function is trained to obtain the global optimal expression.

[0150] In an optional embodiment, the gene editing module 410 is further configured to:

[0151] Determine a first scaling law value function included in the group of expressions satisfied by the parameters of the length function; add a random scale to the first scaling law value function to obtain a second scaling law value function; use the first scaling law value function as a basic expression to train the group of expressions satisfied by the parameters of the length function to obtain an initial global optimal expression; use the second scaling law value function as a random expression to train the group of expressions satisfied by the parameters of the length function, and adjust the initial global optimal expression based on the training result to obtain the global optimal expression.

[0152] The transitional flow field average velocity profile modeling and calculation device provided in the present application obtains the local expression of the length function according to the RANS equations of the transitional flow field; determines the set of local scaling law functions of the length function according to the RANS equations, and uses the set of local scaling law functions of the length function as the function library of genetic expression programming; substitutes the length function that satisfies the scaling law into the local approximate RANS equation to obtain the RANS equation closed by the length function; performs Lie group analysis on the RANS equation closed by the length function to determine the set of expressions satisfied by the parameters of the length function; performs gene editing based on the function library, and determines the average velocity profile of the transitional flow field in combination with the set of expressions satisfied by the parameters of the length function. Fills the research gap of transitional boundary layer average profile modeling and provides a method for complex flow average profile modeling; embeds the similarity solution obtained by Lie group analysis into the genetic programming algorithm, and improves the learning efficiency by selecting a set of alternative functions while ensuring that the machine learning results have clear physical connotations; expands the basic research results of turbulent boundary layer through machine learning methods, and describes the transition and even more complex boundary layer flow average profiles in the future. The average velocity profile and each component of Reynolds stress can be described with an accuracy close to DNS. The profile expression has a clear physical connotation and a clear law of parameter variation. Only a small number of profile samples are needed to obtain the expression of a large number of profiles in the entire flow field.

[0153] The above is a schematic scheme of a device for modeling and calculating the average velocity profile of a transitional flow field in this embodiment. It should be noted that the technical solution of the device for modeling and calculating the average velocity profile of a transitional flow field and the technical solution of the above-mentioned method for modeling and calculating the average velocity profile of a transitional flow field belong to the same concept. The details not described in detail in the technical solution of the device for modeling and calculating the average velocity profile of a transitional flow field can be found in the description of the technical solution of the above-mentioned method for modeling and calculating the average velocity profile of a transitional flow field. In addition, each component in the device embodiment should be understood as a functional module that must be established to implement each step of the program flow or each step of the method, and each functional module is not an actual functional division or separate definition. The device claim defined by such a group of functional modules should be understood as a functional module architecture that mainly implements the solution through a computer program recorded in the specification, and should not be understood as a physical device that mainly implements the solution through hardware.

[0154] Figure 5 The block diagram of a computing device 500 provided according to an embodiment of the present application is shown. The components of the computing device 500 include but are not limited to a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and the database 550 is used to store data.

[0155] The computing device 500 also includes an access device 540 that enables the computing device 500 to communicate via one or more networks 560. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 540 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.

[0156] In one embodiment of the present application, the above components of the computing device 500 and Figure 5 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 5 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.

[0157] Computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or PC. Computing device 500 may also be a mobile or stationary server.

[0158] The processor 520 is used to execute computer executable instructions for each step of the transitional flow field average velocity profile modeling and calculation method.

[0159] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the transitional flow field average velocity profile modeling and calculation method are of the same concept, and the details not described in detail in the technical scheme of the computing device can be found in the description of the technical scheme of the transitional flow field average velocity profile modeling and calculation method.

[0160] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, are used to execute the steps of the transitional flow field average velocity profile modeling and calculation method.

[0161] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the transitional flow field average velocity profile modeling and calculation method are of the same concept, and the details not described in detail in the technical scheme of the storage medium can be found in the description of the technical scheme of the transitional flow field average velocity profile modeling and calculation method.

[0162] An embodiment of the present application further provides a chip storing a computer program, which, when executed by the chip, implements the steps of the transitional flow field average velocity profile modeling and calculation method.

[0163] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0164] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0165] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0166] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0167] The preferred embodiments of the present application disclosed above are only used to help explain the present application. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the present application. The present application selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can understand and use the present application well. The present application is only limited by the claims and their full scope and equivalents.

Claims

1. A transition flow field average velocity profile modeling and calculation method, characterized in that: include: According to the RANS equations of the transitional flow field, the local expression of the length function is obtained; According to the RANS equations, a set of local scaling law functions of length functions is determined, and the set of local scaling law functions of length functions is used as a function library of gene expression programming; Substitute the length function that satisfies the scaling law into the local approximate RANS equation to obtain the RANS equation with closed length function. Performing Lie group analysis on the RANS equation closed by the length function to determine a group of expressions satisfied by the parameters of the length function. Specifically, performing Lie group analysis on the RANS equation closed by the length function to determine the state vector; performing definition transformation processing on the independent variable state vector in the state vector, performing definition transformation processing on the dependent variable state vector in the state vector, and determining infinitesimal generators based on the transformation results; substituting the infinitesimal generators into the RANS equation closed by the length function to obtain a deterministic equation; matching the length function that satisfies the scaling law according to the deterministic equation to obtain a group of expressions satisfied by the parameters of the length function; Performing gene editing based on the function library and combining the expression group satisfied by the parameters of the length function to determine the average velocity profile of the transitional flow field. Specifically, based on the function library, by controlling the length of the gene sequence, the individual expression of the initial population is obtained; Define the first hyperparameter and the second hyperparameter of the machine learning method and the number of individuals of the initial population to obtain the initial population corresponding to the individual expression; based on the initial population, carry out fitting based on the gene expression method to obtain the local optimal expression of the length function, wherein the fitting object is the set element in the set of local scaling law functions of the length function; determine the first scaling law value function contained in the expression group satisfied by the parameters of the length function; add random scaling to the first scaling law value function to obtain the second scaling law value function; use the first scaling law value function as the basic expression, train the expression group satisfied by the parameters of the length function, and obtain the initial global optimal expression; The second scaling law value function is used as a random expression, and the expression group satisfied by the parameters of the length function is trained, and the initial global optimal expression is adjusted based on the training result to obtain the global optimal expression; based on the global optimal expression and the RANS equation group, the average velocity profile of the transitional flow field is determined.

2. The method according to claim 1, characterized in that Determining a set of local scaling law functions of a length function according to the RANS equations includes: Based on the RANS equations, determining a series of scaling law functions; A random parameter is introduced into the series of scaling law functions to generate a set of local scaling law functions of length functions, wherein the set elements in the set of local scaling law functions of length functions satisfy the invariance of Lie group stretching group transformation.

3. A transitional flow field average velocity profile modeling and calculation device, characterized in that: include: An acquisition module is configured to acquire a local expression of the length function according to a set of RANS equations of the transition flow field; A function library determination module is configured to determine a set of length function local scaling law functions according to the RANS equations, and use the set of length function local scaling law functions as a function library for gene expression programming; A substitution module is configured to substitute the length function satisfying the scaling law into the local approximation RANS equation to obtain the RANS equation closed by the length function; The analysis module is configured to perform Lie group analysis on the RANS equation closed by the length function to determine the expression group satisfied by the parameters of the length function. Specifically, Lie group analysis is performed on the RANS equation closed by the length function to determine the state vector; a definition transformation process is performed on the independent variable state vector in the state vector, a definition transformation process is performed on the dependent variable state vector in the state vector, and an infinitesimal generator is determined based on the transformation result; the infinitesimal generator is substituted into the RANS equation closed by the length function to obtain a deterministic equation; according to the deterministic equation, the length function satisfying the scaling law is matched to obtain the expression group satisfied by the parameters of the length function; A gene editing module is configured to perform gene editing based on the function library, and determine the average velocity profile of the transitional flow field in combination with the expression group satisfied by the parameters of the length function. Specifically, based on the function library, the individual expressions of the initial population are obtained by controlling the length of the gene sequence; Define the first hyperparameter and the second hyperparameter of the machine learning method and the number of individuals of the initial population to obtain the initial population corresponding to the individual expression; based on the initial population, carry out fitting based on the gene expression method to obtain the local optimal expression of the length function, wherein the fitting object is the set element in the set of local scaling law functions of the length function; determine the first scaling law value function contained in the expression group satisfied by the parameters of the length function; add random scaling to the first scaling law value function to obtain the second scaling law value function; use the first scaling law value function as the basic expression, train the expression group satisfied by the parameters of the length function, and obtain the initial global optimal expression; The second scaling law value function is used as a random expression, and the expression group satisfied by the parameters of the length function is trained, and the initial global optimal expression is adjusted based on the training result to obtain the global optimal expression; based on the global optimal expression and the RANS equation group, the average velocity profile of the transitional flow field is determined.

4. A computing device, characterized in that include: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions to implement the steps of the transitional flow field average velocity profile modeling and calculation method described in any one of claims 1 to 2.