[GiDlist] GiDlist Digest, Vol 41, Issue 4

Moderator: GiD Team

Post Reply
Deepak Samal

[GiDlist] GiDlist Digest, Vol 41, Issue 4

Post by Deepak Samal »

Thanks for your reply Enrique. But I didn't get your point. As far as I
know, Conditions in GID are applied for load or boundary assignments. Can
the conditions be used for assigning elements too to a particular set of
materials. Actually I'm quite new to GID and I'm sure there is some other
technique to do that but I'm unable to figure it out. Hope I have made my
doubt comprehensible.

Thanks,


On Tue, Dec 31, 2013 at 4:30 PM, gidlist-request at listas.cimne.upc.eduwrote:

Send GiDlist mailing list submissions to
gidlist at listas.cimne.upc.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at listas.cimne.upc.edu

You can reach the person managing the list at
gidlist-owner at listas.cimne.upc.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."


Today's Topics:

1. Regarding loop over elements (Deepak Samal)
2. Re: Regarding loop over elements (Enrique Escolano)


----------------------------------------------------------------------

Message: 1
Date: Mon, 30 Dec 2013 16:41:59 +0530
From: Deepak Samal deepaknbuddies at gmail.com
Subject: [GiDlist] Regarding loop over elements
To: gidlist at listas.cimne.upc.edu
Message-ID:

CACU__40tX5iKT37j3WZDqgaA-qPD8edTVf5LZjRcy19pkbZqww at mail.gmail.com
Content-Type: text/plain; charset="iso-8859-1"

Dear All,

I have to assign a set of elements each time to different materials. I have
around 60 different materials and around 9000 elements. Problem is
previously I was assigning elements by creating different layers for
different materials and assigning elements by using loop over elements by
setting the corresponding layer ON. But now I'm in a fix whether I should
be creating 60 different layers for 60 different materials and assigning
them the corresponding elements or is their any better way to do that?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131230/7e682765/attachment.html

------------------------------

Message: 2
Date: Mon, 30 Dec 2013 13:06:11 +0100
From: "Enrique Escolano" escolano at cimne.upc.edu
Subject: Re: [GiDlist] Regarding loop over elements
To: gidlist at listas.cimne.upc.edu
Message-ID: 003601cf0557$87daa2a0$978fe7e0$@cimne.upc.edu
Content-Type: text/plain; charset="us-ascii"

I don't understand well your case.

Are you trying to calculate the same model several times changing every
time
the kind of material?



you can create a Tcl procedure to automatize tasks. With Tcl-GiD commands
you can ask for the current model properties (layers, materials, entities,
etc) or you can change this propertities (assing materials or conditions ,
create entities, etc.)

This procedure could be set as a 'macro' to be invoked from an icon of the
'macro toolbar'



Are you using your own problemtype or a third part problemtype?

If you are developing your own problemtype maybe you can change your
approach, and instead a 'GiD material' could use a 'GiD condition' and
instead of define this condition as 'over body elements' and apply it to
each one of its elements could define the condition as 'over layer' or
using
last GiD 11.1.x versions as 'over group' and then you can set once the
entities of the layer or group and to apply the condition (that represent
your material) it is necessary to select only a layer or group name.



Regards



Enrique Escolano



De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de Deepak Samal
Enviado el: lunes, 30 de diciembre de 2013 12:12
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Regarding loop over elements



Dear All,



I have to assign a set of elements each time to different materials. I have
around 60 different materials and around 9000 elements. Problem is
previously I was assigning elements by creating different layers for
different materials and assigning elements by using loop over elements by
setting the corresponding layer ON. But now I'm in a fix whether I should
be
creating 60 different layers for 60 different materials and assigning them
the corresponding elements or is their any better way to do that?



Thank you

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

------------------------------

_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist


End of GiDlist Digest, Vol 41, Issue 4
**************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140101/734447c0/attachment.htm
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] GiDlist Digest, Vol 41, Issue 4

Post by escolano »

To store the material properties for the analysis you can use

a) A ‘GiD material’

b) A ‘GiD condition’

A condition is really a data container that could be attached to geometry
or mesh entities, then you can use it to attach ‘material properties’



Enrique



De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de Deepak Samal
Enviado el: miércoles, 1 de enero de 2014 7:11
Para: gidlist at listas.cimne.upc.edu
Asunto: Re: [GiDlist] GiDlist Digest, Vol 41, Issue 4



