|November 26, 2013, 05:15||
Starting ICEM as Batch run
Join Date: Nov 2013
Posts: 1Rep Power: 0
I'm creating a tin-File with Ansys Turbogrid and I want to open this Geometry with Solid Edge ST4. Therefor I converted the file with ICEM from tin to parasolid. Now I'm looking for a possibility to make this transformation by batch which will be called by an Excel VBA Command.
I created a transform.rpl file in which stands the following code:
ic_trans_tetin_ps C:/Users/Documents//geom.tin C:/Users/Documents/geom.x_t
I now want to call this Script File in Icem-Batch-Mode. Therefor I use this VBA-Code:
Dim cmdLine5 As String
cmdLine5 = "C:\Program Files\ANSYS Inc\v145\icemcfd\win64_amd\bin\icemcfd.bat -batch " & Application.ActiveWorkbook.Path & "/icemtf.rpl"
Shell cmdLine5, vbMinimizedNoFocus
Calling the Macro opens the Windows Command Line and brings this error there:
"Checking for License..... Failed" But the transformation works fine in GUI-Mode? I don't understand why then the license fails.... Or is anything wrong with my Code?
Would be very kind if you would have a solution for this Problem (perhaps another way to convert tin-Files)
Thanks in advance!
|April 8, 2015, 04:38||
Join Date: Nov 2014
Posts: 11Rep Power: 4
sorry for putting this up again, but i also needed to start icem as batch and took me some time to figure it out on windows.
If you want to run a replay file in batch mode without opening the gui use the following line:
\"ANSYS Inc"\v150\icemcfd\win64_amd\bin\med_batch.exe -batch -script yourscript.tcl > logfile.log
Make sure to adjust the path of the med_batch.exe . Of course your script can be a replay file.
|Thread||Thread Starter||Forum||Replies||Last Post|
|use batch mode to run an unsteady case||PaulineP||FLUENT||6||September 16, 2014 17:26|
|[ICEM] ICEM 14 Batch Refinement Tool||Far||ANSYS Meshing & Geometry||13||January 27, 2013 23:45|
|[ICEM] batch processing of ICEM||yuanmengyuan1989||ANSYS Meshing & Geometry||2||September 19, 2012 21:07|
|Working directory via command line||Luiz||CFX||4||March 6, 2011 21:02|
|Help!! Why I can't run fluent in batch mode?||Cindy Jones||FLUENT||0||April 8, 2003 23:39|