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

[Other] How to excecute allrun in windows openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2009, 05:53
Exclamation How to excecute allrun in windows openfoam
  #1
New Member
 
padhu
Join Date: Jun 2009
Location: Bangalore, India
Posts: 27
Rep Power: 16
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, 09:17
Default
  #2
Senior Member
 
Join Date: Mar 2011
Posts: 158
Rep Power: 15
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, 16:27
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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: http://www.cfd-online.com/Forums/ope...tml#post274751 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: http://www.cfd-online.com/Forums/ope...tml#post334236
__________________

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

Reply

Tags
allclean, allrun, dam break


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
How to run OpenFoam commands with windows command line maksjood OpenFOAM Running, Solving & CFD 1 June 4, 2018 11:19
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 05:40
openfoam is installed on linux, but windows is damaged! minaret Lounge 5 April 7, 2015 21:58
Caelus: fork of OpenFOAM cnsidero OpenFOAM Announcements from Other Sources 7 November 11, 2014 22:55
Parallel run of OpenFOAM in linux and windows side by side m2montazari OpenFOAM Running, Solving & CFD 5 June 24, 2011 03:26


All times are GMT -4. The time now is 14:59.