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

[ICEM] Starting ICEM as Batch run

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 26, 2013, 05:15
Question Starting ICEM as Batch run
  #1
New Member
 
Johannes
Join Date: Nov 2013
Posts: 1
Rep Power: 0
re5pect is on a distinguished road
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
re5pect is offline   Reply With Quote

Old   April 8, 2015, 04:38
Default
  #2
New Member
 
Simon Harbeke
Join Date: Nov 2014
Posts: 11
Rep Power: 4
Hoyskipoyski is on a distinguished road
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.
Hoyskipoyski is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 04:25.