Search found 43 matches

by awa5114
Mon Aug 13, 2018 12:39 pm
Forum: Customization
Topic: Possible to source tcl file with arguments
Replies: 1
Views: 6982

Possible to source tcl file with arguments

I would like to run GiD from the command line and have a tcl script act on it as follows: gid -n -t tcl_script_path Unfortunately my script also needs 2 command line arguments. So I tried this gid -n -t "tcl_script_path arg1 arg2" Which didn't work. Then I tried to source it from within Gi...
by awa5114
Tue Jul 24, 2018 7:51 am
Forum: Customization
Topic: Getting element face based on face nodes (quadratic tetrahedron)
Replies: 2
Views: 5747

Re: Getting element face based on face nodes (quadratic tetrahedron)

I just found them by making 1 quadratic element in GiD and then assigning various face_element conditions to it to determine the local element enumeration. For quadratic elements the faces are numbered as follows: Face 1 --> nodes 1 2 3 5 6 7 Face 2 --> nodes 2 3 4 6 9 10 Face 3 --> nodes 1 3 4 7 8 ...
by awa5114
Mon Jul 23, 2018 3:43 pm
Forum: Customization
Topic: Getting element face based on face nodes (quadratic tetrahedron)
Replies: 2
Views: 5747

Getting element face based on face nodes (quadratic tetrahedron)

Hello I know from previous posts that the local numeration of element faces for a 4-noded tetrahedron are as follows: 1-2-3 2-4-3 3-4-1 4-2-1 I would like to ask what is the local numeration for a quadratic (10-noded) tetrahedron? I have been looking throught the documentation for this but cannot fi...
by awa5114
Fri Jul 20, 2018 2:48 pm
Forum: Customization
Topic: List of all GiD conditions/materials in project
Replies: 1
Views: 5004

List of all GiD conditions/materials in project

I would like to ask if it is possible to automatically extract all the used conditions and materials for a specific project using tcl or other programmatic method. Currently I have to click through every single condition and display it for every project I have and this is not fun.
by awa5114
Fri Jul 20, 2018 1:33 pm
Forum: Customization
Topic: Output .dat file for only layer of interest
Replies: 1
Views: 4995

Output .dat file for only layer of interest

I have a question regarding the use of layers in GiD. I have two layers in which I am preparing different geometries with different conditions and materials. I would like to output the .dat file of each layer independently. When I click on calculate it currently outputs a "mix" of both lay...
by awa5114
Mon Jun 04, 2018 1:18 pm
Forum: Customization
Topic: How to use Ramdebugger?
Replies: 6
Views: 6239

Re: How to use Ramdebugger?

Ok then. It is clear that scripts cannot be run directly from the debbugger. They must be run from the GiD command line. Thanks for the information. I have a follow up question. Is it possible to test tcl commands using an interpreter type interface? For instance I would like to run somthing like: G...
by awa5114
Thu May 31, 2018 7:41 am
Forum: Customization
Topic: How to use Ramdebugger?
Replies: 6
Views: 6239

Re: How to use Ramdebugger?

Is there a way to launch my tcl script from within the debugger instead of doing -np- source {mytclfile.tcl} every time? It is cumbersome if I have to go and browse for the path of the tcl file I want to run every time?
by awa5114
Thu May 17, 2018 3:12 pm
Forum: Customization
Topic: How to get mesh criteria from existing GiD file
Replies: 1
Views: 2888

How to get mesh criteria from existing GiD file

Let's say I have meshed a GiD file a long time ago and I don't remember the mesh criteria I used. Is there a way to get them for every line, surface and volume in the geometry? Thanks.
by awa5114
Wed May 16, 2018 5:37 am
Forum: Customization
Topic: How to use Ramdebugger?
Replies: 6
Views: 6239

How to use Ramdebugger?

I have a tcl script that I would like to run on GiD. I go to Data>ProblemType>Debugger and then open my tcl file in RamDebugger. Then I click on begin/continue execution (the "play" symbol) but nothing happens. I have a workaround by using -np- source {File.tcl}, but I would really like to...
by awa5114
Thu Apr 12, 2018 3:37 pm
Forum: Customization
Topic: Output variable values using WarningBox
Replies: 1
Views: 2972

Output variable values using WarningBox

I am working on a bas file and I need to output some information to 'debug' it I'd like to do something like this: *WarningBox NodesCoord(1,real) *NodesCoord(2,real) *NodesCoord(3,real) Instead of outputing the nodal values I am simply getting the text of the command itself. How do I get the values ...