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

ICEM in batch mode possible?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2011, 11:09
Default ICEM in batch mode possible?
  #1
Member
 
Robert
Join Date: Feb 2010
Location: Germany
Posts: 32
Rep Power: 16
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, 14:39
Default Scripting...
  #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
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, 14:43
Default
  #3
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 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, 14:57
Default
  #4
jsm
Senior Member
 
JSM
Join Date: Mar 2009
Location: India
Posts: 192
Rep Power: 20
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, 15:26
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
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, 05:16
Default
  #6
jsm
Senior Member
 
JSM
Join Date: Mar 2009
Location: India
Posts: 192
Rep Power: 20
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, 09:58
Default
  #7
Member
 
Robert
Join Date: Feb 2010
Location: Germany
Posts: 32
Rep Power: 16
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, 11:41
Default
  #8
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
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


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


All times are GMT -4. The time now is 19:33.