icem-cfd-scripting problem...
Actually i want to run the FOR loop, for making my script file available for any kind of data input.... ok...i elaborate my problem.....i am making the six copies of blades by rotation, now this is specific...i want to write the general script which can run for any 4,6,10 any copies... this can be done in for loop...but i tried and em not getting ... so calling for any help from u guys....
regards... tushar |
Re: icem-cfd-scripting problem...
ICEM uses tk language. The For-loop looks like this:
set strRotorPt "ROTORPT" for {set i 1} {$i<$rotorPt+1} {incr i} { \ set str1 $strRotorPt; \ set str2 rotorPt; \ append str2 $i; \ set [append str1 $i] [ic_geo_cre_pnt ROTOR $str1 [set $str2]] \ } |
Re: icem-cfd-scripting problem...
where did u get these commands..... i mean is there any good e-book on internet.... i want 2 learn more abt these........
|
Re: icem-cfd-scripting problem...
Hey Tush,
those are simple Tcl-Commands. Just look for Tcl programming lanuage on the internet. The book by Welch is pretty good, I think it is called "Practical Programming in Tcl and Tk". |
Re: icem-cfd-scripting problem...
thanks i got da book.....
|
All times are GMT -4. The time now is 09:37. |