CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

funkyAllrun script

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 23, 2010, 12:17
Default funkyAllrun script
  #1
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 382
Rep Power: 8
gwierink is on a distinguished road
Dear all,

I was thinking that it would be nice to have a script that runs many cases over the weekend. There are of course several Allrun scripts, but these are not all useful for *any* application and usually do not include setFields and foamToVTK. So, for that I modified two scripts to read the application name from the controlDict and run blockMesh, then setFields, then the solver, and finally foamToVTK on all cases in the directory and subdirectories. Perhaps no Nobel prize material, but it is a handy tool I just wanted to share .

The recipe goes like this:
  • Get the scripts from here
  • Put funkyFoamRunTutorials in $WM_PROJECT_DIR/bin/
  • Make sure it is executable by
    Code:
    chmod +x funkyFoamRunTutorials
  • Make a directory containing all cases you want to run, with correct application names in controlDict and put funkyAllrun in this "master directory"
  • Make sure also funkyAllrun is executable by
    Code:
    chmod +x funkyAllrun
  • Run funkyAllrun by
    Code:
    ./funkyAllrun

Hope this is useful for someone
__________________
Regards, Gijs
gwierink 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
OpenFOAM 1.6.x Installer for Ubuntu Canesin OpenFOAM Installation 141 April 21, 2011 20:30
icem script prad CFX 5 July 23, 2010 16:30
Unsteady script for Fluent Shamoon Jamshed FLUENT 0 July 14, 2009 07:39
Perl script for intialisation pratik mehta CFX 2 September 10, 2008 03:09
TASCflow,problem with script and parallel mode Zbynek Hrncir CFX 0 October 2, 2001 07:30


All times are GMT -4. The time now is 12:31.