CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CCM+ (http://www.cfd-online.com/Forums/star-ccm/)
-   -   Star ccm+ with java (16 processors) (http://www.cfd-online.com/Forums/star-ccm/84265-star-ccm-java-16-processors.html)

RobertoPravata January 25, 2011 04:05

Star ccm+ with java (16 processors)
 
dear friends; We work (to try) in java star ccm+ 4.04.011 (USING MATLAB) ; with the next sentence, we have the mistakes: Why? what is the sentence correct?

system ('"C:\Archivos de programa\CD-adapco\STAR-CCM+ 4.04.011\starccm+.exe" -server -np 16 -batch C:\tim\macro1_CFD.java');

the principal objective is to run with 16 processor.

f-w January 25, 2011 11:48

Three points:

1) You don't need -server in the command line.
2) You must have either the Power license or paid for the 16 CPUs. If you have Power license, you need to add -power to the command.
3) You have to have a simulation file at the end of the command (it can be accompanied by a macro, but not a macro alone).

This will run (using the power license), a simulation until its stopping criteria are satisfied.
system ('"C:\Archivos de programa\CD-adapco\STAR-CCM+ 4.04.011\starccm+.exe" -power -np 16 -batch "C:\tim\simulation1_CFD.sim"');

This will run (using the power license), a simulation with a macro.
system ('"C:\Archivos de programa\CD-adapco\STAR-CCM+ 4.04.011\starccm+.exe" -power -np 16 -batch "C:\tim\macro1_CFD.java" "C:\tim\simulation1_CFD.sim"');


All times are GMT -4. The time now is 13:01.