Mesh division method for three-dimensional model of piping system

Through the meshing method of the three-dimensional model of the pipe system, including creating part centerlines and attribute creation, the problem of low working efficiency of pipe system simulation operations in the existing technology is solved, and more efficient simulation design is achieved and the calculation volume is reduced.

CN119963772APending Publication Date: 2025-05-09JIANGNAN SHIPYARD (GRP) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510108430.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

During the ship design and construction process, the working efficiency of pipe system simulation operations in the prior art is low, resulting in low working efficiency of the simulation link and prolonged design cycle.

Method used

Provide a meshing method for the three-dimensional model of the pipe system, including creating the configuration file of the three-dimensional model of the pipe system, obtaining the three-dimensional model of the pipe system, creating the center line of the part, creating the model attributes, interconnecting the curves, 1-dimensional meshing of the first type of part models, and node merging of the second type of part models.

Benefits of technology

Through one-dimensional simplification and attributes to the three-dimensional model of the pipeline system, the calculation amount of grid division and simulation design is reduced, secondary modeling operations are avoided, and the work efficiency of the simulation design process is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119963772A_ABST
    Figure CN119963772A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of ship design and construction, and provides a grid division method of a piping system three-dimensional model, which comprises the following steps: creating a configuration file of the piping system three-dimensional model; obtaining a piping system three-dimensional model comprising the first type of part model and the second type of part model; creating a part center line of the piping system three-dimensional model; carrying out attribute creation on the three-dimensional model of the piping system according to the configuration file; performing curve interconnection on the center line of the part; and carrying out one-dimensional grid division on the first type of part models after curve interconnection, and carrying out node combination on the second type of part models. According to the grid division method, the part center line of the three-dimensional model of the piping system is created, and the attributes are created, so that one-dimensional simplification of the three-dimensional model of the piping system is realized, the calculation amount of grid division and simulation design is reduced, secondary modeling is not needed, the simplified three-dimensional model of the piping system can meet simulation requirements, and the simulation efficiency of the three-dimensional model of the piping system is improved. And the working efficiency of ship simulation operation is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of ship design and construction, and in particular to a method for meshing a three-dimensional model of a piping system. Background Art

[0002] In the process of ship design and construction, a large number of simulation iterations and verification work are required to ensure that the designed hull model meets the design requirements. Among them, the finite element simulation of the piping system in the hull structure is an important part of the ship design process. For problems such as stress analysis, vibration and noise of the pipeline in the piping system, finite element simulation can be carried out to evaluate such scenarios in the piping system in advance, ensuring the safety and reliability of the entire piping system during normal use.

[0003] The premise of finite element simulation is to build a finite element mesh model that meets the simulation requirements. Since the ship's piping system is usually mainly composed of various types of pipelines, the piping system is usually simplified into a one-dimensional unit in finite element simulation, retaining the length direction. The dimensional parameters in other directions are added in the form of pipe sections for simulation. In the design and construction process of ships, a three-dimensional model of the piping system is usually provided directly. When simulating the three-dimensional model of the piping system, secondary modeling and meshing are required in the finite element simulation software, which greatly increases the workload of the staff and cannot fully utilize the three-dimensional model of the piping system, making the simulation process inefficient and extending the ship design cycle. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the purpose of the present application is to provide a meshing method for a piping three-dimensional model, which is used to solve the problems of low work efficiency in piping simulation operations in the prior art, so as to improve the work efficiency of the piping design simulation link.

[0005] To achieve the above and other related purposes, the present application provides a method for meshing a three-dimensional piping model, comprising the following steps:

[0006] Create configuration files for the piping 3D model;

[0007] Acquire the three-dimensional model of the piping system, wherein the three-dimensional model of the piping system includes a plurality of first-category part models and a plurality of second-category part models;

[0008] Creating a centerline of a part of the three-dimensional model of the piping system;

[0009] Creating attributes for the three-dimensional model of the pipe system according to the configuration file;

[0010] Interconnecting the center lines of the parts by curves;

[0011] The first type of part model after the curves are interconnected is divided into one-dimensional grids, and the second type of part model is node-merged.

[0012] Optionally, the first type of part model includes a first pipeline model and a support structure model, and the first pipeline model includes a straight pipe model, a bent pipe model and a reducer model;

[0013] The second type of part model includes a connector model, a bracket model and a second pipeline model. The connector model includes a flange model and a valve model. The second pipeline model includes a multi-way pipe model.

[0014] Optionally, creating a part centerline of the three-dimensional model of the piping system includes the following steps:

[0015] Acquire the inner surface of the first pipeline model;

[0016] Extracting an upper ridge line and a lower ridge line from the inner surface of the first pipeline model;

