[GiDlist] template file creation

Moderator: GiD Team

Post Reply
Sebastian

[GiDlist] template file creation

Post by Sebastian »

Hi

I am using the template file creation feature. Currently I have it
configured that way to let print out the element numbers and the nodes
of those volume elements a volume condition is applied to and of those
surface elements any surface condition is applied to. Now it
occasionally happens that an affected surface element is also part of an
affected volume element. Since surface and volume elements have
different element numbers, it seems there is no way tell that some of
those surface and volume elements belong to each other. However, this
would be important to know for my program. Thanks for any suggestions.

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

[GiDlist] template file creation

Post by escolano »

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

Enrique Escolano
----- Original Message -----
From: "Sebastian" pcguru at gmx.de
To: gidlist at gatxan.cimne.upc.es
Sent: Sunday, February 06, 2005 4:48 PM
Subject: [GiDlist] template file creation


Hi

I am using the template file creation feature. Currently I have it
configured that way to let print out the element numbers and the nodes
of those volume elements a volume condition is applied to and of those
surface elements any surface condition is applied to. Now it
occasionally happens that an affected surface element is also part of an
affected volume element. Since surface and volume elements have
different element numbers, it seems there is no way tell that some of
those surface and volume elements belong to each other. However, this
would be important to know for my program. Thanks for any suggestions.

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

Sebastian

[GiDlist] template file creation

Post by Sebastian »

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
Post Reply