|
[Sponsors] |
How to setup Maximum iteration by batch command |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 24, 2021, 04:23 |
How to setup Maximum iteration by batch command
|
#1 |
New Member
YiZHI
Join Date: Jul 2021
Posts: 7
Rep Power: 4 |
thanks for help in advance.
i am using linux command to run Starccm+ but it seems non-stop and waste a lot of POD lincense times. could any friend to teach me how to setup the maximum iterations time in command so that i can stop it when reach the figure. thanks a lot |
|
July 24, 2021, 06:40 |
urgent help. please
|
#2 |
New Member
YiZHI
Join Date: Jul 2021
Posts: 7
Rep Power: 4 |
otherwise, we will run out of running hours
|
|
July 24, 2021, 09:35 |
|
#3 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,672
Rep Power: 65 |
You are already using a macro to run Star right?
Record a macro that sets the maximum iterations and add this to your run macro. If you are not already using a macro, start doing it now. |
|
July 25, 2021, 01:10 |
macro will affect the performance?
|
#4 | |
New Member
YiZHI
Join Date: Jul 2021
Posts: 7
Rep Power: 4 |
Quote:
thanks |
||
July 26, 2021, 10:41 |
|
#5 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,672
Rep Power: 65 |
Record the macro... It doesn't require any GUI to use the macro. You will get a .java file. It's a text file that will contain the text commands you are looking for.
|
|
July 29, 2021, 00:36 |
|
#6 |
Senior Member
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 435
Rep Power: 17 |
You can create a Parameter (its value can be passed through command line) and set maximum iterations to be limited by it.
|
|
August 14, 2021, 06:25 |
|
#7 |
Senior Member
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 337
Rep Power: 15 |
Why don't you set up the stopping criteria in the template file (.sim) that you use to start the simulation?
Also, like it is mentioned already, you can record the setting up of the stopping criteria and add those lines somewhere near the beginning of your main java macro.
__________________
Lefteris |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Slow calculation time on CFD server | killian153 | Hardware | 4 | July 27, 2021 07:28 |
Cygwin remote command using batch file on Windows | maxou1993 | Lounge | 0 | July 20, 2015 09:04 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 20:02 |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 08:48 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 04:26 |