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

Hpw to run cfx5solve in batch

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 8, 2001, 01:40
Default Hpw to run cfx5solve in batch
  #1
yusoff
Guest
 
Posts: n/a
Hi,

I have a lot of .def file waiting to be solve. If I wait for each of run to finish then it will take a very long time for me to finish my analysis. Is there any way I can automate the run such that it will start solving the next .def file after finishing with previous .def file ? Could anyone advise me and if possible give an example for this.

Thanks

Yusoff
  Reply With Quote

Old   February 8, 2001, 02:36
Default Re: Hpw to run cfx5solve in batch
  #2
Dan Williams
Guest
 
Posts: n/a
On NT write a batch file. On unix write a shell script. It's that easy. Just pick up a book on shell for UNIX or batch files on NT.

Dan.
  Reply With Quote

Old   February 8, 2001, 06:28
Default script...
  #3
yusoff
Guest
 
Posts: n/a
hmm... thanks for your suggestion. anyway I figured a way using Makefile...to do it. if I got time ..probably I'll try to find some nice book.

thanks

yusoff
  Reply With Quote

Old   February 12, 2001, 00:23
Default Re: script...
  #4
Dan Williams
Guest
 
Posts: n/a
A make file? Wow, that sounds sort of odd. Make is used for compiling programs. It should be as easy as
adding something like:


#!/bin/sh
cfx5solve -def myfile1.def
cfx5solve -def myfile2.def


etc... to a shell or batch file and that's it (you don't need the #!/bin/sh for a NT batch file). Both shell and batch support simple looping structures and conditional checks if you need to do that. You might also need additional switches if you are doing restarts or running parallel.

Dan.
  Reply With Quote

Old   February 14, 2001, 01:19
Default thanks
  #5
yusoff
Guest
 
Posts: n/a
heh .. that's right ... thank you for your tips ... I'll try it .

Yusoff
  Reply With Quote

Old   January 2, 2013, 07:05
Default
  #6
New Member
 
hi
Join Date: Dec 2012
Posts: 19
Rep Power: 4
alikhube is on a distinguished road
Hi

please help me step by step to run cfx batch mode

thank you
alikhube is offline   Reply With Quote

Old   January 2, 2013, 10:26
Default
  #7
Senior Member
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 387
Rep Power: 6
cdegroot is on a distinguished road
This is already described above. If you are having specific problems, please describe them.
cdegroot is offline   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
Run ansys 12.0 using batch mode (windows xp) mayan ANSYS 1 February 11, 2011 12:00
data output from batch fluent run Wang FLUENT 4 March 11, 2005 12:01
batch file script to run unsteady flow (les) andi FLUENT 0 April 20, 2004 03:50
Run Fluent in batch mode Shengping LUO FLUENT 2 October 24, 2000 05:42
sequential batch run jy FLUENT 2 August 2, 2000 11:41


All times are GMT -4. The time now is 01:43.