A method for deepening modeling and analysis of welded hollow spherical nodes by associating CAD and ANSYS

Organize CAD drawings through RhinoGrasshopper and Python platforms to construct in-depth modeling of welded hollow ball nodes, which solves the problem of lack of mechanical information in the existing technology, realizes efficient finite element analysis of welded hollow ball nodes, and significantly improves modeling efficiency and Analytical precision.

CN118153367BActive Publication Date: 2024-10-22CHINA RAILWAY FIRST SURVEY & DESIGN INST GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410169298.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-06
Publication Date
2024-10-22
Estimated Expiration
2044-02-06

AI Technical Summary

Technical Problem

The existing in-depth modeling and analysis method of welded hollow sphere joints lacks the parameter import of boundary conditions, load types and material properties. As a result, the generated geometric model lacks mechanical information and cannot perform structural calculations, and the relationship between the two-dimensional point-line model and the three-dimensional solid model is not clear. established, hindering automated analysis of structural responses.

Method used

Through the RhinoGrasshopper and Python platforms, we organize 2D CAD drawings, build a bridge between the 2D point-line model and the 3D solid model, and implement in-depth modeling analysis of welded hollow sphere nodes. We use Grasshopper battery components to set node parameters and generate a complete node deepening model. , and imported into ANSYS for finite element analysis.

Benefits of technology

It realizes the automatic generation and analysis of solid deepening models based on two-dimensional drawing information, which significantly improves the modeling and analysis efficiency by about 90%. The operation steps are clear and suitable for engineering personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118153367B_ABST
    Figure CN118153367B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for deepening modeling and analyzing a welding hollow sphere node by associating CAD and ANSYS. The automation and intelligence level of the existing deepening modeling and analysis of welding hollow sphere nodes do not meet the requirements. The present invention organizes the CAD drawings of welding hollow sphere nodes, loads the organized drawings into Rhino, and forms a complete node deepening model; under Grasshopper, the processed node deepening model is exported; under the Grasshopper environment, a battery pack of CAD welding hollow sphere node deepening modeling and analysis is developed to ANSYS; under Grasshopper, the Boolean Toggle battery is clicked to call ANSYS to complete the establishment and calculation of the welding node sphere model. The present invention realizes the automatic generation and analysis of the entity deepening model based on the two-dimensional drawing information, and improves the efficiency of modeling and analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of building structures, and in particular relates to a welding hollow sphere node deepening modeling and analysis method associated with CAD and ANSYS. Background Art

[0002] The building structure design industry has undergone hundreds of years of modernization, and the design theories, methods, technologies, specifications and other contents have been continuously improved. With the advancement of a new round of computer technology, the building structure design industry will also enter a new stage of development to serve "digital engineering", "smart cities" and "digital China" to promote the transformation and upgrading of the industry and high-quality development. In order to meet the needs of building structures, steel structure connection nodes are becoming more and more complex, and the in-depth design of nodes is time-consuming and labor-intensive. Once errors or changes occur, many other places often need to be adjusted simultaneously. In addition, the evaluation of complex stress zones at nodes has always been the focus of engineering design. In order to realize the model construction and refined analysis of complex nodes, parametric analysis and automatic calling based on the two-dimensional drawing model of the engineering structure have become a feasible means.

[0003] The welded ball node is a widely used node connection form in the truss structure system, which is composed of multiple rods and a node ball. However, due to the uneven stress distribution at the local connection, it is necessary to perform detailed analysis and calculation to ensure the safety of the connection node. Domestic and foreign scholars and experts have accumulated a lot of research on node in-depth analysis, laying a sufficient research foundation. However, due to the existence of the following problems, the automation and intelligent level of in-depth modeling and analysis of welded hollow ball nodes is greatly limited.

[0004] (1) Existing automated modeling methods mainly focus on the lofting of complex detailed nodes, but lack the import or setting of parameters required for calculation, such as boundary conditions, load types, and material properties. As a result, the generated geometric model lacks mechanical information and cannot be used for structural calculation.

[0005] (2) Existing methods mostly manually perform the lofting of the node model, and then import the geometric model into the finite element software for pre- and post-processing. This operation does not establish the relationship between the two-dimensional point-line model and the three-dimensional solid model, which hinders the automated analysis method of directly obtaining the structural response from the two-dimensional drawing information. Summary of the invention

[0006] In order to make up for the shortcomings of the prior art, the present invention provides a welding hollow sphere node in-depth modeling and analysis method associated with CAD and ANSYS. With the help of RhinoGrasshopper and Python platform, a bridge is built between the two-dimensional point and line model and the three-dimensional solid model by losslessly transmitting model data information, thereby realizing refined finite element analysis of key nodes.

[0007] In order to achieve the above object, the technical solution adopted by the present invention is:

[0008] A method for deepening modeling and analyzing a welded hollow sphere node by associating CAD and ANSYS, characterized in that it comprises the following steps:

[0009] Step 1: Arrange the 2D CAD drawings of the welded hollow spherical nodes, retain the intersection of the layer lines of the nodes required for analysis, retain the layer lines and cross-sectional dimensioning of the bars connected to the nodes required for analysis, and obtain the arranged 2D node plane drawings;

[0010] Step 2: Load the sorted two-dimensional node plane drawing into the Rhino software, and in the Grasshopper environment, use the Point battery to select the intersection of the layer lines in the drawing; use the Curve battery to select the layer lines of the rods connected to the nodes in the drawing; use the Guid battery to select the cross-sectional dimensioning of the rods in the drawing; use the Number Slider battery to set the multiples of the length of the beam segment relative to the rod diameter for in-depth analysis; use the Panel battery to set the format of the cross-sectional dimensioning; use the NumberSlider battery to set the node ball diameter; use the Number Silder battery to set the node ball wall thickness; use the NumberSilder battery to set the node ball stiffening rib thickness; use the NumberSilder battery to set the stiffening rib diameter; develop a truss rod in-depth modeling battery package and a node ball in-depth modeling battery package, and complete the in-depth modeling of each truss rod and the welding node ball in-depth modeling in turn to form a complete node in-depth model;

[0011] Step 3: In the Grasshopper environment, select the complete node deepening model, complete the intersection processing of the micro-bar and the node ball, the detailed bar overlap processing, and the micro-bar mesh encryption area segmentation in sequence, and obtain and export the processed node deepening model;

[0012] Step 4: In the Grasshopper environment, select the processed and deepened model, and select and form all macroscopic member information data batteries, all microscopic member information data batteries, macroscopic-microscopic member coupling information data batteries, and constraint and load information batteries in sequence;

