Page 1 of 1

Enumeration of a twenty-node isoparametric solid brick element.

Posted: Thu Feb 22, 2018 11:31 pm
by OCTOQUIN
I have a problem with the enumeration of the nodes of a brick of 20 nodes, GID lists counterclockwise and from corner to corner, leaving at the end the intermediate nodes that connect these corners.
I was thinking if there is a way for there to be a script that lists according to the image "Figure 7.45: CHX60":
https://dianafea.com/manuals/d100/Theory/node39.html

I am generating the mesh in GID to be later operated in a format that DIANA requests

Re: Enumeration of a twenty-node isoparametric solid brick element.

Posted: Fri Feb 23, 2018 10:44 am
by escolano
GiD has its own order of element's nodes (as can be seen in the documentation), but you can print it in the order you want.
How are you exporting the file for DIANA?

a) Using a template .bas?
then inside the *loop elems / *end elems
instead of print all connectivities with
*elemsconec
that will print the list of node ids with the GiD order
you can ask each individual connectivity with and extra argument
*elemsconec(1) *elemsconec(2) ... *elemsconec(20)
and then you can reorder it as you want.

b) Using a Tcl procedure, do you have much more control,
you can ask GiD mesh information with commands like
GiD_Info mesh ...
and
GiD_Mesh get ...
(see GiD customization manual for the full syntax of these commands)
and print to a file what you want