Mesh construction method, device, equipment, medium and product for overall structure of pressure vessel

CN122947474APending Publication Date: 2026-10-20BEIJING SIGMA SIMULATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611083638.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-21
Publication Date
2026-10-20

AI Technical Summary

Technical Problem

[0004]本发明提供了一种压力容器整体结构的网格构建方法、装置、设备、介质和产品,以解决现有技术中压力容器整体结构网格构建效率低、自动化程度不足的技术问题

Benefits of technology

第一方面,用户只需执行对部件的选取操作,即可触发后续全部处理流程。具体而言,软件自动完成主体部件与附属部件的识别与分离,自动识别两类交界位置并设定共用边界约束点,依据约束点自动完成面网格划分、逆映射及六面体网格生成。用户无需介入中间环节的几何处理与网格控制,操作门槛降低,且避免了人工操作带来的不确定性和一致性差的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

This invention discloses a method, apparatus, device, medium, and product for constructing a mesh of an overall pressure vessel structure, relating to the field of computer technology. The method includes: generating an overall model containing main components and auxiliary components in response to a user's selection of components; separating the main components and auxiliary components into a main model and an auxiliary model; converting the main model to a two-dimensional plane, identifying two types of boundary positions and setting two types of constraint points respectively; performing surface meshing based on the constraint points and mapping the surface mesh to three-dimensional space using the constraint points as fixed boundary constraints to generate a main hexahedral mesh; meshing the auxiliary model based on the constraint points and the axes of the auxiliary model to generate an auxiliary hexahedral mesh; and splicing the main hexahedral mesh and the auxiliary hexahedral mesh to generate an overall hexahedral mesh. This invention simplifies user operations and improves the efficiency of constructing the overall pressure vessel structure mesh.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, equipment, medium, and product for constructing a grid for an integral structure of a pressure vessel. Background Technology

[0002] Pressure vessels are used to store or process gases or liquids and are subjected to internal or external pressures during service. Stress assessments are necessary to ensure safety. Overall structural analysis can evaluate the overall strength and stability of the equipment under global loads such as wind loads, gravity loads, temperature loads, nozzle loads, and seismic loads, and is a necessary means of equipment safety verification. The prerequisite for conducting overall structural analysis is to establish a complete 3D model of the equipment and construct the corresponding mesh.

[0003] Currently, the common practice is to create an overall model using 3D modeling software, and then import it into finite element software for mesh generation. The mesh size for overall structural analysis is often tens of times larger than that for local analysis. If the mesh size is too small, the computation time is excessively long; if the size is too large, the load state cannot be accurately assessed. Therefore, it is necessary to divide the model into blocks during the preprocessing stage and implement differentiated mesh density control for different regions. All of these operations rely on manual completion in computer-aided engineering software, which is complex, time-consuming, and severely impacts the efficiency of mesh generation for the overall pressure vessel structure. Summary of the Invention

[0004] This invention provides a method, apparatus, equipment, medium, and product for constructing a grid for an integral structure of a pressure vessel, in order to solve the technical problems of low efficiency and insufficient automation in the construction of grids for integral structures of pressure vessels in the prior art.

[0005] According to one aspect of the present invention, a method for constructing a mesh for an integral structure of a pressure vessel is provided, the method comprising: In response to the user's selection of components, an overall structural model of the pressure vessel is generated; wherein the overall structural model includes main components and auxiliary components; Identify the main components and auxiliary components in the overall structural model, and separate the main components into a main component model and the auxiliary components into an auxiliary component model; For the main component model, the three-dimensional geometric surface of the main component model is transformed into a two-dimensional planar region. In the two-dimensional planar region, the first boundary position between different main component models and the second boundary position between the main component model and the auxiliary component model are identified. A first common boundary constraint point is set at the first boundary position, and a second common boundary constraint point is set at the second boundary position. Based on the first shared boundary constraint point and the second shared boundary constraint point, the two-dimensional planar region is divided into quadrilateral surface meshes, and the first shared boundary constraint point and the second shared boundary constraint point are used as fixed boundary constraints to map the divided quadrilateral surface meshes back into three-dimensional space to generate the main body hexahedral mesh corresponding to the main body component model. For the attached component model, based on the three-dimensional spatial coordinates of the second common boundary constraint point and the axis of the attached component model, meshing is performed on the attached component model to generate the attached hexahedral mesh corresponding to the attached component model; The main hexahedral mesh and the auxiliary hexahedral mesh are spliced ​​together to generate the overall structural hexahedral mesh of the pressure vessel.

[0006] According to another aspect of the present invention, a grid construction device for an integral structure of a pressure vessel is provided, the device comprising: The model generation module is used to generate an overall structural model of the pressure vessel in response to the user's selection of components; wherein the overall structural model includes main components and auxiliary components; The component separation module is used to identify the main component and the auxiliary component in the overall structural model, and to separate the main component into a main component model and the auxiliary component into an auxiliary component model; The constraint point setting module is used to convert the three-dimensional geometric surface of the main component model to a two-dimensional planar region for the main component model, identify the first boundary position between different main component models and the second boundary position between the main component model and the auxiliary component model in the two-dimensional planar region, and set a first common boundary constraint point at the first boundary position and a second common boundary constraint point at the second boundary position. The main body hexahedral mesh generation module is used to divide the two-dimensional planar region into quadrilateral surface meshes based on the first common boundary constraint points and the second common boundary constraint points, and to map the divided quadrilateral surface meshes back into three-dimensional space using the first common boundary constraint points and the second common boundary constraint points as fixed boundary constraints, thereby generating the main body hexahedral mesh corresponding to the main body component model. The auxiliary hexahedral mesh generation module is used to perform mesh generation on the auxiliary component model based on the three-dimensional spatial coordinates of the second common boundary constraint points and the axis of the auxiliary component model, thereby generating an auxiliary hexahedral mesh corresponding to the auxiliary component model. The overall structure hexahedral mesh generation module is used to splice the main hexahedral mesh and the auxiliary hexahedral mesh to generate the overall structure hexahedral mesh of the pressure vessel.

[0007] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor to enable the at least one processor to perform the method described in any one of the present invention.

[0008] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the method described in any one of the present invention.

[0009] According to another aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the method of any one of the present invention.

[0010] The beneficial effects of this invention are as follows: Firstly, users only need to select the component to trigger the entire subsequent processing flow. Specifically, the software automatically identifies and separates the main component and auxiliary components, automatically identifies the two types of boundary locations and sets common boundary constraint points, and automatically completes surface mesh generation, inverse mapping, and hexahedral mesh generation based on the constraint points. Users do not need to intervene in the intermediate geometric processing and mesh control, lowering the operational threshold and avoiding the uncertainty and inconsistency problems caused by manual operation.

[0011] Secondly, by replacing manual operations with parameterized processes—automatic component identification and separation, automatic identification of boundary positions, automatic arrangement of constraint points, automatic execution of surface mesh generation and inverse mapping, and automatic generation of the main body hexahedral mesh—the entire mesh construction process is highly automated, thereby shortening the mesh construction time and improving the preprocessing efficiency of the overall structural analysis.

[0012] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0013] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0014] Figure 1A This is a flowchart of a mesh construction method for an overall pressure vessel structure provided in Embodiment 1 of the present invention; Figure 1B This is a schematic diagram of the arrangement of shared boundary constraint points in a two-dimensional planar region according to Embodiment 1 of the present invention; Figure 1C This is a schematic diagram of another arrangement of shared boundary constraint points in a two-dimensional planar region provided in Embodiment 1 of the present invention; Figure 1D This is a schematic diagram of an integral hexahedral mesh provided in Embodiment 1 of the present invention; Figure 2 This is a flowchart of a method for generating an overall structural model according to Embodiment 2 of the present invention; Figure 3A This is a flowchart of a method for generating a hexahedral mesh for a main body, provided in Embodiment 3 of the present invention; Figure 3B This is a schematic diagram of a three-dimensional spatial surface mesh provided in Embodiment 3 of the present invention; Figure 4 This is a flowchart of a method for generating an auxiliary hexahedral mesh according to Embodiment 4 of the present invention; Figure 5 This is a schematic diagram of a grid construction device for an integral pressure vessel structure provided in Embodiment 5 of the present invention; Figure 6 This is a schematic diagram of the structure of an electronic device that implements the mesh construction method for the overall structure of a pressure vessel according to an embodiment of the present invention. Detailed Implementation

[0015] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0016] It should be noted that the terms "first," "second," "third," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0017] Example 1 Figure 1A This is a flowchart illustrating a mesh construction method for an overall pressure vessel structure according to Embodiment 1 of the present invention. This embodiment is applicable to scenarios involving mesh construction of an overall pressure vessel structure. The method can be executed by a mesh construction device for the overall pressure vessel structure, which can be implemented in hardware and / or software, such as by a pressure vessel finite element analysis system. Figure 1A As shown, the method includes: S101. In response to the user's selection of components, generate an overall structural model of the pressure vessel.

[0018] Pressure vessels are sealed devices used to store or process gases or liquids, and must withstand internal or external pressure loads during operation. A typical pressure vessel consists of components such as a shell, end caps, nozzles, and supports, and is widely used in petrochemical, pharmaceutical, military, aerospace, and nuclear industries.