[0013] Step 5: Use the Number Slider battery to set the number of macro-bar mesh divisions; use the NumberSlider battery to set the macro-bar mesh division size; use the ValueList battery to set the gravity direction option; use the Panel battery to set the ANSYS program path; use the Panel battery to set the ANSYS model save path; use the Panel battery to set the ANSYS model name; use the Panel battery to set the steel elastic modulus; use the Boolean Toggle battery to set the program startup Boolean switch;

[0014] Step 6: In the Grasshopper environment, develop CAD to ANSYS to weld the hollow ball node to deepen the modeling and analysis of the battery pack; the input parameters of the obtained CAD to ANSYS to weld the hollow ball node to deepen the modeling and analysis of the battery pack include:

[0015] 1) All macro-rod information Macro_Frame_Inf is connected to the data battery of all macro-rod information in step 4 above;

[0016] 2) Macro_Frame_Mesh_Num, which is connected to the Number Slider cell of the number of macro frame mesh divisions in step 5 above;

[0017] 3) All micro-bar (grid scan) information Micro_Frame_Inf is connected to the data battery of all micro-bar (grid scan) information in step 4 above;

[0018] 4) Micro_Frame_Mesh_Size, which is connected to the Number Slider cell of the macro frame mesh size in step 5 above;

[0019] 5) Macro-micro frame coupling information Macro_Micro_Frame_Coupling_Inf, which is connected to the macro-micro frame coupling information data battery in step 4 above;

[0020] 6) Constraints and loads Load_Restraint_Inf, connected to the constraint and load information battery in step 4 above;

[0021] 7) Gravity_Direction, connect to the Value List battery of the Gravity Direction option in step 5 above;

[0022] 8) ANSYS program path ANSYS_Path, connected to the Panel battery of the ANSYS program path in step 5 above;

[0023] 9) ANSYS model saving path ANSYS_Working_Directory is connected to the Panel battery of the ANSYS model saving path in step 5 above;

[0024] 10) ANSYS model name Job_Name, connected to the Panel battery of ANSYS model name in step 5 above;

[0025] 11) Steel elastic modulus Es, Panel battery with the steel elastic modulus in step 5 above;

[0026] 12) Start the program Run and connect it to the Boolean Toggle battery of the program start Boolean switch in step 5 above;

[0027] Step 7: In the Grasshopper environment, click the Boolean Toggle battery in step 5 above. The program calls ANSYS to complete the establishment and calculation of the welding node ball model.

[0028] Furthermore, in step 2, the input parameters of the truss rod in-depth modeling of the battery pack include:

[0029] 1) Deepen the analysis node and connect it to the Point battery at the intersection of the layer lines;

[0030] 2) Node-connected rods and Curve batteries of layer lines;

[0031] 3) The multiples of the length of the member in the detailed analysis relative to the member diameter are connected to the Number Slider battery of the multiples of the length of the beam segment in the detailed analysis relative to the member diameter;

[0032] 4) Section information, connected to the Guid battery for bar section dimensioning;

[0033] 5) Section naming method, which is connected to the Panel battery of the section dimensioning format;

[0034] In the step 2, the output parameters of the truss rod in-depth modeling of the battery pack include: 1) macroscopic rods; 2) microscopic rods.

[0035] Furthermore, in step 2, the steps of deepening the modeling of the truss rod are as follows:

[0036] Step 1: Use the PlaneNormal cell to obtain a working plane with the input parameter deepening analysis node as the origin and the bar connected to the input parameter node as the Z axis;

[0037] Step 2: According to the input variable section naming method, use C# Script battery and GhPythonScript battery to separate and extract the rod outer diameter and rod inner diameter from the input variable section information, and use Divison battery to obtain the rod outer radius and rod inner radius;

[0038] Step 3: Use the Multiplication cell to multiply the input parameter of the rod deepening analysis length relative to the rod diameter by the rod outer diameter to obtain the unit length of the rod segmentation; use the Contour cell, ListLength cell, and ListItem cell to obtain, complete the segmentation of the node-connected rods according to the unit length, and select the segmentation point closest to the deepening analysis node;

[0039] Step 4: Using the detailed analysis node as the starting point and the cutting point closest to the detailed analysis node as the end point, use the Line cell to create a stretching baseline; on the working plane in step 2.1, using the outer radius and inner radius of the bar in step 2.2, use the Circle cell to create inner and outer circular rings of the bar section; using the inner and outer circular rings as boundaries, use the BoundarySurfaces cell to form a closed surface; use the Extrude Along cell to stretch the closed surface into a body along the stretching baseline and connect it to the output parameter micro-bar;

[0040] Step 5: Use EndPoint battery, GhPython Script battery, and ConstructPoint battery to obtain the member nodes in the node-connected members that are far away from the deepening analysis node; use the cutting point closest to the deepening analysis node as the starting point, and the member node in the node-connected members that is far away from the deepening analysis node as the end point, use Line battery to create a straight line, and connect it with the output parameter macro member.

[0041] Furthermore, in step 2, the input parameters of the node ball in-depth modeling battery pack include:

[0042] 1) Deepen the analysis node and connect it to the Point battery at the intersection of the layer lines;

[0043] 2) Node ball diameter, connected to the Number Slider battery of the node ball diameter;

[0044] 3) Node ball wall thickness, connected to the Number Slider battery of the node ball wall thickness;

[0045] 4) Node ball stiffener thickness, connected to the node ball stiffener thickness Number Slider battery;

[0046] 5) Node ball stiffener diameter, connected to the stiffener diameter Number Slider battery;

[0047] In the step 2, the output parameters of the node ball in-depth modeling of the battery pack include: 1) the outer wall of the node ball; 2) the node ball.

[0048] Furthermore, in step 2, the steps of node ball deepening modeling are as follows:

[0049] Step 1: Use XYPlane to create an XY work plane with the input parameter deepening analysis node as the origin.

[0050] Step 2: Apply the GhPython Script battery to obtain the outer radius of the welding ball according to the input parameters of the node ball diameter, node ball wall thickness, node ball stiffener thickness, and node ball stiffener diameter R , inner radius r , 1 / 2 rib thickness t 1. Rib opening radius r 1.

[0051] Step 3: Using the XY work plane as the base point, apply the Sphere battery to create R is a spherical shell with a radius of 1.0 and connected to the outer wall of the output parameter node sphere.

[0052] Step 4: Use Move, UnitZ, and Reverse to move and copy the input parameter deepening analysis node along the ±Z axis direction. t 1, use Line to connect the two copied points as the stretching baseline; use XYPlane to create an XY work plane with one of the copied points as the origin; r , r 1 as the radius, use Circle to create the inner and outer rings of the stiffener; use BoundarySurfaces to create a closed surface with the inner and outer rings of the stiffener as the boundary; use Extrude Along to stretch the closed surface to form the stiffener; use the XY work plane as the base point, and use Sphere to create a R and r Two spherical shells with a radius of 1.34 mm; the formed stiffener and the two spherical shells are connected with the output parameter node ball.

