CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Run simulation from command line

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By kyle

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2010, 11:18
Default Run simulation from command line
  #1
New Member
 
TeresaM
Join Date: Jan 2010
Posts: 2
Rep Power: 0
terMag is on a distinguished road
Hello,

I am a relatively new user of STAR-CCM+. The OP of my machine is Windows 64-bit.

I would like to run simulations from batch, but am having trouble doing so. The .sim file opens in batch but does not run.

Here is my .bat file:

cd c:/Program Files\CDadapco\STAR-CCM+ 4.06.011

echo %date% - %time% - START > log.txt

starccm+ -server -batch Sim.sim

echo %date% - %time% - COMPLETE >> log.txt

If anyone could help me with the proper syntax in the batch file, I would be appreciative.
terMag is offline   Reply With Quote

Old   January 21, 2010, 12:34
Default
  #2
Senior Member
 
Join Date: Mar 2009
Location: Austin, TX
Posts: 160
Rep Power: 18
kyle is on a distinguished road
You do not need the "-server" flag when you are running in batch. If you just run "starccm+ -batch Sim.sim" then it will run until completion and then save the file.

You only need the -server flag if you want to just start a server, and then connect to it later.
hu'hu likes this.
kyle is offline   Reply With Quote

Old   January 22, 2010, 01:49
Default
  #3
New Member
 
TeresaM
Join Date: Jan 2010
Posts: 2
Rep Power: 0
terMag is on a distinguished road
Hello Kyle,

Thanks for the help, my simulations ran in batch.

Cheers!
terMag is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solar Radiation in OpenFOAM plainstyle OpenFOAM Running, Solving & CFD 15 July 8, 2014 04:43
do anyone use solidwork 2009 to run simulation kacee FloEFD, FloWorks & FloTHERM 8 June 2, 2010 05:11
Replacing mesh while running a simulation akultane CFX 1 November 15, 2009 13:46
Cycling a transient run Chetan Mistry Phoenics 0 March 3, 2004 09:50
Procedure to run unsteady simulation? STN Main CFD Forum 2 February 16, 2002 04:37


All times are GMT -4. The time now is 10:18.