Structural grid-based flow field slicing method and system

By determining the cross-sectional characterization equation and intersection judgment of the structural mesh in the flow field slice method, the problems of inconvenient flow field slice operation and insufficient robustness in the prior art are solved, and efficient and robust flow field information extraction and deal with.

CN119312710AActive Publication Date: 2025-01-14CHINA ACAD OF AEROSPACE AERODYNAMICS
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411122159.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2025-01-14
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

When processing flow field slices, especially local cross-section flow field information processing and structural grid requirements are different, there are problems such as inconvenience in operation, low robustness and insufficient efficiency.

Method used

Using the flow field slicing method based on structural mesh, by determining the general characterization equation of the preset cross-section, reading the numerical simulation flow field information, judging the intersection edge line of the grid boundary surface and the cross-section, recording the intersection point information, and outputting the intersection of the cross-section Flow field information realizes efficient extraction of any cross-section of the structural mesh.

Benefits of technology

It realizes flow field slices with simple operation, high robustness, high efficiency and controllable errors, adapt to different structural mesh and reading order, and improves the stability and adaptability of the program.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119312710A_ABST
    Figure CN119312710A_ABST
Patent Text Reader

Abstract

The invention discloses a flow field slicing method and system based on a structured grid, and the method comprises the steps: determining a general representation equation of a plane where a preset section is located; reading all information of the numerical simulation flow field; judging whether the structured grid boundary surface ridges intersect with the plane where the preset section is located or not, and if so, marking the structured grid block numbers corresponding to the intersected structured grid boundary surface ridges; judging whether ridges of all the structured grid units in the marked structured grid blocks are intersected with a plane where a preset section is located or not; according to information of all intersection points generated by intersection of the structural grid units, judging whether the structural grid units generate an intersection surface with a plane where a preset section is located, and if the intersection surface is generated, recording and endowing the intersection surface with flow field information of the structural grid units; and outputting all information of an intersection surface generated by the structured grid unit and the plane where the preset section is located. The method has the advantages of being easy to operate, high in robustness, high in efficiency and controllable in error.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of computational fluid and flow display, and in particular relates to a flow field slicing method and system based on a structured grid. Background Art

[0002] With the development of computational fluid dynamics (CFD), numerical simulation has been used in complex flow mechanism research, aerodynamic characteristics analysis, etc. The results of CFD calculations can be analyzed through certain flow field post-processing software, and flow phenomena can be clearly seen and flow laws can be analyzed through flow field slicing and other methods.

[0003] When it is necessary to process the flow field information of a local cross section, the functions of some current commercial software are not convenient enough. In addition, due to different requirements for structural grids, some unresolvable anomalies may occur when processing some flow field slices. Summary of the invention

[0004] The technical problem solved by the present invention is to overcome the deficiencies of the prior art and provide a flow field slicing method and system based on a structured grid, which has the advantages of simple operation, high robustness, high efficiency and controllable error.

[0005] The object of the present invention is achieved through the following technical scheme: a flow field slicing method based on a structured grid, comprising: determining a general characterization equation of a plane where a preset section is located; reading all the information of the numerical simulation flow field in sequence according to the reading order of the structured grid; wherein all the information of the numerical simulation flow field includes grid node information and flow field variable information of the structured grid unit; judging whether the edge line of the structured grid boundary surface intersects with the plane where the preset section is located, if so, marking the structured grid block number corresponding to the intersecting edge line of the structured grid boundary surface; judging whether all the edge lines of the structured grid units in the marked structured grid block intersect with the plane where the preset section is located, and recording all the intersection information generated by the intersection of the structured grid units; judging whether the structured grid unit generates an intersection with the plane where the preset section is located, if so, recording and assigning the flow field information of the structured grid unit to the intersection; outputting all the information of the intersection generated by the structured grid unit and the plane where the preset section is located.

[0006] In the above structured grid flow field slicing method, the general characterization equation of the plane where the preset section is located is obtained by the following formula:

[0007] Ax+By+Cz+D=0;

[0008] Wherein, A is the first scalar constant, B is the second scalar constant, C is the third scalar constant, D is the fourth scalar constant, x is the x-axis coordinate value of any point on the cross section, y is the y-axis coordinate value of any point on the cross section, and z is the z-axis coordinate value of any point on the cross section;