[0019] An overall structural model refers to a complete three-dimensional digital model that includes all components of a pressure vessel. Unlike local analysis models that only model individual openings, nozzles, or support areas, the overall structural model covers the entire geometry of the equipment, reflecting the spatial relationships, connections, and load transfer paths between components. It forms the basis for overall structural strength and stability analysis. The overall structural model includes main components and auxiliary components.

[0020] The main components are the core structural parts that form the overall outline of the pressure vessel. These components constitute the main load-bearing shell of the pressure vessel, and are the primary structures that bear internal pressure and external loads. Auxiliary components are secondary structural parts installed on the main components.

[0021] In one implementation, the user selects the required main components and auxiliary components from a predefined component library via an interactive interface. The software then generates corresponding component model instances based on the selection and automatically establishes the assembly relationships between the components, forming a complete overall structural model of the pressure vessel. Specifically, the user first selects a main component, and the software generates a sub-model corresponding to that main component. Subsequently, the user selects a preset connection surface on the generated sub-model and selects other main components or auxiliary components to be added. The software automatically splices the components to be added with the existing sub-model through the connection surface—that is, by aligning the center point of the matching end face of the component to be added to the center point of the connection surface, and coinciding the normal vector of the matching end face with the normal vector of the connection surface, precise splicing between components is achieved. The user can also adjust the geometric dimensions, spatial position, orientation, and other parameters of each component, ultimately forming a complete overall structural model of the pressure vessel.

[0022] S102. Identify the main components and auxiliary components in the overall structural model, and separate the main components into main component models and the auxiliary components into auxiliary component models.

[0023] The main component model refers to an independent digital model separated from the overall structural model, composed of the geometric data and topological information corresponding to the main component. The main component is the core structure constituting the main load-bearing shell of the pressure vessel, and its model retains the complete geometry, surface parameters, and boundary information of the component.

[0024] An auxiliary component model refers to an independent digital model separated from the overall structural model, consisting of the geometric data and topological information corresponding to the auxiliary components. An auxiliary component is a secondary structure set on the main component; its model retains the component's geometric dimensions, spatial location, and boundary information with the main component.

[0025] In one implementation, each component in the overall structural model is assigned a component type identifier during generation, which distinguishes whether the component is a main component or an auxiliary component. The software reads the component list of the overall structural model, iterates through each component, and determines whether the component belongs to a main component or an auxiliary component based on its component type identifier. The determination result is used as the basis for data splitting: component data belonging to main components is split to the main component set, and component data belonging to auxiliary components is split to the auxiliary component set. After the above data splitting is completed, the component data that was originally concentrated in the overall structural model has been divided into two independent sets, thereby achieving the separation of main components and auxiliary components at the data structure level. Subsequently, the software constructs independent main component models and auxiliary component models based on the data in the main component set and auxiliary component set, respectively. Each model is an independent data object containing the complete geometric shape, boundary surface parameters, and spatial position information of the corresponding component, which are called and processed by subsequent steps.

[0026] S103. For the main component model, the three-dimensional geometric surface of the main component model is transformed into a two-dimensional planar region. In the two-dimensional planar region, the first boundary position between different main component models and the second boundary position between the main component model and the auxiliary component model are identified. A first common boundary constraint point is set at the first boundary position, and a second common boundary constraint point is set at the second boundary position.

[0027] In this context, the three-dimensional geometric surface refers to the outer and inner surface geometry of the main component model in three-dimensional space. For the main component of a pressure vessel, its three-dimensional geometric surface is curved, serving as the foundational geometric object for subsequent mesh generation. The two-dimensional planar region refers to the planar geometric region obtained by unfolding the three-dimensional geometric surface of the main component model through coordinate transformation.

[0028] The first boundary position refers to the connection point between different main component models. For example, the contact point between the cylinder end face and the head end face, or the contact point between the cylinder end face and the cone section end face. The second boundary position refers to the connection point between the main component model and the auxiliary component model. For example, the intersection line where the nozzle root intersects with the outer wall of the cylinder.

[0029] The first shared boundary constraint point refers to the boundary node set at the first boundary location. Its function is to ensure that the coordinates of the mesh nodes at the boundary can coincide after different main components are independently meshed, thereby achieving mesh continuity. The second shared boundary constraint point refers to the boundary node set at the second boundary location. Its function is to ensure that the meshes of the main components and the meshes of the auxiliary components can achieve node alignment and continuous splicing at the boundary.

[0030] In one implementation, the software first uses a Laplace transform to unfold the three-dimensional geometric surface of the main component model into a two-dimensional planar region.

[0031] In the two-dimensional planar region, the software identifies components based on the topological adjacency relationships established during assembly of the main component models and auxiliary component models. Since the components have established clear assembly relationships through connecting surfaces during the assembly stage, these relationships are retained after unfolding into a two-dimensional planar region—components that were adjacent in three-dimensional space still share the same boundary in the two-dimensional planar region. By traversing the boundary information of each component model in the two-dimensional planar region, the software identifies the shared boundaries between different main component models, which are the first boundary positions; and the shared boundaries between the main component model and the auxiliary component model, which are the second boundary positions.

[0032] After identifying the first and second boundary locations, the software places multiple first shared boundary constraint points at the first boundary location and multiple second shared boundary constraint points at the second boundary location. Once placed, these shared boundary constraint points are set as the boundary constraints for subsequent quadrilateral mesh generation.

[0033] Figure 1B This is a schematic diagram of the arrangement of shared boundary constraint points in a two-dimensional planar region according to Embodiment 1 of the present invention, as shown below. Figure 1B As shown, taking the main component as an example, the three-dimensional geometric surface of the main component model is transformed into a two-dimensional planar region 100, and 101 is the corresponding spatial region left in the two-dimensional planar region after the auxiliary component model is independently extracted. In the two-dimensional planar region 100, a first common boundary constraint point 102 is arranged at the first boundary position between different main component models, and a second common boundary constraint point 103 is arranged at the second boundary position between the main component model and the auxiliary component model. It should be noted that... Figure 1B The number of first and second shared boundary constraint points shown in the illustration is for illustrative purposes only and does not constitute a limitation on the number of constraint points.

[0034] Figure 1C This is a schematic diagram of another arrangement of shared boundary constraint points in a two-dimensional planar region provided in Embodiment 1 of the present invention, as shown below. Figure 1C As shown, taking the main component as a cylinder as an example, the three-dimensional geometric surface of the main component model is transformed into a two-dimensional planar region 104, and 105 is the corresponding spatial region left in the two-dimensional planar region after the auxiliary component model is independently extracted. In the two-dimensional planar region 104, the boundary between different main component models forms a first boundary position, and the boundary between the main component model and the auxiliary component model forms a second boundary position; a first common boundary constraint point 106 is arranged at the first boundary position, and a second common boundary constraint point 107 is arranged at the second boundary position. It should be noted that... Figure 1C The number of first shared boundary constraint points 106 and second shared boundary constraint points 107 shown in the illustration is merely an example and does not constitute a limitation on the number of constraint points.

[0035] S104. Based on the first common boundary constraint point and the second common boundary constraint point, the two-dimensional planar region is divided into quadrilateral surface meshes. Using the first common boundary constraint point and the second common boundary constraint point as fixed boundary constraints, the obtained quadrilateral surface meshes are mapped back to three-dimensional space to generate the main body hexahedral mesh corresponding to the main component model.

[0036] Quadrilateral mesh generation refers to the process of discretizing a target geometric region into several quadrilateral units on a two-dimensional plane.

[0037] Fixed boundary constraints refer to the practice of using the three-dimensional spatial coordinates of pre-arranged common boundary constraint points as known and immutable boundary conditions in the mapping calculation when mapping a two-dimensional surface mesh back to three-dimensional space. This ensures that the mesh nodes of different components at the interface can be mapped to the same three-dimensional spatial coordinate position.

[0038] A quadrilateral surface mesh is a two-dimensional mesh composed of quadrilateral elements. The two-dimensional coordinates of each node record the position information of the mesh on the plane, and the connection relationship between the nodes defines the topology of the quadrilateral elements.

[0039] The main body hexahedral mesh refers to a three-dimensional solid mesh composed of hexahedral elements, corresponding to the mesh representation of the main component model.

[0040] In one implementation, the software uses pre-defined first and second shared boundary constraint points as boundary constraints to perform quadrilateral surface mesh generation on a two-dimensional planar region. Specifically, the software sets the first and second shared boundary constraint points as boundary nodes for surface mesh generation, aligning the boundaries of the generated quadrilateral surface mesh with the positions of the shared boundary constraint points.

[0041] After the quadrilateral surface mesh is generated, the software obtains the two-dimensional coordinates of each node in the surface mesh. Then, using the three-dimensional spatial coordinates of the first and second common boundary constraint points as fixed boundary constraints, the software maps the two-dimensional coordinates of each node to three-dimensional space through inverse Laplace transform to obtain the three-dimensional spatial coordinates of each node.

[0042] After obtaining the three-dimensional spatial coordinates of each node, the software constructs the main body hexahedral mesh corresponding to the main component model in three-dimensional space based on the node coordinates.

