GiD软件具有全面的几何建模、网格划分、CAD数据导入、后处理结果显示等功能。GiD采用类似于CAD的操作模式,用户在使用GiD创建复杂模型问题时,会感受到前所未有的方便和轻松。它易于操作、方便灵活、直观便捷。
1. 下载与安装
到官方网站下载适合电脑配置的版本,并安装。
https://www.gidhome.com/download/
2. 获取试用一个月的密码
安装好程序后,打开软件,Help > Register GiD... 弹出“Enter password window”对话框。点击http://www.gidhome.com/purchase/passwords,按照提示输入相关信息获取密码。
3. 对于导入的模型如.obj, .stl,如何能生成体素化mesh? 即网格曲面模型转化为体素化模型。
If do you want to create the tetrahedra enclosed by your triangular surfaces (the boundary faces of tetras exactly matching your triangles), you can do it writting this:
Code: Select all
Mescape Meshing MeshFromBoundary
and select the triangles that form a closed region to be filled with tetras.
This is not the normal flow of use of GiD, it is more natural to have a geometric volume, apply boundary conditions/materials and then generate the mesh.
As trick, you can create a gometrical surface for each triangle
Code: Select all
Mescape Geometry Create Reconstruct OneSurfForEachElement
and select the triangles to create surfaces from them
then you can create a geometric volume, assign boundary conditions to geometric entities and generate a mesh
(as trick to create a triangle by surface assign a structured number of divisions=1 to all lines. Menu:Mesh->Structured->Lines->Assign number of cells)
To create thin prisms from triangles you can do a similar think, and use the copy tool with an operation of 'offset', and extruding volumes.
You can do it in mesh or geometry (it is better to do it in geometry, to allo use more edition tool, allow re-mesing, and handle assign calculation conditions.
This command (Geometry Create Reconstruct OneSurfForEachElement) is recent and only exists in last GiD 12.1.xd developer versions.
Dowload the last available developer version.
With old GiD's without this command you can try to do a trick to create a surface by triangle:
1- Export your current triangles with: Files->Export->Using template .bas (only mesh)->DXFSAP2000
2- Import again the .dxf file with Files->Import->DXF...
If 'automatic collapse after import' was not set while importing the DXF do you need to do a model collapse with a small tolerance (else surfaces are unconnected)
注意:当模型比较复杂时,用上述方法将三角网格曲面的模型转化为体素化的模型不仅耗内存,而且易出错。
Reference: https://www.gidhome.com/forum/viewtopic.php?f=6&t=2790