CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

How to excecute allrun in windows openfoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2009, 06:53
Exclamation How to excecute allrun in windows openfoam
  #1
New Member
 
padhu
Join Date: Jun 2009
Location: Bangalore, India
Posts: 27
Rep Power: 8
padmanathan is on a distinguished road
hi all,

I'm using openfoam designer version 1.0 windows based.

While using dam break tutorial we need to execute Allclean and Allrun files, how to execute these files in windows Openfoam?

thanks in advance.

padhu.
padmanathan is offline   Reply With Quote

Old   November 28, 2011, 10:17
Default
  #2
Senior Member
 
Join Date: Mar 2011
Posts: 155
Rep Power: 6
tH3f0rC3 is on a distinguished road
Hi there,

I have the same question.
In Linux you just have to type in ./Allrun
But this doesn't work with the wondows version.

Best Regards
tH3f0rC3 is offline   Reply With Quote

Old   November 28, 2011, 17:27
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings tH3f0rC3,

You've got at least 4 options:
  1. Install MSys and try to figure out how to set-up the OpenFOAM environment on it.
  2. Install Cygwin... and try to figure how to set-up the OpenFOAM environment on it.
  3. If both fail, try going back to MSys and instead of starting an MSys terminal, try to use only "sh.exe" from it to run the "Allrun" script.
    Code:
    sh.exe Allrun
  4. Open the "Allrun" script with a compatible text editor (Notepad2 for example, some instructions provided here: Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 post #18) and then read the commands listed in the "Allrun" script, translate them and manually execute the commands that do work on the Windows Command Line (WCL).
    For example, the "runApplication" command is a shell script that will not work in WCL.
Disclaimer: I'm the guy who develops blueCFD and in blueCFD we've already got a working solution of running OpenFOAM in Windows using MSys. But blueCFD is a paid service, so I can't disclosure the actual solution

Best regards,
Bruno

Edit: I had forgotten I had written some hints about this about a year ago here: Setting up shop in Windows. I only noticed this after reading another post by tH3f0rC3 here: Moving already Installed OpenFOAM to different machine (user)

Last edited by wyldckat; December 1, 2011 at 04:01. Reason: see "Edit:"
wyldckat is offline   Reply With Quote

Reply

Tags
allclean, allrun, dam break

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
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 7 January 19, 2010 16:39
Windows patch for OpenFOAM 1.6.x gocarts OpenFOAM Announcements from Other Sources 2 October 16, 2009 09:55
OpenFOAM NetgenNeutralToFoam Windows J-man OpenFOAM 2 August 7, 2009 02:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56


All times are GMT -4. The time now is 03:22.