CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   Open simulation Java Macros (https://www.cfd-online.com/Forums/siemens/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 16:44.