|
[Sponsors] |
May 22, 2008, 06:32 |
Is there any way to batch run in sequence?
|
#1 |
Guest
Posts: n/a
|
Hi, all.
I want to run a set of models in batch mode instead of interactive operation. Because one model could be solved in 2 hours, and I have several models to calculate during night. After referring to documentation of help, I did not find the solution to get close to my goal. So, I hope anyone experienced this could do me a favor. Thanks in advace! R.J |
|
May 22, 2008, 13:27 |
Re: Is there any way to batch run in sequence?
|
#2 |
Guest
Posts: n/a
|
The normal way to do this is to write a script to execute the CFX commands from a command line. The scripting can be done however you like - it is not part of CFX. So, on windows most people would use a batch script. On Linux/Unix, a shell script would generally be used. If you prefer, you could however use Perl, Python, etc instead....
It's quite simple to do - it's mainly just a list of CFX solver commands one after the other. You just need to make sure that the correct environment variables are set at the command prompt - you should be able to do this by launching your script from the CFX batch mode command prompt. Good luck, andy |
|
May 22, 2008, 21:21 |
Re: Is there any way to batch run in sequence?
|
#3 |
Guest
Posts: n/a
|
Thank you very much, Andy. Your timely reply may lead to less time effort, thank you.
|
|
May 26, 2008, 14:02 |
Re: Is there any way to batch run in sequence?
|
#4 |
Guest
Posts: n/a
|
One more tip is to use the "cfx5cmds" commands to extract the CCL from your .def file, manipulate it (for example changeing some input parameter) and writing it back again.
This way you avoid genereating multiple .def files for simple parameter changes. |
|
May 26, 2008, 22:05 |
Re: Is there any way to batch run in sequence?
|
#5 |
Guest
Posts: n/a
|
Thanks for your tip,Jonathan.
But this should be done in the interactive mode,right? And modified .def file need to be prepared before batch running. R.J |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Batch Run | Akin | CFX | 11 | June 24, 2013 21:07 |
batch file script to run unsteady flow (les) | andi | FLUENT | 0 | April 20, 2004 04:50 |
Batch Run | Ogbeni | CFX | 4 | October 15, 2003 13:33 |
Help!! Why I can't run fluent in batch mode? | Cindy Jones | FLUENT | 0 | April 9, 2003 00:39 |
Problems on Batch run | Cindy Jones | FLUENT | 2 | November 24, 2002 01:45 |