CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   Running simulations continuously without input (https://www.cfd-online.com/Forums/siemens/55914-running-simulations-continuously-without-input.html)

Jon W March 12, 2007 11: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 16: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 02: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 09:21.