A method for automatic mesh generation of rotating mechanical structures based on multi-block topology
Through the automatic generation method of rotating machinery structure mesh based on multi-block topology, the problem of rotating machinery structure mesh generation in the existing technology is solved, the modeling process is simplified and the mesh quality is improved. It is suitable for different types of rotating parts and realizes The efficient application of numerical simulation of the entire aircraft engine.
Patent Information
- Application Number
- CN202310911082.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-24
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2043-07-24
AI Technical Summary
Existing technology is difficult to efficiently generate high-quality rotating machinery structural meshes, which limits the application of numerical simulation of aeroengines, and domestic technology development is relatively weak.
The automatic generation method of rotating machinery structural mesh based on multi-block topology is adopted, including rotating machinery geometry file analysis, mapping of 3D space to the meridional plane and m-theta plane, topological template construction and elliptical partial differential equation optimization. Through coordinate transformation and Algebraic methods generate high-quality structural meshes.
It simplifies the rotating machinery modeling process, shortens the geometric pre-processing cycle, improves the efficiency and quality of mesh generation, is suitable for different types of rotating parts, enhances topological adaptability, and ensures efficient generation of high-quality structural meshes.
Smart Images

Figure CN117272500B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of numerical simulation of aero-engines, and more specifically relates to a method for automatically generating a mesh of a rotating mechanical structure based on a multi-block topology. Background Art
[0002] With the continuous development of computer technology, the computing speed is constantly improving, and the role of numerical simulation in engine design is also constantly improving. Numerical simulation technology has been widely used in the design of aircraft engine components, while the whole machine verification still uses bench tests. Studies have shown that numerical simulation of the entire flow path of an aircraft engine will reduce engine design costs by 33%, reduce the number of prototypes by 36%, and greatly shorten the engine design cycle. Therefore, full-flow path numerical simulation of aircraft engines has become an important technology for aircraft engine design optimization, and it is crucial to quickly and efficiently mesh the entire flow path model of an aircraft engine.
[0003] At present, many studies are devoted to generating high-quality meshes for rotating machinery blade passages, which are mainly divided into three categories: structured methods, semi-structured methods, and unstructured methods. In comparison, the currently recognized optimal method is the structured method, mainly because structured meshes can reduce numerical dissipation and accelerate computational convergence. However, due to the complex geometry of rotating machinery, it is difficult to efficiently generate high-quality meshes, which limits the application of this technology in the industrial field. Therefore, it is urgent to establish a system for efficiently generating rotating machinery structural meshes to provide discretization technology for numerical simulation of aero-engine complete machines.
[0004] For the structured grid division of rotating machinery blade channels, the multi-block structured grid technology is mainly used, and this technology is currently recognized as the best solution. After the topology is constructed, the initial grid is generated for each block through algebraic methods, such as Transfinite interpolation; the grid distribution of each block is further optimized through the elliptic partial differential equation optimization method to generate a high-quality grid. At present, NEMECA, TurboGrid and other software have the ability to automatically generate structural grids for rotating machinery. This technology is monopolized by foreign countries, and the domestic technology development in this area is relatively weak. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention establishes a method for automatically generating rotating machinery structure meshes based on multi-block topology. This method solves the current technical problems of complex geometric processing and high-quality automatic generation of rotating machinery structure meshes in the field of rotating machinery, and accelerates the application of domestic numerical simulation technology in the simulation of aero-engine whole-machine.
[0006] In order to solve the above technical problems, the present invention is implemented in the following ways:
[0007] A method for automatically generating a mesh of a rotating mechanical structure based on multi-block topology comprises the following steps:
[0008] S1. GeomTurbo geometry file parsing for rotating machinery;
[0009] S2, mapping of 3D space to meridian and m-theta planes;
[0010] S3, construction of topological template and calculation of topological points;
[0011] S4, mapping the topological template to the m-theta plane and generating an initial mesh;
[0012] S5, mesh optimization based on elliptic partial differential equations and mapping the m-theta plane mesh to three-dimensional space;
[0013] S6. Generate structural meshes of all cross sections through the process of steps S3 to S5, and generate 3D meshes by stacking.
[0014] Furthermore, the step S1 specifically includes the following sub-steps:
[0015] S11. The casing line and hub line in the geomTurbo file are a series of discrete points. The discrete points use cylindrical coordinates (r, z, θ). The conversion between cylindrical coordinates and rectangular coordinates is implemented as follows:
[0016]
[0017] Among them, (X, Y, Z) represents rectangular coordinates, (r, z, θ) represents cylindrical coordinates;
[0018] S12. The blades in the geomTurbo file are described by multiple sections. Each section is divided into two parts: suction line and pressure line. The suction line and pressure line are composed of three segments of data: leading edge, blade body and trailing edge, respectively. Both the suction line and the pressure line are represented by discrete points.
[0019] Furthermore, the step S2 specifically includes the following sub-steps:
[0020] S21, Meridian Plane Design
[0021] The meridian plane is composed of the projections of the casing, hub and blade line on the cylindrical coordinate (z, r) plane. In step S1, the geomTurbo file, casing line and hub line are obtained through the original data. The data calculation expression of the blade on the meridian plane is as follows:
[0022]
[0023] S22, m-theta graphic design
[0024] The blade passages of the rotating machinery are arranged on a plurality of flow sections, which are located on a three-dimensional flow surface in a cylindrical coordinate system, and the flow surface can be represented as an m-theta plane by parameter coordinates m′, θ;
[0025] S23, spatial coordinates mapped to the m-theta plane
[0026] m-theta is converted into cylindrical coordinates by using expression (1) through the coordinate transformation in cylindrical coordinates. The expression of m′ in cylindrical coordinates is as follows:
[0027]
[0028] Using the trapezoidal derivative formula to obtain the expression based on discrete points is as follows:
[0029]
[0030] Where i is the index of the current point, i+1 is the index of the next point, and m′0=0;
[0031] The blade sections at different activation layers in the cylindrical coordinate system are mapped to the corresponding m-theta plane using expression (4).
[0032] Furthermore, step S3 specifically includes the following sub-steps:
[0033] S31, using a combination of multiple topologies in a rotating machine to generate multiple topological structures and establish a topological template;
[0034] S32. Based on the interrelationship of topological layout parameters, they are divided into four parameters: nbb, nim, SL and SM to control the blocks. At the same time, the grid size is set to dl = l / nbb. The topological point expression is as follows:
[0035]
[0036] Among them, l is the length of the arc in the blade, nin, nih, nim, nil, np0, np1, nen, neh, nem, nel, and nbb respectively represent the number of points on the corresponding edges in the topology type. According to the distribution of each node and the average grid size information, the node position in the topology type is calculated.
[0037] nb0+2×nb1+nb2=nbb, nmh=nml, nb0=nmm=nml
[0038] Furthermore, step S4 specifically includes the following sub-steps:
[0039] S41, determining the position of the topological point according to the calculation of the topological key point in step S3, and mapping the constructed topological template to the m-theta plane;
[0040] S42. Generate an initial grid for each block using an algebraic method (Transfinite Interpolation).
[0041] Furthermore, step S5 specifically includes the following sub-steps:
[0042] S51. After the initial grid is generated, Thompson's quasi-linear elliptic PDE optimizer is used to optimize the initial grid. The expression is as follows
[0043] α(X εε +P(ε,η)X ε )-2βX εη +γ(X ηη +Q(ε,η)X η )=0 (6)
[0044] Where P and Q are source functions that control grid spacing and orthogonality, γ = X ε ·X ε , α=X η ·X η , β=X ε ·X η , X ε and X εε denote the first and second order derivatives respectively.
[0045] The above formula is obtained after the boundary condition β=0:
[0046]
[0047] S52, after completing the m-theta plane mesh optimization in step S51, map it to three-dimensional space coordinates, and the mapping process is as follows:
[0048] Set at a known m-theta plane point P x =(m x ,θ), its cylindrical coordinates (r x , z x , θ) is obtained according to formula (4):
[0049]
[0050] Among them, i represents the closest point P x The index of the anchor point,
[0051] Finally, we can get:
[0052]
[0053] z x =z i +(r x -r i )tanα (9)
[0054] in, α represents the angle between the line connecting the two points and the horizontal axis. Based on the above, the grid points on the m-theta plane are mapped to the three-dimensional space coordinates to obtain a three-dimensional grid.
[0055] Compared with the prior art, the present invention has the following beneficial effects:
[0056] The present invention adopts coordinate transformation and conformal mapping methods to simplify the rotating machinery modeling process, shorten the rotating machinery geometric pre-processing cycle, and construct various types of topological structures based on multi-block topology technology, which is suitable for different rotating parts and has a wider application field; the topological point distribution is automatically calculated according to the grid point distribution and geometric shape, thereby enhancing the topological adaptability. At the same time, it has optimizers for different types of elliptic partial differential equations, which greatly improves the optimization speed and quality, thereby ensuring the efficient generation of high-quality structural grids. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 It is a schematic diagram of the process of the present invention.
[0058] Figure 2 This is a schematic diagram of the blade modeling structure of the present invention.
[0059] Figure 3 It is a structural schematic diagram of meridian plane mapping of the present invention.
[0060] Figure 4 It is the mapping between the three-dimensional coordinate system and the two-dimensional coordinate system in the present invention.
[0061] Figure 5 Schematic diagram of different types of topological structures of the present invention.
[0062] Figure 6 Schematic diagrams of the key points of the double-L topology of the present invention.
[0063] Figure 7 It is a schematic diagram of the double-L topology template mapping structure of the present invention.
[0064] Figure 8 It is a schematic diagram showing the overall generation effect of the present invention. DETAILED DESCRIPTION
[0065] The specific implementation of the present invention is further described in detail below with reference to the accompanying drawings and specific examples.
[0066] like Figure 1 As shown, a method for automatically generating a mesh of a rotating mechanical structure based on multi-block topology includes the following steps:
[0067] S1. GeomTurbo geometry file analysis for rotating machinery
[0068] S11. The casing line and hub line in the geomTurbo file are a series of discrete points. The discrete points use cylindrical coordinates (r, z, θ). The conversion between cylindrical coordinates and rectangular coordinates is implemented as follows:
[0069] X=r cosθ
[0070] Y=r sinθ
[0071] Z=z (1)
[0072] Among them, (X, Y, Z) represents rectangular coordinates, (r, z, θ) represents cylindrical coordinates;
[0073] S12. The blades in the geomTurbo file are described by multiple sections, such as Figure 2 As shown, each cross section is divided into two parts: suction line and pressure line. The suction line and pressure line are respectively composed of three segments of data: leading edge, blade body and trailing edge, and both the suction line and the pressure line are represented by discrete points.
[0074] S2, Mapping of 3D space to meridian and m-theta planes
[0075] S21, Meridian Plane Design
[0076] The meridian plane is composed of the projections of the casing, hub and blade line on the cylindrical coordinate (z, r) plane, such as Figure 3 As shown, in step S1, the geomTurbo file, the casing line and the hub line are obtained through the original data, and the data calculation expression of the blade on the meridian plane is as follows:
[0077]
[0078] S22, m-theta graphic design
[0079] The blade passages of the rotating machinery are arranged on a plurality of flow sections, which are located on a three-dimensional flow surface f in a cylindrical coordinate system. i On (x, r, θ), the flow surface can be expressed as the m-theta plane using parameter coordinates m′, θ;
[0080] S23, spatial coordinates mapped to the m-theta plane
[0081] m-theta is converted into cylindrical coordinates by using expression (1) through the coordinate transformation in cylindrical coordinates. The expression of m′ in cylindrical coordinates is as follows:
[0082]
[0083] Using the trapezoidal derivative formula (numerical integration trapezoidal formula) to obtain the expression based on discrete points is as follows:
[0084]
[0085] Where i is the index of the current point, i+1 is the index of the next point, and m′0=0; Figure 4 As shown, the blade sections of different activation layers in the cylindrical coordinate system are mapped to the corresponding m-theta plane through expression (4).
[0086] S3. Construction of topological template and calculation of topological points
[0087] S31. In rotating machinery, multiple topologies are combined to generate multi-block topological structures, mainly the combination of H-type, O-type, C-type, L-type, I-type and other topologies, to generate multi-block topological structures such as double L-type, O4H type, HOH type, etc. Figure 5 As shown, double L-type and O4H-type topology templates are established, and the points in the figure are the key points for constructing the topology.
[0088] S32, the double L-type topology layout parameters are interrelated, and they are divided into four parameters: nbb, nim, SL and SM to control the blocks. At the same time, the grid size is set to dl = l / nbb, such as Figure 6 As shown, the topological key points and the distribution of points are calculated. The construction of the O4H topological template is similar to that of the double L topological template. The topological point expression is as follows:
[0089]
[0090] Among them, l is the length of the arc in the blade, nin, nih, nim, nil, np0, np1, nen, neh, nem, nel, nbb respectively represent the number of points on the corresponding edges in the topology type. According to the distribution of each node and the average grid size information, the node position in the topology type is calculated, nb0+2×nb1+nb2=nbb, nmh=nml, nb0=nmm=nml
[0091] S4. Map the topological template to the m-theta plane and generate the initial mesh
[0092] S41, according to the calculation of topological key points in step S3, such as Figure 7 As shown, the topological point position is determined, and the constructed topological template is mapped to the m-theta plane;
[0093] S42. Generate an initial grid for each block using an algebraic method (TransfiniteInterpolation).
[0094] Since the initial mesh generated in each mesh block by using Transfinite Interpolation after topology construction is usually of poor quality and cannot meet the requirements of numerical simulation, an elliptical mesh optimizer is used in step S5 to optimize the above type of initial mesh to improve its smoothness and orthogonality.
[0095] S5. Grid optimization based on elliptic partial differential equations and mapping the m-theta plane grid to three-dimensional space
[0096] S51. After the initial grid is generated, Thompson's quasi-linear elliptic PDE optimizer is used to optimize the initial grid. The expression is as follows
[0097] α(X εε +P(ε,η)X ε )-2βX εη +γ(X ηη +Q(ε,η)X η )=0 (6)
[0098] Where P and Q are the source functions that control the grid spacing and orthogonality. The above formula is solved by the super-relaxation method to obtain γ = X ε ·X ε , α=X η ·X η , β=X ε ·X η , X ε and X εε denote the first and second order derivatives respectively;
[0099] The above formula is obtained after the boundary condition β=0:
[0100]
[0101] S52, after completing the m-theta plane grid optimization in step S51, map it to the three-dimensional space coordinate space, and the mapping process is as follows:
[0102] Set at a known m-theta plane point P x =(m x ,θ), its cylindrical coordinates (r x , z x , θ) is obtained according to formula (4):
[0103]
[0104] Among them, i represents the closest point P x The index of the anchor point can be transformed into formula (7):
[0105]
[0106] Finally, we can get:
[0107]
[0108] z x =z i +(r x -r i )tanα (9)
[0109] in, α represents the angle between the line connecting the two points and the horizontal axis. Based on the above, the grid points on the m-theta plane are mapped to the three-dimensional space coordinates to obtain a three-dimensional grid.
[0110] S6, such as Figure 8 As shown, the structural mesh of all cross sections is generated through the process of steps S3 to S5, and a 3D mesh is generated by stacking.
[0111] The above description is only an implementation mode of the present invention. It is stated again that for ordinary technicians in this technical field, several improvements can be made to the present invention without departing from the principle of the present invention. These improvements are also included in the protection scope of the claims of the present invention.
Claims
1. A method for automatically generating a mesh of a rotating mechanical structure based on multi-block topology, characterized in that: The following steps are involved: S1. GeomTurbo geometry file parsing for rotating machinery; S2, mapping of 3D space to meridian and m-theta planes; S3, construction of topological template and calculation of topological points; S4, mapping the topological template to the m-theta plane and generating an initial mesh; S5, mesh optimization based on elliptic partial differential equations and mapping the m-theta plane mesh to three-dimensional space; S6, generating structural grids of all cross sections through the process of steps S3 to S5, and generating 3D grids by stacking; The step S1 specifically includes the following sub-steps: S11. The casing line and hub line in the geomTurbo file are a series of discrete points. The discrete points use cylindrical coordinates (r, z, θ). The conversion between cylindrical coordinates and rectangular coordinates is implemented as follows: X=r Cosθ Y=r sinθ Z=z (1) Among them, (X, Y, Z) represents rectangular coordinates, (r, z, θ) represents cylindrical coordinates; S12. The blades in the geomTurbo file are described by multiple sections. Each section is divided into two parts: suction line and pressure line. The suction line and pressure line are composed of three segments of data: leading edge, blade body and trailing edge, respectively. Both suction line and pressure line are represented by discrete points. The step S2 specifically includes the following sub-steps: S21, Meridian Plane Design The meridian plane is composed of the projections of the casing, hub and blade line on the cylindrical coordinate (z, r) plane. In step S1, the geomTurbo file, casing line and hub line are obtained through the original data. The data calculation expression of the blade on the meridian plane is as follows: z=z (2) S22, m-theta graphic design The blade passages of the rotating machinery are arranged on a plurality of flow sections, which are located on a three-dimensional flow surface in a cylindrical coordinate system, and the flow surface can be represented as an m-theta plane using parameter coordinates m, θ; S23, spatial coordinates mapped to the m-theta plane m-theta is converted into cylindrical coordinates by using expression (1) through the coordinate transformation in cylindrical coordinates. The expression of m′ in cylindrical coordinates is as follows: Using the trapezoidal derivative formula to obtain the expression based on discrete points is as follows: Where i is the index of the current point, i+1 is the index of the next point, and m′0=0; The blade sections of different activation layers in the cylindrical coordinate system are mapped to the corresponding m-theta plane through expression (4); The step S3 specifically includes the following sub-steps: S31, using a combination of multiple topologies in a rotating machine to generate multiple topological structures and establish a topological template; S32. Based on the interrelationship of topological layout parameters, they are divided into four parameters: nbb, nim, SL and SM to control the blocks. At the same time, the grid size is set to dl = l / nbb. The topological point expression is as follows: nin=nih+nil+nim nen=neh+nel+nim nil=SM nih=nbb×SL-0.5×nim nel=nbb×SL-0.5×nem nem=ninm neh=ncut np1=SM+nbb×(1-SL)-0.5×nim Among them, l is the length of the arc in the blade, nin, nih, nim, nil, np0, np1, nen, neh, nem, nel, and nbb represent the number of points on the corresponding edges in the topology type. The node positions in the topology type are obtained based on the node distribution and average grid size information. The step S4 specifically includes the following sub-steps: S41, determining the position of the topological point according to the calculation of the topological key point in step S3, and mapping the constructed topological template to the m-theta plane; S42, generating an initial grid for each block using an algebraic method; The step S5 specifically includes the following sub-steps: S51. After the initial grid is generated, Thompson's quasi-linear elliptic PDE optimizer is used to optimize the initial grid. The expression is as follows a(X εε +P(e,n)X ε )-2βX εη +γ(X ηη +Q(e,n)X η )=0 (6) Where P and Q are source functions that control grid spacing and orthogonality, γ = X ε ·X ε , α=X η ·X η , β=X ε ·X η , X ε and X εε denote the first and second order derivatives respectively; The above formula (6) is obtained after the boundary condition β = 0: S52, after completing the m-theta plane grid optimization in step S51, map it to the three-dimensional space coordinate space, and the mapping process is as follows: Set at a known m-theta plane point P x =(m x ,θ), its cylindrical coordinates (r x , z x , θ) is obtained according to formula (4): Among them, i represents the closest point P x The index of the anchor point, Finally, we can get: z x =z i +(r x -r i )tanα (9) in, According to the above, the grid points on the m-theta plane are mapped to the three-dimensional space coordinates to obtain a three-dimensional grid, and α represents the angle between the line connecting the two points and the horizontal axis.