[0017] Creating a midline between an upper ridgeline and a lower ridgeline of the first pipeline model as a part centerline of the first pipeline model;

[0018] Obtaining the centroid and characteristic structure curve of the support structure model;

[0019] The characteristic structure curve of the support structure model is moved to the centroid of the support structure model as the part center line of the support structure model.

[0020] Optionally, creating attributes for the three-dimensional model of the pipe system includes the following steps:

[0021] Acquire material information and structural dimension information of the first pipeline model from the configuration file;

[0022] Creating a one-dimensional unit attribute of the first pipeline model, and adding material information and structural dimension information of the first pipeline model to the one-dimensional unit attribute of the first pipeline model;

[0023] Creating a plane passing through the centroid of the support structure model and perpendicular to the centerline of the part of the support structure model as a section reference plane;

[0024] A cross section of the support structure model and a one-dimensional unit property of the support structure model are created according to the cross section reference plane.

[0025] Optionally, creating a part centerline of the three-dimensional model of the piping system includes the following steps:

[0026] Obtaining a plurality of inner surfaces of the link control model;

[0027] Extracting characteristic surfaces from a plurality of inner surfaces of the link control model, and creating a first reference axis according to the characteristic surfaces of the link control model;

[0028] Obtaining a number of closed free edges on the inner surface of the link control model;

[0029] Projecting the center point of the closed free edge onto the first reference axis to obtain a plurality of center projection points;

[0030] Selecting a first projection point and a second projection point from the central projection point;

[0031] A straight line with the first projection point and the second projection point as endpoints is created as a part centerline of the connector model.

[0032] Optionally, creating attributes for the three-dimensional model of the pipe system includes the following steps:

[0033] Obtaining quality information of the control model from the configuration file;

[0034] Creating nodes and one-dimensional unit properties of the connector model at the midpoint of the centerline of the connector model part;

[0035] adding quality information of the link control model to a one-dimensional unit attribute of the link control model;

[0036] The starting point and the end point of the center line of the part of the connector model are obtained, and are respectively connected to the midpoint of the center line of the part of the connector model to create a rigid connection unit of the connector model.

[0037] Optionally, creating a part centerline of the three-dimensional model of the piping system includes the following steps:

[0038] Acquire the inner surface of the second pipeline model;

[0039] Dividing the second pipeline model into a plurality of second pipeline sub-models according to the inner curved surface of the second pipeline model;

[0040] Creating a center line of the inner surface of the second pipeline sub-model;

[0041] Selecting a main pipe centerline from the centerlines of the plurality of second pipe sub-models;

[0042] The center lines of the second pipeline sub-model except the center line of the main pipeline are extended to the center line of the main pipeline to obtain the part center line of the second pipeline model.

[0043] Optionally, creating attributes for the three-dimensional model of the pipe system includes the following steps:

[0044] Acquire quality information of the second pipeline model from the configuration file;

[0045] Creating nodes and one-dimensional unit attributes of the second pipeline model at the midpoint of the centerline of the main pipe;

[0046] adding the quality information of the second piping model to the one-dimensional unit attributes of the second piping model;

[0047] A rigid connection unit of the second pipe model is created according to the midpoint of the center line of the main pipe model and the part center line of the second pipe model.

[0048] Optionally, the support model includes a plurality of support sub-models, and creating a part centerline of the piping three-dimensional model includes the following steps:

[0049] Acquire a stent pipeline model installed on the stent model;

[0050] Selecting a target stent sub-model from the plurality of stent sub-models;

[0051] Projecting the centroid of the target stent sub-model onto the centerline of the stent conduit model to obtain a first centroid projection point, and creating a second reference axis based on the first centroid projection point;

[0052] Projecting the centroid of the support sub-model onto the second reference axis to obtain a plurality of centroid projection points;

[0053] Selecting a second centroid projection point from the plurality of centroid projection points;

[0054] A straight line with the first centroid projection point and the second centroid projection point as endpoints is created as a part centerline of the bracket model.

[0055] Optionally, creating attributes for the three-dimensional model of the pipe system includes the following steps:

[0056] Obtaining mass information and elastic body stiffness information of the bracket model from the configuration file;

[0057] Creating a first elastic unit and a first elastic body property along a first direction according to a center line of the stent-pipe model;

[0058] Creating a second elastic unit and a second elastic body property along a second direction according to a part centerline of the bracket model;

[0059] Creating a third elastic unit and a third elastic body property along a third direction according to the first elastic unit and the second elastic unit, wherein the first direction, the second direction and the third direction are mutually perpendicular in pairs based on the right-hand rule;