[0009] The coordinate system is a right-hand coordinate system, determined according to the right-hand rule. The origin of the coordinate system is located at (0,0,0). Place your right hand at the origin with your thumb pointing in the positive direction of the x-axis, your index finger pointing in the positive direction of the y-axis, and the direction pointed by your middle finger is the positive direction of the z-axis.

[0010] In the above structured grid-based flow field slicing method, the structured grid-based numerical simulation flow field will be output in a preset order.

[0011] In the above-mentioned structured grid flow field slicing method, when judging whether the edge of the structured grid boundary surface intersects with the plane where the preset section is located, the method adopted is as follows: obtain the distance between one endpoint of the edge of the structured grid boundary surface and the plane where the preset section is located; obtain the distance between the other endpoint of the edge of the structured grid boundary surface and the plane where the preset section is located; obtain the normal projection length of the edge of the structured grid boundary surface to the plane where the preset section is located; based on the distance between one endpoint of the edge of the structured grid boundary surface and the plane where the preset section is located, the distance between the other endpoint of the edge of the structured grid boundary surface and the plane where the preset section is located, and the normal projection length of the edge of the structured grid boundary surface to the plane where the preset section is located, it can be judged whether the edge of the structured grid boundary surface intersects with the plane where the preset section is located.

[0012] In the above-mentioned structured grid flow field slicing method, when judging whether all the structural grid unit edges in the marked structural grid block intersect with the plane where the preset section is located, the method adopted is as follows: obtaining the distance between one end point of all the structural grid unit edges in the marked structural grid block and the plane where the preset section is located; obtaining the distance between the other end point of all the structural grid unit edges in the marked structural grid block and the plane where the preset section is located; obtaining the normal projection length of all the structural grid unit edges in the marked structural grid block to the plane where the preset section is located; based on the distance between one end point of all the structural grid unit edges in the marked structural grid block and the plane where the preset section is located, the distance between the other end point of all the structural grid unit edges in the marked structural grid block and the plane where the preset section is located, and the normal projection length of all the structural grid unit edges in the marked structural grid block to the plane where the preset section is located, it can be judged whether all the structural grid unit edges in the marked structural grid block intersect with the plane where the preset section is located.

[0013] In the above-mentioned structured grid flow field slicing method, when judging whether the structured grid unit intersects with the plane where the preset section is located, when the number of intersections is two or less, the structured grid unit and the plane where the preset section is located will not intersect; when the number of intersections is three to six, the structured grid unit and the plane where the preset section is located will intersect, and the generated intersections need to be recorded in a preset order, and the intersections that are repeatedly calculated must be shielded.

[0014] A flow field slicing system based on a structural grid comprises: a first module for determining a general characterization equation of a plane where a preset section is located; a second module for sequentially reading all information of a numerical simulation flow field in the order in which the structural grid is read; wherein all information of the numerical simulation flow field comprises grid node information and flow field variable information of a structural grid unit; a third module for judging whether an edge line of a structural grid boundary surface intersects with a plane where a preset section is located, and if so, marking the structural grid block number corresponding to the intersecting edge line of the structural grid boundary surface; a fourth module for judging whether all structural grid unit edges in the marked structural grid block intersect with the plane where a preset section is located, and recording all intersection point information generated by the intersection of the structural grid units; a fifth module for judging whether a structural grid unit generates an intersection surface with the plane where a preset section is located, and if so, recording the intersection surface and assigning the flow field information of the structural grid unit to the intersection surface; and a sixth module for outputting all information of the intersection surface generated by the structural grid unit and the plane where the preset section is located.

[0015] In the above structured grid flow field slicing system, the general characterization equation of the plane where the preset section is located is obtained by the following formula:

[0016] Ax+By+Cz+D=0;

[0017] Wherein, A is the first scalar constant, B is the second scalar constant, C is the third scalar constant, D is the fourth scalar constant, x is the x-axis coordinate value of any point on the cross section, y is the y-axis coordinate value of any point on the cross section, and z is the z-axis coordinate value of any point on the cross section;

[0018] The coordinate system is a right-hand coordinate system, determined according to the right-hand rule. The origin of the coordinate system is located at (0,0,0). Place your right hand at the origin with your thumb pointing in the positive direction of the x-axis, your index finger pointing in the positive direction of the y-axis, and the direction pointed by your middle finger is the positive direction of the z-axis.

[0019] In the above structured grid-based flow field slicing system, the structured grid-based numerical simulation flow field will be output in a preset order.