[0053] Furthermore, in step 3, the steps of micro-observation of the intersection between the rod and the node ball are as follows:

[0054] Step 1: Use the SplitBrep cell to perform Boolean operations on the mesoscopic rods obtained by the in-depth modeling of the truss rods and the outer wall of the node ball obtained by the in-depth modeling of the node ball to obtain the mesoscopic rods after the Boolean operation;

[0055] Step 2: Use List Item cells and CapHoles cells to modify all the mesoscopic members after Boolean operation from OpenBrep to ClosedBrep to obtain the processed mesoscopic members.

[0056] Furthermore, in step three, the steps of refining the rod overlap processing are as follows:

[0057] Step 1: Use the NumberSilder cell to set the lapped member number and the lapped member number respectively;

[0058] Step 2: According to the overlapping member number and the overlapped member number, use the ListItem cell to select the overlapping member and the overlapped member from the processed mesoscopic members in turn;

[0059] Step 3: Use the SoildDifference cell to perform a Boolean difference operation on the lapped member and the lapped member to obtain the pruned lapped member; combine the pruned lapped member and the original lapped member to form a processed lapped member.

[0060] Furthermore, in step 3, the steps of dividing the mesh densification area of ​​the micro-bar are as follows:

[0061] Step 1: Use the NumberSilder cell to set the grid encryption points;

[0062] Step 2: Use the List Item battery to select the non-overlapping mesoscopic members from the processed mesoscopic members, and combine them with the processed overlapping members to form a refined member combination set; use BrepEdges to extract the end ring lines of each member and the traces in the length direction of the member in the refined member combination set.

[0063] Step 3: Use the BoundarySurface cell to form a closed surface from the circular loop at the end of the rod.

[0064] Step 4: Use the Perp Frames battery to divide the length direction trace of the rod according to the mesh encryption points, and obtain the curve closest to the node as the dividing line of the mesh division.

[0065] Step 5: Use the Move to Plane tool to move the closed surface to the boundary of the mesh division, and use SplitBrepMultiple to split the refined member combination set.

[0066] Furthermore, in step 4, the steps of storing all macroscopic rod information data are as follows:

[0067] Step 1: According to the input variable section naming method, rod diameter and rod wall thickness, use C# Script battery and GhPythonScript battery to separate and extract the rod outer diameter and inner diameter from the input variable section information, and compare them with the input variable rod diameter and rod wall thickness to determine the outer diameter and wall thickness of the circular tube;

[0068] Step 2: Select the macro member curve and use the End Points tool to separate the curve endpoints and end points.

[0069] Step 3: Use the Data cell to combine the curve endpoint, curve end point, tube outer diameter, and tube wall thickness to form all macroscopic rod information data;

[0070] In step 4, the steps of storing all micro-bar information data are as follows:

[0071] Step 1: Use Brep battery to select microscopic rods;

[0072] Step 2: Use the BoxCorners cell to decompose and obtain the diagonal points of the space cuboid surrounding the microscopic rod; use the Deconstruct cell to decompose the two diagonal points and obtain the coordinates of the two points ( x min , y min , z min )and( x max , y max , z max );

[0073] Step 3: Use the Data cell to combine the coordinates of the two points in order to form the microscopic bar information;

[0074] In step 4, the steps of macro-micro rod coupling information data battery are as follows:

[0075] Step 1: Use Brep battery to select microscopic rods and Line battery to select macroscopic rods;

[0076] Step 2: Use the Deconstruct Brep cell to decompose and obtain the geometric surfaces of the microscopic rod; use the Area cell to obtain the centroid of each geometric surface;

[0077] Step 3: Use the EndPoints battery to decompose the macro-bar curve to obtain the starting point and end point of the curve; use GhPythonScript to filter the geometric surface points that coincide with the starting point or end point of the curve; use the BoxCorners battery to decompose the corresponding geometric surface to obtain the diagonal points of the space cuboid surrounding the geometric surface; use the Deconstruct battery to decompose the diagonal points to obtain the coordinates of the diagonal points ( x min , y min , z min )and( x max , y max , z max );

[0078] Step 4: Use the Data cell to combine the coordinates of the diagonal points and the starting point or focus of the curve in order to form the macro-micro rod coupling information;

[0079] In step 4, the steps of constraint and load information battery are as follows:

[0080] Step 1: Use the Point cell to select the constraint node; use the NumberSlider cell to set the value of the axial load; use the ValueList cell to set U x , U y , U z Constraints of

[0081] Step 2: Apply GhPython Script Battery Acquisition U x , U y , U z Direction constraint information, if there is a constraint, the value is 1, if there is no constraint, the value is 0;

[0082] Step 3: Use the Data cell to combine the constraint nodes, axial load values, and constraint information in order to form constraint and load information.

[0083] Further, in step six, the steps of welding the hollow sphere node from CAD to ANSYS to deepen the modeling and analysis of the battery are as follows:

[0084] Step 1: In the GH_CPython battery environment, call ansys.mapdl.core and os external libraries;

[0085] Step 2: Activate the ANSYSMAPDL program by entering the variables ANSYS_Working_Directory and ANSYS_Path and applying the launch_mapdl command;

[0086] Step 3: Initialize the model through the mapdl.run() command and the ANSYSAPDL command, and create the solid element soild185, the coupling element mpc184, the beam element beam188, and the mass element mass21 respectively;

[0087] Step 4: According to the input parameter Macro_Frame_Inf, the start and end points, diameter and wall thickness of the macro member are obtained, and then mapdl.run() and sectype, secdata, r commands are applied to create the beam unit section and real constants;

[0088] Step 5: According to the input parameters Macro_Frame_Inf and Macro_Frame_Mesh_Num, the coordinates of the start and end points of the macro member are obtained, and the member is meshed using mapdl.run() and latt, lesize, and lmesh; according to the input parameters Micro_Frame_Inf and Micro_Frame_Mesh_Size, the spatial position coordinates of the micro member are obtained, and the mapdl.run() and vsel commands are used to select the micro member in the model, and the vsweep command is used to perform mesh sweeping on the micro member; the cmsel command is used to select the node ball, and the vmesh command is used to perform free meshing on the node ball;

[0089] Step 6: According to the input parameter Macro_Micro_Frame_Coupling_Inf, obtain the spatial position coordinates of the macro-bar nodes and the micro-bars, and then use mapdl.run() and asel, *get commands to select all nodes on the micro-bar coupling surface, and use the e command to create mpc184 units between the macro-bar nodes and all nodes on the coupling surface for coupling;