[0060] The first elastic body property, the second elastic body property and the third elastic body property are set respectively according to the mass information and the elastic body stiffness information.

[0061] As described above, compared with the prior art, the meshing method for the three-dimensional model of the piping system provided in the present application has at least the following beneficial effects:

[0062] In the meshing method of the present application, by creating the center line of the parts of the piping three-dimensional model, one-dimensional simplification of the piping three-dimensional model of the three-dimensional structure is achieved. By creating attributes of the piping three-dimensional model, attributes such as material and structural size are assigned to the simplified piping three-dimensional model, and the second-category part model is further simplified, which effectively reduces the amount of computational complexity of meshing and simulation design, eliminates the need for secondary modeling operations, enhances the utilization rate of the piping three-dimensional model, and improves the work efficiency of the simulation design link. By merging nodes of the second-category part model, the second-category part model is further simplified, further reducing the amount of computational complexity of meshing and simulation design, and improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0064] Figure 1 A schematic diagram showing a flow chart of a method for meshing a three-dimensional piping model provided in an embodiment of the present application.

[0065] Figure 2 A schematic diagram showing a process of creating part center lines of a first type of part model in the meshing method provided in an embodiment of the present application is shown.

[0066] Figure 3 A schematic diagram showing the flow of creating part center lines of a control component model in the meshing method provided in an embodiment of the present application.

[0067] Figure 4 Shown is a structural schematic diagram of the part center line for creating a connection control model provided in an embodiment of the present application.

[0068] Figure 5 A schematic diagram showing the flow of creating the part centerline of the second pipeline model in the meshing method provided in an embodiment of the present application is shown.

[0069] Figure 6Shown is a structural schematic diagram of the part centerline for creating a second pipeline model provided in an embodiment of the present application.

[0070] Figure 7 A schematic diagram showing the process of creating part center lines of a bracket model in the meshing method provided in an embodiment of the present application is shown.

[0071] Figure 8 Shown is a structural schematic diagram of the part center line for creating a bracket model provided in an embodiment of the present application.

[0072] Fig. 9 Shown is a schematic diagram of the process of creating attributes for a first type of part model in the meshing method provided in an embodiment of the present application.

[0073] Fig.10 Shown is a schematic diagram of the process of creating attributes for a connected control model in the grid division method provided in an embodiment of the present application.

[0074] Fig.11 Shown is a schematic diagram of the process of creating attributes for the second pipeline model in the grid division method provided in an embodiment of the present application.

[0075] Fig.12 Shown is a schematic diagram of the process of creating attributes for a support model in the grid division method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0076] In order to make the technical purpose, technical solution and technical effect of the present application clearer, the technical solution in the present application will be clearly and completely described in conjunction with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0077] Therefore, the following detailed description of the embodiments of the present application is not intended to limit the scope of the present application for protection, but merely represents the selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work are within the scope of protection of the present application. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0078] In the description of the present application, it should be noted that the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the implementation or example are included in at least one implementation or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same implementation or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more implementations or examples in a suitable manner.

[0079] This embodiment provides a method for meshing a three-dimensional piping model, which is used to solve the problems of low work efficiency in piping simulation design in the prior art.

[0080] Reference Figure 1 The meshing method of the piping system three-dimensional model provided in this embodiment includes steps S1 to S6, specifically including:

[0081] Step S1: creating a configuration file for the piping 3D model;

[0082] Step S2: obtaining the three-dimensional model of the piping system, wherein the three-dimensional model of the piping system includes a plurality of first-category part models and a plurality of second-category part models;

[0083] Step S3: creating a part centerline of the three-dimensional model of the piping system;

[0084] Step S4: creating attributes for the three-dimensional model of the pipe system according to the configuration file;

[0085] Step S5: interconnecting the center lines of the parts in curves;

[0086] Step S6: performing one-dimensional meshing on the first type of part model after the curves are interconnected, and performing node merging on the second type of part model.

[0087] The meshing method for the three-dimensional piping model of this embodiment will be described in detail below in conjunction with the accompanying drawings. It should be noted that the above sequence does not strictly represent the specific step sequence of the meshing method for the three-dimensional piping model protected by this application, and those skilled in the art can adjust it according to actual needs.

[0088] First, step S1 is executed to create a configuration file of the piping system three-dimensional model.

[0089] The configuration file includes material information, mass information, elastic body stiffness information and other appropriate information of each part model in the three-dimensional model of the piping system.

[0090] Then, step S2 is executed to obtain a three-dimensional model of the piping system, wherein the three-dimensional model of the piping system includes a first-category part model and a second-category part model.