[0020] In the above-mentioned structured grid flow field slicing system, when judging whether the edge of the structural grid boundary surface intersects with the plane where the preset section is located, the method adopted is as follows: obtaining the distance between one end point of the structural grid boundary surface edge and the plane where the preset section is located; obtaining the distance between the other end point of the structural grid boundary surface edge and the plane where the preset section is located; obtaining the normal projection length of the structural grid boundary surface edge to the plane where the preset section is located; based on the distance between one end point of the structural grid boundary surface edge and the plane where the preset section is located, the distance between the other end point of the structural grid boundary surface edge and the plane where the preset section is located, and the normal projection length of the structural grid boundary surface edge to the plane where the preset section is located, it can be judged whether the structural grid boundary surface edge intersects with the plane where the preset section is located.

[0021] Compared with the prior art, the present invention has the following beneficial effects:

[0022] (1) The present invention successfully realizes the extraction of flow field of any cross section for structured grids by adopting certain mathematical criteria and grid structure analysis based on the numerical simulation flow field obtained by CFD method;

[0023] (2) The present invention is completely autonomous and controllable;

[0024] (3) The present invention can modify and transplant the order of reading different structural grids, and the method has good adaptability;

[0025] (4) The present invention conducts robustness research and improvement on special-shaped structured grids, and the program has high stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0027] Figure 1 is a flow chart of a structured grid flow field slicing method provided by an embodiment of the present invention;

[0028] FIG. 2( a ) is a schematic diagram of the result of cutting a simplified structural grid provided by an embodiment of the present invention;

[0029] FIG2( b ) is another schematic diagram of the result of sectioning a simplified structural grid provided by an embodiment of the present invention;

[0030] FIG2( c ) is another schematic diagram of the result of sectioning a simplified structural grid provided by an embodiment of the present invention;

[0031] FIG3( a ) is a schematic diagram of a sectioning result of a real complex structure grid provided by an embodiment of the present invention;

[0032] FIG3( b ) is another schematic diagram of the result of sectioning a real complex structure grid provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0033] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to be able to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0034] Figure 1 Flowchart of the structured grid flow field slicing method provided by the embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0035] Determine the general characterization equation of the plane where the preset section is located;

[0036] All the information of the numerical simulation flow field is read in sequence according to the reading order of the structural grid; wherein all the information of the numerical simulation flow field includes grid node information and structural grid unit flow field variable information;

[0037] Determine whether the edge line of the structural grid boundary surface intersects with the plane where the preset section is located, and if so, mark the structural grid block number corresponding to the edge line of the structural grid boundary surface that intersects;

[0038] According to the structural grid block number corresponding to the marked intersecting structural grid boundary surface edge line, all structural grid unit edges in the marked structural grid block are judged whether they intersect with the plane where the preset section is located, and all intersection point information generated by the intersection of the structural grid units is recorded;

[0039] According to all the intersection information generated by the intersection of the structural grid units, it is judged whether the structural grid unit has an intersection with the plane where the preset section is located. If an intersection is generated, it is recorded and the flow field information of the structural grid unit is assigned to the intersection;

[0040] Output all information about the intersection between the structural mesh unit and the plane where the preset section is located.

[0041] Specifically, the method comprises the following steps:

[0042] Step S1: Determine the general characterization equation of the plane where the required section is located by given three-point coordinates or other means.

[0043] Step S2: Read all the information of the numerical simulation flow field in sequence according to the reading order of the structural grid, including the grid node information and the flow field variable information of the structural grid unit.

[0044] Step S3: First, determine whether the edge of the structural grid boundary surface intersects with the plane where the section to be extracted is located, and mark the structural grid block number corresponding to the intersecting edge.

[0045] Step S4: according to the node numbering sequence of the structural grid, determine whether all structural grid unit edges in the marked structural grid block intersect with the plane where the section is located, and then record all intersection information generated by the intersection of the structural grid units.

[0046] Step S5: According to the intersection information generated in the previous step, determine whether the structural grid unit intersects with the plane where the cross section is located. If an intersection occurs, record it and assign the flow field information of the structural grid unit to the intersection.

[0047] Step S6: Output all information of the intersection between the structural grid unit and the plane where the cross section is located in a certain output mode.

[0048] In step S1, the general characterization equation of the plane is:

[0049] Ax+By+Cz+D=0;

