Search found 41 matches

by kstn
Thu Mar 10, 2016 6:07 pm
Forum: Customization
Topic: condition id
Replies: 4
Views: 5549

Re: condition id

I could communicate between bas and tcl using a global variable in tcl, e.g. create a list variable in tcl and fill it in bas, then call it out from tcl in bas So far this approach works well without problem. However, GiD may crash if the tcl variable is the same with some GiD internal variable. But...
by kstn
Thu Mar 10, 2016 5:57 pm
Forum: Customization
Topic: Bad integer format
Replies: 2
Views: 3927

Bad integer format

Hello I encounter a problem when writing all the nodes belong to a condition the code in bas file: *set cond Surface_Group_Membership *nodes *canRepeat *loop nodes *OnlyInCond node_groups['*cond(Group_Name)'].append( *NodesNum ) *end nodes Executing this gives an error: Error in basefile ... at line...
by kstn
Fri Mar 04, 2016 10:22 am
Forum: Customization
Topic: condition id
Replies: 4
Views: 5549

condition id

Hi I want to keep track with the condition id of the mesh. In my problemtype, it has been kept track manually like *set cond Surface_Load *elems *canRepeat *loop elems *OnlyInCond *condID *ElemsMat *set var condID= condID+1 *end elems Is it possible to extract condID from GiD? On the other hand, is ...
by kstn
Fri Mar 04, 2016 10:07 am
Forum: Customization
Topic: running tcl command
Replies: 2
Views: 4124

Re: running tcl command

Thanks, now I'm clear on it.
by kstn
Tue Mar 01, 2016 4:07 pm
Forum: Customization
Topic: running tcl command
Replies: 2
Views: 4124

running tcl command

Hi I want to runt the Tcl command with argument, For example in the tcl file i defined proc GetElement { elemtype, i } { set e [GiD_Info Mesh Elements $elemtype $i $i] return $e } in the bas file I called *tcl(GetElement Hexahedra 1) But it doesn't work, nor *set var et=Hexahedra *tcl(GetElement *et...
by kstn
Sun Nov 29, 2015 10:41 am
Forum: Other
Topic: gid_offscreen
Replies: 3
Views: 4451

Re: gid_offscreen

Hi Escolano Thanks for your clarification. In fact my problem is very simple: + I created the model using problemtype ExProbType + Some time later, some one modify my problem type and create another model with it. It's conflicted with the original problemtype so I got error trying to open his model ...
by kstn
Wed Nov 25, 2015 4:46 pm
Forum: Other
Topic: gid_offscreen
Replies: 3
Views: 4451

gid_offscreen

Dear GiD developers Is it possible to set the path for problemtype in gid_offscreen command? Currently we have to calculate on a .gid file which was generated by the problemtype of the same name in gid/problemtypes folder. We can temporarily rename the current one but it's more flexible to just set ...
by kstn
Fri May 08, 2015 10:07 am
Forum: Customization
Topic: interface element
Replies: 1
Views: 3445

interface element

Hi I have a question on the "Over face elements" condition in .cnd file. In the customization manual, it says that "If this condition is applied to a line that is the boundary of a surface or to a surface that is the boundary of a volume, this condition is transferred to the higher el...
by kstn
Thu Jan 29, 2015 11:42 am
Forum: Postprocess
Topic: reduce size of line element
Replies: 1
Views: 2989

reduce size of line element

Hi
I want to ask what is the way to reduce the size of the line element in post-processing. Look into the plot below, I could not see anything.
Regards
Bui
Snapshot.png
Snapshot.png (24.91 KiB) Viewed 2989 times
by kstn
Thu Jan 22, 2015 9:23 am
Forum: Postprocess
Topic: merge results
Replies: 1
Views: 2749

Re: merge results

Hi
I solved this problem by renumbering the mesh consecutively
Regards,
Bui