| In the 21 st century,with the advancement of computer technology,computer simulation has gradually become an important method for engineering design and improving product performance,and has become more and more widely used in scientific research and engineering fields.As an important technical means of computer simulation,3D computer reconstruction technology plays an important role.In the simulation process,how to realize the modeling of deformed geometry with multiple parts and loads becomes the focus and difficulty of modeling.This paper mainly uses the ABAQUS software as the platform and the secondary development as the approach.It uses Python script to write programs to realize the reconstruction of deformed geometry of tetrahedron,pentahedron and hexahedron meshes,thereby developing a new modeling method and laying the foundation for modeling during multi-load loading.The programming methods and steps can be divided into the following steps:1.Obtain the data of deformed geometry: write a script to achieve post-processing of the data.The ODB data file contains the node data information needed in the modeling process.First,access the ODB file to obtain the original node coordinates and displacement node coordinates,and save these data in the form of a document.Then use a simple algorithm to post-process these data,and finally obtain the deformed node coordinates data.Process it to obtain the data results list,save and view the data.2.Reconstruct deformed geometry: Write a script to implement the reconstruction process.The principle of reconstruction is to use the data list to construct each different units after deformed structure by using the method of constructing lines from points,planes from lines,and surface structures in ABAQUS.After cyclic reconstruction of all the units,all units need to be merged with a certain number of units on this basis,and finally merged into a deformed entity.3.Repair the mesh on the surface: After the reconstruction,the points and lines between the geometry can be merged.However,a large number of meshes will be generated on the surface of the geometry.By writing a script,use the topology function to repair the surface mesh and complete the final reconstruction.During the reconstruction of multi-part geometry,the data results will be misplaced.In order to accurately obtain the data results,it is necessary to establish a node coordinate for each part during modeling,because each part is encoded from the beginning,multiple sets of codes will be misaligned when reading data.According to different models,the general meshing techniques include tetrahedral mesh technology,pentahedral mesh,and hexahedral mesh.Tetrahedral meshes are suitable for meshes with more complex structures,and pentahedral and hexahedral meshes are more suitable for models with regular shapes.The reconstruction of the hybrid grid was realized through development,the process of grid reconstruction was realized,the visualization of the data was realized,and a modeling method and ideas were provided for the modeling of the deformed geometry. |