[0050] Wherein, A is the first scalar constant, B is the second scalar constant, C is the third scalar constant, D is the fourth scalar constant, x is the x-axis coordinate value of any point on the cross section, y is the y-axis coordinate value of any point on the cross section, and z is the z-axis coordinate value of any point on the cross section;

[0051] The coordinate system is a right-hand coordinate system, determined according to the right-hand rule. The origin of the coordinate system is located at (0,0,0). Place your right hand at the origin with your thumb pointing in the positive direction of the x-axis, your index finger pointing in the positive direction of the y-axis, and the direction pointed by your middle finger is the positive direction of the z-axis.

[0052] By using the input of three non-collinear coordinates

[0053] (x 1 ,y 1 ,z 1 ),(x 2 ,y 2 ,z 2 ),(x 3 ,y 3 ,z 3 )

[0054] You can calculate A, B, C, and D. You can also determine the values ​​of A, B, C, and D by other methods. Here we only list a common method of determining three non-collinear points.

[0055] In step S2, the numerical simulation flow field based on the structured grid will be output in a predetermined order. Different numerical simulation programs have slightly different orders. This embodiment can be modified and transplanted according to the actual order.

[0056] In step S3, when judging whether the edge line of the structural grid boundary surface intersects with the plane where the preset section is located, the method used is as follows:

[0057] Obtain the distance between an end point of the edge line of the structural grid boundary surface and the plane where the preset section is located;

[0058] Obtain the distance between the other end point of the edge line of the structural grid boundary surface and the plane where the preset section is located;

[0059] Obtain the normal projection length from the edge line of the structural grid boundary surface to the plane where the preset section is located;

[0060] Whether the edge of the structural grid boundary surface intersects with the plane where the preset section is located can be determined based on the distance between one end point of the edge of the structural grid boundary surface and the plane where the preset section is located, the distance between the other end point of the edge of the structural grid boundary surface and the plane where the preset section is located, and the normal projection length from the edge of the structural grid boundary surface to the plane where the preset section is located.

[0061] Specifically, the method used is as follows:

[0062] Click X 1 (x 1 ,y 1 ,z 1 ) to the plane Ax+By+Cz+D=0 is:

[0063] Click X 2 (x 2 ,y 2 ,z 2 ) to the plane Ax+By+Cz+D=0 is:

[0064] Line Segment X 2 X 1 The length of the normal projection to the plane Ax+By+Cz+D=0 can be calculated as

[0065]

[0066] By d 3 ,d 2 ,d 1 The size relationship of X can be used to determine2 X 1 Whether it intersects with the plane, and according to the degree of intersection, it can be divided into zero intersection points (that is, no intersection), one intersection point, and two intersection points (that is, the line segment and the plane are coplanar).

[0067] In step S4, when judging whether all the structural grid unit edges in the marked structural grid block intersect with the plane where the preset section is located, the method used is as follows:

[0068] Obtaining the distance between an end point of the edge line of all structural grid units in the marked structural grid block and the plane where the preset section is located;

[0069] Obtaining the distance between the other end point of the edge line of all structural grid units in the marked structural grid block and the plane where the preset section is located;

[0070] Obtaining the normal projection length of all structural grid unit edges in the marked structural grid block to the plane where the preset section is located;

[0071] Based on the distance between one end point of the edge of all structural grid cells in the marked structural grid block and the plane where the preset section is located, the distance between the other end point of the edge of all structural grid cells in the marked structural grid block and the plane where the preset section is located, and the normal projection length of all structural grid cell edges in the marked structural grid block to the plane where the preset section is located, it is possible to determine whether all structural grid cell edges in the marked structural grid block intersect with the plane where the preset section is located.

[0072] In step S5, according to the intersection information generated in step S4, the structural grid unit is judged whether it intersects with the plane where the cross section is located. If an intersection occurs, it is recorded and the flow field information of the structural grid unit is assigned to the intersection. In this step, it is necessary to carefully distinguish whether an intersection occurs: when there are two or less intersections, the grid block and the plane will not intersect; when there are three to six intersections, the grid block and the plane will intersect. The generated intersections need to be recorded in a certain order, and the intersections that are repeatedly calculated are shielded.

[0073] In step S6, the recorded intersection numbers are output in a certain order. The output is performed in the Tecplot output format adopted in this embodiment, and can be displayed using Tecplot post-processing software.

[0074] In this embodiment, the flow field slice results of the simplified structure grid and the structure grid with real shape are used as examples to demonstrate the effect achieved by the present invention.

