|
[Sponsors] |
June 24, 2009, 05:33 |
CFX in queueing batch mode
|
#1 |
New Member
Matthias
Join Date: Jun 2009
Posts: 2
Rep Power: 0 |
Hi all together,
I am new at CFX and I have I question thats hopefully easy to answer. I have a quad core cpu and I want to run the CFX solver on 3 of these 4 cores with 3 different serial runs. I have around 40 problems to solve and each of these problems needs around 4-5 hours. So I want to have scheduled runs, that I dont have to be at the computer to start a new run. It would be even better if it is possilbe to automatically start a run when the one before is done. I checked the Ansys help and it says something about an option called "submit to PBS queue". To do this I need to edit a script called qcfx5solve.pl. But I dont understand what to do there. I am using a Windows Vista System and Ansys CFX 11 SP1. Does anyone know how to answer my question? I would be very thankful. Goodbye Matthias |
|
June 24, 2009, 08:59 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Hi,
You can use PBS or other similar software (I use PBS, but LSF, condor and sun grid engine are other options) but for simple stuff like what you describe I would not bother. Just write a batch script to run them all, much simpler and you don't need any additional software to do it. To run a batch file in windows of multiple runs: 1) Fire up the CFX launcher, go tools/command line. This gives you a command line window. Don't use a normal windows one because it will not have the paths to the CFX executables in it. 2) Generate a DOS batch file. Something like: cfx5solve -def Run1.def cfx5solve -def Run2.def cfx5solve -def Run3.def -initial Run2_001.res etc, and call it something sensible - doruns.bat or whatever. 3) Make sure all the def, ccl, initial condition and all other necessary files are together in the directory. 4) Start the batch file by entering at the command line "doruns.bat". 5) Check that it started OK. 6) Go home 7) Come back tomorrow and admire how everything ran overnight. Glenn Horrocks |
|
June 24, 2009, 13:27 |
|
#3 |
New Member
Matthias
Join Date: Jun 2009
Posts: 2
Rep Power: 0 |
Hey,
thanks for the fast answer. It works. Thats great. Have a nice day. Matthias |
|
Tags |
queue batch ansys cfx |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DPM model in parallel batch mode | Prashanth | FLUENT | 2 | March 6, 2009 08:54 |
Running Job in Batch mode (EFD) | Nick Sessions | FloEFD, FloWorks & FloTHERM | 0 | April 16, 2008 17:44 |
batch mode in CFX | mehul | CFX | 5 | October 26, 2005 08:19 |
Prosurf in batch mode | Dhruv | Siemens | 1 | September 19, 2005 19:02 |
Batch mode | swapnil | CFX | 5 | November 23, 2002 10:38 |