CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

how to automatically run multiple cases in batch mode

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2018, 05:44
Default how to automatically run multiple cases in batch mode
  #1
New Member
 
breezeyu
Join Date: Jul 2017
Posts: 5
Rep Power: 4
breezeyu is on a distinguished road
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
breezeyu is offline   Reply With Quote

Old   June 10, 2018, 05:55
Default
  #2
New Member
 
breezeyu
Join Date: Jul 2017
Posts: 5
Rep Power: 4
breezeyu is on a distinguished road
the screenshot:
https://overpic.net/viewer.php?file=...agkxc4fc13.png
https://overpic.net/viewer.php?file=...ulballierd.png

too many thanks.
breezeyu is offline   Reply With Quote

Old   June 11, 2018, 06:45
Default
  #3
Member
 
Join Date: Dec 2017
Posts: 44
Rep Power: 4
tisa is on a distinguished road
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)
tisa is offline   Reply With Quote

Old   February 25, 2020, 09:44
Default
  #4
New Member
 
Join Date: Feb 2020
Posts: 3
Rep Power: 2
ta95 is on a distinguished road
~~Irrelevant message that I posted to the wrong place~~

Last edited by ta95; February 25, 2020 at 09:46. Reason: Posted message to the wrong location
ta95 is offline   Reply With Quote

Reply

Tags
star ccm+

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
use batch mode to run an unsteady case PaulineP FLUENT 9 April 4, 2019 08:18
Batch mode Bollonga FLUENT 7 February 17, 2014 11:09
How to run in the batch mode fumiya GridPro 2 December 17, 2013 08:49
[ICEM] multiple processor meshing in batch mode Jonathan ANSYS Meshing & Geometry 6 August 14, 2013 14:40
How to run cases automatically? Wael Siemens 7 February 24, 2006 09:01


All times are GMT -4. The time now is 02:33.