|
[Sponsors] |
July 25, 2005, 09:16 |
Batch Run
|
#1 |
Guest
Posts: n/a
|
Can anyone please tell my how to set up a batch Run in linux for CFX-5.7 ?
|
|
July 25, 2005, 13:51 |
Re: Batch Run
|
#2 |
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 |
|
July 25, 2005, 13:53 |
Re: Batch Run
|
#3 |
Guest
Posts: n/a
|
P.S Don't forget CFX must be included in your path.
|
|
July 25, 2005, 15:49 |
Re: Batch Run
|
#4 |
Guest
Posts: n/a
|
Thanks Paul, now I can go on vacation and still get the work done !
|
|
July 26, 2005, 07:03 |
Re: Batch Run
|
#5 |
Guest
Posts: n/a
|
Paul, what about running a batch with in initial file or a *.res ?
|
|
July 26, 2005, 08:30 |
Re: Batch Run
|
#6 |
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 |
|
July 26, 2005, 11:05 |
Re: Batch Run
|
#7 |
Guest
Posts: n/a
|
What command would you add to make each run a local parallel run?
Thanks, Pablo |
|
July 26, 2005, 13:33 |
Re: Batch Run
|
#8 |
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 |
|
July 26, 2005, 19:34 |
Re: Batch Run
|
#9 |
Guest
Posts: n/a
|
Hi,
You can also get help by the command line: cfx5solve -help Regards, Glenn Horrocks |
|
July 27, 2005, 03:36 |
Re: Batch Run
|
#10 |
Guest
Posts: n/a
|
Thanks Paul!
It now works! Pablo |
|
June 24, 2013, 17:37 |
|
#11 | |
New Member
Chaithu
Join Date: May 2013
Location: USA
Posts: 16
Rep Power: 13 |
Quote:
I tried using your help but I get this error (attatched as screenshot) Can you please help me ? Thank You |
||
June 24, 2013, 21:07 |
|
#12 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
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.
|
|
|
|
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 |