An L-shaped topological space grid generation method, device, equipment and medium
By constructing the L-shaped surface topology at the wing body joint of the aircraft and generating the L-shaped topology spatial grid, the problem that traditional grid generation methods are difficult to accurately fit complex boundaries at the wing body joint is solved, efficient and stable grid generation is achieved, and the accuracy and efficiency of aerodynamic simulation are improved.
Patent Information
- Application Number
- CN202510436270.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2045-04-09
AI Technical Summary
In aircraft design, traditional mesh generation methods are difficult to accurately fit complex boundaries at the wing body junction, resulting in mesh distortion, disorder and 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 wing and fuselage of the aircraft, filter out the loop grid lines, generate the initial L-type topological grid surface, and establish the correlation between adjacent grid surfaces through optimization and over-limit interpolation method to generate a high-quality L-type topological space grid.
It effectively reduces grid distortion, improves the quality and efficiency of the spatial grid, avoids grid disorders or gaps, maintains the efficiency and stability of the overall calculation, and reduces operational complexity.
Smart Images

Figure CN119939788B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of aircraft design, and particularly relates to an L-shaped topological space grid generation method, device, equipment and medium. Background Technique
[0002] In the field of modern aircraft design, accurate aerodynamic simulation plays a crucial role in improving aircraft performance and optimizing flight quality. With the rapid development of aviation technology, the wing-body junction, as a key part of the aircraft structure, has an extremely complex geometric shape. Traditional methods often face many challenges. For example, it is difficult to accurately fit complex boundaries and generate grid distortions, which brings great uncertainties to aircraft design. In the early stage, for the wing-body junction, structured grid methods were mostly used, such as generating body-fitted 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 singularities appeared, resulting in low grid generation efficiency. Later, a spatial grid generation method based on the construction method was developed. In this method, the spatial grid lines may cross the surface grid due to errors in normal solving at the wing-body junction. Moreover, as the height of spatial grid generation increases, grid collisions will occur. In recent years, with the hybrid grid becoming a research hotspot, combining the advantages of structured and unstructured grids, tetrahedral and hexahedral grids are combined. However, the connection processing is still a difficult problem in this method. Errors are easily introduced at the interfaces of different types of grids, affecting the overall simulation accuracy. And during generation, it is necessary to finely adjust the parameters of structured and unstructured grids, increasing the operation complexity and computational cost.
[0003] As can be seen from the above, how to reduce grid distortion, improve the quality and efficiency of spatial grid generation, avoid the phenomenon of grid disorder or gaps, maintain the high efficiency and stability of the overall calculation, and reduce the operation complexity 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 space 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 high efficiency and stability of the overall calculation, and reduce the operation complexity. The specific solutions are as follows:
[0005] In a first aspect, the present application discloses an L-shaped topological space grid generation method, including:
[0006] Construct an L-shaped surface topology at the junction of the wing and the fuselage of the aircraft;
[0007] Based on the L-shaped surface topology, select the loop grid lines, and use the loop grid lines as the L-shaped topological loop. Identify the grid surfaces and grid lines associated with the L-shaped topological loop, traverse the grid surfaces and the grid lines to generate an initial L-shaped topological grid surface, and optimize the initial L-shaped topological grid surface to obtain the L-shaped topological grid surface;
[0008] Establish the association relationship between adjacent L-shaped topological grid surfaces, and use the transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid surfaces to generate the L-shaped topological space grid.
[0009] Optionally, the constructing the L-shaped surface topology at the joint of the wing and the fuselage of the aircraft includes:
[0010] Establish the corresponding connection relationship between the surface grids at the joint of the wing and the fuselage of the aircraft, and construct the surface grids at the joint of the wing and the fuselage of the aircraft into an L-shaped surface topology that meets the L-shaped space grid generation conditions.
[0011] Optionally, the selecting the loop grid lines based on the L-shaped surface topology includes:
[0012] Based on the L-shaped surface topology, select a circle of grid lines surrounded by the joint of the wing and the fuselage as the loop grid lines.
[0013] Optionally, the traversing the grid surfaces and the grid lines to generate an initial L-shaped topological grid surface includes:
[0014] Traverse each grid point of the grid surfaces and the grid lines, and use the parallelogram construction method to generate the initial L-shaped topological grid surface.
[0015] Optionally, the optimizing the initial L-shaped topological grid surface to obtain the L-shaped topological grid surface includes:
[0016] Optimize the discrete point coordinates of the lifting line in the initial L-shaped topological grid surface to obtain the L-shaped topological grid surface.
[0017] Optionally, the establishing the association relationship between adjacent L-shaped topological grid surfaces includes:
[0018] Use the association relationship between each grid point in the L-shaped topological grid surface and the surface grid of the aircraft to determine the association relationship between adjacent L-shaped topological grid surfaces, and connect the heads and tails of each L-shaped topological grid surface.
[0019] Optionally, the using the transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid surfaces to generate the L-shaped topological space grid includes:
[0020] The correlation relationship between adjacent L-shaped topological grid surfaces is calculated by using the transfinite interpolation method to obtain the 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, including:
[0022] A surface topology construction module for constructing an L-shaped surface topology at the joint of the wing and the fuselage of the aircraft;
[0023] A grid surface generation module for screening out loop grid lines based on the L-shaped surface topology, using the loop grid lines as L-shaped topological loops, identifying the grid surfaces and grid lines associated with the L-shaped topological loops, 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;
[0024] A space grid generation module for establishing the correlation relationship between adjacent L-shaped topological grid surfaces, and generating an L-shaped topological space grid by using the transfinite interpolation method and based on the correlation relationship between adjacent L-shaped topological grid surfaces.
[0025] In a third aspect, the present application discloses an electronic device, including:
[0026] A memory for storing a computer program;
[0027] A processor for executing the computer program to implement the foregoing L-shaped 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 foregoing disclosed L-shaped topological space grid generation method are implemented.
[0029] It can be seen that the present application provides an L-shaped topological space grid generation method, including constructing an L-shaped surface topology at the junction of the wing and fuselage of the aircraft; screening out loop grid lines on the basis of the L-shaped surface topology, and using the loop grid lines as L-shaped topological loops, identifying grid surfaces and grid lines associated with the L-shaped topological loops, traversing the grid surfaces and the grid lines to generate an initial L-shaped topological grid surface, 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 using the transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid surfaces to generate an L-shaped topological space grid. The present application constructs an L-shaped surface topology at the junction of the wing and fuselage of the aircraft, which can reduce grid distortion, improve the quality of the space grid, avoid the generation of surface grids with large curvatures at the wing-body junction, enable the grid to smoothly transition from the wing surface to the fuselage surface, and provide strong support for subsequent space grid generation. By screening out loop grid lines and using them as L-shaped topological loops, identifying grid surfaces and grid lines associated with the L-shaped topological loops, traversing the grid surfaces and 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, it is possible to avoid the possibility of spatial grid lines intersecting with the wing or fuselage at the wing-body junction, reduce grid distortion, and improve the quality and efficiency of spatial grid generation. Establishing an association relationship between adjacent L-shaped topological grid surfaces, in order to make the boundary layer grid conformal with the attached layer grid, using the transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid surfaces to generate an L-shaped topological space grid can avoid the phenomenon of grid disorder or gaps, maintain the high efficiency and stability of the overall calculation, and reduce the operation complexity. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained according to the provided drawings.
[0031] Figure 1 It is a flowchart of an L-shaped topological space grid generation method disclosed in the present application;
[0032] Figure 2 It is an example diagram of an L-shaped surface topology disclosed in the present application;
[0033] Figure 3 It is a simplified diagram of the wing and fuselage grid lines associated with grid points disclosed in the present application;
[0034] Figure 4 It is an example diagram of a single L-shaped topological grid surface disclosed in the present application;
[0035] Figure 5 An example diagram of an L-shaped topological space grid disclosed in this application;
[0036] Figure 6 A specific flowchart for generating an L-shaped topological space grid disclosed in this application;
[0037] Figure 7 A schematic structural diagram of an apparatus for generating an L-shaped topological space grid disclosed in this application;
[0038] Figure 8 A structural diagram of an electronic device provided by this application. Specific embodiments
[0039] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0040] In the field of modern aircraft design, accurate aerodynamic simulation plays a crucial role in improving aircraft performance and optimizing flight quality. With the rapid development of aviation technology, the wing-body junction, as a key part of the aircraft structure, has an extremely complex geometric shape. Traditional methods often face many challenges. For example, it is difficult to accurately fit complex boundaries and generate grid distortions, which brings great uncertainties to aircraft design. In the early days, for the wing-body junction, structured grid methods were mostly used, such as generating body-fitted 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 singularities appeared, resulting in low grid generation efficiency. Later, a spatial grid generation method based on the construction method was developed. This method may cause the situation where the spatial grid lines cross the surface grid due to incorrect normal solution at the wing-body junction. Moreover, as the height of spatial grid generation increases, spatial grid collisions will occur. In recent years, with the mixed grid becoming a research hotspot, combining the advantages of structured and unstructured grids, tetrahedral and hexahedral grids are combined. However, the connection processing is still a difficult problem for this method. Errors are easily introduced at the interface of different types of grids, affecting the overall simulation accuracy. And during generation, it is necessary to finely adjust the parameters of structured and unstructured grids, increasing the operation complexity and computational cost. As can be seen from the above, how to reduce grid distortion, improve the quality and efficiency of spatial grid generation, avoid the phenomenon of grid disorder or gaps, maintain the high efficiency and stability of the overall calculation, and reduce the operation complexity are problems to be solved in this field.
[0041] See Figure 1 As shown, an L-shaped topological space grid generation method is disclosed in an embodiment of the present invention, which may specifically include:
[0042] Step S11: Construct 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 grids at the junction of the wing and the fuselage of the aircraft, and the surface grids are constructed as an L-shaped surface topology that meets the L-shaped space grid generation conditions at the junction of the wing and the fuselage of the aircraft.
[0044] In this embodiment, the surface grids are constructed as an L-shaped surface topology suitable for L-shaped space grid generation at the junction of the wing and the fuselage, so that the surface grids at the junction of the wing and the fuselage have a corresponding connection relationship. The L-shaped surface topology is as Figure 2 shown. Generating an L-shaped topology in the surface grid can effectively reduce grid distortion and improve the quality of the space grid.
[0045] Step S12: Screen out the loop grid lines on the basis of the L-shaped surface topology, and use the loop grid lines as the L-shaped topology loop. Identify the grid faces and grid lines associated with the L-shaped topology loop, traverse the grid faces and the grid lines to generate an initial L-shaped topology grid face, and optimize the initial L-shaped topology grid face to obtain an L-shaped topology grid face.
[0046] In this embodiment, on the basis of the L-shaped surface topology, select a circle of grid lines formed by the junction of the wing and the fuselage and use the grid lines as the loop grid lines. Identify the grid faces and grid lines associated with the L-shaped topology loop, traverse each grid point of the grid faces and the grid lines, and use the parallelogram construction method to generate an initial L-shaped topology grid face. Optimize the discrete point coordinates of the lifting lines in the initial L-shaped topology grid face to obtain an L-shaped topology grid face.
[0047] The process of generating a single-piece L-shaped topology grid face in this application is as follows:
[0048] (1) Select a circle of grid lines formed by the junction of the wing and the fuselage and use the grid lines as the loop grid lines;
[0049] (2) Identify the grid faces and grid lines of the wing and the fuselage associated with the selected loop grid lines respectively;
[0050] (3) Traverse each grid point of the loop at the junction of the wing and the fuselage and its associated grid lines, and use the parallelogram construction method to generate an initial L-shaped topology grid face. The simplified diagram of the grid lines of the wing and the fuselage associated with the grid points is as Figure 3As shown in the figure, the principle and process of generating the initial L-shaped topological grid surface are as follows:
[0051] First, assume that the total number of discrete points generated by the preset space topology is d, the height of the first layer is r, and the growth rate is q. Figure 3 The number of discrete points on the grid lines AB and AC in is
[0052] (a) Through points A, B, and C, find point D such that ABCD is a parallelogram;
[0053] (b) Calculate the lengths: ;
[0054] (c) On CD, BD, and AD, find points N, M, and O respectively, such that the lengths of CN, BM, and AO are L, and then connect the corresponding generated points to generate the initial L-shaped topological grid surface. The single L-shaped topological grid surface is as shown in Figure 4 the figure;
[0055] (4) The surface grid lines will generate grid lines of different line types according to the different models. When there are surface grid lines with large curvatures, the lifting lines ON and BM are not lifted high enough, and even intersect with the surface grid lines AC and AB. Therefore, it is necessary to optimize the discrete point coordinates of the lifting lines ON and BM. For example: the directions from the starting point to the ending point of the grid lines AC and ON are the same, and the j-th discrete point coordinate of the lifting line ON can be expressed as:
[0056] ;
[0057] where is the j-th discrete point coordinate of AC, and || || is the symbol for the two-norm operation.
[0058] Step S13: Establish the association relationship between adjacent L-shaped topological grid surfaces, and generate an L-shaped topological space grid by using the transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid surfaces.
[0059] In this embodiment, 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. The transfinite interpolation method is used to calculate the association relationship between adjacent L-shaped topological grid surfaces to obtain the vector difference between the corresponding grid points of adjacent L-shaped topological grid surfaces, and an L-shaped topological space grid is generated based on the vector difference.
[0060] Specifically, after generating a single-piece L-shaped topological grid surface on the loop, it is necessary to establish a connection relationship between two adjacent topological grid surfaces. Through the association relationship between each grid point and the surface grid between the two topological grid surfaces, the corresponding relationship can be simply obtained, and each single-piece L-shaped topological grid surface can be connected end to end. The TFI (Transfinite Interpolation) method is used to generate the L-shaped topological space grid, and the generation steps are similar to the above steps. The grid surfaces ONO’N’ and OMO’M’ (O’N’ refers to the line segment corresponding to ON in the adjacent connected L-shaped topological grid surface) may intersect with the corresponding surface grid, resulting in poor quality of the subsequent space grid. Generally, the grid surface is generated by interpolating internal points from boundary points, but the grid surface in this application will adopt a different TFI interpolation method. There must be a unique surface grid corresponding to the grid surface. Therefore, the grid lines and grid points constituting the surface grid also have a one-to-one correspondence relationship, and the vector difference of the corresponding grid points can be calculated. , and the vector difference of the internal points is interpolated through TFI. , and the L-shaped topological space grid is generated based on the vector difference. The L-shaped topological space grid is as Figure 5 shown.
[0061] The method for generating the L-shaped topological space grid proposed in this application mainly includes three steps: surface topology construction, generation of a single-piece L-shaped topological grid surface, and generation of an L-shaped topological space grid. The specific process is as Figure 6 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 loop is screened out, the grid surfaces and grid lines associated with the L-shaped topological loop are identified, the grid surfaces and grid lines are traversed to construct quadrilaterals (i.e., generate the initial L-shaped topological grid surface), the initial L-shaped topological grid surface is optimized to obtain the L-shaped topological grid surface, and finally, the association relationship between adjacent L-shaped topological grid surfaces is established, and the L-shaped topological space grid is generated using the transfinite interpolation method.
[0062] Compared with the space grid generation method based on the construction method, the innovation points of this application are as follows: First, by reasonably partitioning the wing-fuselage junction, an L-shaped topological structure is constructed, avoiding the generation of large surface grids at the wing-fuselage junction, enabling the grid to smoothly transition from the wing surface to the fuselage surface, providing strong support for the subsequent space grid generation; Second, this patent generates the L-shaped space grid using the parallelogram construction method instead of advancing in the normal direction, avoiding the possibility of the space grid lines at the wing-fuselage junction intersecting with the wing or the fuselage, and being able to effectively reduce grid distortion and improve the quality of the space grid; Third, by interpolating the space grid surface through the vector difference, it can be conformal with the surface grid, making the generated space grid have high quality. The L-shaped topological grid can not only accurately capture the complex flow within the boundary layer but also maintain the overall computational efficiency and stability.
[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 loops. The grid surfaces and grid lines associated with the L-shaped topological loops are identified, and the grid surfaces and the grid lines are traversed to generate an initial L-shaped topological grid surface. The initial L-shaped topological grid surface is optimized to obtain an L-shaped topological grid surface; an association relationship is established between adjacent L-shaped topological grid surfaces, and an L-shaped topological space grid is generated by using the transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid surfaces. In this application, an L-shaped surface topology is constructed at the junction of the wing and the fuselage of the aircraft, which can reduce grid distortion, improve the quality of the space grid, avoid the generation of surface grids with large curvatures at the wing-body junction, enable the grid to smoothly transition from the wing surface to the fuselage surface, and provide strong support for subsequent space grid generation. By screening out the loop grid lines and using the loop grid lines as L-shaped topological loops, identifying the grid surfaces and grid lines associated with the L-shaped topological loops, traversing the grid surfaces and grid lines, generating an initial L-shaped topological grid surface, and optimizing the initial L-shaped topological grid surface to obtain an L-shaped topological grid surface, the possibility of the space grid lines intersecting with the wing or the fuselage at the wing-body junction can be avoided, grid distortion can be reduced, and the quality and efficiency of space grid generation can be improved. By establishing an association relationship between adjacent L-shaped topological grid surfaces and using the transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid surfaces to generate an L-shaped topological space grid in order to make the boundary layer grid conformal with the attached layer grid, the phenomenon of grid disorder or gaps can be avoided, the overall calculation efficiency and stability can be maintained, and the operation complexity can be reduced.
[0064] See Figure 7 As shown in the figure, an 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, configured to construct an L-shaped surface topology at the junction of the wing and the fuselage of the aircraft;
[0066] A grid surface generation module 12, configured to screen out loop grid lines based on the L-shaped surface topology, use the loop grid lines as L-shaped topological loops, identify the grid surfaces and grid lines associated with the L-shaped topological loops, traverse the grid surfaces and the grid lines to generate an initial L-shaped topological grid surface, and optimize the initial L-shaped topological grid surface to obtain an L-shaped topological grid surface;
[0067] A space grid generation module 13, configured to establish an association relationship between adjacent L-shaped topological grid surfaces, and generate an L-shaped topological space grid by using the transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid surfaces.
[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 selected, and the loop grid lines are used as L-shaped topological loops. The grid faces and grid lines associated with the L-shaped topological loops are identified, and the grid faces and the grid lines are traversed to generate an initial L-shaped topological grid face. The initial L-shaped topological grid face is optimized to obtain an L-shaped topological grid face; an association relationship is established between adjacent L-shaped topological grid faces, and an L-shaped topological space grid is generated by using the transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid faces. In this application, an L-shaped surface topology is constructed at the junction of the wing and the fuselage of the aircraft, which can reduce grid distortion, improve the quality of the space grid, avoid the generation of large-surface grids at the wing-body junction, enable the grid to smoothly transition from the wing surface to the fuselage surface, and provide strong support for subsequent space grid generation. The loop grid lines are selected and used as L-shaped topological loops, the grid faces and grid lines associated with the L-shaped topological loops are identified, the grid faces and the grid lines are traversed to generate an initial L-shaped topological grid face, and the initial L-shaped topological grid face is optimized to obtain an L-shaped topological grid face, which can avoid the possibility of the space grid lines at the wing-body junction intersecting with the wing or the fuselage, reduce grid distortion, improve the quality and efficiency of space grid generation, establish an association relationship between adjacent L-shaped topological grid faces, and in order to make the boundary layer grid conformable to the attached layer grid, an L-shaped topological space grid is generated by using the transfinite interpolation method and based on the association relationship between adjacent L-shaped topological grid faces, which can avoid the phenomenon of grid disorder or gaps, maintain the high efficiency and stability of the overall calculation, and reduce the operation complexity.
[0069] In some specific embodiments, the surface topology construction module 11 may specifically include:
[0070] a module for establishing a corresponding connection relationship between the surface grids at the junction of the wing and the fuselage of the aircraft, and constructing the surface grids into an L-shaped surface topology that meets the L-shaped space grid generation conditions at the junction of the wing and the fuselage of the aircraft.
[0071] In some specific embodiments, the grid face generation module 12 may specifically include:
[0072] 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 loop grid lines.
[0073] In some specific embodiments, the grid face generation module 12 may specifically include:
[0074] Each grid point of the grid faces and the grid lines is traversed, and an initial L-shaped topological grid face is generated by using the parallelogram construction method.
[0075] In some specific embodiments, the grid surface generation module 12 may specifically include:
[0076] Optimize the discrete point coordinates of the lifting line in the initial L-shaped topological grid surface to obtain the L-shaped topological grid surface.
[0077] In some specific embodiments, the spatial grid generation module 13 may specifically include:
[0078] Utilize the association relationship between each grid point in the L-shaped topological grid surface and the surface grid of the aircraft to determine the association relationship between adjacent L-shaped topological grid surfaces, and connect the head and tail of each L-shaped topological grid surface.
[0079] In some specific embodiments, the spatial grid generation module 13 may specifically include:
[0080] Calculate the association relationship between adjacent L-shaped topological grid surfaces by using the transfinite interpolation method to obtain the vector difference of corresponding grid points between adjacent L-shaped topological grid surfaces, and generate the L-shaped topological space grid based on the vector difference.
[0081] Figure 8 It is a schematic structural diagram of an electronic device provided by 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. Among them, the memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the L-shaped topological space grid generation method executed by the electronic device disclosed in any of the foregoing 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 external devices, and the communication protocol it follows is any communication protocol applicable to the technical solution of the present application, and no specific limitation is imposed on it here; the input / output interface 25 is used to obtain external input data or output data to the outside, and its specific interface type can be selected according to specific application needs, and no specific limitation is made here.
[0083] In addition, as a carrier for resource storage, the memory 22 may be a read-only memory, a random access memory, a disk, or an optical disc, etc. The resources stored thereon include an operating system 221, a computer program 222, and data 223, etc., and the storage method may be temporary storage or permanent storage.
[0084] Among them, the operating system 221 is used to manage and control each hardware device and computer program 222 on the electronic device 20, so as to realize the operation and processing of the data 223 in the memory 22 by the processor 21. It can be Windows, Unix, Linux, etc. In addition to the computer program capable of implementing the L-shaped topological space grid generation method executed by the electronic device 20 disclosed in any of the foregoing embodiments, the computer program 222 may further include computer programs capable of completing other specific tasks. In addition to the data transmitted by external devices received by the L-shaped topological space grid generation device, the data 223 may also include data collected by its own input / output interface 25, etc.
[0085] The steps of the methods or algorithms described in connection with the embodiments disclosed herein can be implemented directly in hardware, software modules executed by a processor, or a combination of both. The software modules can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well known in the art.
[0086] Furthermore, the embodiments of the present application also disclose a computer-readable storage medium. When the computer program stored in the storage medium is loaded and executed by a processor, the steps of the L-shaped topological space grid generation method disclosed in any of the foregoing embodiments are implemented.
[0087] Finally, it should also be noted that in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.
[0088] The above has introduced in detail a method, apparatus, device and storage medium for generating an L-shaped topological space grid provided by the present invention. Specific examples are used in this article to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to 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; 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; The step of optimizing the initial L-shaped topological mesh surface to obtain the L-shaped topological mesh surface includes optimizing the coordinates of discrete points of the lifting lines in the initial L-shaped topological mesh surface to obtain the L-shaped topological mesh surface.
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 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.
6. The L-type topological space grid generation method according to any one of claims 1 to 5, 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.
7. 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; A spatial grid generation module, 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; The step of optimizing the initial L-shaped topological mesh surface to obtain the L-shaped topological mesh surface includes optimizing the coordinates of discrete points of the lifting lines in the initial L-shaped topological mesh surface to obtain the L-shaped topological mesh surface.
8. 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 6.
9. 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 6 is implemented.
Citation Information
Patent Citations
Full-automatic generation method for complex aircraft surface structure grid
CN110555285A
Space grid generation method and device, equipment and medium
CN115797572A