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

Batch Run

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2005, 09:16
Default Batch Run
  #1
Akin
Guest
 
Posts: n/a
Can anyone please tell my how to set up a batch Run in linux for CFX-5.7 ?
  Reply With Quote

Old   July 25, 2005, 13:51
Default Re: Batch Run
  #2
Paul
Guest
 
Posts: n/a
Hi Akin,

Place all the ".def" files in separate directories (eg. directory1, directory2, etc.). Create a text file similar to the one below. Make the text file executable (use command "chmod 755 textfile"). Run the file by typing it's name.

cd directory1 nohup cfx5solve -batch -def run1.def cd ..

cd directory2 nohup cfx5solve -batch -def run2.def cd ..

cd directory3 nohup cfx5solve -batch -def run3.def cd ..


Couldn't be easier...

Cheers

Paul
  Reply With Quote

Old   July 25, 2005, 13:53
Default Re: Batch Run
  #3
Paul
Guest
 
Posts: n/a
P.S Don't forget CFX must be included in your path.
  Reply With Quote

Old   July 25, 2005, 15:49
Default Re: Batch Run
  #4
Akin
Guest
 
Posts: n/a
Thanks Paul, now I can go on vacation and still get the work done !
  Reply With Quote

Old   July 26, 2005, 07:03
Default Re: Batch Run
  #5
Mahmoud
Guest
 
Posts: n/a
Paul, what about running a batch with in initial file or a *.res ?
  Reply With Quote

Old   July 26, 2005, 08:30
Default Re: Batch Run
  #6
Paul Lewis
Guest
 
Posts: n/a
Hi Mahmoud,

You can use the additional -ini statement to restart from an old .res file. For example:

cd directory1 nohup cfx5solve -batch -def run1.def -ini oldfile1.res cd ..

cd directory2 nohup cfx5solve -batch -def run2.def -ini oldfile1.res cd ..

cd directory3 nohup cfx5solve -batch -def run3.def -ini oldfile1.res cd ..


This and other options (parallel running etc.) can all be found in the solver manual under "running CFX from the command line".

Cheers

Paul
  Reply With Quote

Old   July 26, 2005, 11:05
Default Re: Batch Run
  #7
pablo
Guest
 
Posts: n/a
What command would you add to make each run a local parallel run?

Thanks,

Pablo
  Reply With Quote

Old   July 26, 2005, 13:33
Default Re: Batch Run
  #8
Paul Lewis
Guest
 
Posts: n/a
Pablo

For local parallel only use the "-par-local" argument.

ie

cfx5solve -batch -def run1.def -ini -oldrun.res -par-local

Cheers

Paul
  Reply With Quote

Old   July 26, 2005, 19:34
Default Re: Batch Run
  #9
Glenn Horrocks
Guest
 
Posts: n/a
Hi,

You can also get help by the command line:

cfx5solve -help

Regards, Glenn Horrocks
  Reply With Quote

Old   July 27, 2005, 03:36
Default Re: Batch Run
  #10
Pablo
Guest
 
Posts: n/a
Thanks Paul!

It now works!

Pablo
  Reply With Quote

Old   June 24, 2013, 17:37
Question
  #11
New Member
 
Chaithu
Join Date: May 2013
Location: USA
Posts: 16
Rep Power: 13
Irondome is on a distinguished road
Quote:
Originally Posted by Paul Lewis
;72756
Pablo

For local parallel only use the "-par-local" argument.

ie

cfx5solve -batch -def run1.def -ini -oldrun.res -par-local

Cheers

Paul
Hi paul,

I tried using your help but I get this error (attatched as screenshot)
Can you please help me ?

Thank You
Attached Images
File Type: jpeg image.jpeg (32.0 KB, 23 views)
Irondome is offline   Reply With Quote

Old   June 24, 2013, 21:07
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You have not defined the initial condition arguement correctly. It should be -initial AxialXXX.res or something like that - check the documentation to be sure.
ghorrocks is offline   Reply With Quote

Reply


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
use batch mode to run an unsteady case PaulineP FLUENT 9 April 4, 2019 09:18
how to create input file to run fluent in batch Aireen FLUENT 6 November 21, 2016 09:27
batch run N.R. CFX 1 June 17, 2007 23:44
problem with running UDF in batch mode James FLUENT 0 June 6, 2006 07:49
Cycling a transient run Chetan Mistry Phoenics 0 March 3, 2004 10:50


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