CFD Online Discussion Forums

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

RobertoPravata January 25, 2011 03: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 10: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 19:22.