ICEM in batch mode possible?
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! |
Scripting...
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:
|
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. |
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, |
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. |
Hello Simon,
Thanks for your reply. Then I will focus on ICEM CFD scripting. Thanks |
Quote:
Btw I have to type "icemcfd -batch myreplay.rpl" |
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. |
All times are GMT -4. The time now is 16:20. |