[GiDlist] Force mesh

Moderator: GiD Team

Post Reply
Eric Legrand

[GiDlist] Force mesh

Post by Eric Legrand »

Hello

How can I force mesh of lines contains materials with tcl fonctions ?

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

[GiDlist] Force mesh

Post by escolano »

It is recommended to apply materials and conditions to the geometry and inherit them automatically when meshing.

You can assign materials to geometry or mesh elements from Tcl with the GiD_AssignData command (see help on GiD Customization - TCL-TK extension - Special funcions)

GiD_AssignData material|condition name over ?values? entities
To assign materials or conditions over entities:
name is the name of the material or condition;
over must be: points, lines, surfaces, volumes, layers, nodes, elements, body_elements, or face_elements (elements is equivalent to body_elements);
newvalues is only required for conditions. If it is set to "" then the default values are used;
entities a list of entities (it is valid to use ranges as a:b ,can use "all" to select everything, "end" to specify the last entity, layer:layername to select the entities in this layer) ; if over is face_elements then you must specify a list of "entitynumface" instead just "entity".

Also it is possible to use the GiD_Process tcl command to do it, sending the appropiated GiD commands (the same you do as user level, or from a batch file)
An easy way to know this commands is do the action as user (assing the material to elements) and open the "Undo" windows that show the GiD keywords.


Enrique

----- Original Message -----
From: Eric Legrand
To: gidlist at listas.cimne.upc.edu
Sent: Friday, April 13, 2012 2:02 PM
Subject: [GiDlist] Force mesh


Hello

How can I force mesh of lines contains materials with tcl fonctions ?

Thanks



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


_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20120413/6255a51e/attachment.htm
Ramon Ribó

[GiDlist] Force mesh

Post by Ramon Ribó »

Hello,

CompassLIB has tools to mark some groups as they need to be meshed.
All the entities contained into them will be forced to be meshes
without the user required to do anything. Typically, these
groups have been assigned by the user to some kind of beam properties
or something similar.

http://www.compassis.com/compass/en/Productos/CompassLIB


----
Compass Ing. y Sistemas Dr. Ramon Ribo
[url=http://www.compassis.com%C2%A0]http://www.compassis.com[/url] ramsan at compassis.com
c/ Tuset, 8 7-2 tel. +34 93 218 19 89
08006 Barcelona, Spain fax. +34 93 396 97 46



2012/4/13 Eric Legrand eric.legrand at cybernet.be:
Hello

How can I force mesh of lines contains materials with tcl fonctions ?

Thanks

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

Post Reply