[0091] In this embodiment, the piping system 3D model is a 3D model of a ship piping system, and the piping system 3D model includes models of various parts structures in the piping system, has three-dimensional dimensions of length, width, and height, and exists in the form of a geometric model. The piping system 3D model can be obtained in the form of an intermediate format, including but not limited to 3dxml, STP and other formats.

[0092] In an optional embodiment, the three-dimensional model of the piping system includes a first type of part model, the first part model includes a first pipeline model and a supporting structure model, and the first pipeline model includes a straight pipe model, a curved pipe model, a reducer model, and other suitable pipeline models. The second type of part model includes a connector model, a bracket model, and a second pipeline model, the connector model includes a flange model, a valve model, and other suitable connection / control part models, and the second pipeline model includes a multi-way pipe model, which may include, for example, a three-way pipe model, a four-way pipe model, and other suitable types of multi-way pipe models.

[0093] In an optional embodiment, after executing step S2 to obtain the three-dimensional model of the piping system, the following steps are also included: classifying the three-dimensional model of the piping system to divide the three-dimensional model of the piping system into several part models. Optionally, for example, classification can be performed according to the name keywords of each part structure in the piping system, and the name keywords of each part structure are, for example: pipe, reducer, elbow, tee, cross, valve, flange, hanger, support structure. Further, for example, each part model in the three-dimensional model of the piping system can be divided into a straight pipe model, an elbow model, a reducer model, a connector model, a bracket model, a flange model, a valve model, a tee model, a cross model, etc.

[0094] Next, step S3 is executed to create the centerline of the parts of the three-dimensional model of the piping system.

[0095] Specifically, according to the type of each part model in the three-dimensional model of the piping system, the center lines of the parts can be created respectively to convert the three-dimensional model of the piping system into one dimension.

[0096] In an optional embodiment, the first type of part model is a first pipeline model and a support structure model, and the first pipeline model includes a straight pipe model, a bent pipe model and a reducer model. Figure 2 , execute step S3 to create the center line of the parts of the three-dimensional model of the piping system, including steps S311 to S315, specifically including:

[0097] S311: Acquire the inner surface of the first pipeline model;

[0098] S312: extracting an upper ridge line and a lower ridge line from the inner surface of the first pipeline model;

[0099] S313: creating a center line between an upper ridge line and a lower ridge line of the first pipeline model as a part center line of the first pipeline model;

[0100] S314: Obtaining the centroid and characteristic structure curve of the support structure model;

[0101] S315: Move the characteristic structure curve of the support structure model to the centroid of the support structure model as the part centerline of the support structure model.

[0102] In step S311, the inner surface of the first pipeline model is the inner side of the first pipeline model. In step S312, the curve with continuous tangents at the top of the inner surface of the first pipeline model is extracted as the upper ridge of the first pipeline model; the curve with continuous tangents at the bottom of the inner surface of the first pipeline model is extracted as the lower ridge of the first pipeline model. By creating the center line of the parts of the first pipeline model and the center line of the parts of the support structure model, the first pipeline model and the support structure model are one-dimensionalized.

[0103] Further, executing step S314 may include the following steps: obtaining a characteristic curve of the support structure model; selecting a characteristic curve with the longest characteristic dimension from the characteristic curves of the support structure model as the characteristic structure curve of the support structure model. The characteristic curve of the support structure model is a curve on the surface of the support structure model that can describe the one-dimensional structure of the support structure model. The characteristic dimension may be the length of the characteristic curve, and the characteristic curve with the longest length is selected from the characteristic curves as the characteristic structure curve.

[0104] In an optional embodiment, the second type of part model includes a connector model, and the connector model includes a flange model and a valve model. Figure 3 , execute step S3 to create the center line of the parts of the three-dimensional model of the piping system, including steps S321 to S326, specifically including:

[0105] S321: Acquire several inner surfaces of the control model;

[0106] S322: Acquire characteristic surfaces from a plurality of inner surfaces of the connected control model, and create a first reference axis according to the characteristic surfaces of the connected control model;

[0107] S323: Acquire a number of closed free edges on the inner surface of the control model;

[0108] S324: Projecting the center point of the closed free edge onto the first reference axis to obtain a plurality of center projection points;

[0109] S325: Selecting a first projection point and a second projection point from the central projection point;

[0110] S326: Create a straight line with the first projection point and the second projection point as endpoints as the part center line of the control model.

