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

ICEM in batch mode possible?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 22, 2011, 10:09
Default ICEM in batch mode possible?
  #1
Member
 
Robert
Join Date: Feb 2010
Location: Germany
Posts: 31
Rep Power: 7
Robert@cfd is on a distinguished road
Hi guys,

I am working on an ICEM 11.0.1 which is installed on a cluster and this cluster of course has no graphic power. Therefore it would be great, if I could create and write my mesh in batch-mode without showing any cells (because this takes long time to send through the network). I already wrote some replay-scripts.

Is this possible?

I am thankful for any help!
Robert@cfd is offline   Reply With Quote

Old   July 23, 2011, 13:39
Default Scripting...
  #2
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,661
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
Yes, people do it all the time... Some users have never (or rarely) seen the UI

You can record your process using replay scripting or just record a journal of what you do...

You can edit that script, add if/then loops, etc. It is all done in tcl and you can find the programmers guide under the help menu.

Some users just write the script from scratch, but I usually record and edit.

When you want to run it, just start ICEM CFD and point to the script... It is all detailed in the programmers guide, but...

Quote:
C:/icemcfd -b myscript.tcl
should do the trick...
__________________
-----------------------------------------
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   July 23, 2011, 13:43
Default
  #3
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,661
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
I notice you are from Germany...

The ICEM CFD Tech support guys in the ANSYS Hanover office are really top notch at ICEM CFD scripting...

Also, have you seen my demo on youtube...? It is three parts, but does also cover scripting. This link is to the first of the three parts... In the third part, you see me replay it in the UI... But working without the UI, in batch (-b) mode could also have been done...

http://www.youtube.com/ansysinc#p/u/27/tYrbScUH9RE

The 2D car tutorial also covers this well... But I think the focus on scripting was increased at version 12 or 13, so get those from the customer portal if you have access.
__________________
-----------------------------------------
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   July 25, 2011, 13:57
Default
  #4
jsm
Senior Member
 
JSM
Join Date: Mar 2009
Location: India
Posts: 155
Rep Power: 11
jsm is on a distinguished road
Hello Simon,

Sorry to disturb this thread.

I am beginner in scripting and I want to learn about scripting automation. I have one question about scripting in Ansys. In workbench, python language is used for scripting. ICEM CFD uses tcl scripting. Could you please inform me which one will be focussed in future and worth to learn.

Thanks in advance,
__________________
With regards,
JSM
jsm is offline   Reply With Quote

Old   July 26, 2011, 14:26
Default
  #5
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,661
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
There are no plans to replace ICEM CFD scripting with Python... ICEM CFD has been built around TCL, so I can't imagine replacing that. No tool lasts forever, but we have planned for at least the next 5 years and while we are sharing ICEM CFD technology with the ANSYS Meshing tool, there are no plans to sunset ICEM CFD (many thousands of users and growing every quarter). In other words, if you want to script ICEM CFD, it is worth learning tcl. We have customers who are still running ICEM CFD scripts they wrote over a decade ago, so the ROI has been very huge for their efforts.

On the other hand, Workbench is very central to the ANSYS vision and it is solidly based on Python.

So, I guess the answer to what language you should learn is tightly coupled to what you want to script.
__________________
-----------------------------------------
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   July 28, 2011, 04:16
Default
  #6
jsm
Senior Member
 
JSM
Join Date: Mar 2009
Location: India
Posts: 155
Rep Power: 11
jsm is on a distinguished road
Hello Simon,

Thanks for your reply. Then I will focus on ICEM CFD scripting.

Thanks
__________________
With regards,
JSM
jsm is offline   Reply With Quote

Old   July 29, 2011, 08:58
Default
  #7
Member
 
Robert
Join Date: Feb 2010
Location: Germany
Posts: 31
Rep Power: 7
Robert@cfd is on a distinguished road
Quote:
Originally Posted by PSYMN View Post
When you want to run it, just start ICEM CFD and point to the script... It is all detailed in the programmers guide, but...

Quote:
C:/icemcfd -b myscript.tcl
should do the trick...
thank you very much, I didnt know that there is a guide to programming

Btw I have to type "icemcfd -batch myreplay.rpl"
Robert@cfd is offline   Reply With Quote

Old   July 29, 2011, 10:41
Default
  #8
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,661
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
Oh yes you are correct. -batch

The programmers guide can be found under the Help menu in ICEM CFD. There is also an HTML version of it in the install.

As developers add new features, they always add the command and argument info to the programmers guide.

Old features and scripts should work with newer versions of the software.
__________________
-----------------------------------------
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

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
Running Ansys in BAtch Mode kuleuvenstudent ANSYS 0 November 5, 2010 13:27
cfdpost in batch mode taichijulie CFX 1 October 25, 2010 15:29
double precision for batch mode Lawrence STAR-CD 2 April 7, 2010 19:10
Running Job in Batch mode (EFD) Nick Sessions FloEFD, FloWorks & FloTHERM 0 April 16, 2008 16:44
Prosurf in batch mode Dhruv CD-adapco 1 September 19, 2005 18:02


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