|
[Sponsors] |
February 19, 2009, 02:22 |
icem-cfd-scripting problem...
|
#1 |
Guest
Posts: n/a
|
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 |
|
February 19, 2009, 02:52 |
Re: icem-cfd-scripting problem...
|
#2 |
Guest
Posts: n/a
|
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]] \ } |
|
February 19, 2009, 04:54 |
Re: icem-cfd-scripting problem...
|
#3 |
Guest
Posts: n/a
|
where did u get these commands..... i mean is there any good e-book on internet.... i want 2 learn more abt these........
|
|
February 19, 2009, 10:49 |
Re: icem-cfd-scripting problem...
|
#4 |
Guest
Posts: n/a
|
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". |
|
February 20, 2009, 02:06 |
Re: icem-cfd-scripting problem...
|
#5 |
Guest
Posts: n/a
|
thanks i got da book.....
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help icem cfd | kakhtar | ANSYS Meshing & Geometry | 25 | January 31, 2017 02:09 |
definition of "node" / "element" in CFX and ICEM CFD | murx | CFX | 5 | January 18, 2017 04:24 |
ICEM CFD Scripting | Prakash.Paudel | ANSYS Meshing & Geometry | 2 | August 17, 2011 16:53 |
[ICEM] Export unstructured periodic mesh from ICEM CFD to Fluent | ivanddd | ANSYS Meshing & Geometry | 1 | February 3, 2011 01:51 |
ICEM CFD 5.1 problem with tetra count | Baskaran | CFX | 2 | March 13, 2006 13:59 |