[0043] S105. For the auxiliary component model, based on the three-dimensional spatial coordinates of the second common boundary constraint points and the axis of the auxiliary component model, perform mesh generation on the auxiliary component model to generate the corresponding auxiliary hexahedral mesh.

[0044] In this context, the axis of the auxiliary component model refers to the central axis of the auxiliary component. Since the nozzle is a body of revolution, its geometry is rotationally symmetrical about its central axis. The direction of the axis determines the spatial orientation of the nozzle and serves as the geometric reference for determining the position of the nozzle profile and for subsequent rotational sweeping to generate the 3D mesh.

[0045] Mesh generation refers to the process of discretizing a geometric model into mesh elements. In this embodiment of the invention, for the mesh generation of the auxiliary component model, its rotational properties are utilized. First, a two-dimensional quadrilateral mesh is generated by taking the pipe section, then the two-dimensional mesh is mapped to three-dimensional space and rotated and swept around the axis, finally generating a three-dimensional hexahedral mesh.

[0046] The attached hexahedral mesh refers to a three-dimensional solid mesh composed of hexahedral elements, corresponding to the mesh representation of the attached component model.

[0047] In one implementation, the software determines the meshing datum of the auxiliary component model based on the three-dimensional spatial coordinates of the second common boundary constraint point and the axis of the auxiliary component model. The three-dimensional spatial coordinates of the second common boundary constraint point are located at the boundary between the auxiliary component model and the main component model, and are used to determine the positional datum for meshing; the axis of the auxiliary component model is used to determine the orientation datum for meshing. The software combines these two factors: the three-dimensional spatial coordinates of the second common boundary constraint point determine the boundary node position of the mesh at the boundary, and the axis direction of the auxiliary component model determines the extension direction of the mesh, thereby establishing the meshing basis of the auxiliary component model in three-dimensional space.

[0048] After determining the aforementioned meshing datum, the software performs mesh generation on the auxiliary component model based on this datum. Specifically, the software determines the spatial meshing range and direction of the auxiliary component model according to the meshing datum, generates mesh nodes for the auxiliary component model within this spatial range, and constructs hexahedral elements based on the mesh nodes to generate the corresponding auxiliary hexahedral mesh for the auxiliary component model. Throughout the meshing process, the boundary nodes of the auxiliary hexahedral mesh at the intersection maintain consistent 3D spatial coordinates with the second common boundary constraint points.

[0049] S106. The main hexahedral mesh and the auxiliary hexahedral mesh are spliced ​​together to generate the overall structural hexahedral mesh of the pressure vessel.

[0050] The overall structural hexahedral mesh refers to a three-dimensional solid mesh composed of hexahedral elements that completely covers all components of the overall structural model of the pressure vessel. This mesh is composed of the main hexahedral mesh and the subordinate hexahedral meshes, and includes all the components of the pressure vessel and their connections. It is a finite element mesh model with continuous nodes and a complete topology, which can be directly used for subsequent application of global loads and calculations to verify the overall strength and stability.

[0051] In one implementation, the software stitches the generated main hexahedral mesh with the auxiliary hexahedral mesh. Since the main hexahedral mesh has reserved boundary nodes at the junction of the main component model and the auxiliary component model that are consistent with the root boundary nodes of the auxiliary hexahedral mesh, the software aggregates the node data and cell connection relationships of the main hexahedral mesh and the auxiliary hexahedral mesh during stitching, so that the boundary nodes of the two coincide at the junction.

[0052] For duplicate nodes with identical coordinates at the boundary, the software performs a merging process: it identifies node pairs with identical coordinates between the main hexahedral mesh and the subordinate hexahedral mesh at the boundary, retains the number of one node in each pair, discards the number of the other node, and replaces the nodes with the retained node numbers in all element connection relationships. After this merging process, the main hexahedral mesh and the subordinate hexahedral mesh are topologically connected at the boundary through the same set of nodes, forming a continuous and complete mesh, generating the overall structural hexahedral mesh of the pressure vessel. This mesh can be directly used for subsequent finite element analysis.

[0053] Figure 1D This is a schematic diagram of an integral hexahedral mesh provided in Embodiment 1 of the present invention, as shown below. Figure 1D As shown, the main hexahedral mesh and the auxiliary hexahedral mesh are spliced ​​together to form the overall hexahedral mesh structure of the pressure vessel. The beneficial effects of this invention are as follows: Firstly, users only need to select the component to trigger the entire subsequent processing flow. Specifically, the software automatically identifies and separates the main component and auxiliary components, automatically identifies the two types of boundary locations and sets common boundary constraint points, and automatically completes surface mesh generation, inverse mapping, and hexahedral mesh generation based on the constraint points. Users do not need to intervene in the intermediate geometric processing and mesh control, lowering the operational threshold and avoiding the uncertainty and inconsistency problems caused by manual operation.

[0054] Secondly, by replacing manual operations with parameterized processes—automatic component identification and separation, automatic identification of boundary positions, automatic arrangement of constraint points, automatic execution of surface mesh generation and inverse mapping, and automatic generation of the main body hexahedral mesh—the entire mesh construction process is highly automated, thereby shortening the mesh construction time and improving the preprocessing efficiency of the overall structural analysis.

[0055] Optionally, the main components include at least one of a cylinder, a head, and a conical section; the auxiliary components include a nozzle.

[0056] The shell of a pressure vessel is typically a cylindrical component and is one of the core components forming the main load-bearing cavity. It bears the internal pressure and external loads, connecting with components such as the head and conical section to form the main outline of the pressure vessel. In the overall structural mesh construction, the shell, as a main component, has its three-dimensional geometric surface unfolded into a two-dimensional planar region, meshed into quadrilateral surfaces, and then mapped back into three-dimensional space to generate a hexahedral mesh.

[0057] A head is a sealing component located at the end of a pressure vessel's shell, typically with an ellipsoidal, spherical, or dish-shaped curved surface. The head connects to the shell's end face, together forming a sealed pressure-bearing space. As a critical pressure-bearing component of a pressure vessel, the head's complex curved geometry makes it a key structural area requiring attention in stress analysis. In the overall structural mesh construction, the head, as a main component, belongs to the same main component type as the shell and conical section.

[0058] A conical section is a transitional structure in a pressure vessel used to connect cylinders of different diameters; it is shaped like a truncated cone. The two ends of the conical section connect to cylinders of different diameters, achieving a gradual transition in diameter. As a main component, the conical section's geometry lies between the cylinder and the head; it represents a structural discontinuity and requires attention in the overall structural analysis.

[0059] A nozzle is a pipe structure installed on the main component of a pressure vessel, used to allow the medium to enter or exit or connect to external pipelines. The root of the nozzle intersects the wall of the main component, forming a penetration line. This area is a critical stress concentration point and requires close attention and localized mesh refinement in the overall structural analysis. In the overall structural mesh construction, the nozzle, as an auxiliary component, is independently separated into an auxiliary component model and undergoes independent mesh refinement.

[0060] Optionally, a first shared boundary constraint point is set at the first boundary position, and a second shared boundary constraint point is set at the second boundary position, including: At least two first common boundary constraint points are arranged at the first boundary position with a preset discrete spacing, and at least two second common boundary constraint points are arranged at the second boundary position with a preset discrete spacing.

[0061] The preset discrete spacing refers to the fixed interval between two adjacent constraint points when arranging shared boundary constraint points. The value of this spacing determines the density of boundary nodes at the intersection, which in turn affects the accuracy of subsequent mesh generation and the overall computational efficiency—the smaller the spacing, the denser the constraint points, the finer the mesh generation, and the greater the computational load; the larger the spacing, the sparser the constraint points, the coarser the mesh generation, and the less computational load.

[0062] In one implementation, the software reads a preset mesh size parameter and determines the discrete spacing between adjacent shared boundary constraint points based on this parameter. At the first boundary location, the software sequentially arranges multiple first shared boundary constraint points at intervals of this discrete spacing along the extension direction of the boundary line; similarly, at the second boundary location, the software sequentially arranges multiple second shared boundary constraint points at intervals of this discrete spacing along the extension direction of the boundary line. At least two constraint points are arranged at each boundary location to ensure that both ends of the boundary line are covered by constraint points. After the arrangement is completed, the position information of all shared boundary constraint points is recorded and used as the boundary constraint conditions for subsequent quadrilateral surface mesh generation.

[0063] By employing the above method, shared boundary constraint points are pre-arranged at preset discrete intervals at the boundaries between main components and between the main component and auxiliary components, thus fixing the boundary node positions of different components at the interface in advance. Since the constraint points at the first and second boundary locations are arranged independently, the constraint point density at these two types of boundary locations can be controlled separately according to the mesh accuracy requirements of their respective locations, avoiding the problems of insufficient local accuracy or excessive global computation that may result from a uniform constraint point arrangement. Simultaneously, the existence of preset discrete intervals makes the distribution of constraint points regular and controllable, avoiding uneven spacing or inappropriate density that may occur with manual arrangement. This ensures that the node distribution at the boundaries in subsequent surface mesh generation matches the preset mesh size requirements, guaranteeing a coordinated transition between boundary nodes and internal nodes.