[0111] Among them, the characteristic surface can be the inner surface with the largest area among several inner surfaces of the connected control model, for example Figure 4 The inner surface of the middle part shown, the first reference axis is the midline of the characteristic surface, for example Figure 4 The dotted line shown in the figure, or the characteristic surface can also be other specific internal surfaces. A closed free edge is a curve whose free ends are connected to each other on the internal surface of the control model, for example Figure 4 The closed free edges at the left and right ends of the link control model shown in , the first projection point can be, for example, the central projection point closest to the starting point of the first reference axis, and the second projection point can be, for example, the central projection point farthest from the starting point of the first reference axis, wherein the first projection point, the starting point of the first reference axis, and the second projection point are, for example, Figure 4 The three points from left to right are shown in the figure. By creating the centerline of the part of the connector model, the three-dimensional connector model is converted to one dimension.

[0112] In an optional embodiment, the second type of part model includes a second pipeline model, and the second pipeline model includes a multi-way pipe model, such as a three-way pipe model and a four-way pipe model. Figure 5 , execute step S3, create the center line of the parts of the three-dimensional model of the piping system, including steps S331 to S335,

[0113] S331: Acquire the inner surface of the second pipeline model;

[0114] S332: Dividing the second pipeline model into a plurality of second pipeline sub-models according to the inner curved surface of the second pipeline model;

[0115] S333: creating the center line of the inner surface of the second pipeline sub-model;

[0116] S334: Selecting a main pipe center line from the center lines of the plurality of second pipe sub-models;

[0117] S335: Extend the center lines of the second pipeline sub-model except the center line of the main pipeline to the center line of the main pipeline to obtain the part center line of the second pipeline model.

[0118] Among them, the inner surfaces of the second pipeline model can be grouped according to the tangent continuity, and then the second pipeline model can be divided into a number of second pipeline sub-models, such as Figure 6In the second pipeline model shown in FIG. 1 , the second pipeline sub-model along the horizontal direction and the second pipeline sub-model along the vertical direction are shown in FIG. 1 . In step S334 , the center line with the largest length can be selected from the center lines of the second pipeline sub-models as the main pipeline center line, for example Figure 6 The dotted line shown in the figure, or other center lines that meet specific conditions can be selected as the main pipe center line. The part center line of the second pipe model includes the main pipe center line and the center lines of other second pipe sub-models. By creating the part center line of the second pipe model, the three-dimensional second pipe model is converted into one dimension.

[0119] In an optional embodiment, the second type of part model includes a bracket model, and the bracket model includes a plurality of bracket sub-models. Figure 7 , execute step S3 to create the center line of the parts of the three-dimensional model of the piping system, including steps S341 to S346, specifically including:

[0120] S341: Acquire a stent pipeline model installed on the stent model;

[0121] S342: Selecting a target bracket sub-model from a plurality of bracket sub-models;

[0122] S343: Projecting the centroid of the target stent sub-model onto the centerline of the stent pipeline model to obtain a first centroid projection point, and creating a second reference axis based on the first centroid projection point;

[0123] S344: Projecting the centroid of the bracket sub-model onto the second reference axis to obtain a plurality of centroid projection points;

[0124] S345: Selecting a second centroid projection point from the plurality of centroid projection points;

[0125] S346: Create a straight line with the first centroid projection point and the second centroid projection point as endpoints as the part centerline of the bracket model.

[0126] The pipe support includes several physical structures, and the corresponding support model includes several physical structure models, that is, corresponding to the support sub-models in this embodiment, in step S342, the support sub-model closest to the center line of the support pipe model can be obtained from the several support sub-models as the target support sub-model, or other support sub-models that meet specific conditions can be selected from the several support sub-models as the target support sub-model. Figure 8 Taking the bracket model shown as an example, in the figure, the bracket model includes two bracket sub-models, and the two bracket sub-models are distributed up and down in the vertical direction. The bracket sub-model located at the bottom is the target bracket sub-model, the middle point is the center of mass of the target bracket sub-model, and the points at the upper and lower ends are the second center of mass projection point and the first center of mass projection point respectively.

[0127] Further, executing step S343 may include the following steps: obtaining the centroid of the target stent sub-model; obtaining the centerline of the stent pipeline model; projecting the centroid of the target stent sub-model onto the centerline of the stent pipeline model to obtain a first centroid projection point; creating a second reference axis based on the first centroid projection point and the centroid of the target stent sub-model. In step S345, the centroid projection point farthest from the centerline of the stent pipeline model may be obtained from a number of centroid projection points as the second centroid projection point. By creating the centerline of the parts of the stent model, the one-dimensionalization of the stent model of the three-dimensional structure is achieved.

[0128] Next, step S4 is executed to create attributes for the three-dimensional model of the pipe system according to the configuration file.

[0129] The configuration file includes material information, mass information, elastic body stiffness information and other appropriate information of each part model in the piping 3D model. According to the configuration file, the attributes of the one-dimensional simplified piping 3D model can be created to assign the physical properties of each part structure to the piping 3D model.