Thanks for your reply Enrique. But I didn't get your point. As far as I
know, Conditions in GID are applied for load or boundary assignments. Can
the conditions be used for assigning elements too to a particular set of
materials. Actually I'm quite new to GID and I'm sure there is some other
technique to do that but I'm unable to figure it out. Hope I have made my
doubt comprehensible.



Thanks,



On Tue, Dec 31, 2013 at 4:30 PM, gidlist-request at listas.cimne.upc.edu
wrote:

Send GiDlist mailing list submissions to
gidlist at listas.cimne.upc.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at listas.cimne.upc.edu

You can reach the person managing the list at
gidlist-owner at listas.cimne.upc.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."


Today's Topics:

1. Regarding loop over elements (Deepak Samal)
2. Re: Regarding loop over elements (Enrique Escolano)


----------------------------------------------------------------------

Message: 1
Date: Mon, 30 Dec 2013 16:41:59 +0530
From: Deepak Samal deepaknbuddies at gmail.com
Subject: [GiDlist] Regarding loop over elements
To: gidlist at listas.cimne.upc.edu
Message-ID:
CACU__40tX5iKT37j3WZDqgaA-qPD8edTVf5LZjRcy19pkbZqww at mail.gmail.com
Content-Type: text/plain; charset="iso-8859-1"

Dear All,

I have to assign a set of elements each time to different materials. I have
around 60 different materials and around 9000 elements. Problem is
previously I was assigning elements by creating different layers for
different materials and assigning elements by using loop over elements by
setting the corresponding layer ON. But now I'm in a fix whether I should
be creating 60 different layers for 60 different materials and assigning
them the corresponding elements or is their any better way to do that?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131230/7e682765/
attachment.html

------------------------------

Message: 2
Date: Mon, 30 Dec 2013 13:06:11 +0100
From: "Enrique Escolano" escolano at cimne.upc.edu
Subject: Re: [GiDlist] Regarding loop over elements
To: gidlist at listas.cimne.upc.edu
Message-ID: 003601cf0557$87daa2a0$978fe7e0$@cimne.upc.edu
Content-Type: text/plain; charset="us-ascii"

I don't understand well your case.

Are you trying to calculate the same model several times changing every time
the kind of material?



you can create a Tcl procedure to automatize tasks. With Tcl-GiD commands
you can ask for the current model properties (layers, materials, entities,
etc) or you can change this propertities (assing materials or conditions ,
create entities, etc.)

This procedure could be set as a 'macro' to be invoked from an icon of the
'macro toolbar'



Are you using your own problemtype or a third part problemtype?

If you are developing your own problemtype maybe you can change your
approach, and instead a 'GiD material' could use a 'GiD condition' and
instead of define this condition as 'over body elements' and apply it to
each one of its elements could define the condition as 'over layer' or using
last GiD 11.1.x versions as 'over group' and then you can set once the
entities of the layer or group and to apply the condition (that represent
your material) it is necessary to select only a layer or group name.



Regards



Enrique Escolano



De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de Deepak Samal
Enviado el: lunes, 30 de diciembre de 2013 12:12
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Regarding loop over elements



Dear All,



I have to assign a set of elements each time to different materials. I have
around 60 different materials and around 9000 elements. Problem is
previously I was assigning elements by creating different layers for
different materials and assigning elements by using loop over elements by
setting the corresponding layer ON. But now I'm in a fix whether I should be
creating 60 different layers for 60 different materials and assigning them
the corresponding elements or is their any better way to do that?



Thank you

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

------------------------------

_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist


End of GiDlist Digest, Vol 41, Issue 4
**************************************



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140101/713ee466/attachment.htm
Deepak Samal

[GiDlist] GiDlist Digest, Vol 42, Issue 1

Post by Deepak Samal »

Thanks for your Advice Enrique. I will work on the procedure you mentioned
and see where I get.
Thanks for your time.

Regards


On Wed, Jan 1, 2014 at 4:30 PM, gidlist-request at listas.cimne.upc.eduwrote:

Send GiDlist mailing list submissions to
gidlist at listas.cimne.upc.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at listas.cimne.upc.edu

You can reach the person managing the list at
gidlist-owner at listas.cimne.upc.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."


Today's Topics:

1. Re: GiDlist Digest, Vol 41, Issue 4 (Deepak Samal)


----------------------------------------------------------------------