[0090] Step 7: According to the input parameter Load_Restraint_Inf, obtain the constraint node coordinates and spatial constraint conditions, as well as the load application conditions and magnitude; apply concentrated loads to the nodes using the mapdl.run() and sfbeam commands; apply constraints to the nodes using the mapdl.run() and d commands;

[0091] Step 8: According to the input parameter Gravity_Direction, use mapdl.run() and acel commands to set the direction of gravity acceleration and then perform the solution calculation.

[0092] Beneficial effects of the present invention:

[0093] 1) The present invention realizes the automatic generation and analysis of entity deepening models based on two-dimensional drawing information;

[0094] 2) This invention significantly improves the efficiency of modeling and analysis, which is more than 90% higher than the manual method;

[0095] 3) The present invention has clear operation steps and simple use method, which is convenient for engineers to conduct in-depth modeling and analysis of welded hollow spherical nodes. BRIEF DESCRIPTION OF THE DRAWINGS

[0096] Figure 1 It is the operation flow chart of the present invention;

[0097] Figure 2 Automatically model and analyze the internal structure of the battery pack for the welding hollow sphere node from CAD to ANSYS in the method of the present invention (including automatic modeling of the battery pack and automatic solution of the battery pack);

[0098] Figure 3 A welding ball node model automatically generated based on the method of the present invention;

[0099] Figure 4 It is the mechanical response of the welding ball node automatically calculated based on the method of the present invention. DETAILED DESCRIPTION

[0100] The present invention is described in detail below in conjunction with specific implementation modes.

[0101] The present invention is used for deepening modeling and analysis of welded hollow sphere nodes from CAD two-dimensional drawings to ANSYS finite element ( Figure 1 ), the present invention comprises the following steps:

[0102] Step 1: Arrange the 2D CAD drawings of the welded hollow spherical nodes, retain the intersection of the layer lines of the nodes required for analysis, retain the layer lines and cross-sectional dimensioning of the bars connected to the nodes required for analysis, and obtain the arranged 2D node plane drawings;

[0103] Step 2: Load the sorted two-dimensional node plane drawing into the Rhino software. In the Grasshopper environment, use the Point battery to select the intersection of the layer lines in the drawing; use the Curve battery to select the layer lines of the rods connected to the nodes in the drawing; use the Guid battery to select the cross-sectional dimensioning of the rods in the drawing; use the Number Slider battery to set the multiples of the length of the beam segment relative to the rod diameter for in-depth analysis; use the Panel battery to set the format of the cross-sectional dimensioning; use the NumberSlider battery to set the node ball diameter; use the Number Silder battery to set the node ball wall thickness; use the NumberSilder battery to set the node ball stiffener thickness; use the NumberSilder battery to set the stiffener diameter. Develop truss rod deepening modeling battery packages and node ball deepening modeling battery packages, complete the deepening modeling of each truss rod and the welding node ball in turn, and form a complete node deepening model, such as Figure 2 (a) as shown;

[0104] The input parameters for the battery pack of the truss rod detailed modeling include:

[0105] 1) Deepen the analysis node and connect it to the Point battery at the intersection of the layer lines;

[0106] 2) Node-connected rods and Curve batteries of layer lines;

[0107] 3) The multiples of the length of the member in the detailed analysis relative to the member diameter are connected to the Number Slider battery of the multiples of the length of the beam segment in the detailed analysis relative to the member diameter;

[0108] 4) Section information, connected to the Guid battery for bar section dimensioning;

[0109] 5) Section naming method, which is connected to the Panel battery of the section dimensioning format;

[0110] The output parameters of the battery pack for truss rod in-depth modeling include: 1) macroscopic rods; 2) microscopic rods;

[0111] In step 2, the steps for deepening the modeling of the truss rod are as follows:

[0112] Step 1: Use the PlaneNormal cell to obtain a working plane with the input parameter deepening analysis node as the origin and the rods connected to the input parameter node as the Z axis.

[0113] Step 2: According to the input variable section naming method, use C# Script battery and GhPythonScript battery to separate and extract the outer diameter and inner diameter of the rod from the input variable section information, and use Divison battery to obtain the outer radius and inner radius of the rod.

[0114] Step 3: Use the Multiplication cell to multiply the input parameter of the rod deepening analysis length relative to the rod diameter by the rod outer diameter to obtain the unit length of the rod segmentation. Use the Contour cell, ListLength cell, and ListItem cell to obtain, segment the node-connected rods according to the unit length, and filter out the segmentation point closest to the deepening analysis node.

[0115] Step 4: Use the Line cell to create an extrusion baseline with the detailed analysis node as the starting point and the closest cutting point to the detailed analysis node as the end point. On the work plane in step 1, use the Circle cell to create inner and outer circular rings of the bar section with the outer radius and inner radius of the bar in step 2. Use the BoundarySurfaces cell to form a closed surface with the inner and outer circular rings as the boundaries. Use the ExtrudeAlong cell to extrude the closed surface into a body along the extrusion baseline and connect it to the output parameter micro-bar.

[0116] Step 5: Use EndPoint battery, GhPython Script battery, and ConstructPoint battery to obtain the member node far away from the deepening analysis node in the node-connected member. Take the closest split point to the deepening analysis node as the starting point, and the member node far away from the deepening analysis node in the node-connected member as the end point, use Line battery to create a straight line, and connect it with the output parameter macro member.

[0117] The steps of node ball deepening modeling are as follows:

[0118] Step 1: Use XYPlane to create an XY work plane with the input parameter deepening analysis node as the origin.

[0119] Step 2: Apply the GhPython Script battery to obtain the outer radius of the welding ball according to the input parameters of the node ball diameter, node ball wall thickness, node ball stiffener thickness, and node ball stiffener diameter R , inner radius r , 1 / 2 rib thickness t 1. Rib opening radius r 1.

[0120] Step 3: Using the XY work plane as the base point, apply the Sphere battery to create Ris a spherical shell with a radius of 1.0 and connected to the outer wall of the output parameter node sphere.

[0121] Step 4: Use Move, UnitZ, and Reverse to move and copy the input parameter deepening analysis node along the ±Z axis direction. t 1, use Line to connect the two copied points as the stretching baseline; use XYPlane to create an XY work plane with one of the copied points as the origin; r , r 1 as the radius, use Circle to create the inner and outer rings of the stiffener; use BoundarySurfaces to create a closed surface with the inner and outer rings of the stiffener as the boundary; use Extrude Along to stretch the closed surface to form the stiffener; use the XY work plane as the base point, and use Sphere to create a R and r Two spherical shells with a radius of 1.34 mm; the formed stiffener and the two spherical shells are connected with the output parameter node ball.