[0130] In an optional embodiment, the first type of part model includes a first pipeline model and a support structure model, and the first pipeline model includes a straight pipe model, a bent pipe model and a reducer model. Fig. 9 , execute step S4 to create attributes for the three-dimensional model of the pipe system, including steps S411 to S415, specifically including:

[0131] S411: Acquire material information and structural dimension information of the first pipeline model from the configuration file;

[0132] S412: creating a one-dimensional unit attribute of the first pipeline model, and adding material information and structural dimension information of the first pipeline model to the one-dimensional unit attribute of the first pipeline model;

[0133] S413: Create a plane passing through the centroid of the support structure model and perpendicular to the centerline of the parts of the support structure model as the section reference plane;

[0134] S414: Create the cross section of the support structure model and the one-dimensional unit properties of the support structure model based on the cross section reference plane.

[0135] Among them, the structural dimension information includes, for example, the outer diameter and wall thickness of the first pipeline model and other suitable dimension parameters. Optionally, after completing step S412, the following steps may also be included: associating the one-dimensional unit attributes of the first pipeline model with the corresponding first pipeline model; deleting the corresponding first pipeline model. In step S413, the section reference plane is perpendicular to the part centerline of the supporting structure model, and the center of mass of the supporting structure model is located within the section reference plane. Optionally, after executing and completing step S413, the following steps may also be included: adding the position parameters of the section of the support structure model to the one-dimensional unit attributes of the supporting structure model; associating the one-dimensional unit attributes of the supporting structure model with the corresponding supporting structure model; deleting the corresponding supporting structure model.

[0136] In an optional embodiment, the second type of part model includes a connector model, and the connector model includes a flange model and a valve model. Fig.10 , execute step S4 to create attributes for the three-dimensional model of the pipe system, including steps S421 to S424, specifically including:

[0137] S421: Obtain quality information of the control model from the configuration file;

[0138] S422: creating nodes and one-dimensional unit attributes of the connector model at the midpoint of the centerline of the connector model part;

[0139] S423: adding the quality information of the link control model to the one-dimensional unit attribute of the link control model;

[0140] S424: Obtain the starting point and the end point of the center line of the part of the connector model, and connect them to the midpoint of the center line of the part of the connector model respectively to create a rigid connection unit of the connector model.

[0141] The configuration file contains quality information and other relevant information of the connector model, extracts the midpoint of the centerline of the connector model part, creates a node of the connector model at the midpoint, creates a one-dimensional unit attribute of the connector model, and assigns the acquired quality information to its one-dimensional unit attribute. In step S424, two rigid connection units located on both sides of the midpoint are created by connecting the starting point and the end point of the centerline of the connector model part to the midpoint respectively. Optionally, after step S424, the following steps are also included: retain the rigid connection units and nodes of the connector model, and delete the corresponding connector model.

[0142] In an optional embodiment, the second type of part model includes a second pipeline model, and the second pipeline model includes a multi-way pipe model, such as a three-way pipe model and a four-way pipe model. Fig.11 , execute step S4 to create attributes for the three-dimensional model of the pipe system, including steps S431 to S434, specifically including:

[0143] S431: Acquire quality information of the second pipeline model from the configuration file;

[0144] S432: creating nodes and one-dimensional unit attributes of the second pipeline model at the midpoint of the centerline of the main pipe;

[0145] S433: adding the quality information of the second pipeline model to the one-dimensional unit attribute of the second pipeline model;

[0146] S434: Create a rigid connection unit of the second pipeline model according to the midpoint of the center line of the main pipeline and the center line of the part of the second pipeline model.

[0147] In step S432, the main pipe center line refers to steps S331 to S335, extracts the midpoint of the main pipe center line, creates the node of the second pipe model at the midpoint, and creates the one-dimensional unit attribute of the second pipe model. The specific method of step 434 creating the rigid connection unit of the second pipe model can refer to the process of creating the rigid connection unit of the control unit model in step S424, or can also be created by creating the connection line between the midpoint of the main pipe center line and the starting point and end point, and the connection line between the midpoint and the end points of the center lines of other parts to create the rigid connection unit of the second pipe model.

[0148] In an optional embodiment, the second type of part model includes a bracket model, referring to Fig.12 , execute step S4 to create attributes for the three-dimensional model of the pipe system, including steps S441 to S445, specifically including:

[0149] S441: Obtain the mass information and elastic body stiffness information of the bracket model from the configuration file;

[0150] S442: creating a first elastic unit and a first elastic body property along a first direction according to the center line of the stent-pipe model;

[0151] S443: creating a second elastic unit and a second elastic body property along a second direction according to a part center line of the bracket model;

