CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   Open simulation Java Macros (http://www.cfd-online.com/Forums/cd-adapco/56116-open-simulation-java-macros.html)

nico June 7, 2007 13:33

Open simulation Java Macros
 
How do I do that?

Using a Simulation constructor?

I d like to to run it through batch (under linux). All the other commands are ok (running, stopping, saving,...) but i cant seem to find how to open my simulation file.

Regards,

Nico

steve June 8, 2007 06:07

Re: Open simulation Java Macros
 
I think what you need to do is a bit of a trick

in a shell script

touch mysim.sim starccm+ -batch mymacro.java mysim.sim

Hope this helps


gertbfrobe June 9, 2007 06:41

Re: Open simulation Java Macros
 
starccm+ -batch myMacro.java mySim.sim


All times are GMT -4. The time now is 23:52.