|
[Sponsors] |
July 22, 2011, 11:09 |
ICEM in batch mode possible?
|
#1 |
Member
Robert
Join Date: Feb 2010
Location: Germany
Posts: 32
Rep Power: 16 |
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! |
|
July 23, 2011, 14:39 |
Scripting...
|
#2 | |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
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:
__________________
----------------------------------------- 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 |
||
July 23, 2011, 14:43 |
|
#3 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
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 |
|
July 25, 2011, 14:57 |
|
#4 |
Senior Member
JSM
Join Date: Mar 2009
Location: India
Posts: 192
Rep Power: 20 |
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 |
|
July 26, 2011, 15:26 |
|
#5 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
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 |
|
July 28, 2011, 05:16 |
|
#6 |
Senior Member
JSM
Join Date: Mar 2009
Location: India
Posts: 192
Rep Power: 20 |
Hello Simon,
Thanks for your reply. Then I will focus on ICEM CFD scripting. Thanks
__________________
With regards, JSM |
|
July 29, 2011, 09:58 |
|
#7 | ||
Member
Robert
Join Date: Feb 2010
Location: Germany
Posts: 32
Rep Power: 16 |
Quote:
Btw I have to type "icemcfd -batch myreplay.rpl" |
|||
July 29, 2011, 11:41 |
|
#8 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
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 |
|
|
|
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 |