[0064] Example 2 Figure 2 This is a flowchart of an overall structural model generation method provided in Embodiment 2 of the present invention. It further optimizes and expands the "generating an overall structural model of a pressure vessel in response to a user's selection of components" step in the above technical solution, and can be combined with the various optional implementation methods described above. For example... Figure 2 As shown, the method includes: S201. In response to the user's operation of selecting any main component, generate the first sub-model corresponding to that main component.

[0065] The first sub-model refers to the independent model object generated by the software corresponding to any main component selected by the user. The first sub-model is the starting point for subsequently assembling other components through connecting surfaces, and it is also the first component in the overall structural model construction process.

[0066] In one implementation, the user selects any main component from a predefined component library via an interactive interface. In response to this selection, the software obtains a predefined parametric template corresponding to the main component, including information such as geometric dimensions, spatial location, preset connection surfaces, and component type identifiers. Based on this template, the software generates an independent model object corresponding to the main component in the background, i.e., the first sub-model. This first sub-model serves as the initial component of the overall structural model and can be connected to other components via its preset connection surfaces in subsequent steps, gradually expanding to form a complete overall structural model.

[0067] S202. In response to the user's selection operation on the connection surface of the first sub-model and in response to the user's selection operation on other main components, the second sub-model corresponding to the other main components is spliced ​​with the first sub-model through the connection surface.

[0068] In this context, the connection surface refers to the pre-defined splicing interface on the component model, used to connect different components. Each main component carries a pre-defined connection surface during generation, which records its position and orientation information in space. When a user selects a connection surface of a component and chooses a component to be added, the component to be added is spliced ​​with the existing component through that connection surface, thus expanding the model.

[0069] Other main components refer to main components that are different from the main components selected by the user initially. For example, if the user initially selects the cylinder to generate the first sub-model, then the main components other than the cylinder, such as the end cap and the cone section, are all "other main components".

[0070] The second sub-model refers to the sub-model corresponding to other main components. Corresponding to the first sub-model, the second sub-model is an independent model object generated by adding other main components through connecting surfaces on top of the first sub-model. The second sub-model and the first sub-model, after being connected through connecting surfaces, together form part of the overall structural model.

[0071] In one implementation, the user selects a connection surface of the first sub-model via an interactive interface as the target location for splicing; subsequently, the user selects other main components from the component library. In response to this selection, the software obtains the position and orientation information of the selected connection surface on the first sub-model, and simultaneously obtains a predefined parametric template corresponding to the selected other main components, generating a second sub-model based on this template. The software aligns the matching end face of the second sub-model with the connection surface of the first sub-model, thus splicing the second sub-model with the first sub-model through the connection surface. After splicing, the second sub-model becomes part of the overall structural model and can continue to serve as the basis for subsequent splicing.

[0072] Optionally, in response to the user's selection of the connection surface of the first sub-model and in response to the user's selection of other main components, the second sub-models corresponding to the other main components are spliced ​​with the first sub-model through the connection surface, including: In response to the user's selection of the connection surface of the first sub-model, the center point coordinates and normal vector of the connection surface are obtained; in response to the user's selection of other main components, the matching end face of the second sub-model corresponding to the other main components is obtained; the center point of the matching end face of the second sub-model is aligned with the center point of the connection surface, and the normal vector of the matching end face coincides with the normal vector of the connection surface, so that the second sub-model is spliced ​​with the first sub-model through the connection surface.

[0073] Here, the center point coordinates refer to the coordinate values ​​of the geometric center of the connecting surface or mating end face in three-dimensional space. The center point coordinates of the connecting surface are used to determine the target position for splicing, while the center point coordinates of the mating end face are used to determine the position of the components to be spliced. Aligning the two center point coordinates allows the two components to fit precisely at the splicing position.

[0074] A normal vector is a direction vector perpendicular to the connecting surface or mating end face, used to determine the orientation of components during assembly. The normal vector of the connecting surface defines the orientation of the splicing interface, while the normal vector of the mating end face defines the orientation of the end face of the component to be spliced. When the two normal vectors are aligned, the component to be spliced ​​will be correctly oriented when joined to the existing component.

[0075] A mating end face refers to the end face on the component to be spliced ​​that mates with the connecting surface of an existing component. The mating end face and the connecting surface are geometrically complementary—both have the same size and shape. Precise splicing of the two components can be achieved by aligning the center point coordinates of the mating end face with the center point coordinates of the connecting surface, and by coinciding the normal vector of the mating end face with the normal vector of the connecting surface.

[0076] In one implementation, the user selects a connection surface of the first sub-model via an interactive interface. In response to this selection, the software acquires the center point coordinates and normal vector of the connection surface. Subsequently, the user selects other main components from a component library. In response to this selection, the software acquires a predefined parametric template of the selected component and generates a second sub-model based on the template. Simultaneously with generating the second sub-model, the software aligns the center point coordinates of the matching end face of the second sub-model to the acquired center point coordinates of the connection surface, and rotates the normal vector of the matching end face to match the normal vector of the connection surface, ensuring precise splicing of the second sub-model with the first sub-model via the connection surface.

[0077] Using the above method, the splicing of components is precisely mathematically aligned based on the center point coordinates and normal vectors of the connecting surfaces, eliminating the need for manual adjustments to position or orientation by the user, thus ensuring the accuracy and consistency of the splicing. Furthermore, since each step of the splicing process is completed automatically by the software, the user only needs to select the connecting surfaces and the components to be added, without needing to understand or handle any geometric alignment-related operations, further reducing the operational threshold and the probability of errors. In addition, the alignment method based on center point coordinates and normal vectors ensures that the position and orientation of the spliced ​​sub-model in space are completely consistent with the preset geometric information of the connecting surfaces, providing an accurate model data foundation for subsequent steps.

[0078] S203. In response to the user's selection operation on the connection surface of the first sub-model and in response to the user's selection operation on the auxiliary component, the third sub-model corresponding to the auxiliary component is spliced ​​with the first sub-model through the connection surface.

[0079] The third sub-model refers to the sub-model corresponding to the auxiliary components. Corresponding to the first and second sub-models, the third sub-model is an independent model object generated by adding auxiliary components through connecting surfaces on top of existing sub-models. After being connected to the first sub-model via connecting surfaces, the third sub-model becomes part of the overall structural model.

[0080] In one implementation, the user selects the connection surface of the first sub-model via an interactive interface as the target location for splicing; subsequently, the user selects an auxiliary component from the component library. In response to this selection operation, the software obtains the position and orientation information of the selected connection surface on the first sub-model, and simultaneously obtains a predefined parametric template corresponding to the selected auxiliary component, generating a third sub-model based on this template. The software aligns the matching end face of the third sub-model with the connection surface of the first sub-model, thus splicing the third sub-model with the first sub-model through the connection surface. After splicing, the third sub-model becomes part of the overall structural model and can continue to serve as the basis for subsequent splicing.

[0081] S204. In response to the user's parameter adjustment operation on the first sub-model, the second sub-model, or the third sub-model, update the geometric dimensions and / or positioning information of the corresponding sub-model to form an overall structural model.

[0082] Among them, parameter adjustment operation refers to the operation by which the user modifies the geometric dimensions and / or spatial positioning information of the generated sub-model.

[0083] Geometric dimensions refer to the parameters that determine the shape and size of a component. For a cylinder, geometric dimensions include diameter, wall thickness, and length; for a head, they include diameter, wall thickness, and depth; and for a nozzle, they include inner diameter, wall thickness, and outward extension. By adjusting these parameters, users can change the specific dimensions of the component to adapt to different pressure vessel design requirements.

[0084] Positioning information refers to the parameters that determine the spatial position and orientation of a component within the overall structural model. For main components, positioning information includes their coordinate position and orientation angle in three-dimensional space; for auxiliary components, positioning information includes their position relative to the main component (such as azimuth, eccentricity, etc.) and spatial orientation. Users can change the specific position and orientation of a component in the model by adjusting the positioning information.

[0085] In one implementation, the user adjusts the parameters of the generated first, second, or third sub-model via an interactive interface. In response, the software acquires the adjusted parameter values ​​(including geometric dimensions and / or positioning information parameters) input by the user and updates the geometric dimensions and / or spatial position of the corresponding sub-model based on these values. Specifically, if the user adjusts geometric dimensions (such as cylinder diameter, wall thickness, nozzle extension length, etc.), the software regenerates the geometry of the sub-model based on the new dimensions; if the user adjusts positioning information parameters (such as nozzle azimuth angle, eccentricity, etc.), the software recalculates the spatial position and orientation of the sub-model within the overall structural model based on the new positioning parameters and updates its assembly relationship with adjacent sub-models accordingly. After the update, all sub-models together constitute a complete overall pressure vessel structural model.

[0086] Using the above method, users only need to perform a selection operation to generate the corresponding sub-model. The entire modeling process is completed step-by-step through splicing, eliminating the need to manually create or import geometric models into 3D modeling software. This simplifies the modeling process and reduces the operational threshold and time consumption. Simultaneously, the splicing process automatically aligns and positions components based on preset connection surfaces, avoiding positional deviations or angular errors that may be introduced by manual assembly, ensuring the accuracy and consistency of the model construction. Furthermore, each component is defined parametrically, allowing users to quickly modify the geometric dimensions and spatial positions of components by adjusting parameters, without needing to remodel or manually adjust the model. This makes model modification efficient and flexible, providing a convenient technical means for the iterative optimization of pressure vessel design schemes.