[0122] Step 3: In the Grasshopper environment, select the complete node deepening model, complete the intersection processing of the micro-bar and the node ball, the detailed bar overlap processing, and the micro-bar mesh encryption area segmentation in sequence, and obtain and export the processed node deepening model, such as Figure 2 (a) shown.

[0123] The steps for processing the intersection between the micro-bar and the node ball are as follows:

[0124] Step 1: Use the SplitBrep cell to perform Boolean operations on the mesoscopic rods obtained by the in-depth modeling of the truss rods and the outer wall of the node ball obtained by the in-depth modeling of the node ball to obtain the mesoscopic rods after the Boolean operation;

[0125] Step 2: Use List Item cells and CapHoles cells to modify all the mesoscopic members after Boolean operation from OpenBrep to ClosedBrep to obtain the processed mesoscopic members.

[0126] The steps for refining the bar lap joint processing are as follows:

[0127] Step 1: Use the NumberSilder cell to set the lapped member number and the lapped member number respectively;

[0128] Step 2: According to the overlapping member number and the overlapped member number, use the ListItem cell to select the overlapping member and the overlapped member from the processed mesoscopic members in turn;

[0129] Step 3: Use the SoildDifference cell to perform a Boolean difference operation on the lapped member and the lapped member to obtain the pruned lapped member; combine the pruned lapped member and the original lapped member to form a processed lapped member.

[0130] The steps for dividing the mesh densification area of ​​the micro-bar are as follows:

[0131] Step 1: Use the NumberSilder cell to set the grid encryption points;

[0132] Step 2: Use the List Item battery to select the non-overlapping mesoscopic members from the processed mesoscopic members, and combine them with the processed overlapping members to form a refined member combination set; use BrepEdges to extract the end ring lines of each member and the traces in the length direction of the member in the refined member combination set.

[0133] Step 3: Use the BoundarySurface cell to form a closed surface from the circular loop at the end of the rod.

[0134] Step 4: Use the Perp Frames battery to divide the length direction trace of the rod according to the mesh encryption points, and obtain the curve closest to the node as the dividing line of the mesh division.

[0135] Step 5: Use the Move to Plane tool to move the closed surface to the boundary of the mesh division, and use SplitBrepMultiple to split the refined member combination set.

[0136] Step 4: In the Grasshopper environment, select the processed and deepened model, and select and form all macro-member information data batteries, all micro-member (mesh sweep) information data batteries, macro-micro-member coupling information data batteries, and constraint and load information batteries in turn, such as Figure 2 (b) shown.

[0137] Among them, the steps of all macroscopic bar information data battery are as follows:

[0138] Step 1: According to the input variable section naming method, rod diameter and rod wall thickness, use C# Script battery and GhPythonScript battery to separate and extract the rod outer diameter and inner diameter from the input variable section information, and compare them with the input variable rod diameter and rod wall thickness to determine the outer diameter and wall thickness of the circular tube.

[0139] Step 2: Select the macro member curve and apply the End Points cell to separate the curve endpoints and end points.

[0140] Step 3: Use the Data cell to combine the curve endpoint, curve end point, tube outer diameter, and tube wall thickness to form all macroscopic rod information data.

[0141] The steps for generating all the micro-bar (grid sweep) information data are as follows:

[0142] Step 1: Use Brep cell to select microscopic rods.

[0143] Step 2: Use the BoxCorners cell to decompose and obtain the diagonal points of the space cuboid surrounding the microscopic rod; use the Deconstruct cell to decompose the two diagonal points and obtain the coordinates of the two points ( x min , y min , z min )and( x max , y max , z max ).

[0144] Step 3: Use the Data cell to combine the coordinates of the two points in order to form the microscopic bar (grid sweep) information.

[0145] The steps of the macro-micro rod coupling information data battery are as follows:

[0146] Step 1: Use Brep cells to select microscopic members and Line cells to select macroscopic members.

[0147] Step 2: Use the Deconstruct Brep cell to decompose and obtain the geometric surfaces of the microscopic rod; use the Area cell to obtain the centroid of each geometric surface;

[0148] Step 3: Use the EndPoints battery to decompose the macro-bar curve to obtain the starting point and end point of the curve; use GhPythonScript to filter the geometric surface points that coincide with the starting point or end point of the curve; use the BoxCorners battery to decompose the corresponding geometric surface to obtain the diagonal points of the space cuboid surrounding the geometric surface; use the Deconstruct battery to decompose the diagonal points to obtain the coordinates of the diagonal points ( x min , y min , z min )and( x max , y max , z max ).

[0149] Step 4: Use the Data cell to combine the coordinates of the diagonal points and the starting or ending point of the curve in order to form the macro-micro rod coupling information.

[0150] The steps of constraint and load information battery are as follows:

[0151] Step 1: Use the Point cell to select the constraint node; use the NumberSlider cell to set the value of the axial load; use the ValueList cell to set U x , U y , U z constraints.

[0152] Step 2: Apply GhPython Script Battery Acquisition U x , U y , U z The constraint information of the direction. If there is a constraint, the value is 1; if there is no constraint, the value is 0.

[0153] Step 3: Use the Data cell to combine the constraint nodes, axial load values, and constraint information in order to form constraint and load information.

[0154] Step 5: Use the Number Slider battery to set the number of macro-bar mesh divisions; use the NumberSlider battery to set the macro-bar mesh division size; use the ValueList battery to set the gravity direction option; use the Panel battery to set the ANSYS program path; use the Panel battery to set the ANSYS model save path; use the Panel battery to set the ANSYS model name; use the Panel battery to set the steel elastic modulus; use the Boolean Toggle battery to set the program startup Boolean switch, such as Figure 2 (b) shown.

[0155] Step 6: In the Grasshopper environment, develop CAD to ANSYS to weld the hollow ball node to deepen the modeling and analysis of the battery pack, such as Figure 2 (b) The steps of welding hollow sphere nodes from CAD to ANSYS to deepen the modeling and analysis of the battery are as follows:

[0156] Step 1: In the GH_CPython battery environment, call ansys.mapdl.core, os external libraries.

[0157] Step 2: Activate the ANSYSMAPDL program by entering the variables ANSYS_Working_Directory and ANSYS_Path and applying the launch_mapdl command.

[0158] Step 3: Initialize the model through the mapdl.run() command and the ANSYSAPDL command, and create the solid element soild185, the coupling element mpc184, the beam element beam188, and the mass element mass21 respectively.

[0159] Step 4: Based on the input parameter Macro_Frame_Inf, get the start and end points, diameter and wall thickness of the macro member, and then apply mapdl.run() and sectype, secdata, r commands to create the beam unit section and real constants.

