L-shaped topological space grid generation method and device, equipment and medium
By constructing the L-shaped surface topology at the junction of the wing and fuselage of the aircraft and generating the L-shaped topological spatial grid, the problems of grid distortion and disorder in the traditional grid generation method are solved, and efficient and stable aerodynamic simulation is achieved.
Patent Information
- Application Number
- CN202510436270.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-04-09
AI Technical Summary
In aircraft design, traditional grid generation methods are difficult to accurately fit complex boundaries, resulting in grid distortion, disorder or gap phenomena, affecting the accuracy and efficiency of aerodynamic simulation.
The L-type topological space grid generation method is used to construct the L-type surface topology at the junction of the aircraft's wing and fuselage, and the loop grid lines are screened out to generate the initial L-type topological grid surface, and a high-quality L-type topological space grid is generated through optimization and over-limit interpolation.
Effectively reduce grid distortion, improve the quality and efficiency of spatial grid generation, avoid grid disorders or gaps, maintain the efficiency and stability of calculations, and reduce operational complexity.
Smart Images

Figure CN119939788A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of aircraft design, and in particular to an L-type topological space grid generation method, device, equipment and medium. Background Art
[0002] In the field of modern aircraft design, accurate aerodynamic simulation plays a vital role in improving aircraft performance and optimizing flight quality. With the rapid development of aviation technology, the wing-body joint is a key part of the aircraft structure, and its geometry is extremely complex. Traditional methods often face many challenges, such as difficulty in accurately fitting complex boundaries and generating grid distortion, which brings great uncertainty to aircraft design. In the early days, structured grid methods were mostly used for the wing-body joint, such as generating body-fitting structured grids through coordinate transformation. Good results were achieved on simple geometric shapes, but complex algebraic methods and manual intervention were required at the wing-body junction, and singular points appeared, resulting in low mesh generation efficiency. Later, a spatial mesh generation method based on the construction method was developed. This method may cause the spatial mesh lines to intersect with the surface mesh at the wing-body junction due to errors in the normal solution, and as the height of the spatial mesh generation increases, the spatial mesh will collide. In recent years, as hybrid meshes have become a research hotspot, the advantages of structured and unstructured meshes are combined, and tetrahedral and hexahedral meshes are combined. However, this method is still difficult in terms of connection processing, and errors are easily introduced at the interface of different types of meshes, affecting the overall simulation accuracy. In addition, the parameters of structured and unstructured meshes need to be finely adjusted during generation, which increases the complexity of the operation and the computational cost.
[0003] It can be seen from the above that how to reduce grid distortion, improve the quality and efficiency of spatial grid generation, avoid grid disorder or gaps, maintain the efficiency and stability of the overall calculation, and reduce the complexity of operations are problems to be solved in this field. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide an L-shaped topological spatial grid generation method, device, equipment and medium, which can reduce grid distortion, improve the quality and efficiency of spatial grid generation, avoid the phenomenon of grid disorder or gaps, maintain the efficiency and stability of overall calculation, and reduce the complexity of operation. The specific scheme is as follows:
[0005] In a first aspect, the present application discloses a method for generating an L-type topological space grid, comprising:
[0006] Construct an L-shaped surface topology at the junction of the aircraft's wing and fuselage;
[0007] Based on the L-shaped surface topology, loop grid lines are selected, and the loop grid lines are used as L-shaped topological rings, mesh surfaces and grid lines associated with the L-shaped topological rings are identified, the mesh surfaces and grid lines are traversed to generate an initial L-shaped topological mesh surface, and the initial L-shaped topological mesh surface is optimized to obtain an L-shaped topological mesh surface;
[0008] An association relationship between adjacent L-shaped topological mesh surfaces is established, and an L-shaped topological space grid is generated based on the association relationship between adjacent L-shaped topological mesh surfaces by using a transfinite interpolation method.
[0009] Optionally, constructing an L-shaped surface topology at the junction of the wing and the fuselage of the aircraft includes:
[0010] A corresponding connection relationship between surface meshes at the junction of the wing and the fuselage of the aircraft is established, and the surface mesh at the junction of the wing and the fuselage of the aircraft is constructed into an L-shaped surface topology that meets the L-shaped space mesh generation condition.
[0011] Optionally, the step of selecting loop grid lines based on the L-shaped surface topology includes:
[0012] On the basis of the L-shaped surface topology, a circle of grid lines formed by a junction of the wing and the fuselage is selected, and the grid lines are used as the loop grid lines.
[0013] Optionally, traversing the mesh surface and the mesh lines to generate an initial L-shaped topological mesh surface includes:
[0014] Each grid point of the grid surface and the grid line is traversed, and an initial L-shaped topological grid surface is generated by using a parallelogram construction method.
[0015] Optionally, the optimizing the initial L-shaped topological mesh surface to obtain the L-shaped topological mesh surface includes:
[0016] The coordinates of the discrete points of the lifting lines in the initial L-shaped topological mesh surface are optimized to obtain the L-shaped topological mesh surface.
[0017] Optionally, the establishing an association relationship between adjacent L-shaped topological mesh surfaces includes:
[0018] The association relationship between adjacent L-shaped topological grid surfaces is determined by using the association relationship between each grid point in the L-shaped topological grid surface and the surface grid of the aircraft, and each L-shaped topological grid surface is connected end to end.
[0019] Optionally, the generating the L-shaped topological space grid by using the transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid surfaces includes:
[0020] The correlation relationship between adjacent L-shaped topological grid surfaces is calculated by using a transfinite interpolation method to obtain a vector difference of corresponding grid points between adjacent L-shaped topological grid surfaces, and an L-shaped topological space grid is generated based on the vector difference.
[0021] In a second aspect, the present application discloses an L-shaped topological space grid generation device, comprising:
[0022] The surface topology construction module is used to construct an L-shaped surface topology at the junction of the wing and fuselage of the aircraft;
[0023] A mesh surface generation module, used for screening out loop mesh lines based on the L-shaped surface topology, and using the loop mesh lines as L-shaped topological rings, identifying mesh surfaces and mesh lines associated with the L-shaped topological rings, traversing the mesh surfaces and the mesh lines to generate an initial L-shaped topological mesh surface, and optimizing the initial L-shaped topological mesh surface to obtain an L-shaped topological mesh surface;
[0024] The spatial grid generation module is used to establish an association relationship between adjacent L-shaped topological grid surfaces, and generate an L-shaped topological spatial grid based on the association relationship between adjacent L-shaped topological grid surfaces using a transfinite interpolation method.
[0025] In a third aspect, the present application discloses an electronic device, comprising:
[0026] Memory, used to store computer programs;
[0027] The processor is used to execute the computer program to implement the aforementioned L-type topological space grid generation method.
[0028] In a fourth aspect, the present application discloses a computer storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed L-type topological space grid generation method are implemented.
[0029] It can be seen that the present application provides a method for generating an L-shaped topological space grid, including constructing an L-shaped surface topology at the junction of the wing and fuselage of an aircraft; screening out loop grid lines based on the L-shaped surface topology, and using the loop grid lines as L-shaped topological rings, identifying grid surfaces and grid lines associated with the L-shaped topological rings, traversing the grid surfaces and the grid lines to generate an initial L-shaped topological grid surface, and optimizing the initial L-shaped topological grid surface to obtain an L-shaped topological grid surface; establishing an association relationship between adjacent L-shaped topological grid surfaces, and generating an L-shaped topological space grid using a transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid surfaces. The present application constructs an L-shaped surface topology at the junction of the wing and fuselage of an aircraft, which can reduce grid distortion, improve the quality of spatial grids, avoid the generation of surface grids with larger curved surfaces at the junction of the wing and body, enable the grid to smoothly transition from the wing surface to the fuselage surface, and provide strong support for subsequent spatial grid generation. The loop grid lines are screened out and the loop grid lines are used as L-shaped topological rings, the grid surfaces and grid lines associated with the L-shaped topological rings are identified, the grid surfaces and grid lines are traversed, and an initial L-shaped topological grid surface is generated. The initial L-shaped topological grid surface is optimized to obtain an L-shaped topological grid surface, which can avoid the possibility of the spatial grid lines at the junction of the wing and body being intertwined with the wing or fuselage, reduce grid distortion, improve the quality and efficiency of spatial grid generation, establish an association relationship between adjacent L-shaped topological grid surfaces, and in order to enable the boundary layer grid to be shape-preserving with the boundary layer grid, an L-shaped topological spatial grid is generated using a transfinite interpolation method based on the association relationship between adjacent L-shaped topological grid surfaces, which can avoid the phenomenon of grid disorder or gaps, maintain the efficiency and stability of the overall calculation, and reduce the complexity of operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0031] Figure 1 A flow chart of a method for generating an L-type topological space grid disclosed in this application;
[0032] Figure 2 This is an example diagram of an L-shaped surface topology disclosed in this application;
[0033] Figure 3 A simplified diagram of wing and fuselage grid lines associated with a grid point disclosed in the present application;
[0034] Figure 4 This is an example diagram of a single L-shaped topological mesh surface disclosed in this application;
[0035] Figure 5 An example diagram of an L-shaped topological space grid disclosed in this application;
[0036] Figure 6 A specific flow chart for generating an L-type topological spatial grid disclosed in this application;
[0037] Figure 7 A schematic diagram of the structure of an L-shaped topological space grid generation device disclosed in this application;
[0038] Figure 8 A structural diagram of an electronic device provided for this application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] In the field of modern aircraft design, accurate aerodynamic simulation plays a vital role in improving aircraft performance and optimizing flight quality. With the rapid development of aviation technology, the wing-body joint is a key part of the aircraft structure, and its geometry is extremely complex. Traditional methods often face many challenges, such as difficulty in accurately fitting complex boundaries and generating grid distortion, which brings great uncertainty to aircraft design. In the early days, structured grid methods were mostly used for the wing-body joint, such as generating body-fitting structured grids through coordinate transformation. Good results have been achieved on simple geometric shapes, but complex algebraic methods and manual intervention are required at the wing-body junction, and singular points appear, resulting in low efficiency of mesh generation. Later, a spatial mesh generation method based on the construction method was developed. This method may cause the spatial mesh lines to intersect with the surface mesh at the wing-body junction due to errors in the normal solution, and as the height of the spatial mesh generation increases, the spatial mesh will collide. In recent years, as hybrid meshes have become a research hotspot, the advantages of structured and unstructured meshes are combined, and tetrahedral and hexahedral meshes are combined. However, this method is still difficult in terms of connection processing, and errors are easily introduced at the interface of different types of meshes, affecting the overall simulation accuracy. In addition, the parameters of structured and unstructured meshes need to be finely adjusted during generation, which increases the complexity of operation and the computational cost. As can be seen from the above, how to reduce mesh distortion, improve the quality and efficiency of spatial mesh generation, avoid mesh disorder or gaps, maintain the efficiency and stability of the overall calculation, and reduce the complexity of operation are problems to be solved in this field.
[0041] See also Figure 1 As shown, the embodiment of the present invention discloses a method for generating an L-shaped topological space grid, which may specifically include:
[0042] Step S11: constructing an L-shaped surface topology at the junction of the wing and the fuselage of the aircraft.
[0043] In this embodiment, a corresponding connection relationship is established between the surface meshes of the wing and the fuselage of the aircraft at the junction, and the surface meshes at the junction of the wing and the fuselage of the aircraft are constructed into an L-shaped surface topology that meets the L-shaped space mesh generation conditions.
[0044] In this embodiment, the surface mesh at the junction of the wing and the fuselage is constructed as an L-shaped surface topology suitable for generating an L-shaped space mesh, so that the surface meshes at the junction of the wing and the fuselage have a corresponding connection relationship. The L-shaped surface topology is as follows: Figure 2 As shown in the figure, generating L-shaped topology on the surface mesh can effectively reduce mesh distortion and improve the quality of spatial mesh.
[0045] Step S12: Based on the L-shaped surface topology, ring grid lines are screened out, and the ring grid lines are used as L-shaped topological rings, and mesh surfaces and grid lines associated with the L-shaped topological rings are identified, and the mesh surfaces and grid lines are traversed to generate an initial L-shaped topological mesh surface, and the initial L-shaped topological mesh surface is optimized to obtain an L-shaped topological mesh surface.
[0046] In this embodiment, based on the L-shaped surface topology, a circle of grid lines formed by the junction of the wing and the fuselage is selected, and the grid lines are used as the ring grid lines, the grid surfaces and grid lines associated with the L-shaped topological ring are identified, each grid point of the grid surfaces and the grid lines is traversed, and an initial L-shaped topological grid surface is generated using a parallelogram construction method, and the discrete point coordinates of the lifting lines in the initial L-shaped topological grid surface are optimized to obtain an L-shaped topological grid surface.
[0047] The process of generating a monolithic L-shaped topology mesh surface in this application is as follows:
[0048] (1) Select a circle of grid lines that surround the junction of the wing and the fuselage and use the grid lines as the ring grid lines;
[0049] (2) Identify the mesh surfaces and mesh lines of the wing and fuselage associated with the selected loop mesh lines;
[0050] (3) Traverse each grid point of the loop where the wing and fuselage meet, as well as its associated grid lines, and use the parallelogram construction method to generate the initial L-shaped topological grid surface. The simplified diagram of the wing and fuselage grid lines associated with the grid points is shown in the figure below: Figure 3As shown in the figure, the principle and process of generating the initial L-shaped topological mesh surface are as follows:
[0051] First, assume that the total number of discrete points generated by the preset spatial topology is d, the height of the first floor is r, and the growth rate is q. Figure 3 The number of discrete points on the grid lines AB and AC in is The main steps to construct a single L-shaped topological mesh surface on it are:
[0052] (a) Pass through point ABC and find point D so that ABCD is a parallelogram;
[0053] (b) Calculate the length: ;
[0054] (c) Find a point N, M, O on CD, BD, and AD respectively, so that the lengths of CN, BM, and AO are L, and then connect the corresponding generated points to generate an initial L-shaped topological mesh surface. The single L-shaped topological mesh surface is as follows: Figure 4 As shown;
[0055] (4) Surface grid lines will generate grid lines of different line types depending on the model. When there are surface grid lines with large curvature, the generated lifting lines ON and BM are not lifted high enough, and may even intersect with the surface grid lines AC and AB. Therefore, it is necessary to optimize the coordinates of the discrete points of the lifting lines ON and BM. For example, if the starting point to the end point of the grid lines AC and ON are in the same direction, the coordinates of the jth discrete point of the lifting line ON can be expressed as:
[0056] ;
[0057] in, is the coordinate of the jth discrete point in AC, and || || is the binary norm operator.
[0058] Step S13: establishing an association relationship between adjacent L-shaped topological mesh surfaces, and generating an L-shaped topological space grid based on the association relationship between adjacent L-shaped topological mesh surfaces by using a transfinite interpolation method.
[0059] In this embodiment, the association relationship between each grid point in the L-shaped topological grid surface and the surface grid of the aircraft is used to determine the association relationship between adjacent L-shaped topological grid surfaces, and each L-shaped topological grid surface is connected end to end. The association relationship between adjacent L-shaped topological grid surfaces is calculated using the transfinite interpolation method to obtain the vector difference of the corresponding grid points between adjacent L-shaped topological grid surfaces, and an L-shaped topological space grid is generated based on the vector difference.
[0060] Specifically, after a single L-shaped topological mesh surface is generated on the loop line, it is necessary to establish a connection relationship between two adjacent topological mesh surfaces. The corresponding relationship between the two topological mesh surfaces can be simply obtained through the association relationship between each grid point and the surface mesh. Each single L-shaped topological mesh surface is connected end to end, and the TFI (Transfinite Interpolation) method is used to generate an L-shaped topological space grid. The generation steps are similar to the above steps. The mesh surfaces ONO'N' and OMO'M' (O'N' refers to the line segment corresponding to ON in the connected L-shaped topological mesh surface) may be interlaced with the corresponding surface mesh, resulting in poor quality of the subsequent spatial mesh. Generally, mesh surface generation is to interpolate internal points from boundary points, but the mesh surface of this application will use a different TFI interpolation method. There must be a surface mesh that uniquely corresponds to the mesh surface. Therefore, the grid lines and grid points that make up the surface mesh are also in a one-to-one correspondence, and the vector difference of the corresponding grid points can be calculated. , interpolate the vector difference of the internal points through TFI , based on the vector difference, an L-type topological space grid is generated. Figure 5 shown.
[0061] The L-type topological space grid generation method proposed in this application mainly includes three steps: surface topology construction, single-piece L-type topological grid surface generation, and L-type topological space grid generation. The specific process is as follows Figure 6 As shown, first, an L-shaped surface topology is constructed at the junction of the wing and the fuselage of the aircraft, then the L-shaped topological ring is screened out, the mesh surfaces and mesh lines associated with the L-shaped topological ring are identified, the mesh surfaces and mesh lines are traversed to construct a quadrilateral (i.e., generate an initial L-shaped topological mesh surface), the initial L-shaped topological mesh surface is optimized to obtain an L-shaped topological mesh surface, and finally, the association relationship between adjacent L-shaped topological mesh surfaces is established, and the L-shaped topological space grid is generated using the transfinite interpolation method.
[0062] Compared with the spatial grid generation method based on the construction method, the innovation of this application is: first, by reasonably partitioning the wing-body junction and constructing an L-shaped topological structure, the surface grid generation with a large curved surface at the wing-body junction is avoided, so that the grid can smoothly transition from the wing surface to the fuselage surface, providing strong support for the subsequent spatial grid generation; second, this patent generates L-shaped spatial grids, using a parallelogram construction method instead of advancing in the normal direction, avoiding the possibility of the spatial grid lines at the wing-body junction intersecting with the wing or fuselage, which can effectively reduce grid distortion and improve the quality of spatial grids; third, by interpolating the spatial grid surface through vector difference, it can be consistent with the surface grid, so that the generated spatial grid has a higher quality. The L-shaped topological grid can not only accurately capture the complex flow in the boundary layer, but also maintain the efficiency and stability of the calculation as a whole.
[0063] In this embodiment, an L-shaped surface topology is constructed at the junction of the wing and the fuselage of the aircraft; based on the L-shaped surface topology, loop grid lines are screened out, and the loop grid lines are used as L-shaped topological rings, and mesh surfaces and grid lines associated with the L-shaped topological rings are identified, and the mesh surfaces and grid lines are traversed to generate an initial L-shaped topological mesh surface, and the initial L-shaped topological mesh surface is optimized to obtain an L-shaped topological mesh surface; an association relationship between adjacent L-shaped topological mesh surfaces is established, and an L-shaped topological space grid is generated using a transfinite interpolation method and based on the association relationship between adjacent L-shaped topological mesh surfaces. The present application constructs an L-shaped surface topology at the junction of the wing and fuselage of an aircraft, which can reduce grid distortion, improve the quality of spatial grids, avoid the generation of surface grids with larger curved surfaces at the junction of the wing and body, enable the grid to smoothly transition from the wing surface to the fuselage surface, and provide strong support for subsequent spatial grid generation. The loop grid lines are screened out and the loop grid lines are used as L-shaped topological rings, the grid surfaces and grid lines associated with the L-shaped topological rings are identified, the grid surfaces and grid lines are traversed, and an initial L-shaped topological grid surface is generated. The initial L-shaped topological grid surface is optimized to obtain an L-shaped topological grid surface, which can avoid the possibility of the spatial grid lines at the junction of the wing and body being intertwined with the wing or fuselage, reduce grid distortion, improve the quality and efficiency of spatial grid generation, establish an association relationship between adjacent L-shaped topological grid surfaces, and in order to enable the boundary layer grid to be shape-preserving with the boundary layer grid, an L-shaped topological spatial grid is generated using a transfinite interpolation method based on the association relationship between adjacent L-shaped topological grid surfaces, which can avoid the phenomenon of grid disorder or gaps, maintain the efficiency and stability of the overall calculation, and reduce the complexity of operation.
[0064] See also Figure 7 As shown, the embodiment of the present invention discloses an L-shaped topological space grid generation device, which may specifically include:
[0065] A surface topology construction module 11 is used to construct an L-shaped surface topology at the junction of the wing and the fuselage of the aircraft;
[0066] A mesh surface generation module 12 is used to screen out loop mesh lines based on the L-shaped surface topology, and use the loop mesh lines as L-shaped topological rings, identify mesh surfaces and mesh lines associated with the L-shaped topological rings, traverse the mesh surfaces and mesh lines to generate an initial L-shaped topological mesh surface, and optimize the initial L-shaped topological mesh surface to obtain an L-shaped topological mesh surface;
[0067] The spatial grid generation module 13 is used to establish an association relationship between adjacent L-shaped topological grid surfaces, and generate an L-shaped topological spatial grid based on the association relationship between adjacent L-shaped topological grid surfaces using a transfinite interpolation method.
[0068] In this embodiment, an L-shaped surface topology is constructed at the junction of the wing and the fuselage of the aircraft; based on the L-shaped surface topology, loop grid lines are screened out, and the loop grid lines are used as L-shaped topological rings, and mesh surfaces and grid lines associated with the L-shaped topological rings are identified, and the mesh surfaces and grid lines are traversed to generate an initial L-shaped topological mesh surface, and the initial L-shaped topological mesh surface is optimized to obtain an L-shaped topological mesh surface; an association relationship between adjacent L-shaped topological mesh surfaces is established, and an L-shaped topological space grid is generated using a transfinite interpolation method and based on the association relationship between adjacent L-shaped topological mesh surfaces. The present application constructs an L-shaped surface topology at the junction of the wing and fuselage of an aircraft, which can reduce grid distortion, improve the quality of spatial grids, avoid the generation of surface grids with larger curved surfaces at the junction of the wing and body, enable the grid to smoothly transition from the wing surface to the fuselage surface, and provide strong support for subsequent spatial grid generation. The loop grid lines are screened out and the loop grid lines are used as L-shaped topological rings, the grid surfaces and grid lines associated with the L-shaped topological rings are identified, the grid surfaces and grid lines are traversed, and an initial L-shaped topological grid surface is generated. The initial L-shaped topological grid surface is optimized to obtain an L-shaped topological grid surface, which can avoid the possibility of the spatial grid lines at the junction of the wing and body being intertwined with the wing or fuselage, reduce grid distortion, improve the quality and efficiency of spatial grid generation, establish an association relationship between adjacent L-shaped topological grid surfaces, and in order to enable the boundary layer grid to be shape-preserving with the boundary layer grid, an L-shaped topological spatial grid is generated using a transfinite interpolation method based on the association relationship between adjacent L-shaped topological grid surfaces, which can avoid the phenomenon of grid disorder or gaps, maintain the efficiency and stability of the overall calculation, and reduce the complexity of operation.
[0069] In some specific embodiments, the surface topology construction module 11 may specifically include:
[0070] The module is used to establish a corresponding connection relationship between the surface grids of the wing and the fuselage of the aircraft at the junction, and to construct the surface grid at the junction of the wing and the fuselage of the aircraft into an L-shaped surface topology that meets the L-shaped space grid generation conditions.
[0071] In some specific embodiments, the mesh surface generation module 12 may specifically include:
[0072] On the basis of the L-shaped surface topology, a circle of grid lines formed by a junction of the wing and the fuselage is selected, and the grid lines are used as the loop grid lines.
[0073] In some specific embodiments, the mesh surface generation module 12 may specifically include:
[0074] Each grid point of the grid surface and the grid line is traversed, and an initial L-shaped topological grid surface is generated by using a parallelogram construction method.
[0075] In some specific embodiments, the mesh surface generation module 12 may specifically include:
[0076] The coordinates of the discrete points of the lifting lines in the initial L-shaped topological mesh surface are optimized to obtain the L-shaped topological mesh surface.
[0077] In some specific embodiments, the space grid generation module 13 may specifically include:
[0078] The association relationship between adjacent L-shaped topological grid surfaces is determined by using the association relationship between each grid point in the L-shaped topological grid surface and the surface grid of the aircraft, and each L-shaped topological grid surface is connected end to end.
[0079] In some specific embodiments, the space grid generation module 13 may specifically include:
[0080] The correlation relationship between adjacent L-shaped topological grid surfaces is calculated by using a transfinite interpolation method to obtain a vector difference of corresponding grid points between adjacent L-shaped topological grid surfaces, and an L-shaped topological space grid is generated based on the vector difference.
[0081] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the L-type topological space grid generation method performed by the electronic device disclosed in any of the aforementioned embodiments.
[0082] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0083] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222 and data 223, etc. The storage method can be temporary storage or permanent storage.
[0084] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20 to realize the operation and processing of the data 223 in the memory 22 by the processor 21, which can be Windows, Unix, Linux, etc. In addition to including a computer program that can be used to complete the L-type topological space grid generation method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. In addition to including data transmitted from an external device received by the L-type topological space grid generation device, the data 223 can also include data collected by its own input and output interface 25, etc.
[0085] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0086] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the steps of the L-type topological space grid generation method disclosed in any of the aforementioned embodiments are implemented.
[0087] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0088] The above is a detailed introduction to the L-type topological spatial grid generation method, device, equipment and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for generating an L-type topological space grid, characterized in that: include: Construct an L-shaped surface topology at the junction of the aircraft's wing and fuselage; Based on the L-shaped surface topology, loop grid lines are selected, and the loop grid lines are used as L-shaped topological rings, mesh surfaces and grid lines associated with the L-shaped topological rings are identified, the mesh surfaces and grid lines are traversed to generate an initial L-shaped topological mesh surface, and the initial L-shaped topological mesh surface is optimized to obtain an L-shaped topological mesh surface; An association relationship between adjacent L-shaped topological mesh surfaces is established, and an L-shaped topological space grid is generated based on the association relationship between adjacent L-shaped topological mesh surfaces by using a transfinite interpolation method.
2. The L-type topological space grid generation method according to claim 1, characterized in that: The method of constructing an L-shaped surface topology at the junction of the wing and the fuselage of the aircraft includes: A corresponding connection relationship between surface meshes at the junction of the wing and the fuselage of the aircraft is established, and the surface mesh at the junction of the wing and the fuselage of the aircraft is constructed into an L-shaped surface topology that meets the L-shaped space mesh generation condition.
3. The L-type topological space grid generation method according to claim 1, characterized in that: The step of selecting loop grid lines based on the L-shaped surface topology includes: On the basis of the L-shaped surface topology, a circle of grid lines formed by a junction of the wing and the fuselage is selected, and the grid lines are used as the loop grid lines.
4. The L-type topological space grid generation method according to claim 1, characterized in that: The traversing the mesh surface and the mesh lines to generate an initial L-shaped topological mesh surface includes: Each grid point of the grid surface and the grid line is traversed, and an initial L-shaped topological grid surface is generated by using a parallelogram construction method.
5. The L-type topological space grid generation method according to claim 1, characterized in that: The optimizing the initial L-shaped topological mesh surface to obtain the L-shaped topological mesh surface includes: The coordinates of the discrete points of the lifting lines in the initial L-shaped topological mesh surface are optimized to obtain the L-shaped topological mesh surface.
6. The L-type topological space grid generation method according to claim 1, characterized in that: The establishing of an association relationship between adjacent L-shaped topological mesh surfaces includes: The association relationship between adjacent L-shaped topological grid surfaces is determined by using the association relationship between each grid point in the L-shaped topological grid surface and the surface grid of the aircraft, and each L-shaped topological grid surface is connected end to end.
7. The L-type topological space grid generation method according to any one of claims 1 to 6, characterized in that: The generating of the L-shaped topological space grid by using the transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid surfaces comprises: The correlation relationship between adjacent L-shaped topological grid surfaces is calculated by using a transfinite interpolation method to obtain a vector difference of corresponding grid points between adjacent L-shaped topological grid surfaces, and an L-shaped topological space grid is generated based on the vector difference.
8. An L-type topological space grid generation device, characterized in that: include: The surface topology construction module is used to construct an L-shaped surface topology at the junction of the wing and fuselage of the aircraft; A mesh surface generation module, used for screening out loop mesh lines based on the L-shaped surface topology, and using the loop mesh lines as L-shaped topological rings, identifying mesh surfaces and mesh lines associated with the L-shaped topological rings, traversing the mesh surfaces and the mesh lines to generate an initial L-shaped topological mesh surface, and optimizing the initial L-shaped topological mesh surface to obtain an L-shaped topological mesh surface; The spatial grid generation module is used to establish an association relationship between adjacent L-shaped topological grid surfaces, and generate an L-shaped topological spatial grid based on the association relationship between adjacent L-shaped topological grid surfaces using a transfinite interpolation method.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the L-type topological space grid generation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store a computer program; wherein, when the computer program is executed by a processor, the L-type topological space grid generation method as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Full-automatic generation method for complex aircraft surface structure grid
CN110555285A
Two-dimensional boundary layer grid generation method and system based on template construction method
CN114707254A
Space grid generation method and device, equipment and medium
CN115797572A
Space grid generation method and device, equipment and medium
CN116681864A
Structured quadrilateral mesh automatic generation method and device, equipment and medium
CN118799528A