[0075] (1) For the simplified shape, the mesh slicing results of multiple cross sections are shown, as shown in Figure 2(a), Figure 2(b), and Figure 2(c).

[0076] (2) The flow field of the grid with a real shape structure is numerically simulated, and the grid slicing results of the cross section and the pressure cloud diagram of the flow field slice are displayed, as shown in Figure 3(a) and Figure 3(b).

[0077] The present embodiment also provides a flow field slicing system based on a structural grid, which includes: a first module for determining a general characterization equation of a plane where a preset section is located; a second module for sequentially reading all the information of the numerical simulation flow field in the order in which the structural grid is read; wherein all the information of the numerical simulation flow field includes grid node information and structural grid unit flow field variable information; a third module for determining whether the edges of the structural grid boundary surface intersect with the plane where the preset section is located, and if so, marking the structural grid block number corresponding to the intersecting structural grid boundary surface edge; a fourth module for determining whether all the structural grid unit edges in the marked structural grid block intersect with the plane where the preset section is located, and recording all the intersection information generated by the intersection of the structural grid units; a fifth module for determining whether the structural grid unit generates an intersection with the plane where the preset section is located, based on all the intersection information generated by the intersection of the structural grid units, and if so, recording and assigning the flow field information of the structural grid unit to the intersection; a sixth module for outputting all the information of the intersection generated by the structural grid unit and the plane where the preset section is located.

[0078] This embodiment is based on the numerical simulation flow field obtained by the CFD method, and successfully realizes the extraction of arbitrary cross-section flow field for the structural grid by adopting certain mathematical criteria and grid structure analysis; this embodiment is completely autonomous and controllable; this embodiment can be modified and transplanted for different structural grid reading sequences, and the method has good adaptability; this embodiment has carried out robustness research and improvement on special-shaped structural grids, and the program stability is high.

[0079] Although the present invention has been disclosed as above in the form of a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art may make possible changes and modifications to the technical solution of the present invention by using the methods and technical contents disclosed above without departing from the spirit and scope of the present invention. Therefore, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the protection scope of the technical solution of the present invention.

Claims

1. A flow field slicing method based on structured grid, characterized in that include: Determine the general characterization equation of the plane where the preset section is located; All the information of the numerical simulation flow field is read in sequence according to the reading order of the structural grid; wherein all the information of the numerical simulation flow field includes grid node information and flow field variable information of the structural grid unit; Determine whether the edge line of the structural grid boundary surface intersects with the plane where the preset section is located, and if so, mark the structural grid block number corresponding to the edge line of the structural grid boundary surface that intersects; According to the structural grid block number corresponding to the marked intersecting structural grid boundary surface edge line, all structural grid unit edges in the marked structural grid block are judged whether they intersect with the plane where the preset section is located, and all intersection point information generated by the intersection of the structural grid units is recorded; According to all the intersection information generated by the intersection of the structural grid units, it is judged whether the structural grid unit has an intersection with the plane where the preset section is located. If an intersection is generated, it is recorded and the flow field information of the structural grid unit is assigned to the intersection; Output all information about the intersection between the structural mesh unit and the plane where the preset section is located.

2. The structured grid flow field slicing method according to claim 1, characterized in that: The general characterization equation of the plane where the preset section is located is obtained by the following formula: Ax+By+Cz+D=0; Among them, A is the first scalar constant, B is the second scalar constant, C is the third scalar constant, D is the fourth scalar constant, x is the x-axis coordinate value of any point on the cross section, y is the y-axis coordinate value of any point on the cross section, and z is the z-axis coordinate value of any point on the cross section.

3. The structured grid flow field slicing method according to claim 1, characterized in that: The flow field numerically simulated based on structured grids will be output in a preset order.

4. The structured grid flow field slicing method according to claim 1, characterized in that: When judging whether the edge line of the structural grid boundary surface intersects with the plane where the preset section is located, the method used is as follows: Obtain the distance between an end point of the edge line of the structural grid boundary surface and the plane where the preset section is located; Obtain the distance between the other end point of the edge line of the structural grid boundary surface and the plane where the preset section is located; Obtain the normal projection length from the edge line of the structural grid boundary surface to the plane where the preset section is located; Whether the edge of the structural grid boundary surface intersects with the plane where the preset section is located can be determined based on the distance between one end point of the edge of the structural grid boundary surface and the plane where the preset section is located, the distance between the other end point of the edge of the structural grid boundary surface and the plane where the preset section is located, and the normal projection length from the edge of the structural grid boundary surface to the plane where the preset section is located.

