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. |
One of the fantastic ICEM CFD developers replied...
Quote:
|
Thanks simon.
1. Should I start using ICEM scripting directly or first learn tcl/tk version 8.4.11? 2.Can I use shell for executing the tcl/tk commands? For example if I want to split the block through text command instead of GUI, can I use this shell to give command and get effect in my running project? |
Any planes to use the python for scripting. As I find python much better and easier than the tcl/tk
|
I always tell people to start with a replay script... then enhance it from there. If you want to know about a particular ICEM CFD command, you can look it up in the programmers guide (under Help) when you need it. If you want to do something fancy with tcl/tk (such as add an if/then loop), you can look that up when you need it. I don't think that much has changed for most of those commands for decades, so it is not very sensitive to the version... I don't think you should put your time into going and learning tcl/tk as an end unto its self... Or just going thru the programmers guide to learn it all... Learn as you create the script you want to use and let the work teach you how... At least that works best for me.
I think you can execute from the shell, but I usually just do it from the message window or the replay control, or I run the whole thing in batch using the ICEMCFD -batch command... There are no plans to change the scripting language of ICEM CFD. It was born on tcl/tk and changing it would not make financial sense, not to mention our existing customers would riot. :eek: However, Workbench (WB) is scripted with python. Our future meshing technology will be based on/in WB and will also be scriptable with Python. |
Some important ICEM command are listed here http://www.kxcad.net/ansys/ANSYS_ICE...nfunctions.htm
http://www.kxcad.net/ansys/ANSYS_ICE...cemcfd_pguide/ Form commands http://www.kxcad.net/ansys/ANSYS_ICE...nfunctions.htm blocking commands http://www.kxcad.net/ansys/ANSYS_ICE...ngcommands.htm external command http://www.kxcad.net/ansys/ANSYS_ICE...alcommands.htm Geometry functions http://www.kxcad.net/ansys/ANSYS_ICE...yfunctions.htm boundary conditions http://www.kxcad.net/ansys/ANSYS_ICE...nfunctions.htm file commands http://www.kxcad.net/ansys/ANSYS_ICE...efunctions.htm hope you find it useful |
Thanks for thoses links. There are very useful.
Regards, Antoine. |
Quote:
info tclversion -> Result: 8.4 |
Hi All,
is there any possibility to fix up all the above links about scripting commands? I remember that not long ago they were working. Thank you in advance! |
I am also very interested in the links...I hope somebody can recover this website. I don't understand why there is only so little information about tcl scripting on the web...it's avery powerful tool for meshing
|
yes links are down. May be some one have them. Another way is to google TCL and ICEM CFD key words to find more references
|
All times are GMT -4. The time now is 18:22. |