CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   Running simulations continuously without input (http://www.cfd-online.com/Forums/cd-adapco/55914-running-simulations-continuously-without-input.html)

Jon W March 12, 2007 12:08

Running simulations continuously without input
 
Hi,

I am trying to run a few simulations back to back in Star CCM+ using the macro function but i am unable to save the simulation using the macro (even though the save function works fine on its own just not with another script!). Has anyone got any ideas on making it work or using the 'batch' function to achieve continuous simulations?

Thanks jon

Dave March 12, 2007 17:11

Re: Running simulations continuously without input
 
starccm+ -batch MyMacro.java MySim.sim

making sure that your last action in the marco is to save the sim file. You can then use any scripting language to run multiple calculations and save the results.

Kasper Skriver March 13, 2007 03:59

Re: Running simulations continuously without input
 
I've got a batch where I rename the saved file after each run. It always saves as the same filename e.i. "finish.sim". Maybe you need to rename too.


All times are GMT -4. The time now is 17:20.