CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > Siemens > STAR-CCM+

how to pause a batch mode

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2019, 05:53
Default how to pause a batch mode
New Member
Join Date: Nov 2013
Posts: 20
Rep Power: 10
Skabirian is on a distinguished road
I'm running multiple simulations in batch mode.
how can I pause it temporary and continue again for example one hour later?
as you know the batch run can't be modified during the run.
Skabirian is offline   Reply With Quote

Old   March 3, 2019, 10:53
Senior Member
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 22
me3840 is on a distinguished road
You would need to write a java macro to save and close the simulation after a period of time.

Then you would have to have a shell script which relaunches STAR after a period of time.
me3840 is offline   Reply With Quote

Old   March 3, 2019, 17:22
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 562
Rep Power: 18
bluebase will become famous soon enough
Hi Siavash,

the solution depends on what exactly you want to achieve.

You could for example use -server instead of the -batch command line option to run your macros. That way, you could interact with your simulations while they are running, and pause them, without closing down the program. However, you macro would need to be able to close the simulation on its own, when you don't want to do this manually for all your simulations.

Read the manual to understand the difference between -batch, -server, (and -macro).

Of course, your java macro could have some logic implemented to run (or pause) under certain conditions. See for example, the stop file stopping criterion. It's only satisfied if you have a file present in the specified directory under the specified name.
It would be possible that you create a logic in java which would consider similar parameter, wouldn't it? e.g. a pause file.

Best regards,
bluebase is offline   Reply With Quote


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
Running Ansys in BAtch Mode kuleuvenstudent ANSYS 1 October 18, 2017 12:11
[PyFoam] Problems with the new PyFoam release zfaraday OpenFOAM Community Contributions 13 December 9, 2014 18:58
[PyFoam] having problems with pyfoam Installation vitorspadetoventurin OpenFOAM Community Contributions 3 December 2, 2014 07:18
[ICEM] ICEM CFD error when running in batch mode bgp723 ANSYS Meshing & Geometry 0 August 14, 2014 13:45
to run a replayfile in batch mode from UNIX froztbear ANSYS Meshing & Geometry 4 May 13, 2014 08:00

All times are GMT -4. The time now is 23:16.