Unstructured mesh like gmsh

Moderator: GiD Team

Post Reply
Chambernan
Posts: 23
Joined: Tue Mar 22, 2022 3:13 pm

Unstructured mesh like gmsh

Post by Chambernan »

Hello!

I want to divide the unstructured grid in GID like the delaunay algorithm in gmsh, I don't know if it is possible?
Because after I set the line and surface, there are many elements still looks like the structured meshes.

I know it's possible to import gmsh's mesh into GiD, but for gmsh the mesh of two independent faces is similar to the mesh on two layers. But I want to mesh both faces on the same layer, and it's possible in GiD.

Thank you!
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

Re: Unstructured mesh like gmsh

Post by escolano »

I don't understand well your questions
1-What mean for you
to divide the unstructured grid
?

You can split a selection of triangles or tetrahedra, and each edge affected by the selection is divided in two, adding a node in the mid-edge.
Mesh->Edit mesh->Split elements

2-You can load in GiD a mesh written in GiD mesh ASCII format (very simple format https://gidsimulation.atlassian.net/wik ... 0/GiD+mesh)

You can create the mesh with gmsh or other external tool and somehow convert it to this format (or other allowed to be imported in GiD), and can send the nodes or elements to the layer you want.

I don't know what
for gmsh the mesh of two independent faces is similar to the mesh on two layers
means

You can also write in Tcl scripting a procedure to import a gmsh file, in case that has a simple syntax as I expect
and can create GiD nodes and elements at runtime with the "GiD_Mesh create ... " Tcl command
https://gidsimulation.atlassian.net/wik ... ocess+mesh
Chambernan
Posts: 23
Joined: Tue Mar 22, 2022 3:13 pm

Re: Unstructured mesh like gmsh

Post by Chambernan »

Thank you for your patience in answering me, I'll look into it again.
Post Reply