Question about tetrahedral element types
Posted: Wed Sep 06, 2017 2:37 pm
I have a .dat file created by a third-party problemtype which I did not design. I do not have the complete GiD project. I am reconstituting the geometry using tcl native commands to read the .dat file and GiD_Process commands to draw the geometry. The .bas file for the problemtype I am using loops over elements and outputs their connectivities as follows:
*loop elems
*ellemsconec
*end elems
which outputs lines in the dat file as follows:
....
195 176 198 177 185 188 197 184 175 187
415 419 394 382 417 408 406 397 398 391
626 600 622 608 613 609 623 616 603 612
...
for quadratic elements (Mesh>Quadratic Type>Quadratic).
I am re-creating these elements one-by-one using tcl (Mesh>Edit Mesh>Create Element>Tetrahedra) or:
GiD_Process Mescape Meshing EditMesh CreateElement Tetrahedra 195 176 198 177
GiD_Process Mescape Meshing EditMesh CreateElement Tetrahedra 415 419 394 382
GiD_Process Mescape Meshing EditMesh CreateElement Tetrahedra 626 600 622 608
The problem is now the intermediate nodes (last 5) are not part of the elements anymore and still appear as independent nodes in the mesh. The mesh however was created using the same element type as I am now editing it. How can I include the intermediate nodes even though it is a Quadratic type element?
*loop elems
*ellemsconec
*end elems
which outputs lines in the dat file as follows:
....
195 176 198 177 185 188 197 184 175 187
415 419 394 382 417 408 406 397 398 391
626 600 622 608 613 609 623 616 603 612
...
for quadratic elements (Mesh>Quadratic Type>Quadratic).
I am re-creating these elements one-by-one using tcl (Mesh>Edit Mesh>Create Element>Tetrahedra) or:
GiD_Process Mescape Meshing EditMesh CreateElement Tetrahedra 195 176 198 177
GiD_Process Mescape Meshing EditMesh CreateElement Tetrahedra 415 419 394 382
GiD_Process Mescape Meshing EditMesh CreateElement Tetrahedra 626 600 622 608
The problem is now the intermediate nodes (last 5) are not part of the elements anymore and still appear as independent nodes in the mesh. The mesh however was created using the same element type as I am now editing it. How can I include the intermediate nodes even though it is a Quadratic type element?