CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Question about running the simulation automatically one after another by CFX-solver (https://www.cfd-online.com/Forums/cfx/107397-question-about-running-simulation-automatically-one-after-another-cfx-solver.html)

Anna Tian September 26, 2012 07:07

Question about running the simulation automatically one after another by CFX-solver
 
Hi,

I have several cases to run by CFX-solver during the night. But I have only one CFX license. So I'd like to let the next case simulation started automatically after the previous one finished. In this way I won't need to always get up to start the simulation manually. May I ask how to set that?

ghorrocks September 26, 2012 08:07

With a script file.

cfx5solve -def run1.def
cfx5solve -def run2.def
cfx5solve -def run3.def
...etc...

Or if you are using a batch scheduling system then just launch them and the system will queue them up... if it is set up correctly. For instance PBS needs some customisation so it queues based on license availability rather than processor availability (talk to the PBS vendors for how to do this).

eng_norouzi October 3, 2012 04:31

I think you can do it by defining case configuration in cfx pre.

Cledson April 5, 2018 12:49

You can use Workbench to do this. In my case I set up all files .def I wanna run and then I launch on Workbench in differents cfx windows. Then you choose the number of cores editing the solution tab of each CFX window. To run all the cases in the alfabetic order of the workbench you click Update Project.

urosgrivc April 6, 2018 07:57

You can use RSM (remote solve manager)
Under properties of schematics in workbench you set -> solution proceses -> submit to remotesolve manager set how many cores (or serial) and that is it
I usualy set doubleprecision in cfx pre before this seetings are done because I am not sure vhere to set it for RSMrun.
you can set multiple setups like this than click update on them one after the other in the order you want them to solve.
one will be runing and the others will be in queue there is also a job monitor made specificaly for this.

This works wery well for me, but in ANSYS18 they have updated RSM and I couldnt get it to work, it is ok now on ansys19 and it was ok on 17 and 16.


All times are GMT -4. The time now is 05:21.