Page 1 of 1

Quadratic tetrahedral elements node order.

Posted: Sat Nov 18, 2023 3:09 pm
by Rolando
Dear all,

I have already generated a 3d solid mesh using quadratic tetrahedral elements. I did extract the .txt file and imported directly into DIANA FEM software. However, it seems that the node order definition of each element [node1, node2, node3,...,node10] is not already compatible with the order definition expected in DiANA (see the image below). Is it possible to redefine node order within GiD?

Thanks in advance!

Image

Re: Quadratic tetrahedral elements node order.

Posted: Thu Nov 23, 2023 7:11 pm
by escolano
How is this .txt file extracted from GiD?

Maybe the DIANA FEM solver is able to read some format exported by GiD, like NASTRAN, VTK, Exodus ||

Otherwise your must write a GiD problemtype 'DIANA' and write the GiD information in the native format expected by this program.
The file can be written for simple cases with a .bas GiD template (typical of classic problemtypes) or with some Tcl scripting procedure (typical of customLib problemtypes)

Maybe you are already writing it with a .bas template,
then you can write the element connectivities in the order you want
e.g.
inside a *loop elems / *end elems
instead a simple
*elemsconec
that will write all connectivities but with the order predefined in GiD you
can write the local index (from 1) of the element node that you want to be printed
e.g.
*elemsconec(3) *elemsconec(2) *elemsconec(1) ...