Hi All
I’m currently experimenting with the open source FEA programme Calculix
and wondered if any other users of GiD are using it & using GiD to
create the meshes?
Regards
mark
Please be advised that this email may contain confidential
information. If you are not the intended recipient, please notify us
by email by replying to the sender and delete this message. The
sender disclaims that the content of this email constitutes an offer
to enter into, or the acceptance of, any agreement; provided that the
foregoing does not invalidate the binding effect of any digital or
other electronic reproduction of a manual signature that is included
in any attachment.
Dear all,
we want to create elementsets with GiD. Elementset for us mean all
elements with the same element type and the same material belong to one
set.
Now I want to know if it’s possible to sort the elements by their type
and material in ascending order for example? Is it possible in GiD to
renumber the elements or in the bas file to sort the elements?
Another question is: If I call a tcl procedure in the .bas file, can I
execute a loop over all elements in the tcl procedure or transfer any
properties of the elements like the material and element type to the
procedure?
Thanks
Steffen
you can do a loop on the (applied) materials, and inside this loop another loop on the elements and write only the elements with material equal to the loop one
*loop materials
*loop elements
*if(elemsmat==matnum)
*elemsnum *elemsconec *elemsmat
*endif
*end elements
*end materials
In a call to a tcl procedure in the .bas you can provide some parameter, like the the material number:
*loop materials
*tcl(your_procedure *matnum)
*end materials
and in some tcl file define this procedure:
proc your_procedure { num } {
}
and from Tcl you can ask GiD to get the information you want (elements, etc), with special GiD Tcl commands, like GiD_Info or GiD_Mesh,
and reorder as you want (invoked from the .bas the returned string it directly printed to the calculation file)
----- Original Message -----
From: “Steffen Rothe” steffen.rothe at tu-clausthal.de
To: gidlist at listas.cimne.upc.edu
Sent: Friday, May 27, 2011 8:47 PM
Subject: [GiDlist] Elementsets
Dear all,
we want to create elementsets with GiD. Elementset for us mean all
elements with the same element type and the same material belong to one
set.
Now I want to know if it’s possible to sort the elements by their type
and material in ascending order for example? Is it possible in GiD to
renumber the elements or in the bas file to sort the elements?
Another question is: If I call a tcl procedure in the .bas file, can I
execute a loop over all elements in the tcl procedure or transfer any
properties of the elements like the material and element type to the
procedure?
Thanks
Steffen
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/20110530/4e85378d/attachment.htm
Bonjour,
Je suis absent du bureau. Retour le lundi 30 mai. En cas de besoin, adressez votre message ici : info at mp-ingenieurs.ch
Eric Tonicello