[0160] Step 5: According to the input parameters Macro_Frame_Inf and Macro_Frame_Mesh_Num, obtain the starting and ending coordinates of the macro member, and use mapdl.run() and latt, lesize, and lmesh to mesh the member; according to the input parameters Micro_Frame_Inf and Micro_Frame_Mesh_Size, obtain the spatial position coordinates of the micro member, use mapdl.run() and the vsel command to select the micro member in the model, and use the vsweep command to sweep the mesh of the micro member; use the cmsel command to select the node ball, and use the vmesh command to perform free meshing on the node ball.

[0161] Step 6: According to the input parameter Macro_Micro_Frame_Coupling_Inf, obtain the spatial position coordinates of the macro-bar nodes and the micro-bars, and then use mapdl.run() and asel, *get commands to select all nodes of the micro-bar coupling surface, and use the e command to create mpc184 units between the macro-bar nodes and all nodes on the coupling surface for coupling.

[0162] Step 7: Based on the input parameter Load_Restraint_Inf, obtain the constraint node coordinates and spatial constraint conditions, as well as the load application conditions and size; apply concentrated loads to the nodes using the mapdl.run() and sfbeam commands; and apply constraints to the nodes using the mapdl.run() and d commands.

[0163] Step 8: According to the input parameter Gravity_Direction, use mapdl.run() and acel commands to set the direction of gravity acceleration and then perform the solution calculation.

[0164] The obtained CAD is used to deepen the modeling and analysis of the battery pack by welding hollow sphere nodes in ANSYS. The input parameters include:

[0165] 1) All macro-rod information Macro_Frame_Inf is connected to the data battery of all macro-rod information in step 4 above;

[0166] 2) Macro_Frame_Mesh_Num, which is connected to the Number Slider cell of the number of macro frame mesh divisions in step 5 above;

[0167] 3) All micro-bar (grid scan) information Micro_Frame_Inf is connected to the data battery of all micro-bar (grid scan) information in step 4 above;

[0168] 4) Micro_Frame_Mesh_Size, which is connected to the Number Slider cell of the macro frame mesh size in step 5 above;

[0169] 5) Macro-micro frame coupling information Macro_Micro_Frame_Coupling_Inf, which is connected to the macro-micro frame coupling information data battery in step 4 above;

[0170] 6) Constraints and loads Load_Restraint_Inf, connected to the constraint and load information battery in step 4 above;

[0171] 7) Gravity_Direction, connect to the Value List battery of the Gravity Direction option in step 5 above;

[0172] 8) ANSYS program path ANSYS_Path, connected to the Panel battery of the ANSYS program path in step 5 above;

[0173] 9) ANSYS model saving path ANSYS_Working_Directory is connected to the Panel battery of the ANSYS model saving path in step 5 above;

[0174] 10) ANSYS model name Job_Name, connected to the Panel battery of ANSYS model name in step 5 above;

[0175] 11) Steel elastic modulus Es, Panel battery with the steel elastic modulus in step 5 above;

[0176] 12) Start the program Run and connect the Boolean Toggle battery of the program start Boolean switch in step 5 above.

[0177] Step 7: In the Grasshopper environment, click the Boolean Toggle battery in step 5 above, and the program calls SAP2000 to complete the establishment and calculation of the welding node ball model.

[0178] The specific embodiments are as follows:

[0179] Taking a station building steel structure roof as an example, the method of the present invention is verified. One of the nodes is selected as the analysis object (such as Figure 3 ), the connected rods are φ325×12, φ219×10, φ159×6, φ180×10, φ325×12 respectively. The node is automatically modeled by the method of the present invention to obtain its finite element model. Considering the axial tension and pressure of 100 kN, the node is automatically solved and calculated by the method of the present invention. The calculation results are as follows: Figure 4 As shown in the figure. It takes at least 2 to 3 hours for a professional engineer to complete the physical modeling and finite element processing of such a ball node, but it only takes 1 to 2 minutes to use the plug-in to automate the modeling, which significantly improves the modeling efficiency and is simple to operate. You only need to select or enter the specified parameters step by step. Without considering the time spent on finite element calculation, it only takes 1 to 2 minutes to complete the finite element analysis of the welded hollow ball node using this method, which greatly improves the efficiency of the refined simulation of complex welding nodes and is convenient for engineers who are not familiar with finite element software to operate and use.

[0180] The content of the present invention is not limited to the embodiments listed, and any equivalent changes made to the technical solution of the present invention by ordinary technicians in this field after reading the description of the present invention are covered by the claims of the present invention.

Claims

1. A method for in-depth modeling and analysis of welded hollow sphere nodes by associating CAD and ANSYS, characterized in that: The steps include: Step 1: Arrange the 2D CAD drawings of the welded hollow spherical nodes, retain the intersection of the layer lines of the nodes required for analysis, retain the layer lines and cross-sectional dimensioning of the bars connected to the nodes required for analysis, and obtain the arranged 2D node plane drawings; Step 2: Load the sorted two-dimensional node plane drawing into the Rhino software, and in the Grasshopper environment, use the Point battery to select the intersection of the layer lines in the drawing; use the Curve battery to select the layer lines of the rods connected to the nodes in the drawing; use the Guid battery to select the cross-sectional dimensioning of the rods in the drawing; use the Number Slider battery to set the multiples of the length of the beam segment relative to the rod diameter for in-depth analysis; use the Panel battery to set the format of the cross-sectional dimensioning; use the Number Slider battery to set the node ball diameter; use the Number Slider battery to set the node ball wall thickness; use the Number Slider battery to set the node ball stiffening rib thickness; use the Number Slider battery to set the stiffening rib diameter; develop a truss rod in-depth modeling battery package and a node ball in-depth modeling battery package, and complete the in-depth modeling of each truss rod and the welding node ball in-depth modeling in turn to form a complete node in-depth model; Step 3: In the Grasshopper environment, select the complete node deepening model, complete the intersection processing of the micro-bar and the node ball, the detailed bar overlap processing, and the micro-bar mesh encryption area segmentation in sequence, and obtain and export the processed node deepening model; Step 4: In the Grasshopper environment, select the processed and deepened model, and select and form all macroscopic member information data batteries, all microscopic member information data batteries, macroscopic-microscopic member coupling information data batteries, and constraint and load information batteries in sequence; Step 5: Use the Number Slider battery to set the number of macro-bar mesh divisions; use the Number Slider battery to set the macro-bar mesh division size; use the ValueList battery to set the gravity direction option; use the Panel battery to set the ANSYS program path; use the Panel battery to set the ANSYS model save path; use the Panel battery to set the ANSYS model name; use the Panel battery to set the steel elastic modulus; use the Boolean Toggle battery to set the program startup Boolean switch; Step 6: In the Grasshopper environment, develop CAD to ANSYS to weld the hollow ball node to deepen the modeling and analysis of the battery pack; the input parameters of the obtained CAD to ANSYS to weld the hollow ball node to deepen the modeling and analysis of the battery pack include: 1) All macro-rod information Macro_Frame_Inf is connected to the data battery of all macro-rod information in step 4 above; 2) Macro_Frame_Mesh_Num, which is connected to the Number Slider cell of the number of macro frame mesh divisions in step 5 above; 3) All micro-frame information Micro_Frame_Inf is connected to all micro-frame information data batteries in the above step 4; 4) Micro_Frame_Mesh_Size, which is connected to the Number Slider cell of the macro frame mesh size in step 5 above; 5) Macro-micro frame coupling information Macro_Micro_Frame_Coupling_Inf, which is connected to the macro-micro frame coupling information data battery in step 4 above; 6) Constraints and loads Load_Restraint_Inf, connected to the constraint and load information battery in step 4 above; 7) Gravity_Direction, connect to the Value List battery of the Gravity Direction option in step 5 above; 8) ANSYS program path ANSYS_Path, connected to the Panel battery of the ANSYS program path in step 5 above; 9) ANSYS model saving path ANSYS_Working_Directory is connected to the Panel battery of the ANSYS model saving path in step 5 above; 10) ANSYS model name Job_Name, connected to the Panel battery of ANSYS model name in step 5 above; 11) Steel elastic modulus Es, Panel battery with the steel elastic modulus in step 5 above; 12) Start the program Run and connect it to the Boolean Toggle battery of the program start Boolean switch in step 5 above; Step 7: In the Grasshopper environment, click the Boolean Toggle battery in step 5 above. The program calls ANSYS to complete the establishment and calculation of the welding node ball model.