[0087] Example 3 Figure 3A This is a flowchart of a method for generating a hexahedral mesh for a main body according to Embodiment 3 of the present invention. It further optimizes and extends the above-mentioned technical solution's step of "using the first and second common boundary constraint points as fixed boundary constraints, mapping the obtained quadrilateral surface mesh back to three-dimensional space, and generating the hexahedral mesh corresponding to the main body component model," and can be combined with the various optional implementation methods described above. For example... Figure 3A As shown, the method includes: S301. Obtain the two-dimensional coordinates of each node corresponding to the quadrilateral mesh in the two-dimensional planar region, as well as the connection relationship between each node.

[0088] In this context, a node refers to the corner point of a quadrilateral cell in a quadrilateral mesh, and is one of the basic elements that constitute the mesh. Each node has a unique two-dimensional coordinate value in a two-dimensional planar region, used to define the geometry of the mesh. Nodes are connected to each other to form quadrilateral cells, and multiple quadrilateral cells together form a complete quadrilateral mesh.

[0089] Connection relationships refer to the topological definition of how nodes form quadrilateral cells. Connection relationships record which nodes are connected to each quadrilateral cell in what order, usually represented as a list of node numbers (e.g., cell 1 is connected by nodes 1, 2, 3, and 4 in a clockwise or counter-clockwise order). Connection relationships determine the topological structure of the mesh, that is, how the cells in the mesh are organized.

[0090] In one implementation, after the quadrilateral mesh is generated, the software extracts two types of information from the mesh data structure: first, the two-dimensional coordinates of each node, i.e., the position of each node in the two-dimensional planar region; and second, the connection relationships between the nodes, i.e., which nodes are connected to each quadrilateral cell in what order. The node coordinates are used for subsequent coordinate mapping calculations, and the connection relationships are used to reconstruct the mesh topology after coordinate mapping. The software stores the extracted node coordinates and connection relationships separately for use in subsequent steps.

[0091] S302. Using the three-dimensional spatial coordinates of the first common boundary constraint point and the second common boundary constraint point as fixed boundary constraints, the two-dimensional coordinates of each node are mapped to the three-dimensional space through the inverse Laplace transform to obtain the three-dimensional spatial coordinates of each node.

[0092] In one implementation, after the quadrilateral surface mesh is generated and the node coordinates are extracted, the software uses the 3D spatial coordinates of the first and second shared boundary constraint points as fixed boundary constraints and performs an inverse Laplace transform. The software takes the 2D coordinates of each node in the quadrilateral surface mesh in the 2D planar region as input, and the 3D spatial coordinates of each shared boundary constraint point as known and immutable boundary conditions. It then calculates the 3D spatial coordinates of all nodes in the 2D planar region through the inverse Laplace transform. During the inverse transform calculation, shared boundary constraint points located at the boundary positions are forcibly mapped to their predetermined 3D spatial coordinate positions and cannot be offset; the 3D coordinates of internal nodes are calculated through the smoothness constraints of the inverse Laplace transform, provided the boundary conditions are fixed. After the inverse transform is completed, all nodes of the quadrilateral surface mesh in the 2D planar region obtain their corresponding 3D spatial coordinates, and the 2D surface mesh is mapped as a whole into 3D space, forming a 3D spatial surface mesh.

[0093] Figure 3B This is a schematic diagram of a three-dimensional spatial surface mesh provided in Embodiment 3 of the present invention, as shown below. Figure 3B As shown, 300 is the three-dimensional spatial surface mesh obtained by mapping the main component "head" after inverse Laplace transform, and 301 is the three-dimensional spatial surface mesh obtained by mapping the main component "cylinder" after inverse Laplace transform.

[0094] S303. Based on the three-dimensional spatial coordinates and connection relationships of each node, generate the main body hexahedral mesh corresponding to the main component model.

[0095] In one implementation, after the inverse mapping is completed, the software obtains the three-dimensional spatial coordinates of all nodes of the quadrilateral surface mesh in the two-dimensional planar region, while preserving the connection relationships between the nodes. The software combines the three-dimensional spatial coordinates of each node with the original connection relationships—that is, keeping the topology of the quadrilateral surface mesh unchanged, only replacing the position of each node from the two-dimensional plane with the corresponding three-dimensional spatial coordinates, and reconstructing the geometry of the mesh in three-dimensional space to form the three-dimensional surface mesh corresponding to the main component model. After obtaining the three-dimensional surface mesh, the software converts the surface mesh into a three-dimensional solid mesh. Specifically, based on the wall thickness information of the main component model, the software expands the three-dimensional surface mesh along the wall thickness direction into a solid mesh with volume, generating the main body hexahedral mesh corresponding to the main component model.

[0096] By setting the 3D spatial coordinates of the first and second shared boundary constraint points as fixed boundary constraints and performing an inverse Laplace transform, nodes located at the boundary are forcibly mapped to their predetermined 3D spatial coordinate positions after the inverse transform. Different components use the same set of constraint points at the boundary, ensuring that the 3D spatial coordinates of the boundary nodes naturally coincide after their independent inverse transforms. No additional geometric registration or forced alignment is required after the inverse transform, allowing for mesh topological continuity through subsequent node merging, thus fundamentally guaranteeing the continuity and consistency of the overall structural mesh. Simultaneously, the connectivity remains unchanged before and after the inverse mapping, making the mapped 3D mesh topologically completely equivalent to the unmapped 2D mesh. This avoids mesh distortion or element deformation problems that might be introduced by regenerating the topology, ensuring high quality of the generated hexahedral mesh.

[0097] Optionally, based on the three-dimensional spatial coordinates and connection relationships of each node, a main body hexahedral mesh corresponding to the main component model is generated, including: S3031. Based on the three-dimensional spatial coordinates of each node, determine the wall thickness direction and wall thickness value of the main component model, and determine the number of offsets and the single offset distance based on the wall thickness value.

[0098] In this context, the wall thickness direction refers to the direction perpendicular to the surface of the 3D spatial mesh of the main component model and pointing towards the extension of the wall thickness; that is, the surface normal direction at each node of the 3D surface mesh. For the main component of the pressure vessel, the wall thickness direction is the perpendicular direction from the inner surface to the outer surface at each node, which is the offset direction for subsequently expanding the surface mesh into a volume mesh.

[0099] The wall thickness value refers to the wall thickness dimension of the main component model, that is, the thickness in the wall thickness direction, and is the basis for determining the total offset distance. The number of offsets refers to the number of times the 3D spatial surface mesh is successively offset along the wall thickness direction. Each offset generates a new node layer, and the number of offsets determines the final number of mesh layers in the wall thickness direction. The single offset distance refers to the distance each node moves along the wall thickness direction during each offset, obtained by dividing the wall thickness value by the number of offsets.

[0100] In one implementation, the software obtains wall thickness information, including the wall thickness direction and value, based on the geometric and design parameters of the main component model. The wall thickness direction is determined by the surface normal at each node of the three-dimensional spatial mesh. For components with different geometric shapes, such as cylinders, heads, and conical sections, the normal direction at each node is calculated from the surface equation at the location of that node. The wall thickness value is obtained from the design parameters input by the user. The software determines the number of offsets based on the preset wall thickness direction mesh layer requirements, ensuring that the wall thickness direction has at least the preset number of mesh elements, and calculates the single offset distance based on the wall thickness value and the number of offsets. Based on this, the software performs an expansion operation from the surface mesh to the volume mesh, providing the positions of each layer of nodes for the subsequent generation of hexahedral elements.

[0101] S3032. According to the number of offsets and the single offset distance, the nodes of the quadrilateral surface mesh are successively offset along the wall thickness direction to generate a node layer.

[0102] Successive offset refers to offsetting each node of a 3D spatial mesh step by step along the wall thickness direction according to a determined number of offsets. Each offset generates a new node layer, and the node layers are arranged sequentially in space. For example, when the number of offsets is n, the original node layer is first offset along the wall thickness direction to generate the first node layer; then, based on this layer, it is offset again along the wall thickness direction to generate the second node layer; this process is repeated until n offsets are completed, generating a total of n new node layers.

[0103] In one implementation, the software, based on a determined number of offsets and a single offset distance, starts from the original node layer of the 3D spatial surface mesh and gradually offsets along the wall thickness direction from the inside out. Each offset generates a new node layer with the same number of nodes as the original node layer, and each node is aligned with its corresponding node in the original node layer along the wall thickness direction. After the first offset, the software performs a second offset based on the newly generated node layer, repeating this process until all offsets are completed, generating multiple node layers corresponding to the specified number of offsets.

[0104] S3033. Determine the quadrilateral elements in the quadrilateral surface mesh according to the connection relationship, and connect the corresponding nodes of the same quadrilateral element in adjacent node layers to generate hexahedral elements, forming the main body hexahedral mesh corresponding to the main component model.

[0105] Quadrilateral elements are the basic units that make up a quadrilateral surface mesh. They are defined by four nodes and the connections between them, and are one of the most basic two-dimensional element types in finite element meshes. Each quadrilateral element in a quadrilateral surface mesh is enclosed by four nodes, and its shape is determined by the spatial positions of the four nodes.

