Transition delay optimization method for the bow shape of underwater rotating body based on genetic algorithm
By optimizing the shape of the underwater rotary body's nose using a method based on a genetic algorithm, the problem of difficulty in delaying the boundary layer transition in the existing technology is solved, a transition delay effect with strong computational efficiency and global convergence is achieved, and the underwater The sonar detection capability of the vehicle.
Patent Information
- Application Number
- CN202410227673.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-29
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-02-29
AI Technical Summary
It is difficult to effectively delay the transition position of the boundary layer through the optimization of the shape of the rotary body's nose with the existing technology, which makes it difficult to reduce the flow noise in the underwater navigation body and affects the sonar detection capability.
A method based on genetic algorithms is used to parametrically express and optimize the shape of the rotor's nose. Genetic operations are performed through control points and weight functions to generate a shape that meets the transition delay. The NURBS method and the eN method are combined for flow calculation and stability analysis. , to achieve prediction and optimization of transition positions.
It achieves transition delay optimization with small computational load and acceptable in engineering, simplifies the optimization process, finds a globally convergent transition delay shape, is suitable for shapes of various sizes, and provides technical support for drag reduction and noise reduction.
Smart Images

Figure CN118036184B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of hydrodynamics research, and in particular to a method for optimizing the transition delay of the bow shape of an underwater rotating body based on a genetic algorithm. Background Art
[0002] In actual engineering applications, underwater vehicles are often rotating bodies. Different shapes of the bow of the rotating body will significantly change the boundary layer transition position. Therefore, changing the shape of the bow of the rotating body can achieve the effect of delaying the transition position. Delaying the transition position can reduce the flow noise of the bow of the rotating body, thereby improving the detection capability of the bow sonar of the underwater vehicle.
[0003] There are two possible ways to obtain the shape of the bow of the rotating body that can delay the transition. One is to select the shape with delayed transition by optimizing the existing shapes, and by calculating the transition position of each shape. This method of optimizing the shape has been implemented (Tianjin University. "A method for optimizing the shape of the bow of an underwater rotating body based on stability theory.", CN202110179583.9.2021). This method relies on the advantages and disadvantages of the existing shape, cannot generate new shapes, and the range for optimization is small. The second is to optimize the shape of the bow of the rotating body, that is, on the basis of the classic shape, within the given design range, generate more new shapes, and obtain the optimal shape with delayed transition. This optimization method can expand the scope of the search and easily find new shapes with better performance.
[0004] The use of appropriate optimization algorithms can more efficiently find the shape of the bow of the rotating body with delayed transition. In solving practical engineering problems, classical optimization algorithms were first proposed in history, such as the simplex method and the gradient method. However, the calculation process of the classical optimization algorithm is complicated, and the mathematical properties of the objective function are high, which makes it difficult to apply it to complex optimization problems. Therefore, many intelligent optimization algorithms have been proposed, which can better overcome these shortcomings of classical algorithms. In recent years, intelligent algorithms have been widely used in solving optimization problems, and have the characteristics of strong global convergence and high flexibility. Intelligent algorithms have been widely used in many performance optimizations of underwater navigation bodies, such as resistance, wave resistance, propulsion efficiency, etc. However, the optimization of the bow shape of underwater rotating bodies with the goal of delaying boundary layer transition has not yet been seen. Summary of the invention
[0005] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a feasible method for delaying the transition of an underwater rotating body by intelligently optimizing the shape. The technical solution is as follows:
[0006] A method for optimizing the transition delay of the bow shape of an underwater rotating body based on a genetic algorithm comprises the following steps:
[0007] Step 1: Use control points to express the shape of the body of revolution, and parametrically express the shape of the head of the body of revolution. The finite number of parameters obtained is the gene of the shape;
[0008] Step 2: determine the constraints, design the parameter variation range, and give the variation range of each control point position;
[0009] Step 3: Generate the initial population: use the existing multiple appearances as the initial population;
[0010] Step 4: For each contemporary shape, basic flow calculation, stability analysis and transition position prediction are performed to predict the natural transition position of the boundary layer at the bow of the underwater rotating body;
[0011] Step 5: according to the natural transition position of the boundary layer of the bow of the underwater rotating body, a weight function is assigned to each shape in the contemporary population, wherein the weight function value of the shape with the transition downstream is large, and the weight function value of the shape with the transition upstream is small;
[0012] Step 6: Perform genetic operations to generate the next generation population: Use a genetic algorithm to perform selection, crossover, and mutation on all the shapes in the current population to generate the next generation population and obtain the control points of the next generation population. The genes of the shapes with larger weight function values have a greater probability of being inherited to the next generation.
[0013] Step 7, repeat steps 4 to 6 until the iterations converge and generate a shape that meets the optimization goal, that is, the shape with the transition farthest downstream under the current constraints.
[0014] Furthermore, in step one, the NURBS method is used to parametrically express the shape of the nose of the rotating body.
[0015] Furthermore, the method of step 4 is as follows:
[0016] 1) Basic flow calculation
[0017] The dimensionless incompressible steady-state NS equations are numerically solved to obtain the basic laminar flow of underwater rotating bodies.
[0018] 2) Stability analysis
[0019] The linear stability equation in the incompressible orthogonal curvilinear coordinate system is solved numerically to obtain the characteristic relationship between the small disturbance frequency, wave number and Reynolds number at different flow positions on the surface of the rotating body, and the neutral curve and the amplitude growth rate -α at different frequencies are obtained. i * Cloud Atlas;
[0020] 3) Transition point prediction
[0021] The eN method is used to predict the turning position of the underwater rotating body as follows;
[0022] Get different frequencies f * The distribution of the cumulative amplitude growth rate N of the small disturbance along the flow direction is given by the following integral formula:
[0023]
[0024] Among them, q0 * is the flow direction into the growth zone, q1 * is a certain flow direction position downstream, -α i * is the growth rate of the amplitude of the small perturbation;
[0025] Take the maximum value of the cumulative amplitude growth rate N along the flow direction of small disturbances of different frequencies and take the envelope to obtain the maximum cumulative amplitude growth rate curve, that is, N max Curve, the calculation formula is as follows:
[0026]
[0027] According to the empirical transition threshold N tr Predict the natural transition position of the boundary layer at the bow of the underwater rotating body. max Find N on the curve tr The corresponding flow direction position is used as the starting position of the natural transition of the bow boundary layer of the underwater rotating body.
[0028] Furthermore, in step six, to prevent the loss of the best individual, if the best individual of this generation is not as good as the best individual of the previous generation, the best individual of the previous generation will replace the worst individual of this generation; the best individual of each generation is the individual with the last transition position in this generation; the worst individual of each generation is the individual with the first transition position in this generation.
[0029] Furthermore, the method of step six is as follows:
[0030] 1) Selection: Use random traversal sampling selection operator;
[0031] 2) Crossover: Use linear recombination operators to obtain new individuals of the next generation;
[0032] 3) Mutation: using real-valued mutation operators;
[0033] 4) New individuals form a new population: After selection, crossover, and mutation, multiple individuals are generated to form a new generation of population, and the control point of the new generation of population is obtained.
[0034] The beneficial effects of the present invention compared with the prior art are as follows:
[0035] 1) The present invention uses a transition prediction method based on stability theory, which has a small amount of calculation and is acceptable in engineering.
[0036] 2) The present invention uses an intelligent optimization strategy, the optimization process is simple and it is easy to find a globally convergent transition delay shape.
[0037] 3) The present invention is applicable to shape transition delay optimization of various sizes and can provide technical support for drag reduction and noise reduction of underwater vehicles. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 Schematic diagram of the steps of the present invention
[0039] Figure 2 Schematic diagram of the control point position and the shape of the rotating body
[0040] Figure 3 These are the seven appearances of the first generation population.
[0041] Figure 4 The turning point for the optimal shape of each generation
[0042] Figure 5 The transition delay and relative transition delay of each generation of optimal shape
[0043] Figure 6 The best contemporary and first-generation appearance DETAILED DESCRIPTION
[0044] The present invention is described in detail below in conjunction with specific embodiments and accompanying drawings. In the following description, for the purpose of explanation and not limitation, specific details are set forth to help fully understand the present invention. However, it is apparent to those skilled in the art that the present invention may also be practiced in other embodiments that depart from these specific details.
[0045] It should be noted that, in order to avoid obscuring the present invention due to unnecessary details, only the device structure and / or processing steps closely related to the solution according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.
[0046] The embodiment of the present invention provides a method for optimizing the transition delay of the bow shape of an underwater rotating body based on a genetic algorithm, such as Figure 1 As shown, the following steps are included:
[0047] The method for optimizing the transition delay of the bow shape of an underwater rotating body based on a genetic algorithm of the present invention comprises the following steps:
[0048] Step 1: parametrically express the shape of the head of the rotating body, and the finite number of parameters obtained is the gene of the shape. The parametric expression uses the NURBS method to express the shape of the rotating body with control points.
[0049] The parametric expression method of this step is the NURBS method (for a detailed introduction to this method, see the document Piegl, L., Tiller, W., 1997. The NURBS Book. Springer.) According to the NURBS method, a plurality of control points can be used to express the shape of a solid of revolution.
[0050] In this step, the present embodiment considers the bow shape of a solid-sized rotating body with zero attack angle. Considering its symmetry, only the upper half of the shape needs to be expressed. 18 NURBS control points are used to describe the bow shape. The control point positions and the schematic diagram of the rotating body shape are shown in Figure 2 Among them, x * 、r * are the axial and radial coordinates in the cylindrical coordinate system, respectively.
[0051] Step 2: Determine the constraint conditions, i.e., the range of variation of design parameters. This method only considers geometric constraints and gives the range of variation of the position of each control point.
[0052] In this step, the weight of each control point is fixed to 1, and the functions of each control point are as follows: ① Point 1 is the leading edge of the rotating body, and its position is fixed to (0m, 0m). ② The axial coordinate of point 2 is the same as that of point 1, but its radial coordinate is different from that of point 1, so as to ensure that the leading edge is blunt. ③ Point 18 is the head-body junction, and its radial coordinate is fixed to the radius of the rotating body r. * =5.8315m; its axial coordinate is variable to control the position of the head-body junction. ④ The radial coordinate of the 17th point is the same as that of the 18th point to maintain a smooth transition of the head-body junction. ⑤ The axial and radial coordinates of points 3-16 can be changed to control the shape of the head of the rotating body. According to the above settings, there are 31 variable variables in total, including the axial and radial coordinates of points 3-16, the radial coordinate of point 2, and the axial coordinates of points 17 and 18. The variation range of each control point taken by the present invention is shown in Table 1.
[0053] In this step, the speed of the rotating body is taken as U ∞ * =3.087m / s.
[0054] Table 1 Value range of each control point (unit: m)
[0055]
[0056]
[0057] Step 3: Generate the initial population: Use multiple existing classic shapes as the initial population.
[0058] In this step, the seven shapes in Liu et al. (2023) (SUBOFF, LYW1, LYW2, LYW3, LYW4, Ellipse, and LGLS, see Figure 3 ) is used as the initial population. For a detailed description of the appearance, please refer to the literature (Liu, J., Liu, J., Zhang, Y., 2023. Influence of Reynolds number on the natural transition of boundarylayers over underwater axisymmetric bodies. Phys. Fluids 35, 044107.).
[0059] Step 4: For each contemporary shape, perform basic flow calculation, stability analysis, and transition position prediction. The specific method is as follows:
[0060] 1) Basic flow calculation
[0061] The dimensionless incompressible steady-state NS equations are numerically solved to obtain the laminar basic flow of underwater rotating bodies.
[0062] 2) Stability analysis
[0063] By solving the linear stability equation in an incompressible orthogonal curvilinear coordinate system using a numerical method, we can obtain the characteristic relationship between the frequency of small disturbances, wave number, and Reynolds number at different flow positions on the surface of the rotating body, that is, the amplitude growth rate (-α) of the neutral curve and different frequencies. i * )Cloud map.
[0064] 3) Transition point prediction
[0065] This method uses the eN method to predict the turning position of an underwater rotating body. The method is briefly described as follows.
[0066] First, the distribution of the cumulative amplitude growth rate N of small disturbances of different frequencies along the flow direction is obtained, which is given by the integral formula (1):
[0067]
[0068] Among them, q0 * is the flow direction into the growth zone, q1 * is a certain flow direction position downstream, -α i * is the rate of increase of the amplitude of small disturbances.
[0069] Then, take the maximum value of the cumulative amplitude growth rate N along the flow direction of small disturbances of different frequencies to obtain the maximum cumulative amplitude growth rate curve, that is, N maxCurve, the calculation formula is given by (2):
[0070]
[0071] Finally, according to the empirical transition threshold N tr Predict the natural transition position of the boundary layer at the bow of the underwater rotating body, that is, at N max Find N on the curve tr The corresponding flow direction position is used as the starting position of the natural transition of the bow boundary layer of the underwater rotating body.
[0072] In this step, according to the eN method, N tr It is the threshold value for determining the occurrence of natural transition that has been calibrated based on experience. max The value increases to the threshold N tr When the flow rate is 0.045 W, a transition is determined, where laminar flow develops into turbulent flow.
[0073] Step five, assign a weight function to each shape in the contemporary population according to the order of the transition positions. The weight function value of the shape near the downstream transition is large, and the weight function value of the shape near the upstream transition is small.
[0074] In this step, the best individual of each generation is the individual with the last transition position in this generation. The worst individual of each generation is the individual with the first transition position in this generation. To prevent the loss of good individuals with the last transition position, if the transition position of the best individual of this generation is earlier than that of the best individual of the previous generation, the best individual of the previous generation will replace the worst individual of this generation.
[0075] Step 6: Perform genetic operations to generate the next generation population: Use a genetic algorithm to perform selection, crossover, and mutation on all the shapes in the current population to generate the next generation population, where the genes of shapes with larger weight function values have a greater probability of being inherited to the next generation. The specific method is as follows:
[0076] 1) Selection: The purpose of selection is to select excellent individuals from the current population so that they have the opportunity to serve as parents to generate the next generation. This step uses the selection operator of random traversal sampling.
[0077] 2) Crossover: Crossover is the most important genetic operation in genetic algorithms. This step uses a linear recombination operator to obtain new individuals of the next generation. The individuals in the population are randomly paired, and part of the chromosomes of each individual are exchanged with a certain probability (crossover probability) to obtain new individuals. The crossover probability is taken as 1.
[0078] 3) Mutation: This step uses a real-valued mutation operator to change the gene value of one or some loci for a certain individual in the population with a certain probability (mutation probability). The mutation probability is taken as 0.01.
[0079] 4) New individuals form a new population: After selection, crossover, and mutation, multiple individuals are generated to form a new generation of population, and the control point of the new generation of population is obtained. Except for the number of individuals in the first generation of population, the number of individuals in each generation of population is 32.
[0080] Step seven, iterate until convergence, and generate a shape that meets the optimization goal, that is, the shape with the transition farthest downstream under the current constraints.
[0081] In this step, after 12 iterations, the optimization effect gradually increases, and the turning point x of the optimal shape of each generation is tr * As a whole, it gradually moves downstream, such as Figure 4 As shown in Figure 2. During the iteration process, the transition position changes from the initial optimal shape x tr * =4.976151m Delayed to the 12th generation of optimal shape x tr * =5.652943m, the delay effect of the transition position is obvious. In order to better demonstrate the effect of delayed transition, this step also gives the transition delay and relative transition delay of each generation of the optimal shape, such as Figure 5 As shown. The present invention defines the transition delay as the difference between the transition position of the current optimal shape and the transition position of the first generation optimal shape, expressed as △x tr * The transition delay of the current optimized shape is 0.676792m. The relative transition delay is defined as the ratio of the transition delay to the transition position of the first generation optimal shape, that is, △x tr * / x tr0 * , which indicates the relative size of the transition delay. The relative transition delay of the current optimized shape is 13.6%.
[0082] Features described and / or illustrated above for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with or used in place of features in other embodiments.
[0083] It should be emphasized that the term "include / comprises" when used herein refers to the presence of features, integers, steps or components, but does not exclude the presence or addition of one or more other features, integers, steps, components or combinations thereof.
[0084] The above devices and methods of the present invention can be implemented by hardware, or by hardware combined with software. The present invention relates to such a computer-readable program, which, when executed by a logic component, enables the logic component to implement the above-mentioned devices or components, or enables the logic component to implement the above-mentioned various methods or steps. The present invention also relates to a storage medium for storing the above-mentioned program, such as a hard disk, a magnetic disk, an optical disk, a DVD, a flash memory, etc.
[0085] The many features and advantages of these embodiments are apparent from this detailed description, and thus the appended claims are intended to cover all such features and advantages of these embodiments that fall within their true spirit and scope. Furthermore, since numerous modifications and changes will readily occur to those skilled in the art, it is not intended that the embodiments of the invention be limited to the exact construction and operation illustrated and described, but rather all suitable modifications and equivalents falling within the scope thereof are intended to be covered.
[0086] Parts of the present invention that are not described in detail are well known to those skilled in the art.
Claims
1. A method for optimizing the transition delay of the bow shape of an underwater rotating body based on a genetic algorithm, comprising the following steps: Step 1: Use control points to express the shape of the body of revolution, use the NURBS method to parametrically express the shape of the head of the body of revolution, and the finite number of parameters obtained is the gene of the shape; Step 2: determine the constraints, design the parameter variation range, and give the variation range of each control point position; Step 3: Generate the initial population: use the existing multiple appearances as the initial population; Step 4: For each contemporary shape, basic flow calculation, stability analysis and transition position prediction are performed to predict the natural transition position of the boundary layer at the bow of the underwater rotating body. The method is as follows: 1) Basic flow calculation The dimensionless incompressible steady-state NS equations are numerically solved to obtain the basic laminar flow of underwater rotating bodies. 2) Stability analysis The linear stability equation in the incompressible orthogonal curvilinear coordinate system is solved numerically to obtain the characteristic relationship between the small disturbance frequency, wave number and Reynolds number at different flow positions on the surface of the rotating body, and the neutral curve and the amplitude growth rate -α at different frequencies are obtained. i * Cloud Atlas; 3) Transition point prediction The eN method is used to predict the turning position of the underwater rotating body as follows; Get different frequencies f * The distribution of the cumulative amplitude growth rate N of the small disturbance along the flow direction is given by the following integral formula: Among them, q0 * is the flow direction into the growth zone, q1 * is a certain flow direction position downstream, -α i * is the growth rate of the amplitude of the small perturbation; Take the maximum value of the cumulative amplitude growth rate N along the flow direction of small disturbances of different frequencies and take the envelope to obtain the maximum cumulative amplitude growth rate curve, that is, N max The calculation formula of curve is as follows: According to the empirical transition threshold N tr Predict the natural transition position of the boundary layer at the bow of the underwater rotating body. max Find N on the curve tr The corresponding flow direction position is used as the starting position of the natural transition of the boundary layer at the bow of the underwater rotating body; Step 5: according to the natural transition position of the boundary layer of the bow of the underwater rotating body, a weight function is assigned to each shape in the contemporary population, wherein the weight function value of the shape with the transition downstream is large, and the weight function value of the shape with the transition upstream is small; Step 6: Perform genetic operations to generate the next generation population: Use a genetic algorithm to perform selection, crossover, and mutation on all the shapes in the current population to generate the next generation population and obtain the control points of the next generation population. The genes of the shapes with larger weight function values have a greater probability of being inherited to the next generation. Step 7, repeat steps 4 to 6 until the iterations converge and generate a shape that meets the optimization goal, that is, the shape with the transition farthest downstream under the current constraints.
2. The method for optimizing the transition delay of the bow shape of an underwater rotating body based on a genetic algorithm according to claim 1, characterized in that: In step six, to prevent the loss of the best individual, if the best individual of this generation is not as good as the best individual of the previous generation, the best individual of the previous generation will replace the worst individual of this generation; the best individual of each generation is the individual with the last transition position in this generation; the worst individual of each generation is the individual with the first transition position in this generation.
3. The method for optimizing the transition delay of the bow shape of an underwater rotating body based on a genetic algorithm according to claim 1, characterized in that: The method for step six is as follows: 1) Selection: Use random traversal sampling selection operator; 2) Crossover: Use linear recombination operators to obtain new individuals of the next generation; 3) Mutation: using real-valued mutation operators; 4) New individuals form a new population: After selection, crossover, and mutation, multiple individuals are generated to form a new generation of population, and the control point of the new generation of population is obtained.