[0152] S444: creating a third elastic unit and a third elastic body property along a third direction according to the first elastic unit and the second elastic unit; wherein the first direction, the second direction and the third direction are perpendicular to each other based on the right-hand rule;

[0153] S445: According to the mass information and elastic body stiffness information of the bracket model, the first elastic body property, the second elastic body property and the third elastic body property are set respectively.

[0154] Among them, the support pipeline model is a pipeline model installed on the support model, the first direction is the extension direction of the center line of the support pipeline model, the second direction is the extension direction of the center line of the support model parts, the first direction and the second direction are perpendicular to each other, according to the right-hand rule, the first direction and the second direction are used to obtain the third direction, the axis of the support model along the third direction is created, and the third elastic unit is created according to the axis of the support model along the third direction. Optionally, after executing step S445, the following steps are also included: associating the first elastic unit, the second elastic unit, the third elastic unit and the first elastic body property, the second elastic body property and the third elastic body property with the corresponding support model; retaining the first elastic unit, the second elastic unit and the third elastic unit, and deleting the corresponding support model.

[0155] Next, step S5 is executed to interconnect the center lines of the parts with curves.

[0156] Specifically, the part center lines of the piping three-dimensional model are extended and interconnected to achieve interconnection between corresponding part center lines, so that the part center line of the bracket model cuts the part center line of the first piping model and the part center line of the supporting structure model, and the center lines of the supporting structure model cut each other.

[0157] Finally, step S6 is executed to perform one-dimensional meshing on the first type of part model after the curves are interconnected, and to perform node merging on the second type of part model.

[0158] Specifically, according to a preset grid size, the part center line of the first type of part model is gridded to achieve one-dimensional grid division of the first type of part model; according to a preset tolerance, the nodes, rigid connection units and elastic connection units of the second type of part model are node merged to perform node merging on the second type of part model.

[0159] In an optional embodiment, the preset tolerance includes a first tolerance preset value, a second tolerance preset value and a third tolerance preset value, and merging nodes of the second type of part model may include the following steps: merging overlapping nodes in the second type of part model according to the preset first tolerance preset value; merging nodes of rigid connection units and elastic connection units in the three-dimensional model of the piping system according to the preset second tolerance preset value; merging nodes of all nodes in the second type of part model according to the preset third tolerance preset value; wherein the elastic connection unit includes a first elastic unit, a second elastic unit and a third elastic unit.

[0160] Specifically, according to the first tolerance preset value, all overlapping nodes in the second type of part model are merged; according to the second tolerance preset value, the elastic connection units and rigid connection units whose lengths are less than a preset threshold are merged into corresponding nodes.

[0161] As described above, in this embodiment, by creating the center line of the parts of the piping three-dimensional model, the one-dimensional simplification of the piping three-dimensional model of the three-dimensional structure is achieved. By creating attributes for the piping three-dimensional model, the attributes such as material and structural size are assigned to the simplified piping three-dimensional model, and the one-dimensional simplification of the second type of part model is further completed, which effectively reduces the amount of calculation for meshing and simulation design, eliminates the need for secondary modeling operations, strengthens the use of the piping three-dimensional model, and improves the work efficiency of the simulation design link; by merging nodes of the second type of part model, the second type of part model is further simplified, further reducing the amount of calculation for meshing and simulation design, and improving work efficiency.

[0162] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify, change or combine the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A method for meshing a three-dimensional model of a piping system, characterized in that: The following steps are involved: Create configuration files for the piping 3D model; Acquire the three-dimensional model of the piping system, wherein the three-dimensional model of the piping system includes a plurality of first-category part models and a plurality of second-category part models; Creating a centerline of a part of the three-dimensional model of the piping system; Creating attributes for the three-dimensional model of the pipe system according to the configuration file; Interconnecting the center lines of the parts by curves; The first type of part model after the curves are interconnected is divided into one-dimensional grids, and the second type of part model is node-merged.

2. The method for meshing a three-dimensional piping model according to claim 1, characterized in that: The first type of part model includes a first pipeline model and a support structure model, and the first pipeline model includes a straight pipe model, a bent pipe model and a reducer model; The second type of part model includes a connector model, a bracket model and a second pipeline model. The connector model includes a flange model and a valve model. The second pipeline model includes a multi-way pipe model.

3. The method for meshing a three-dimensional piping model according to claim 2, characterized in that: Creating the centerline of the parts of the three-dimensional model of the piping system includes the following steps: Acquire the inner surface of the first pipeline model; Extracting an upper ridge line and a lower ridge line from the inner surface of the first pipeline model; Creating a midline between an upper ridgeline and a lower ridgeline of the first pipeline model as a part centerline of the first pipeline model; Obtaining the centroid and characteristic structure curve of the support structure model; The characteristic structure curve of the support structure model is moved to the centroid of the support structure model as the part center line of the support structure model.

