|
[Sponsors] |
October 16, 2007, 10:49 |
automatic serial job
|
#1 |
Guest
Posts: n/a
|
Hello,
for CFX 11: I would like run several def-file serial (automatic). The Solver Manager allows this only for one def-file. If I can predefine files for a queue, the calculation can run over night e.g. Thank's for your help. Toralf |
|
October 16, 2007, 12:12 |
Re: automatic serial job
|
#2 |
Guest
Posts: n/a
|
Here is an example of a batch file to run multiple def files from the command line. Your start method may vary if you are running single or parallel, etc. Run the batch from a command line from the launcher, so the paths are correct.
echo start echo cfx5solve -def YOUR_FILE26.def -start-method "MPICH2 Local Parallel for Windows" -part 2 -s 1.2 echo done with 26 echo cfx5solve -def YOUR_FILE16.def -start-method "MPICH2 Local Parallel for Windows" -part 2 -s 1.2 echo done with 16 echo echo done with runs |
|
October 16, 2007, 12:22 |
Re: automatic serial job
|
#3 |
Guest
Posts: n/a
|
The line returns did not stay with the post, but the main line of importance would be:
cfx5solve -def YOUR_FILE26.def -start-method "MPICH2 Local Parallel for Windows" -part 2 -s 1.2 |
|
October 17, 2007, 00:19 |
Re: automatic serial job
|
#4 |
Guest
Posts: n/a
|
1) Open a text file
2) Write down following in to it.. cfx5solve -def abc.def cfx5solve -def xyz.def Add as many def files as you want in to it. Remember one def file per line. 3) Save this text file in to folder where all your .def files are kept. Keep all def files & this text file in same folder. 4) Change extension of text file to *.bat (Batch file) 5) Open CFX Launcher & select folder where all above files are kept as working directory. 6) Open Tools > Command line from launcher window 7) Type your batch file (*.bat) name that you just created along with extension & press Enter 8) Keep this command line window open. Do not close it. Solution of all def files mentioned in batch file will be executed one by one. Hope this helps. Best luck, Chirag |
|
October 17, 2007, 03:12 |
Re: automatic serial job
|
#5 |
Guest
Posts: n/a
|
Grateful Thanks to Erich and Chirag! It works properly and the productivity raises For readers: it's possible to open the running monitor as well.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HPC JOB automatic interpolation scheme updating | just-right | FLUENT | 0 | June 21, 2011 15:17 |
parallelization of serial Fluent UDF for surface reaction | sri31049 | FLUENT | 0 | September 8, 2010 15:15 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |
transient simulation of a rotating rectangle | icesniffer | CFX | 1 | August 8, 2009 08:25 |
Serial Job Jumping from Core to Core | Will | FLUENT | 2 | August 25, 2008 15:21 |