how to automatically run multiple cases in batch mode
Hi everyone,
I want to use batch mode to automatically run the simulation under the folder. The problem is whether CCM can call each *.sim file automatically,and whether or not need to define a path. Which command line to use? 1、starccm+ -batch batchrun.java -np 24 filename.sim; 2、starccm+ -batch batchrun.java -np 24 ;and the The file path point to the filename.sim |
Hello,
the command starccm+ is started in the directory you are in with the shell. So if the simulation is in the same directory, you dont need a path. If it's anywhere else, you need a path. starccm+ -np 4 -batch yourJavaFile.java yourSimFile.sim (shell same directory as sim file) starccm+ -np 4 -batch yourJavaFile.java pathToTheFile/yourSimFile.sim (shell not in the same directory) |
All times are GMT -4. The time now is 02:05. |