CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

CFX in queueing batch mode

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

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Display Modes
Old   June 24, 2009, 04:33
Default CFX in queueing batch mode
  #1
New Member
 
Matthias
Join Date: Jun 2009
Posts: 2
Rep Power: 0
Matthias1985 is on a distinguished road
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
Matthias1985 is offline   Reply With Quote

Old   June 24, 2009, 07:59
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,665
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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
rideway likes this.
ghorrocks is offline   Reply With Quote

Old   June 24, 2009, 12:27
Default
  #3
New Member
 
Matthias
Join Date: Jun 2009
Posts: 2
Rep Power: 0
Matthias1985 is on a distinguished road
Hey,

thanks for the fast answer. It works. Thats great.

Have a nice day.
Matthias
Matthias1985 is offline   Reply With Quote

Reply

Tags
queue batch ansys cfx

Thread Tools
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 On
Pingbacks are On
Refbacks are On


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 16:44
batch mode in CFX mehul CFX 5 October 26, 2005 07:19
Prosurf in batch mode Dhruv CD-adapco 1 September 19, 2005 18:02
Batch mode swapnil CFX 5 November 23, 2002 10:38


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