[GiDlist] template file creation

Moderator: GiD Team

Post Reply
User avatar
escolano
Posts: 1922
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] template file creation

Post by escolano »

It seems than you don't explicitly need to generate quadrilaterals and
hexahedras.
you must define a condition "over surfaces" to be applied "over face
elements".
Then you only need to generate hexahedras, but not quadrilaterals (default
option), and the condition only mark some element face.

and you must use a bas loop like this:

*set cond mycond elems
*loop elems *onlyincond
Face element nodes: *globalnodes
Volume element: *elemsnum
*end elems

Note: In other hand, GiD entities internally doesn't store pointers to
their higher entities,
then it's not easy/fast to use a command like *higherOrderElemNum

Regards
Enrique Escolano

----- Original Message -----
From: "Sebastian" pcguru at gmx.de
To: gidlist at gatxan.cimne.upc.edu.gid.cimne.upc.edu
Cc: gidlist at gatxan.cimne.upc.es
Sent: Monday, February 07, 2005 1:12 PM
Subject: Re: [GiDlist] template file creation


Enrique Escolano wrote:

I don't understand well your problem.
Maybe your own program can detect (comparing the node numbers) that a
surface element is the face of a volume element


Yes, I already thought of this, but I wanted to avoid to write such a
algorithm myself. I hoped that each face element "knows" that it is part
of a certain volume element and it would be possible to simply retrieve
the ID of this volume element like

*set var surfaceElem = 0
*Set elems(Quadrilateral)
*loop elems
*set var surfaceElemNum = surfaceElemNum + 1
Face Element *surfaceElemNum -- Volume Element *higherOrderElemNum
*end elems

I guess these volume element IDs are available in GID's tcl scripts,
however, such a command *higherOrderElemNum isn't probably implemented
yet, so that the user could also access to this information.

Cheers

Sebastian
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20050208/ccb13067/attachment.htm
Post Reply