CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

icem-cfd-scripting problem...

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 19, 2009, 01:22
Default icem-cfd-scripting problem...
  #1
tushar
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
  Reply With Quote

Old   February 19, 2009, 01:52
Default Re: icem-cfd-scripting problem...
  #2
hdj
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]] \

}
  Reply With Quote

Old   February 19, 2009, 03:54
Default Re: icem-cfd-scripting problem...
  #3
tush
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........
  Reply With Quote

Old   February 19, 2009, 09:49
Default Re: icem-cfd-scripting problem...
  #4
Andreas
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".
  Reply With Quote

Old   February 20, 2009, 01:06
Default Re: icem-cfd-scripting problem...
  #5
tush
Guest
 
Posts: n/a
thanks i got da book.....
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help icem cfd kakhtar ANSYS Meshing & Geometry 24 March 24, 2014 14:04
ICEM CFD Scripting Prakash.Paudel ANSYS Meshing & Geometry 2 August 17, 2011 15:53
definition of "node" / "element" in CFX and ICEM CFD murx CFX 3 May 29, 2011 12:08
[ICEM] Export unstructured periodic mesh from ICEM CFD to Fluent ivanddd ANSYS Meshing & Geometry 1 February 3, 2011 00:51
ICEM CFD 5.1 problem with tetra count Baskaran CFX 2 March 13, 2006 12:59


All times are GMT -4. The time now is 08:49.