Geometric irregular projectile surface grid integrated reconstruction method
Through the integrated reconstruction method of geometric irregular projectile surface mesh, the problem of poor grid quality in the existing technology is solved, and the conversion from low-quality grid to high-quality grid is realized, which is suitable for complex configurations and high-speed flights CFD simulation under conditions provides high-quality grids for fluid analysis.
Patent Information
- Application Number
- CN202411101575.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-11-22
AI Technical Summary
The prior art is difficult to effectively reconstruct the surface mesh of geometric irregular projectiles, resulting in poor grid quality and cannot be directly used in CFD calculations, especially in complex configurations and high-speed flight conditions, which are difficult to capture flow characteristics.
The integrated reconstruction method of the surface mesh of geometric irregular projectiles is adopted, including data acquisition, model enclosure detection, manifold processing, mesh subdivision, repair and optimization, polygon packaging, Bezier-NURBS surface conversion and localization according to flight conditions Mesh encryption, converting from low-quality triangular surface mesh to high-quality surface mesh through these steps.
Realizes high-quality reconstruction of geometric irregular projectile surface mesh, which can accurately capture aerodynamic characteristics in CFD simulation and adapt to different flight conditions, providing editable CAD solid model and high-quality mesh for fluid simulation analyze.
Smart Images

Figure CN119004905A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of flight characteristic analysis of explosively formed projectiles, and in particular is a method for integrated reconstruction of geometrically irregular projectile surface grids. Background Art
[0002] Explosively formed projectiles are high-speed projectiles that penetrate the target through the kinetic energy obtained by the conversion of the chemical energy of explosives through the plastic deformation of the metal liner. The explosive forming method determines that there are usually a large number of irregular geometric features on the geometric surface of the high-speed projectile. In the finite element simulation process of geometrically irregular projectile forming, an STL file format based on triangular surface mesh files is obtained. However, due to the particularity of the forming process, the surface mesh based on triangular surface meshes undergoes a large range of distortion and deformation during the forming process, which seriously affects the mesh quality. It is impossible to directly perform CFD calculations on it to obtain its flight characteristics. In order to meet the needs of fluid mechanics simulation of geometrically irregular projectiles after forming, it is crucial to further reconstruct the surface mesh to obtain a high-quality surface mesh.
[0003] Traditional mesh reconstruction methods directly modify, improve or reconstruct the existing meshes. However, the surface mesh quality of geometrically irregular projectiles after finite element simulation is poor, and there are common problems such as mesh self-intersection, sharp mesh edges and excessive local curvature. The effect of directly reconstructing the mesh on this basis is not ideal, and it is impossible to obtain a high-quality surface mesh. Therefore, the ideal way to obtain a high-quality surface mesh is to obtain a geometrically irregular projectile solid model through reverse modeling, make necessary repairs and adjustments to the geometric topological problems on the solid model, and then mesh the repaired solid model again. However, the currently known reverse modeling methods are not well adapted to geometrically irregular projectiles with complex configurations, and there is no ideal reverse modeling method at home and abroad that can better meet the needs of high-quality reconstruction of the surface mesh of high-speed projectiles. Summary of the invention
[0004] The purpose of the present invention is to avoid the shortcomings of the prior art and provide a method for integrated reconstruction of the surface mesh of a geometrically irregular projectile, which realizes high-quality mesh reconstruction of the surface mesh of a geometrically irregular projectile by converting the STL file format mainly composed of low-quality triangular surface mesh files into high-quality surface mesh required for CFD calculation.
[0005] To achieve the above object, the technical solution adopted by the present invention is a method for integrated reconstruction of the surface grid of a geometrically irregular projectile, comprising the following steps:
[0006] Step 1: Data collection,
[0007] Through the VTK (Visualization Toolkit) library in Python, according to the corresponding rules of the file format, the geometric information containing the normal vector of the triangle mesh and its three vertex coordinate data in the STL file obtained after the finite element simulation of the geometrically irregular projectile is read and analyzed, and the noise points in the data set are further eliminated by the filtering method, finally realizing the reading, processing and visualization of the STL file model;
[0008] Step 2: Check whether the projectile model is a closed geometry.
[0009] After importing the geometric irregular projectile triangular patch mesh in STL format, first check whether the imported geometric irregular projectile model is a closed geometric body. If so, proceed to the next step. If not, close the model first and then proceed to the next step.
[0010] Step 3: Manifold processing,
[0011] By setting different parameters including shrinking winding size, limiting the maximum and secondary sizes of the spacing between grids, curvature angle, and angle threshold for retaining feature smoothness, the geometrically irregular projectile closed geometry in the second step is processed by shrinking geometry, and the geometric problems of surface intersection, non-manifold / over-connection, gap, and sharp angle are preliminarily eliminated;
[0012] Furthermore, the size change of the irregular projectile during the shrinkage geometry processing is reduced by setting the outward thickening size parameter, and finally the manifold processing of the model is realized;
[0013] Step 4: Recapture network boundaries and perform network segmentation.
[0014] Recapture the mesh boundary by setting restriction parameters including target edge length, angle threshold, and minimum length, re-mesh the model surface, and then re-subdivide the mesh to capture the detailed features of the model. At the same time, read the total number of surface meshes after re-meshing.
[0015] Step 5: Repair and optimize the surface network and re-mesh.
[0016] By using the spline surface interpolation and diffusion method, new data is inserted on the isosurface of the mesh around the holes in the re-meshed surface mesh, so as to fill in the data gaps of the complex hole boundaries of the model and solve the problem of smooth connection between the repaired part and the overall surface.
[0017] Furthermore, repair tools are used to repair and optimize the features that seriously affect the mesh quality, including non-manifold edges, highly refractive edges, spikes, self-intersections, small components, small channels, and small holes in the surface mesh, and the surface mesh of the projectile is re-divided to make the transition between meshes smoother;
[0018] Step 6: Polygon packaging and Bezier surface fitting,
[0019] The geometrically irregular projectile surface mesh after mesh re-division in the fifth step is encapsulated in polygons, and the encapsulated polygonal model is fitted with Bezier surfaces;
[0020] The specific steps include: placing different area separators on the geometrically irregular projectile surface grid in the fifth step and detecting and generating different contour lines within the separators, generating a surface patch structure through contour lines and boundary lines, gradually checking and repairing problematic areas in the generated surface patch by modifying contour lines and extending structures, and obtaining a schematic diagram of geometrically irregular projectile surface grid block division and a schematic diagram of geometrically irregular projectile surface surface patch distribution after boundary re-identification;
[0021] Furthermore, by setting different resolution parameters, an ordered UV grid is created in each Bezier surface patch, and the grids with poor quality are repaired and optimized;
[0022] On this basis, the geometric figures are checked to find the distorted grids and the surface positions with small surface patch angles and optimize them, delete the sharp contours and sharp points and repair the intersection areas, and make the surface smoother by relaxing the grid structure, and finally obtain the geometrically irregular projectile surface grid structure;
[0023] Step 7: Bezier-NURBS surface conversion and curve fitting,
[0024] The geometrically irregular projectile surface grid in the sixth step is converted into a NURBS surface by setting and modifying different parameters including the number of control points, tolerance, surface tension, and percentage of arc points in the body. On this basis, a solid geometry file that can be recognized by CAD software is obtained by fitting and merging surfaces.
[0025] Step 8: Get the geometric solid model and make adjustments and repairs.
[0026] The obtained geometric entity file is imported into the CAD software. According to the requirements of the model, the geometric repair tools such as subdivision surface, chamfering, filling and trimming are used to realize further precise adjustment and processing of the model, and finally the schematic diagram of the geometric irregular projectile model after geometric reconstruction is obtained;
[0027] Step 9: Reconstruct the surface network according to the actual working conditions.
[0028] The solid model in the eighth step is meshed again, and different mesh generation methods including mapping method, quad (octree), frontier advancing method, and Delaunay triangulation are adopted. The surface mesh is divided by region according to the mesh strategy and network topology suitable for the characteristics of the geometric model under different flight conditions. Local encryption is performed on specific areas to capture the flow characteristics more finely. Finally, a high-quality surface mesh suitable for CFD simulation research of geometrically irregular projectiles is obtained. This surface mesh can adapt well to the spatial grid and CFD calculation can be performed based on this set of grids to obtain the aerodynamic characteristics of geometrically irregular projectiles.
[0029] Furthermore, in the ninth step, since the flow of the head as the windward surface of the geometrically irregular projectile and the local geometric characteristics of the tail skirt are relatively complex when flying at high speed, in order to more accurately capture the flow characteristics of the head and the geometric characteristics of the tail, the mapping method, quad (octree), front advancing method, and Delaunay triangulation method are used to re-grid the solid model, and the surface meshes of the head and tail skirt are locally encrypted.
[0030] The beneficial effects of the present invention are as follows: the present invention provides a method for integrated reconstruction of the mesh of a geometrically irregular projectile surface, which has the following effects:
[0031] (1) After being processed by this method, the model file exported in the STP file format can be further modified on different CAD platforms, realizing reverse engineering from data acquisition to reverse modeling to reconstruct an editable, feature-based CAD solid model for complex geometric configurations including geometrically irregular projectiles. On this basis, the geometric model can be accurately adjusted and processed.
[0032] (2) The obtained geometrically irregular projectile solid model is further CFD meshed. Appropriate mesh strategies and network topologies are used to mesh the geometrically irregular projectiles under different working conditions. The obtained high-quality surface mesh can be directly imported into the fluid analysis software for fluid simulation analysis, which provides convenience for fluid simulation analysis experimenters. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 is a flow chart of the present invention;
[0034] Figure 1 It is a schematic diagram of the process of the present invention;
[0035] Figure 2 A schematic diagram of a geometrically irregular projectile surface mesh imported into an example of the present invention;
[0036] Figure 3 A schematic diagram of a geometrically irregular projectile surface mesh after manifold processing in an example of the present invention;
[0037] Figure 4 A schematic diagram of a geometrically irregular projectile surface mesh before mesh subdivision in an example of the present invention;
[0038] Figure 5 A schematic diagram of a mesh of a geometrically irregular projectile surface after mesh subdivision in an example of the present invention;
[0039] Figure 6 A schematic diagram of the mesh of the geometrically irregular projectile surface after the mesh is re-divided in an example of the present invention;
[0040] Figure 7 It is a partial enlarged comparison diagram of the surface mesh of the geometrically irregular projectile before and after the treatment in the example of the present invention;
[0041] Figure 8 A schematic diagram of the mesh division of the geometrically irregular projectile surface for boundary re-identification in an example of the present invention;
[0042] Fig. 9 Schematic diagram of the distribution of curved surface patches on the geometrically irregular projectile surface in the example of the present invention;
[0043] Fig.10 A schematic diagram of the geometrically irregular projectile surface grid structure in an example of the present invention;
[0044] Fig.11 A schematic diagram of a geometrically irregular projectile model geometrically reconstructed in an example of the present invention;
[0045] Fig.12 A schematic diagram of a surface mesh after the surface mesh of a geometrically irregular projectile is reconstructed in an example of the present invention;
[0046] Fig.13 This is a spatial mesh cross-section diagram after the geometrically irregular projectile surface mesh is reconstructed in an example of the present invention. DETAILED DESCRIPTION
[0047] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0048] like Figure 1As shown, the surface mesh integrated reconstruction method of a geometrically irregular projectile has poor surface mesh quality in the STL file obtained after finite element simulation of the geometrically irregular projectile, and there are common problems of mesh self-intersection, mesh sharp edges and excessive local curvature, and it is impossible to directly perform CFD calculations on it to obtain its aerodynamic characteristics. Since the STL file uses a triangular mesh to represent the outer surface of the three-dimensional model, it decomposes the model into many small triangular patches, each of which is defined by three vertices and a normal vector. The following steps are included:
[0049] Step 1: Data collection,
[0050] Through the VTK (Visualization Toolkit) library in Python, according to the corresponding rules of the file format, the geometric information containing the normal vector of the triangle mesh and its three vertex coordinate data in the STL file obtained after the finite element simulation of the geometrically irregular projectile is read and analyzed, and the noise points in the data set are further eliminated by the filtering method, finally realizing the reading, processing and visualization of the STL file model;
[0051] Step 2: Check whether the projectile model is a closed geometry.
[0052] After importing the geometric irregular projectile triangular patch mesh in STL format, first check whether the imported geometric irregular projectile model is a closed geometric body. If so, proceed to the next step. If not, close the model first and then proceed to the next step.
[0053] Step 3: Manifold processing,
[0054] By setting different parameters including shrinking winding size, limiting the maximum and secondary sizes of the spacing between grids, curvature angle, and angle threshold for retaining feature smoothness, the geometrically irregular projectile closed geometry in the second step is processed by shrinking geometry, and the geometric problems of surface intersection, non-manifold / over-connection, gap, and sharp angle are preliminarily eliminated;
[0055] Furthermore, the size change of the irregular projectile during the shrinkage geometry processing is reduced by setting the outward thickening size parameter, and finally the manifold processing of the model is realized;
[0056] like Figure 2 This is a schematic diagram of the geometrically irregular projectile surface mesh before manifold processing. After eliminating sharp edges and vertices and retaining its main geometric features, a relatively smooth transition geometrically irregular projectile surface mesh is obtained. Figure 3 shown.
[0057] Step 4: Recapture network boundaries and perform network segmentation.
[0058] Recapture the mesh boundary by setting restriction parameters including target edge length, angle threshold, and minimum length, re-mesh the model surface, and then re-subdivide the mesh to capture the detailed features of the model. At the same time, read the total number of surface meshes after re-meshing.
[0059] The geometrically irregular projectile surface meshes before and after mesh subdivision are as follows: Figure 4 , Figure 5 As shown, it can be seen that the number of grids has increased from 62178 to 994878, and a triangular grid with about 16 times the number of initial grids is used to more finely capture the geometric features of the model.
[0060] Step 5: Repair and optimize the surface network and re-mesh.
[0061] By using the spline surface interpolation and diffusion method, new data is inserted on the isosurface of the mesh around the holes in the re-meshed surface mesh, so as to fill in the data gaps of the complex hole boundaries of the model and solve the problem of smooth connection between the repaired part and the overall surface.
[0062] Furthermore, repair tools are used to repair and optimize the features that seriously affect the mesh quality, including non-manifold edges, highly refractive edges, spikes, self-intersections, small components, small channels, and small holes in the surface mesh, and the surface mesh of the projectile is re-divided to make the transition between meshes smoother;
[0063] The geometrically irregular projectile surface mesh obtained after re-dividing is as follows Figure 6 As shown in the figure, the local enlarged comparison of the mesh of the geometrically irregular projectile surface before and after the above processing is shown in Figure 7 As shown in the figure, it can be found that the number and quality of the processed meshes are significantly higher than before the processing. The phenomena that seriously affect the mesh quality, such as mesh overshoot, mesh distortion, and mesh sharp features, have been greatly reduced. The transition between meshes is smoother, and the description of the geometry is more refined.
[0064] Step 6: Polygon packaging and Bezier surface fitting,
[0065] The geometrically irregular projectile surface mesh after mesh re-division in the fifth step is encapsulated in polygons, and the encapsulated polygonal model is fitted with Bezier surfaces;
[0066] The specific steps include: placing different area separators on the geometrically irregular projectile surface grid in the fifth step and detecting and generating different contour lines within the separators, and generating a surface patch structure through contour lines and boundary lines. The problematic areas in the generated surface patch are gradually checked and repaired by modifying the contour lines and expanding the structure. The geometrically irregular projectile surface grid block diagram and the geometrically irregular projectile surface surface patch distribution diagram are obtained after the boundary is re-identified; respectively, as shown in FIG. Figure 8 , Fig. 9 shown.
[0067] Furthermore, by setting different resolution parameters, an ordered UV grid is created in each Bezier surface patch, and the grids with poor quality are repaired and optimized;
[0068] On this basis, the geometric figures are checked to find the distorted grids and the surface positions with small surface patch angles and optimize them, delete the sharp contours and sharp points and repair the intersection areas, and make the surface smoother by relaxing the grid structure, and finally obtain the geometrically irregular projectile surface grid structure diagram; specifically, Fig.10 As shown;
[0069] Step 7: Bezier-NURBS surface conversion and curve fitting,
[0070] The geometrically irregular projectile surface grid in the sixth step is converted into a NURBS surface by setting and modifying different parameters including the number of control points, tolerance, surface tension, and percentage of arc points in the body. On this basis, a solid geometry file that can be recognized by CAD software is obtained by fitting and merging surfaces.
[0071] Step 8: Get the geometric solid model and make adjustments and repairs.
[0072] The obtained geometric entity file is imported into the CAD software. According to the requirements of the model, the geometric repair tools such as subdivision surface, chamfering, filling and trimming are used to achieve further precise adjustment and processing of the model. The schematic diagram of the geometric irregular projectile model after final geometric reconstruction is shown in the figure. Fig.11 As shown;
[0073] Step 9: Reconstruct the surface network according to the actual working conditions.
[0074] The solid model in the eighth step is meshed again, and different mesh generation methods including mapping method, quad (octree), frontier advancing method, and Delaunay triangulation are adopted. The surface mesh is divided by region according to the mesh strategy and network topology suitable for the characteristics of the geometric model under different flight conditions. Local encryption is performed on specific areas to capture the flow characteristics more finely. Finally, a high-quality surface mesh suitable for CFD simulation research of geometrically irregular projectiles is obtained. This surface mesh can adapt well to the spatial grid and CFD calculation can be performed based on this set of grids to obtain the aerodynamic characteristics of geometrically irregular projectiles.
[0075] Furthermore, in the ninth step, since the flow of the head as the windward surface of the geometrically irregular projectile at high speed and the local geometric features of the tail skirt are relatively complex, in order to more accurately capture the flow characteristics of the head and the geometric features of the tail, the mapping method, quad (octet), front advancing method, and Delaunay triangulation method are used to re-grid the solid model, and the surface mesh of the head and tail skirt is locally encrypted. The surface mesh of the geometrically irregular projectile obtained by mesh reconstruction by this method is as follows: Fig.12 As shown in the figure, the spatial mesh profile generated based on this set of surface meshes is shown in Fig.13 shown.
[0076] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for integrated reconstruction of geometrically irregular projectile surface meshes. It is characterized in that The following steps are involved: Step 1: Data collection, Through the corresponding rules of file formats in Python, the geometric information containing the normal vector of the triangle mesh and its three vertex coordinate data in the STL file obtained after the finite element simulation of the geometrically irregular projectile is read and analyzed, and the noise points in the data set are further eliminated by the filtering method, finally realizing the reading, processing and visualization of the STL file model; Step 2: Check whether the projectile model is a closed geometry. After importing the geometric irregular projectile triangular patch mesh in STL format, first check whether the imported geometric irregular projectile model is a closed geometric body. If so, proceed to the next step. If not, close the model first and then proceed to the next step. Step 3: Manifold processing, By setting different parameters including shrinking winding size, limiting the maximum and secondary sizes of the spacing between grids, curvature angle, and angle threshold for retaining feature smoothness, the geometrically irregular projectile closed geometry in the second step is processed by shrinking geometry, and the geometric problems of surface intersection, non-manifold / over-connection, gap, and sharp angle are preliminarily eliminated; Furthermore, the size change of irregular projectiles during shrinkage geometry processing is reduced by setting the outward thickening size parameters, and finally the manifold processing of the model is realized; Step 4: Recapture network boundaries and perform network segmentation. Recapture the mesh boundary by setting restriction parameters including target edge length, angle threshold, and minimum length, re-mesh the model surface, and then re-subdivide the mesh to capture the detailed features of the model. At the same time, read the total number of surface meshes after re-meshing. Step 5: Repair and optimize the surface network and re-mesh. By using the spline surface interpolation and diffusion method, new data is inserted on the isosurface of the mesh around the holes in the re-meshed surface mesh, so as to fill in the data gaps of the complex hole boundaries of the model and solve the problem of smooth connection between the repaired part and the overall surface. Furthermore, repair tools are used to repair and optimize the features that seriously affect the quality of the mesh, including non-manifold edges, highly refractive edges, spikes, self-intersections, small components, small channels, and small holes in the surface mesh, and the surface mesh of the projectile is re-divided to make the transition between meshes smooth; Step 6: Polygon packaging and Bezier surface fitting, The geometrically irregular projectile surface mesh after mesh re-division in the fifth step is encapsulated in polygons, and the encapsulated polygonal model is fitted with Bezier surfaces; The specific steps include: placing different area separators on the geometrically irregular projectile surface grid in the fifth step and detecting and generating different contour lines within the separators, generating a surface patch structure through contour lines and boundary lines, gradually checking and repairing problematic areas in the generated surface patch by modifying contour lines and extending structures, and obtaining a schematic diagram of geometrically irregular projectile surface grid block division and a schematic diagram of geometrically irregular projectile surface surface patch distribution after boundary re-identification; Furthermore, by setting different resolution parameters, an ordered UV grid is created in each Bezier surface patch, and the grids with poor quality are repaired and optimized; On this basis, the geometric figures are checked to find the distorted grids and the surface positions with small surface patch angles and optimize them, delete the sharp contours and sharp points and repair the intersection areas, and make the surface smooth by relaxing the grid structure, and finally obtain the geometrically irregular projectile surface grid structure; Step 7: Bezier-NURBS surface conversion and curve fitting, The geometrically irregular projectile surface grid in the sixth step is converted into a NURBS surface by setting and modifying different parameters including the number of control points, tolerance, surface tension, and percentage of arc points in the body. On this basis, a solid geometry file that can be recognized by CAD software is obtained by fitting and merging surfaces. Step 8: Get the geometric solid model and make adjustments and repairs. The obtained geometric entity file is imported into the CAD software. According to the requirements of the model, the geometric repair tools such as subdivision surface, chamfering, filling and trimming are used to realize further precise adjustment and processing of the model, and finally the schematic diagram of the geometric irregular projectile model after geometric reconstruction is obtained; Step 9: Reconstruct the surface network according to the actual working conditions. The solid model in the eighth step is meshed again, and different mesh generation methods including mapping method, quad (octree), frontier advancing method, and Delaunay triangulation are adopted. The surface mesh is divided by region according to the mesh strategy and network topology suitable for the characteristics of the geometric model under different flight conditions. Local encryption is performed on specific areas to capture the flow characteristics more finely. Finally, a high-quality surface mesh suitable for CFD simulation research of geometrically irregular projectiles is obtained. This surface mesh can adapt well to the spatial grid and CFD calculation can be performed based on this set of grids to obtain the aerodynamic characteristics of geometrically irregular projectiles.
2. A method for integrated reconstruction of geometrically irregular projectile surface meshes as claimed in claim 1, Features: In the ninth step, since the flow of the head as the windward surface of the geometrically irregular projectile and the local geometric characteristics of the tail skirt are relatively complex when flying at high speed, in order to more accurately capture the flow characteristics of the head and the geometric characteristics of the tail, the mapping method, quad (octree), front advancing method, and Delaunay triangulation method are used to re-grid the solid model, and the surface meshes of the head and tail skirt are locally encrypted.
Citation Information
Cited By
Curtain wall reverse modeling method and system based on point cloud data
CN119399407A
Curved surface grid generation and self-adaptive re-division method for fluid simulation
CN119885972A