[0106] A hexahedral element is a basic three-dimensional element that makes up a hexahedral mesh. It is a solid element consisting of eight nodes and six quadrilateral faces and is one of the most commonly used three-dimensional solid element types in finite element analysis.

[0107] In one implementation, after successive offsets, the software generates multiple node layers. Each layer has the same number of nodes, and their spatial positions are arranged sequentially along the wall thickness direction. The positions of corresponding nodes between layers are aligned along the wall thickness direction. Based on the connection relationships stored in the quadrilateral mesh, the software determines which four nodes constitute each quadrilateral unit. For two adjacent node layers, the four nodes belonging to the same quadrilateral unit have a corresponding set of nodes in each layer. The software connects these eight nodes according to a hexahedral topology, establishing edge and surface connections between the nodes in the two layers, so that corresponding quadrilateral units in the two layers form a hexahedral unit. The software sequentially performs the above operation on each pair of adjacent node layers, connecting each layer to the quadrilateral units of the layer above, generating multiple hexahedral units. All hexahedral units together constitute the main hexahedral mesh corresponding to the main component model.

[0108] Through the above method, the wall thickness direction is precisely matched with the actual geometry of the main component model, avoiding mesh distortion or interlayer misalignment caused by inconsistency between the wall thickness direction and the surface normal. The number of offsets and the distance of each offset are determined based on the wall thickness value, ensuring that the layering in the wall thickness direction precisely corresponds to the actual wall thickness of the component. Furthermore, the number of mesh layers in the wall thickness direction can be flexibly adjusted according to the required analysis accuracy, balancing computational accuracy with computational efficiency. During each offset process, the nodes of each layer are aligned in the wall thickness direction, and interlayer connections are automatically completed based on connection relationships, eliminating the need to regenerate connection relationships between each layer, thus ensuring the consistency and accuracy of interlayer connections. The resulting hexahedral mesh has a regular wall thickness direction hierarchy and high element quality, which is beneficial for improving the computational accuracy and convergence of subsequent finite element analysis.

[0109] Example 4 Figure 4 This is a flowchart of an auxiliary hexahedral mesh generation method provided in Embodiment 4 of the present invention. It further optimizes and extends the above-described technical solution's step of "for the auxiliary component model, performing mesh generation on the auxiliary component model based on the three-dimensional spatial coordinates of the second common boundary constraint points and the axis of the auxiliary component model, and generating the corresponding auxiliary hexahedral mesh," and can be combined with the various optional implementation methods described above. For example... Figure 4 As shown, the method includes: S401. Based on the three-dimensional spatial coordinates of the second common boundary constraint point and the axis of the auxiliary component model, determine the spatial plane where the section of the auxiliary component model is located.

[0110] In this context, a cross-section refers to the cross-sectional shape obtained by cutting along the axial direction of the auxiliary component; that is, the two-dimensional geometric shape of the nozzle wall thickness on the axial section. Since the nozzle is a body of revolution, the shape of its axial section at any angle is the same, always an annular shape formed by the contours of the nozzle's inner and outer walls. The cross-section is the fundamental geometric object for nozzle mesh generation.

[0111] The spatial plane containing the section refers to the position and orientation of the two-dimensional plane that supports the section in three-dimensional space. This plane is jointly determined by the axial direction of the auxiliary component model and the three-dimensional spatial coordinates of the second common boundary constraint point—the axial direction determines the orientation of the plane, and the three-dimensional spatial coordinates of the second common boundary constraint point determine the position of the plane. This plane is the positioning reference for the section mesh in three-dimensional space, and also the supporting plane for subsequently mapping the two-dimensional section mesh to three-dimensional space.

[0112] In one implementation, the software determines the spatial plane containing the cross-section of the auxiliary component model based on the 3D spatial coordinates of the second common boundary constraint points and the axis of the auxiliary component model. The software uses the axial direction of the auxiliary component model as the normal vector of this spatial plane and the 3D spatial coordinates of the second common boundary constraint points to determine the position of the plane—that is, the plane passes through the boundary position determined by the second common boundary constraint points. Specifically, the software fits the center point of the boundary position based on the 3D spatial coordinates of the second common boundary constraint points, uses this center point as the positioning point of the spatial plane, uses the axial direction of the auxiliary component model as the normal vector of the spatial plane, and draws a plane through this positioning point and perpendicular to the axial direction; this is the spatial plane containing the cross-section of the auxiliary component model. The position and orientation of this plane jointly determine the spatial positioning of the cross-section, enabling the subsequently generated cross-section mesh to connect with the main component mesh in the correct spatial position.

[0113] S402. On the spatial plane, based on the three-dimensional spatial coordinates of the second common boundary constraint point and the axis of the auxiliary component model, determine the outer contour dimensions of the section to obtain the complete two-dimensional geometry of the section.

[0114] The outer contour dimension refers to the boundary range of the section in the spatial plane, determined by the annular region enclosed by the four boundary lines of the section (root line, outer wall line, end line, and inner wall line). The root line is determined by the three-dimensional spatial coordinates of the second common boundary constraint point; the outer and inner wall lines are determined by the wall thickness parameters of the auxiliary component model; and the end line is determined by the overhang length parameters of the auxiliary component model. The outer contour dimension defines the specific range of the section in the spatial plane and serves as the geometric boundary for mesh generation.

[0115] A complete two-dimensional geometry refers to a closed two-dimensional geometric region defined by its outer contour dimensions. This region lies on the spatial plane containing the section, has a clear boundary and geometric shape, and is the direct object of subsequent two-dimensional quadrilateral mesh generation.

[0116] In one implementation, the software determines the outer contour dimensions of the cross-section on a defined spatial plane based on the three-dimensional spatial coordinates of the second common boundary constraint points and the axis of the auxiliary component model. Specifically, the software projects the three-dimensional spatial coordinates of the second common boundary constraint points onto the spatial plane to obtain the root boundary line of the cross-section; using the axial direction of the auxiliary component model as the normal direction of the cross-section, and combining the wall thickness and overhang length parameters of the auxiliary component model, the software calculates the outer wall boundary line, end boundary line, and inner wall boundary line of the cross-section on the spatial plane. These four boundary lines together form a closed annular region, which is the outer contour dimension of the cross-section. Based on this outer contour dimension, the software generates a complete two-dimensional geometry of the cross-section on the spatial plane. This geometry has clear boundaries and a closed geometric region, which can be directly used as the input geometry for subsequent two-dimensional quadrilateral mesh generation.

[0117] S403. Divide the complete two-dimensional geometry of the cross section into two-dimensional quadrilateral meshes to generate a two-dimensional surface mesh of the cross section. Then, map the two-dimensional surface mesh onto the spatial plane through Laplace transform to obtain the cross section surface mesh located in three-dimensional space.

[0118] The section mesh refers to a section mesh of an auxiliary component located in three-dimensional space, composed of quadrilateral elements. This mesh is obtained by dividing the complete two-dimensional geometry of the two-dimensional section into quadrilateral meshes, and then mapping it to the spatial plane of the section through a Laplace transform. Its root boundary nodes have the same three-dimensional spatial coordinates as the second common boundary constraint points. The section mesh is a three-dimensional representation of the two-dimensional surface mesh, preserving its topological structure, while each node has three-dimensional spatial coordinates. It forms the basis for subsequent rotation and sweeping around the axis to generate the auxiliary hexahedral mesh.

[0119] In one implementation, the software performs two-dimensional quadrilateral meshing on the complete two-dimensional geometry of the cross-section: in a two-dimensional plane coordinate system, a two-dimensional surface mesh composed of quadrilateral elements is generated within the annular region defined by the outer contour dimension of the cross-section, and the two-dimensional coordinates of each node in the two-dimensional surface mesh and the connection relationship between each node are obtained.

[0120] After the 2D quadrilateral mesh is generated, the software uses a Laplace transform to map the 2D surface mesh onto the spatial plane containing the profile—mapping the 2D coordinates of each node of the 2D surface mesh to 3D spatial coordinates on the spatial plane, while maintaining the connection relationships between the nodes. After the mapping is completed, the 2D surface mesh is positioned in the correct location in 3D space, forming the profile surface mesh, whose root boundary nodes have the same 3D spatial coordinates as the second common boundary constraint points.

[0121] S404. Rotate the profile mesh around the axis of the auxiliary component model by a preset angle in the circumferential direction, and connect the corresponding nodes in the profile mesh at adjacent angles in sequence to generate hexahedral elements until the rotation reaches 360°, thereby generating the auxiliary hexahedral mesh corresponding to the auxiliary component model.

[0122] Here, the circumferential direction refers to the ring-shaped direction around the axis of the auxiliary component model. Since the nozzle is a body of revolution, its geometry is rotationally symmetrical about its central axis. The circumferential direction is the direction of rotation around this axis, and it is the direction in which the nozzle mesh is distributed circumferentially.

[0123] Successive rotation by a preset angle refers to rotating the profile mesh around the axis of the auxiliary component model step by step, each rotation being a preset fixed angle value. The size of the preset angle determines the density of the circumferential mesh of the connector. The smaller the angle, the denser the circumferential mesh, resulting in higher computational accuracy but also a corresponding increase in computational cost; the larger the angle, the sparser the circumferential mesh, resulting in a decrease in computational cost but a decrease in accuracy.

