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

automatic serial job

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 16, 2007, 09:49
Default automatic serial job
  #1
Toralf
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
  Reply With Quote

Old   October 16, 2007, 11:12
Default Re: automatic serial job
  #2
Erich
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

  Reply With Quote

Old   October 16, 2007, 11:22
Default Re: automatic serial job
  #3
Erich
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
  Reply With Quote

Old   October 16, 2007, 23:19
Default Re: automatic serial job
  #4
Chirag
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
  Reply With Quote

Old   October 17, 2007, 02:12
Default Re: automatic serial job
  #5
Toralf
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.
  Reply With Quote

Reply

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
HPC JOB automatic interpolation scheme updating just-right FLUENT 0 June 21, 2011 14:17
parallelization of serial Fluent UDF for surface reaction sri31049 FLUENT 0 September 8, 2010 14: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 07:25
Serial Job Jumping from Core to Core Will FLUENT 2 August 25, 2008 14:21


All times are GMT -4. The time now is 05:08.