Message: 1
Date: Wed, 1 Jan 2014 11:41:01 +0530
From: Deepak Samal deepaknbuddies at gmail.com
Subject: Re: [GiDlist] GiDlist Digest, Vol 41, Issue 4
To: gidlist at listas.cimne.upc.edu
Message-ID:

CACU__43GFrTa24aCEegy9CWndcgcTuUF1pm9KzuncpL0s69wBA at mail.gmail.com
Content-Type: text/plain; charset="iso-8859-1"

Thanks for your reply Enrique. But I didn't get your point. As far as I
know, Conditions in GID are applied for load or boundary assignments. Can
the conditions be used for assigning elements too to a particular set of
materials. Actually I'm quite new to GID and I'm sure there is some other
technique to do that but I'm unable to figure it out. Hope I have made my
doubt comprehensible.

Thanks,


On Tue, Dec 31, 2013 at 4:30 PM, gidlist-request at listas.cimne.upc.edu
wrote:

Send GiDlist mailing list submissions to
gidlist at listas.cimne.upc.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at listas.cimne.upc.edu

You can reach the person managing the list at
gidlist-owner at listas.cimne.upc.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."


Today's Topics:

1. Regarding loop over elements (Deepak Samal)
2. Re: Regarding loop over elements (Enrique Escolano)


----------------------------------------------------------------------

Message: 1
Date: Mon, 30 Dec 2013 16:41:59 +0530
From: Deepak Samal deepaknbuddies at gmail.com
Subject: [GiDlist] Regarding loop over elements
To: gidlist at listas.cimne.upc.edu
Message-ID:

CACU__40tX5iKT37j3WZDqgaA-qPD8edTVf5LZjRcy19pkbZqww at mail.gmail.com
Content-Type: text/plain; charset="iso-8859-1"

Dear All,

I have to assign a set of elements each time to different materials. I
have
around 60 different materials and around 9000 elements. Problem is
previously I was assigning elements by creating different layers for
different materials and assigning elements by using loop over elements by
setting the corresponding layer ON. But now I'm in a fix whether I should
be creating 60 different layers for 60 different materials and assigning
them the corresponding elements or is their any better way to do that?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL:

http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131230/7e682765/attachment.html

------------------------------

Message: 2
Date: Mon, 30 Dec 2013 13:06:11 +0100
From: "Enrique Escolano" escolano at cimne.upc.edu
Subject: Re: [GiDlist] Regarding loop over elements
To: gidlist at listas.cimne.upc.edu
Message-ID: 003601cf0557$87daa2a0$978fe7e0$@cimne.upc.edu
Content-Type: text/plain; charset="us-ascii"

I don't understand well your case.

Are you trying to calculate the same model several times changing every
time
the kind of material?



you can create a Tcl procedure to automatize tasks. With Tcl-GiD commands
you can ask for the current model properties (layers, materials,
entities,
etc) or you can change this propertities (assing materials or conditions
,
create entities, etc.)

This procedure could be set as a 'macro' to be invoked from an icon of
the
'macro toolbar'



Are you using your own problemtype or a third part problemtype?

If you are developing your own problemtype maybe you can change your
approach, and instead a 'GiD material' could use a 'GiD condition' and
instead of define this condition as 'over body elements' and apply it to
each one of its elements could define the condition as 'over layer' or
using
last GiD 11.1.x versions as 'over group' and then you can set once the
entities of the layer or group and to apply the condition (that represent
your material) it is necessary to select only a layer or group name.



Regards



Enrique Escolano



De: gidlist-bounces at listas.cimne.upc.edu
[mailto:gidlist-bounces at listas.cimne.upc.edu] En nombre de Deepak Samal
Enviado el: lunes, 30 de diciembre de 2013 12:12
Para: gidlist at listas.cimne.upc.edu
Asunto: [GiDlist] Regarding loop over elements



Dear All,



I have to assign a set of elements each time to different materials. I
have
around 60 different materials and around 9000 elements. Problem is
previously I was assigning elements by creating different layers for
different materials and assigning elements by using loop over elements by
setting the corresponding layer ON. But now I'm in a fix whether I should
be
creating 60 different layers for 60 different materials and assigning
them
the corresponding elements or is their any better way to do that?



Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL:

http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20131230/c1eb943c/attachment-0001.htm

------------------------------

_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist


End of GiDlist Digest, Vol 41, Issue 4
**************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20140101/734447c0/attachment.html

------------------------------

_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist


End of GiDlist Digest, Vol 42, Issue 1
**************************************

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