2. The method for in-depth modeling and analysis of welded hollow sphere nodes by associating CAD and ANSYS according to claim 1, characterized in that: In step 2, the input parameters of the truss rod detailed modeling battery pack include: 1) Deepen the analysis node and connect it to the Point battery at the intersection of the layer lines; 2) Node-connected rods and Curve batteries of layer lines; 3) The multiples of the length of the member in the detailed analysis relative to the member diameter are connected to the Number Slider battery of the multiples of the length of the beam segment in the detailed analysis relative to the member diameter; 4) Section information, connected to the Guid battery for bar section dimensioning; 5) Section naming method, which is connected to the Panel battery of the section dimensioning format; In the step 2, the output parameters of the truss rod in-depth modeling of the battery pack include: 1) macroscopic rods; 2) microscopic rods.

3. The method for in-depth modeling and analysis of welded hollow sphere nodes by associating CAD and ANSYS according to claim 2, characterized in that: In step 2, the steps of deepening the modeling of the truss rod are as follows: Step 1: Use the PlaneNormal cell to obtain a working plane with the input parameter deepening analysis node as the origin and the bar connected to the input parameter node as the Z axis; Step 2: According to the input variable section naming method, use C# Script battery and GhPython Script battery to separate and extract the rod outer diameter and rod inner diameter from the input variable section information, and use Divison battery to obtain the rod outer radius and rod inner radius; Step 3: Use the Multiplication cell to multiply the input parameter bar deepening analysis length relative to the bar diameter by the bar outer diameter to obtain the unit length of the bar segmentation; Use Contour battery, ListLength battery, and ListItem battery to split the bars connected to the node according to unit length, and select the split point closest to the in-depth analysis node; Step 4: Using the detailed analysis node as the starting point and the cutting point closest to the detailed analysis node as the end point, use the Line cell to create a stretching baseline; on the working plane in step 2.1, using the outer radius and inner radius of the bar in step 2.2, use the Circle cell to create inner and outer circular rings of the bar section; using the inner and outer circular rings as boundaries, use the BoundarySurfaces cell to form a closed surface; use the Extrude Along cell to stretch the closed surface into a body along the stretching baseline and connect it to the output parameter micro-bar; Step 5: Use EndPoint battery, GhPython Script battery, and ConstructPoint battery to obtain the member nodes in the node-connected members that are far away from the deepening analysis node; use the cutting point closest to the deepening analysis node as the starting point, and the member node in the node-connected members that is far away from the deepening analysis node as the end point, use Line battery to create a straight line, and connect it with the output parameter macro member.

4. The method for in-depth modeling and analysis of welded hollow sphere nodes by associating CAD and ANSYS according to claim 1, characterized in that: In step 2, the input parameters of the node ball in-depth modeling battery pack include: 1) Deepen the analysis node and connect it to the Point battery at the intersection of the layer lines; 2) Node ball diameter, connected to the Number Slider battery of the node ball diameter; 3) Node ball wall thickness, connected to the Number Slider battery of the node ball wall thickness; 4) Node ball stiffener thickness, connected to the node ball stiffener thickness Number Slider battery; 5) Node ball stiffener diameter, connected to the stiffener diameter Number Slider battery; In the step 2, the output parameters of the node ball in-depth modeling of the battery pack include: 1) the outer wall of the node ball; 2) the node ball.

5. The method for in-depth modeling and analysis of welded hollow sphere nodes by associating CAD and ANSYS according to claim 4, characterized in that: In step 2, the steps of node ball deepening modeling are as follows: Step 1: Use XYPlane to create an XY work plane with the input parameter deepening analysis node as the origin; Step 2: Apply the GhPython Script battery to obtain the outer radius of the welding ball according to the input parameters of the node ball diameter, node ball wall thickness, node ball stiffener thickness, and node ball stiffener diameter R , inner radius r , 1 / 2 rib thickness t 1. Rib opening radius r 1; Step 3: Using the XY work plane as the base point, apply the Sphere battery to create R is a spherical shell with a radius connected to the outer wall of the output parameter node sphere; Step 4: Use Move, UnitZ, and Reverse to move and copy the input parameter deepening analysis node along the ±Z axis direction. t 1, use Line to connect the two copied points as the stretching baseline; use XYPlane to create an XY work plane with one of the copied points as the origin; r , r 1 as the radius, use Circle to create the inner and outer rings of the stiffener; use BoundarySurfaces to create a closed surface with the inner and outer rings of the stiffener as the boundary; use Extrude Along to stretch the closed surface to form the stiffener; use the XY work plane as the base point, and use Sphere to create a R and r Two spherical shells with a radius of 1.34 mm; the formed stiffener and the two spherical shells are connected with the output parameter node ball.

6. The method for in-depth modeling and analysis of welded hollow sphere nodes in association with CAD and ANSYS according to claim 1, characterized in that: In step 3, the steps of microscopically processing the intersection between the rod and the node ball are as follows: Step 1: Use the SplitBrep cell to perform Boolean operations on the mesoscopic rods obtained by the in-depth modeling of the truss rods and the outer wall of the node ball obtained by the in-depth modeling of the node ball to obtain the mesoscopic rods after the Boolean operation; Step 2: Use List Item cells and CapHoles cells to modify all the mesoscopic members after Boolean operation from OpenBrep to ClosedBrep to obtain the processed mesoscopic members.