5. The structured grid flow field slicing method according to claim 1, characterized in that: When judging whether all the structural grid unit edges in the marked structural grid block intersect with the plane where the preset section is located, the method used is as follows: Obtaining the distance between an end point of the edge line of all structural grid units in the marked structural grid block and the plane where the preset section is located; Obtaining the distance between the other end point of the edge line of all structural grid units in the marked structural grid block and the plane where the preset section is located; Obtaining the normal projection length of all structural grid unit edges in the marked structural grid block to the plane where the preset section is located; Based on the distance between one end point of the edge of all structural grid cells in the marked structural grid block and the plane where the preset section is located, the distance between the other end point of the edge of all structural grid cells in the marked structural grid block and the plane where the preset section is located, and the normal projection length of all structural grid cell edges in the marked structural grid block to the plane where the preset section is located, it is possible to determine whether all structural grid cell edges in the marked structural grid block intersect with the plane where the preset section is located.

6. The structured grid flow field slicing method according to claim 1, characterized in that: When judging whether the structural grid unit intersects with the plane where the preset section is located, if there are two or fewer intersection points, the structural grid unit will not intersect with the plane where the preset section is located; if there are three to six intersection points, the structural grid unit will intersect with the plane where the preset section is located. The generated intersections need to be recorded in the preset order, and the intersections that are calculated repeatedly are shielded.

7. A flow field slicing system based on a structured grid, characterized in that include: The first module is used to determine the general characterization equation of the plane where the preset section is located; The second module is used to read all the information of the numerical simulation flow field in sequence according to the reading order of the structural grid; wherein all the information of the numerical simulation flow field includes grid node information and structural grid unit flow field variable information; The third module is used to determine whether the edge line of the structural grid boundary surface intersects with the plane where the preset section is located, and if so, mark the structural grid block number corresponding to the edge line of the intersecting structural grid boundary surface; The fourth module is used to determine whether all the structural grid unit edges in the marked structural grid block intersect with the plane where the preset section is located according to the structural grid block number corresponding to the marked intersecting structural grid boundary surface edge, and record all intersection information generated by the intersection of the structural grid units; The fifth module is used to determine whether the structural grid unit has an intersection with the plane where the preset section is located according to all the intersection point information generated by the intersection of the structural grid units, and if an intersection is generated, record it and assign the flow field information of the structural grid unit to the intersection; The sixth module is used to output all the information of the intersection between the structural grid unit and the plane where the preset section is located.

8. The structured grid flow field slicing system according to claim 7, characterized in that: The general characterization equation of the plane where the preset section is located is obtained by the following formula: Ax+By+Cz+D=0; Among them, A is the first scalar constant, B is the second scalar constant, C is the third scalar constant, D is the fourth scalar constant, x is the x-axis coordinate value of any point on the cross section, y is the y-axis coordinate value of any point on the cross section, and z is the z-axis coordinate value of any point on the cross section.

9. The structured grid flow field slicing system according to claim 7, characterized in that: The flow field numerically simulated based on structured grids will be output in a preset order.

10. The structured grid flow field slicing system according to claim 7, characterized in that: When judging whether the edge line of the structural grid boundary surface intersects with the plane where the preset section is located, the method used is as follows: Obtain the distance between an end point of the edge line of the structural grid boundary surface and the plane where the preset section is located; Obtain the distance between the other end point of the edge line of the structural grid boundary surface and the plane where the preset section is located; Obtain the normal projection length from the edge line of the structural grid boundary surface to the plane where the preset section is located; Whether the edge of the structural grid boundary surface intersects with the plane where the preset section is located can be determined based on the distance between one end point of the edge of the structural grid boundary surface and the plane where the preset section is located, the distance between the other end point of the edge of the structural grid boundary surface and the plane where the preset section is located, and the normal projection length from the edge of the structural grid boundary surface to the plane where the preset section is located.

Citation Information

Patent Citations

  • Multi-body separation grid overlapping method and system suitable for parallel processing

    CN108459909A

  • Object plane automatic slicing and data extraction method oriented to structural grid CFD flow field post-processing

    CN111523239A

  • Method and equipment for analyzing dynamic state of suspended submarine cable based on slicing method

    CN118153358A

  • Pre / post-processing method for three dimensional finite volume analysis

    KR101266336B1