[0124] Adjacent angles refer to the cross-sectional meshes corresponding to two adjacent rotation angle positions during successive rotations. For example, if the first rotation yields the cross-sectional mesh at position 1, and the second rotation yields the cross-sectional mesh at position 2, then positions 1 and 2 are adjacent angles. Corresponding nodes between cross-sectional meshes of adjacent angles are connected to form hexahedral elements.

[0125] A hexahedral element is a three-dimensional solid element consisting of eight nodes and six quadrilateral faces. In this embodiment of the invention, a hexahedral element is formed by connecting corresponding quadrilateral elements in two cross-sectional meshes at adjacent angular positions.

[0126] In one implementation, the software starts with a profile mesh and rotates it circumferentially by a preset angle around the axis of the auxiliary component model to generate a new profile mesh. The newly generated profile mesh is spatially adjacent to the starting profile mesh, has the same number of nodes as the starting mesh, and each node's position in the circumferential direction is offset by a preset angle relative to the starting position. Subsequently, the software sequentially connects the corresponding nodes in the starting profile mesh and the newly generated profile mesh, establishing edge and surface connections between the two profile meshes to generate a layer of hexahedral elements. After the initial rotation and connection, the software continues to rotate the newly generated profile mesh circumferentially around the axis by a preset angle to generate the next profile mesh, and connects the corresponding nodes in the two currently adjacent profile meshes to generate the next layer of hexahedral elements. The software repeats the above rotation and connection operations until the cumulative rotation angle reaches 360°, meaning the profile mesh has rotated one full revolution around the axis and returned to its starting position. At this point, all the generated hexahedral elements together constitute the complete auxiliary hexahedral mesh corresponding to the auxiliary component model.

[0127] Through the above methods, the spatial positioning of the profile is precisely consistent with the boundary position of the main body, and the three-dimensional spatial coordinates of the root boundary node and the second common boundary constraint point are completely aligned without additional registration. Meshing the profile in a two-dimensional coordinate system avoids the geometric distortion of direct three-dimensional surface subdivision, ensuring the quality of the profile mesh. The two-dimensional mesh is mapped to a spatial plane using a Laplace transform, ensuring that the coordinates of the root node and the boundary node of the main body are consistent, guaranteeing the positional accuracy of the profile mesh in three-dimensional space. The profile mesh is rotated and swept around its axis to generate a hexahedral mesh. The mesh has a uniform circumferential distribution, high element quality, and its circumferential density can be flexibly adjusted according to the required analysis accuracy. The generated auxiliary hexahedral mesh is naturally continuous with the main hexahedral mesh at the boundary, allowing for seamless splicing without additional processing, ensuring the continuity and consistency of the overall structural mesh.

[0128] Example 5 Figure 5 This is a structural schematic diagram of a mesh construction device for an integral pressure vessel structure provided in Embodiment 5 of the present invention. It is applicable to scenarios involving mesh construction of an integral pressure vessel structure, such as... Figure 5 As shown, the device includes: The model generation module 51 is used to generate an overall structural model of the pressure vessel in response to the user's selection operation of the component; wherein the overall structural model includes main components and auxiliary components; The component separation module 52 is used to identify the main component and the auxiliary component in the overall structural model, and to separate the main component into a main component model and the auxiliary component into an auxiliary component model; The constraint point setting module 53 is used to convert the three-dimensional geometric surface of the main component model to a two-dimensional planar region for the main component model, identify the first boundary position between different main component models and the second boundary position between the main component model and the auxiliary component model in the two-dimensional planar region, and set a first common boundary constraint point at the first boundary position and a second common boundary constraint point at the second boundary position. The main body hexahedral mesh generation module 54 is used to divide the two-dimensional planar region into quadrilateral surface meshes according to the first common boundary constraint points and the second common boundary constraint points, and to map the divided quadrilateral surface meshes back to three-dimensional space using the first common boundary constraint points and the second common boundary constraint points as fixed boundary constraints, thereby generating the main body hexahedral mesh corresponding to the main body component model. The auxiliary hexahedral mesh generation module 55 is used to perform mesh generation on the auxiliary component model based on the three-dimensional spatial coordinates of the second common boundary constraint points and the axis of the auxiliary component model, and generate the auxiliary hexahedral mesh corresponding to the auxiliary component model. The overall structure hexahedral mesh generation module 56 is used to splice the main hexahedral mesh and the auxiliary hexahedral mesh to generate the overall structure hexahedral mesh of the pressure vessel.

[0129] Optionally, the model generation module 51 is specifically used for: In response to the user's selection of any main component, the first sub-model corresponding to that main component is generated; In response to the user's selection operation on the connection surface of the first sub-model, and in response to the user's selection operation on other main components, the second sub-model corresponding to the other main components is spliced ​​with the first sub-model through the connection surface; In response to the user's selection operation on the connection surface of the first sub-model and in response to the user's selection operation on the auxiliary component, the third sub-model corresponding to the auxiliary component is spliced ​​with the first sub-model through the connection surface; In response to a user's parameter adjustment operation on the first sub-model, the second sub-model, or the third sub-model, the geometric dimensions and / or positioning information of the corresponding sub-model are updated to form the overall structural model.

[0130] Optionally, the constraint point setting module 53 is specifically used for: At least two first common boundary constraint points are arranged at the first boundary position with a preset discrete spacing, and at least two second common boundary constraint points are arranged at the second boundary position with a preset discrete spacing.

[0131] Optionally, the main body hexahedral mesh generation module 54 is specifically used for: Obtain the two-dimensional coordinates of each node corresponding to the quadrilateral mesh in the two-dimensional planar region, as well as the connection relationship between the nodes; Using the three-dimensional spatial coordinates of the first shared boundary constraint point and the second shared boundary constraint point as fixed boundary constraints, the two-dimensional coordinates of each node are mapped to three-dimensional space through the inverse Laplace transform to obtain the three-dimensional spatial coordinates of each node; Based on the three-dimensional spatial coordinates of each node and the connection relationship, a main body hexahedral mesh corresponding to the main component model is generated.

[0132] Optionally, the main body hexahedral mesh generation module 54 is further used for: Based on the three-dimensional spatial coordinates of each node, the wall thickness direction and wall thickness value of the main component model are determined, and the number of offsets and the single offset distance are determined based on the wall thickness value. According to the number of offsets and the single offset distance, each node of the quadrilateral mesh is successively offset along the wall thickness direction to generate a node layer; Based on the connection relationship, the quadrilateral elements in the quadrilateral mesh are determined, and the corresponding nodes belonging to the same quadrilateral element in adjacent node layers are connected to generate hexahedral elements, forming the main body hexahedral mesh corresponding to the main component model.

[0133] Optionally, the auxiliary hexahedral mesh generation module 55 is specifically used for: Based on the three-dimensional spatial coordinates of the second common boundary constraint point and the axis of the auxiliary component model, determine the spatial plane in which the cross-section of the auxiliary component model is located; On the spatial plane, the outer contour dimensions of the cross section are determined based on the three-dimensional spatial coordinates of the second common boundary constraint point and the axis of the auxiliary component model, so as to obtain the complete two-dimensional geometry of the cross section. The complete two-dimensional geometry of the cross section is divided into two-dimensional quadrilateral meshes to generate a two-dimensional surface mesh of the cross section. The two-dimensional surface mesh is then mapped onto the spatial plane through a Laplace transform to obtain the cross section surface mesh located in three-dimensional space. The cross-sectional mesh is rotated successively around the axis of the auxiliary component model along the circumferential direction by a preset angle, and the corresponding nodes in the cross-sectional mesh at adjacent angles are connected in sequence to generate hexahedral elements until a full 360° rotation is completed, thereby generating the auxiliary hexahedral mesh corresponding to the auxiliary component model.

[0134] Optionally, the model generation module 51 is further used for: In response to the user's selection operation on the connection surface of the first sub-model, the center point coordinates and normal vector of the connection surface are obtained; In response to the user's selection of other main components, the matching end face of the second sub-model corresponding to the other main components is obtained; Align the center point of the matching end face of the second sub-model with the center point of the connecting surface, and make the normal vector of the matching end face coincide with the normal vector of the connecting surface, so that the second sub-model is spliced ​​with the first sub-model through the connecting surface.

[0135] Optionally, the main component includes at least one of a cylinder, a head, and a conical section; the auxiliary component includes a connecting pipe.

[0136] The mesh construction device for the overall structure of a pressure vessel provided in this embodiment of the invention can execute the mesh construction method for the overall structure of a pressure vessel provided in this embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0137] According to embodiments of this disclosure, embodiments of the present invention also provide an electronic device, a readable storage medium, and a computer program product.

[0138] Figure 6 A schematic diagram of an electronic device 60 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0139] like Figure 6 As shown, the electronic device 60 includes at least one processor 61 and a memory, such as a read-only memory (ROM) 62 and a random access memory (RAM) 63, communicatively connected to the at least one processor 61. The memory stores computer programs executable by the at least one processor. The processor 61 can perform various appropriate actions and processes based on the computer program stored in the ROM 62 or loaded from storage unit 68 into the RAM 63. The RAM 63 can also store various programs and data required for the operation of the electronic device 60. The processor 61, ROM 62, and RAM 63 are interconnected via a bus 64. An input / output (I / O) interface 65 is also connected to the bus 64.