7. The method for in-depth modeling and analysis of welded hollow sphere nodes in association with CAD and ANSYS according to claim 1, characterized in that: In step 3, the steps of refining the rod overlap processing are as follows: Step 1: Use NumberSlider to set the number of the lapped member and the number of the lapped member respectively; Step 2: According to the overlapping member number and the overlapped member number, use the ListItem cell to select the overlapping member and the overlapped member from the processed mesoscopic members in turn; Step 3: Use the SoildDifference cell to perform a Boolean difference operation on the lapped member and the lapped member to obtain the pruned lapped member; combine the pruned lapped member and the original lapped member to form a processed lapped member.

8. The method for in-depth modeling and analysis of welded hollow sphere nodes in association with CAD and ANSYS according to claim 1, characterized in that: In step 3, the steps of dividing the mesh densification area of ​​the micro-bar are as follows: Step 1: Use NumberSlider to set the grid encryption points; Step 2: Use the List Item battery to select the non-overlapping mesoscopic members from the processed mesoscopic members, and combine them with the processed overlapping members to form a refined member combination set; use BrepEdges to extract the end ring lines of each member and the traces in the length direction of the member in the refined member combination set; Step 3: Use the BoundarySurface cell to form a closed surface from the circular loop at the end of the rod; Step 4: Use the Perp Frames battery to divide the traces in the length direction of the bar according to the grid encryption points, and obtain the curve closest to the node as the dividing line of the grid division; Step 5: Use the Move to Plane tool to move the closed surface to the boundary of the mesh division, and use SplitBrep Multiple to split the refined member combination set.

9. The method for in-depth modeling and analysis of welded hollow sphere nodes in association with CAD and ANSYS according to claim 1, characterized in that: In step 4, the steps of storing all macroscopic rod information data are as follows: Step 1: According to the input variable section naming method, rod diameter and rod wall thickness, use C# Script battery and GhPython Script battery to separate and extract the rod outer diameter and inner diameter from the input variable section information, and compare them with the input variable rod diameter and rod wall thickness to determine the outer diameter and wall thickness of the circular tube; Step 2: Select the macro member curve and use the End Points tool to separate the curve endpoints and end points. Step 3: Use the Data cell to combine the curve endpoint, curve end point, tube outer diameter, and tube wall thickness to form all macroscopic rod information data; In step 4, the steps of storing all micro-bar information data are as follows: Step 1: Use Brep battery to select microscopic rods; Step 2: Use the BoxCorners cell to decompose and obtain the diagonal points of the space cuboid surrounding the microscopic rod; use the Deconstruct cell to decompose the two diagonal points and obtain the coordinates of the two points ( x min , y min , z min )and( x max , y max , z max ); Step 3: Use the Data cell to combine the coordinates of the two points in order to form the microscopic bar information; In step 4, the steps of macro-micro rod coupling information data battery are as follows: Step 1: Use Brep battery to select microscopic rods and Line battery to select macroscopic rods; Step 2: Use the Deconstruct Brep cell to decompose and obtain the geometric surfaces of the microscopic rod; use the Area cell to obtain the centroid of each geometric surface; Step 3: Use the EndPoints battery to decompose the macro-bar curve to obtain the starting point and end point of the curve; use GhPythonScript to filter the geometric surface points that coincide with the starting point or end point of the curve; use the BoxCorners battery to decompose the corresponding geometric surface to obtain the diagonal points of the space cuboid surrounding the geometric surface; use the Deconstruct battery to decompose the diagonal points to obtain the coordinates of the diagonal points ( x min , y min , z min )and( x max , y max , z max ); Step 4: Use the Data cell to combine the coordinates of the diagonal points and the starting point or focus of the curve in order to form the macro-micro rod coupling information; In step 4, the steps of constraint and load information battery are as follows: Step 1: Use the Point cell to select the constraint node; use the NumberSlider cell to set the value of the axial load; use the ValueList cell to set U x , U y , U z Constraints of Step 2: Apply GhPython Script Battery Acquisition U x , U y , U z Direction constraint information, if there is a constraint, the value is 1, if there is no constraint, the value is 0; Step 3: Use the Data cell to combine the constraint nodes, axial load values, and constraint information in order to form constraint and load information.

10. The method for in-depth modeling and analysis of welded hollow sphere nodes in association with CAD and ANSYS according to claim 1, characterized in that: In step 6, the steps of welding hollow sphere nodes from CAD to ANSYS to deepen the modeling and analysis of the battery are as follows: Step 1: In the GH_CPython battery environment, call ansys.mapdl.core and os external libraries; Step 2: Activate the ANSYSMAPDL program by entering the variables ANSYS_Working_Directory and ANSYS_Path and applying the launch_mapdl command; Step 3: Initialize the model through the mapdl.run() command and the ANSYSAPDL command, and create the solid element soild185, the coupling element mpc184, the beam element beam188, and the mass element mass21 respectively; Step 4: According to the input parameter Macro_Frame_Inf, the start and end points, diameter and wall thickness of the macro member are obtained, and then mapdl.run() and sectype, secdata, r commands are applied to create the beam unit section and real constants; Step 5: According to the input parameters Macro_Frame_Inf and Macro_Frame_Mesh_Num, the coordinates of the start and end points of the macro member are obtained, and the member is meshed using mapdl.run() and latt, lesize, and lmesh; according to the input parameters Micro_Frame_Inf and Micro_Frame_Mesh_Size, the spatial position coordinates of the micro member are obtained, and the mapdl.run() and vsel commands are used to select the micro member in the model, and the vsweep command is used to perform mesh sweeping on the micro member; the cmsel command is used to select the node ball, and the vmesh command is used to perform free meshing on the node ball; Step 6: According to the input parameter Macro_Micro_Frame_Coupling_Inf, obtain the spatial position coordinates of the macro-bar nodes and the micro-bars, and then use mapdl.run() and asel, *get commands to select all nodes on the micro-bar coupling surface, and use the e command to create mpc184 units between the macro-bar nodes and all nodes on the coupling surface for coupling; Step 7: According to the input parameter Load_Restraint_Inf, obtain the constraint node coordinates and spatial constraint conditions, as well as the load application conditions and magnitude; apply concentrated loads to the nodes using the mapdl.run() and sfbeam commands; apply constraints to the nodes using the mapdl.run() and d commands; Step 8: According to the input parameter Gravity_Direction, use mapdl.run() and acel commands to set the direction of gravity acceleration and then perform the solution calculation.