|
[Sponsors] |
November 26, 2013, 05:15 |
Starting ICEM as Batch run
|
#1 |
New Member
Johannes
Join Date: Nov 2013
Posts: 1
Rep Power: 0 |
Hi,
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: Sub StartICEMConvert() Dim cmdLine5 As String cmdLine5 = "C:\Program Files\ANSYS Inc\v145\icemcfd\win64_amd\bin\icemcfd.bat -batch " & Application.ActiveWorkbook.Path & "/icemtf.rpl" MsgBox cmdLine5 Shell cmdLine5, vbMinimizedNoFocus End Sub 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! Johannes |
|
April 8, 2015, 05:38 |
|
#2 |
New Member
Simon Harbeke
Join Date: Nov 2014
Posts: 11
Rep Power: 11 |
Hey,
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 Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
use batch mode to run an unsteady case | PaulineP | FLUENT | 9 | April 4, 2019 09:18 |
[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 22: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 9, 2003 00:39 |