CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[ICEM] Scripting language version for ICEM 14.0 on win 7 64 bit

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 2 Post By PSYMN
  • 4 Post By PSYMN
  • 2 Post By Far

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2012, 10:12
Default Scripting language version for ICEM 14.0 on win 7 64 bit
  #1
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
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.
Far is offline   Reply With Quote

Old   May 22, 2012, 11:14
Default
  #2
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
One of the fantastic ICEM CFD developers replied...

Quote:
He should start icemcfd and start Edit->Shell. In the shell window he should type "set" (see below my output of tcl/tk related environment variables using version 14.5)

TCL_LIBRARY=C:/Program Files/ANSYS Inc/v145/icemcfd/win64_amd/lib/tcl8.4.11
TK_LIBRARY=C:/Program Files/ANSYS Inc/v145/icemcfd/win64_amd/lib/tk8.4.11
TK_TABLE_LIBRARY=EMBEDDED_RUNTIME
TK_TABLE_LIBRARY_FILE=tkTable.tcl
Far and FJSJ like this.
__________________
-----------------------------------------
Please help guide development at ANSYS by filling in these surveys

Public ANSYS ICEM CFD Users Survey

This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)...

CFD Online Users Survey
PSYMN is offline   Reply With Quote

Old   May 22, 2012, 11:41
Default
  #3
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
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?
Far is offline   Reply With Quote

Old   May 22, 2012, 13:02
Default
  #4
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Any planes to use the python for scripting. As I find python much better and easier than the tcl/tk
Far is offline   Reply With Quote

Old   May 22, 2012, 13:44
Default
  #5
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
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.

However, Workbench (WB) is scripted with python. Our future meshing technology will be based on/in WB and will also be scriptable with Python.
Far, jsm, FJSJ and 1 others like this.
__________________
-----------------------------------------
Please help guide development at ANSYS by filling in these surveys

Public ANSYS ICEM CFD Users Survey

This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)...

CFD Online Users Survey
PSYMN is offline   Reply With Quote

Old   June 8, 2012, 05:56
Default
  #6
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
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
mvoss and FJSJ like this.
Far is offline   Reply With Quote

Old   May 22, 2013, 15:51
Default
  #7
New Member
 
Antoine
Join Date: Mar 2013
Location: Montreal
Posts: 6
Rep Power: 13
Sandro23 is on a distinguished road
Thanks for thoses links. There are very useful.

Regards,

Antoine.
Sandro23 is offline   Reply With Quote

Old   November 19, 2013, 15:12
Default
  #8
New Member
 
Adam Læssøe
Join Date: Nov 2013
Posts: 29
Rep Power: 12
AdamAL is on a distinguished road
Quote:
Edit->Shell type: set
Gives a lot of output. Slightly faster and more to the point, though less informative: In ICEM message window type

info tclversion
-> Result: 8.4
AdamAL is offline   Reply With Quote

Old   July 16, 2014, 07:15
Default
  #9
Senior Member
 
Javi
Join Date: Jan 2013
Posts: 276
Rep Power: 16
FJSJ is on a distinguished road
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!
FJSJ is offline   Reply With Quote

Old   August 26, 2014, 04:28
Default
  #10
New Member
 
Join Date: Jul 2014
Posts: 4
Rep Power: 11
HannesJo is on a distinguished road
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
HannesJo is offline   Reply With Quote

Old   August 26, 2014, 05:46
Default
  #11
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
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
Far is offline   Reply With Quote

Reply

Tags
icem; scripting; command


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent version 6.3.26 (64 bit) on Window 7 Professional (64 bit) wlt_1985 FLUENT 7 April 18, 2011 03:22
OpenFOAM-1.6 install cookbook MadsR OpenFOAM Installation 372 November 20, 2010 11:57
[OpenFOAM] Problem with paraFoam on a linux-64 bit bunni ParaView 4 April 14, 2010 20:55
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41
LinuxAMD64 version of java is actually 32 bit foret37 OpenFOAM Bugs 1 October 19, 2007 03:26


All times are GMT -4. The time now is 23:34.