[0140] Multiple components in electronic device 60 are connected to I / O interface 65, including: input unit 66, such as keyboard, mouse, etc.; output unit 67, such as various types of monitors, speakers, etc.; storage unit 68, such as disk, optical disk, etc.; and communication unit 69, such as network card, modem, wireless transceiver, etc. Communication unit 69 allows electronic device 60 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0141] Processor 61 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 61 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. Processor 61 performs the various methods and processes described above, such as the mesh construction method for the overall structure of a pressure vessel.

[0142] In some embodiments, the mesh construction method for the integral structure of the pressure vessel can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 68. In some embodiments, part or all of the computer program can be loaded and / or mounted on electronic device 60 via ROM 62 and / or communication unit 69. When the computer program is loaded into RAM 63 and executed by processor 61, one or more steps of the mesh construction method for the integral structure of the pressure vessel described above can be performed. Alternatively, in other embodiments, processor 61 can be configured to perform the mesh construction method for the integral structure of the pressure vessel by any other suitable means (e.g., by means of firmware).

[0143] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include: implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0144] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0145] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0146] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0147] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0148] A computing system can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product within the cloud computing service system to address the shortcomings of traditional physical hosts and virtual private servers, such as high management difficulty and weak business scalability.

[0149] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0150] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for constructing a mesh for the overall structure of a pressure vessel, characterized in that, include: In response to the user's selection of components, an overall structural model of the pressure vessel is generated; wherein the overall structural model includes main components and auxiliary components; Identify the main components and auxiliary components in the overall structural model, and separate the main components into a main component model and the auxiliary components into an auxiliary component model; For the main component model, the three-dimensional geometric surface of the main component model is transformed into a two-dimensional planar region. In the two-dimensional planar region, the first boundary position between different main component models and the second boundary position between the main component model and the auxiliary component model are identified. A first common boundary constraint point is set at the first boundary position, and a second common boundary constraint point is set at the second boundary position. Based on the first shared boundary constraint point and the second shared boundary constraint point, the two-dimensional planar region is divided into quadrilateral surface meshes, and the first shared boundary constraint point and the second shared boundary constraint point are used as fixed boundary constraints to map the divided quadrilateral surface meshes back into three-dimensional space to generate the main body hexahedral mesh corresponding to the main body component model. For the attached component model, based on the three-dimensional spatial coordinates of the second common boundary constraint point and the axis of the attached component model, meshing is performed on the attached component model to generate the attached hexahedral mesh corresponding to the attached component model; The main hexahedral mesh and the auxiliary hexahedral mesh are spliced ​​together to generate the overall structural hexahedral mesh of the pressure vessel.

2. The method according to claim 1, characterized in that, The process of generating an overall structural model of the pressure vessel in response to a user's selection of a component includes: In response to the user's selection of any main component, the first sub-model corresponding to that main component is generated; In response to the user's selection operation on the connection surface of the first sub-model, and in response to the user's selection operation on other main components, the second sub-model corresponding to the other main components is spliced ​​with the first sub-model through the connection surface; In response to the user's selection operation on the connection surface of the first sub-model and in response to the user's selection operation on the auxiliary component, the third sub-model corresponding to the auxiliary component is spliced ​​with the first sub-model through the connection surface; In response to a user's parameter adjustment operation on the first sub-model, the second sub-model, or the third sub-model, the geometric dimensions and / or positioning information of the corresponding sub-model are updated to form the overall structural model.

3. The method according to claim 1, characterized in that, Setting a first shared boundary constraint point at the first boundary position and setting a second shared boundary constraint point at the second boundary position includes: At least two first common boundary constraint points are arranged at the first boundary position with a preset discrete spacing, and at least two second common boundary constraint points are arranged at the second boundary position with a preset discrete spacing.

4. The method according to claim 1, characterized in that, The step of using the first and second common boundary constraint points as fixed boundary constraints to map the obtained quadrilateral surface mesh back to three-dimensional space and generate the main body hexahedral mesh corresponding to the main component model includes: Obtain the two-dimensional coordinates of each node corresponding to the quadrilateral mesh in the two-dimensional planar region, as well as the connection relationship between the nodes; Using the three-dimensional spatial coordinates of the first shared boundary constraint point and the second shared boundary constraint point as fixed boundary constraints, the two-dimensional coordinates of each node are mapped to three-dimensional space through the inverse Laplace transform to obtain the three-dimensional spatial coordinates of each node; Based on the three-dimensional spatial coordinates of each node and the connection relationship, a main body hexahedral mesh corresponding to the main component model is generated.

5. The method according to claim 4, characterized in that, The step of generating the main body hexahedral mesh corresponding to the main body component model based on the three-dimensional spatial coordinates of each node and the connection relationship includes: Based on the three-dimensional spatial coordinates of each node, the wall thickness direction and wall thickness value of the main component model are determined, and the number of offsets and the single offset distance are determined based on the wall thickness value. According to the number of offsets and the single offset distance, each node of the quadrilateral mesh is successively offset along the wall thickness direction to generate a node layer; Based on the connection relationship, the quadrilateral elements in the quadrilateral mesh are determined, and the corresponding nodes belonging to the same quadrilateral element in adjacent node layers are connected to generate hexahedral elements, forming the main body hexahedral mesh corresponding to the main body component model.

6. The method according to claim 1, characterized in that, The step involves meshing the auxiliary component model based on the three-dimensional spatial coordinates of the second common boundary constraint points and the axis of the auxiliary component model, generating an auxiliary hexahedral mesh corresponding to the auxiliary component model, including: Based on the three-dimensional spatial coordinates of the second common boundary constraint point and the axis of the auxiliary component model, determine the spatial plane in which the cross-section of the auxiliary component model is located; On the spatial plane, the outer contour dimensions of the cross section are determined based on the three-dimensional spatial coordinates of the second common boundary constraint point and the axis of the auxiliary component model, so as to obtain the complete two-dimensional geometry of the cross section. The complete two-dimensional geometry of the cross section is divided into two-dimensional quadrilateral meshes to generate a two-dimensional surface mesh of the cross section. The two-dimensional surface mesh is then mapped onto the spatial plane through a Laplace transform to obtain the cross section surface mesh located in three-dimensional space. The cross-sectional mesh is rotated successively around the axis of the auxiliary component model along the circumferential direction by a preset angle, and the corresponding nodes in the cross-sectional mesh at adjacent angles are connected in sequence to generate hexahedral elements until a full 360° rotation is completed, thereby generating the auxiliary hexahedral mesh corresponding to the auxiliary component model.

7. The method according to claim 2, characterized in that, The step of responding to the user's selection operation on the connection surface of the first sub-model and responding to the user's selection operation on other main components, splicing the second sub-model corresponding to the other main components with the first sub-model through the connection surface, includes: In response to the user's selection operation on the connection surface of the first sub-model, the center point coordinates and normal vector of the connection surface are obtained; In response to the user's selection of other main components, the matching end face of the second sub-model corresponding to the other main components is obtained; Align the center point of the matching end face of the second sub-model with the center point of the connecting surface, and make the normal vector of the matching end face coincide with the normal vector of the connecting surface, so that the second sub-model is spliced ​​with the first sub-model through the connecting surface.

8. The method according to any one of claims 1-7, characterized in that, The main component includes at least one of a cylinder, a head, and a conical section; the auxiliary component includes a connecting pipe.

9. A grid construction device for an integral structure of a pressure vessel, characterized in that, include: The model generation module is used to generate an overall structural model of the pressure vessel in response to the user's selection of components; wherein the overall structural model includes main components and auxiliary components; The component separation module is used to identify the main component and the auxiliary component in the overall structural model, and to separate the main component into a main component model and the auxiliary component into an auxiliary component model; The constraint point setting module is used to convert the three-dimensional geometric surface of the main component model to a two-dimensional planar region for the main component model, identify the first boundary position between different main component models and the second boundary position between the main component model and the auxiliary component model in the two-dimensional planar region, and set a first common boundary constraint point at the first boundary position and a second common boundary constraint point at the second boundary position. The main body hexahedral mesh generation module is used to divide the two-dimensional planar region into quadrilateral surface meshes based on the first common boundary constraint points and the second common boundary constraint points, and to map the divided quadrilateral surface meshes back into three-dimensional space using the first common boundary constraint points and the second common boundary constraint points as fixed boundary constraints, thereby generating the main body hexahedral mesh corresponding to the main body component model. The auxiliary hexahedral mesh generation module is used to perform mesh generation on the auxiliary component model based on the three-dimensional spatial coordinates of the second common boundary constraint points and the axis of the auxiliary component model, thereby generating an auxiliary hexahedral mesh corresponding to the auxiliary component model. The overall structure hexahedral mesh generation module is used to splice the main hexahedral mesh and the auxiliary hexahedral mesh to generate the overall structure hexahedral mesh of the pressure vessel.

10. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a processor to perform the method of any one of claims 1-8.

12. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-8.