4. The method for meshing a three-dimensional piping model according to claim 3, characterized in that: Creating attributes for the three-dimensional model of the pipe system includes the following steps: Acquire material information and structural dimension information of the first pipeline model from the configuration file; Creating a one-dimensional unit attribute of the first pipeline model, and adding material information and structural dimension information of the first pipeline model to the one-dimensional unit attribute of the first pipeline model; Creating a plane passing through the centroid of the support structure model and perpendicular to the centerline of the part of the support structure model as a section reference plane; A cross section of the support structure model and a one-dimensional unit property of the support structure model are created according to the cross section reference plane.

5. The method for meshing a three-dimensional piping model according to claim 2, characterized in that: Creating the centerline of the parts of the three-dimensional model of the piping system includes the following steps: Obtaining a plurality of inner surfaces of the link control model; Extracting characteristic surfaces from a plurality of inner surfaces of the link control model, and creating a first reference axis according to the characteristic surfaces of the link control model; Obtaining a number of closed free edges on the inner surface of the link control model; Projecting the center point of the closed free edge onto the first reference axis to obtain a plurality of center projection points; Selecting a first projection point and a second projection point from the central projection point; A straight line with the first projection point and the second projection point as endpoints is created as a part centerline of the connector model.

6. The method for meshing a three-dimensional piping model according to claim 5, characterized in that: Creating attributes for the three-dimensional model of the pipe system includes the following steps: Obtaining quality information of the control model from the configuration file; Creating nodes and one-dimensional unit properties of the connector model at the midpoint of the centerline of the connector model part; adding the quality information of the link control model to the one-dimensional unit attribute of the link control model; The starting point and the end point of the center line of the part of the connector model are obtained, and are respectively connected to the midpoint of the center line of the part of the connector model to create a rigid connection unit of the connector model.

7. The method for meshing a three-dimensional piping model according to claim 2, characterized in that: Creating the centerline of the parts of the three-dimensional model of the piping system includes the following steps: Acquire the inner surface of the second pipeline model; Dividing the second pipeline model into a plurality of second pipeline sub-models according to the inner curved surface of the second pipeline model; Creating a center line of the inner surface of the second pipeline sub-model; Selecting a main pipe centerline from the centerlines of the plurality of second pipe sub-models; The center lines of the second pipeline sub-model except the center line of the main pipeline are extended to the center line of the main pipeline to obtain the part center line of the second pipeline model.

8. The method for meshing a three-dimensional piping model according to claim 7, characterized in that: Creating attributes for the three-dimensional model of the pipe system includes the following steps: Acquire quality information of the second pipeline model from the configuration file; Creating nodes and one-dimensional unit attributes of the second pipeline model at the midpoint of the centerline of the main pipe; adding the quality information of the second piping model to the one-dimensional unit attributes of the second piping model; A rigid connection unit of the second pipe model is created according to the midpoint of the center line of the main pipe model and the part center line of the second pipe model.

9. The method for meshing a three-dimensional piping model according to claim 2, characterized in that: The support model includes a plurality of support sub-models, and creating the center line of the parts of the three-dimensional model of the piping system includes the following steps: Acquire a stent pipeline model installed on the stent model; Selecting a target stent sub-model from the plurality of stent sub-models; Projecting the centroid of the target stent sub-model onto the centerline of the stent conduit model to obtain a first centroid projection point, and creating a second reference axis based on the first centroid projection point; Projecting the centroid of the support sub-model onto the second reference axis to obtain a plurality of centroid projection points; Selecting a second centroid projection point from the plurality of centroid projection points; A straight line with the first centroid projection point and the second centroid projection point as endpoints is created as a part centerline of the bracket model.

10. The method for meshing a three-dimensional piping model according to claim 9, characterized in that: Creating attributes for the three-dimensional model of the pipe system includes the following steps: Obtaining mass information and elastic body stiffness information of the bracket model from the configuration file; Creating a first elastic unit and a first elastic body property along a first direction according to a center line of the stent-pipe model; Creating a second elastic unit and a second elastic body property along a second direction according to a part centerline of the bracket model; Creating a third elastic unit and a third elastic body property along a third direction according to the first elastic unit and the second elastic unit, wherein the first direction, the second direction and the third direction are mutually perpendicular in pairs based on the right-hand rule; The first elastic body property, the second elastic body property and the third elastic body property are set respectively according to the mass information and the elastic body stiffness information.