CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ANSYS Meshing & Geometry (
-   -   [ICEM] Scripting language version for ICEM 14.0 on win 7 64 bit (

Far May 21, 2012 10:13

Scripting language version for ICEM 14.0 on win 7 64 bit
Dear Frends.

I would to work on scripting and don't know which version of tcl/tk to use for the ICEM 14.0 on win 7 64 version. Any web/ftp link to installer would be very much helpful.

I am also looking for some simple examples as well. :cool:

Thanking you in advance.

CRT May 21, 2012 12:19

Hi far,

Iīve been working a bit with the scripting, I canīt tell you which version of tcl/tk is used in ICEM 14.0 However i can tell you that I could use useful functions like lappend, lindex, u can find a list of command on:
I Just tried to find what i need and test if it works. I had a lot of trouble with the loops, so I couldnīt write a while into another while.
you can also take information from and also from the programmers guide.

I hope that someone else with more experience could help you.


Far May 21, 2012 12:22

Before going to use the ICEM' tck/tk, should I learn the general tcl/tk?

CRT May 21, 2012 14:09

It will be useful for sure, but one to work with the scripting, at least, to start with the scripting one just need to know the basic.

If you plan to work in a complex case, it's better to work previously with simple cases, to know the possibilities and limits of the scripting and plan your work properly from the beginning.
The week points that i found are, as i told you the problem with the loops, that maybe could be solved running a external program based on C++ ,I don't really know. In addition with some functions of openFoam that i couldn't use with variables so I should find an alternative way.

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