Page 1 of 1

[GiDlist] Line mesh

Posted: Thu Nov 20, 2003 10:54 pm
by Khaled Obeidat
Hello GID team,

Can you please let me know if i can create a mesh for a surface using just
lines as element instead of triangular. if not how can I get a list of
lines with their nodes from each triangular element. for example meshing
the surface using triangular will give a mesh that contains triangulars,
these triangulars will share same edges (lines), I want to obtain a list of
the non-duplicate lines that make these triangulars.

Best Regards,


Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20031120/8030cd26/attachment.htm

[GiDlist] Line mesh

Posted: Fri Nov 21, 2003 9:41 pm
by Enrique Escolano
It do not exists now any command to ask GiD this "unrepeaded edge list".
Your code must enumerate all element edges, and remove repeated ones.

In fact, internally GiD store this edges for drawing pourposes: is more fast to do not draw twice a edge, but it's not
possible to get this internal information.

Enrique Escolano
----- Original Message -----
From: Khaled Obeidat
To: gidlist at gatxan.cimne.upc.es
Sent: Thursday, November 20, 2003 10:50 PM
Subject: [GiDlist] Line mesh


Hello GID team,

Can you please let me know if i can create a mesh for a surface using just lines as element instead of triangular. if not how can I get a list of lines with their nodes from each triangular element. for example meshing the surface using triangular will give a mesh that contains triangulars, these triangulars will share same edges (lines), I want to obtain a list of the non-duplicate lines that make these triangulars.

Best Regards,


Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20031121/d4a6a620/attachment-0001.htm

[GiDlist] Line mesh

Posted: Tue Dec 02, 2003 8:27 pm
by Khaled Obeidat
Does that mean I can get a list of all the edges directly from GID, where I
have to go then over the list to remove duplicated edges. if yes can you
please let me know what is the command to return a list of all the edges.

Best regards,


At 05:35 AM 11/21/2003, you wrote:
It do not exists now any command to ask GiD this "unrepeaded edge list".
Your code must enumerate all element edges, and remove repeated ones.

In fact, internally GiD store this edges for drawing pourposes: is more
fast to do not draw twice a edge, but it's not
possible to get this internal information.

Enrique Escolano
----- Original Message -----
From: mailto:kobeidat at emagtechnologies.comKhaled Obeidat
To: mailto:gidlist at gatxan.cimne.upc.esgidlist at gatxan.cimne.upc.es
Sent: Thursday, November 20, 2003 10:50 PM
Subject: [GiDlist] Line mesh

Hello GID team,

Can you please let me know if i can create a mesh for a surface using
just lines as element instead of triangular. if not how can I get a list
of lines with their nodes from each triangular element. for example
meshing the surface using triangular will give a mesh that contains
triangulars, these triangulars will share same edges (lines), I want to
obtain a list of the non-duplicate lines that make these triangulars.

Best Regards,

Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com

Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20031202/7aa17046/attachment.htm

[GiDlist] Line mesh

Posted: Tue Dec 02, 2003 9:33 pm
by Enrique Escolano
GiD cannot provide the edge list (with or without repetition). GiD provide the element connectivities.
for example to obtain from GiD-tcl a list of all tetrahedras, can use:

set elemtetra [.central.s info mesh elements tetrahedra]

For a single element you must enumerate the implicit edges ( AB BC and CA for a triangle with nodes ABC), but
if you enumerate all elements, then is obtained a list with repeated edges (the internal edges).

You easily with tcl must reordenate this list with tcl and avoid duplicated (AB == BA) edges.
Read the standard Tcl help about the "lsort" command

Enrique Escolano
----- Original Message -----
From: Khaled Obeidat
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, December 02, 2003 8:20 PM
Subject: Re: [GiDlist] Line mesh


Does that mean I can get a list of all the edges directly from GID, where I have to go then over the list to remove duplicated edges. if yes can you please let me know what is the command to return a list of all the edges.

Best regards,


At 05:35 AM 11/21/2003, you wrote:

It do not exists now any command to ask GiD this "unrepeaded edge list".
Your code must enumerate all element edges, and remove repeated ones.

In fact, internally GiD store this edges for drawing pourposes: is more fast to do not draw twice a edge, but it's not
possible to get this internal information.

Enrique Escolano

----- Original Message -----

From: Khaled Obeidat

To: gidlist at gatxan.cimne.upc.es

Sent: Thursday, November 20, 2003 10:50 PM

Subject: [GiDlist] Line mesh


Hello GID team,


Can you please let me know if i can create a mesh for a surface using just lines as element instead of triangular. if not how can I get a list of lines with their nodes from each triangular element. for example meshing the surface using triangular will give a mesh that contains triangulars, these triangulars will share same edges (lines), I want to obtain a list of the non-duplicate lines that make these triangulars.



Best Regards,


Khaled Obeidat

Research Engineer

EMAG Technologies, Inc.

www.emagtechnologies.com


Khaled Obeidat
Research Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20031202/9da65148/attachment.htm