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

Is there any way to batch run in sequence?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2008, 06:32
Default Is there any way to batch run in sequence?
  #1
R.J
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
  Reply With Quote

Old   May 22, 2008, 13:27
Default Re: Is there any way to batch run in sequence?
  #2
andy2O
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
  Reply With Quote

Old   May 22, 2008, 21:21
Default Re: Is there any way to batch run in sequence?
  #3
R.J
Guest
 
Posts: n/a
Thank you very much, Andy. Your timely reply may lead to less time effort, thank you.
  Reply With Quote

Old   May 26, 2008, 14:02
Default Re: Is there any way to batch run in sequence?
  #4
Jonathan
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.
  Reply With Quote

Old   May 26, 2008, 22:05
Default Re: Is there any way to batch run in sequence?
  #5
R.J
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
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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


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