|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Claudio
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 16 ![]() |
Has anybody successfully compiled OpenFOAM 2.1.0 under either Windows XP or Windows 7?
Or does anybody know where I can find info/instructions to do so? Thanks |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 129 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings Claudio,
Currently there are a few efforts in making this possible, namely building OpenFOAM directly on Windows, but AFAIK, none of them are complete and/or released to the public. The only fully public method that I'm aware of is by using Cygwin to handle the file system for then cross-compiling OpenFOAM on Cygwin for Windows. Here's where you can find all of the public info I'm familiar with (and which I wrote myself ![]() As for the other efforts:
Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Daniele Vicario
Join Date: Mar 2009
Location: Novara, Italy
Posts: 142
Rep Power: 18 ![]() |
I'm not an experienced user, just a technical manager/engineer involved in taps/valves component... you should definitely try BlueCFD.
From my own point of view the porting is perfect and the support fast and precise.
__________________
Daniele Vicario blueCFD2.1 - Windows 7 |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Join Date: Mar 2012
Posts: 3
Rep Power: 15 ![]() |
Hello,
I've cross-compiled the 2.1.0 version for win64 following symscape's instructions and somewhat merged it with Joseph Nishit's script files to make it behave as a "portable" openFoam. So far simple/pimple/pisoFoam are working ok for me on Win64 2008 and Vista, with mpich up to 12 cores on a shared memory computer. If anyone is willing to test it more touroughly I would need some suggestions on how to share the 110 Mb archive (openFoam, mpich, paraview, gmsh & engrid). Regards, Ect |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 ![]() |
Ect, I'd give it a shot. You could upload the archive here: http://ge.tt/
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Claudio
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 16 ![]() |
Thanks for all the replies.
Daniele, I will look more into BlueCFD, however since I would like to have it on many different machine, it might not be feasible to have a commercial solution. It's not quite clear if the fee is just to access the executable and then you can install them many times or not. Ect, I would be interested too in you package. Would it be possible for you to use a free storage service, like Dropbox? Thanks |
|
![]() |
![]() |
![]() |
![]() |
#7 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 129 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings to all!
Claudio: Quote:
Quote:
Best regards, Bruno
__________________
|
|||
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Join Date: Mar 2012
Posts: 3
Rep Power: 15 ![]() |
Hi all,
Here it is: http://ge.tt/2SfcweG/v/0?c Use scotch as the decomposition method Start smpd.bat, it runs smpd in debug mode on the port 41000 if I remember correctly, this way no mpich installation is required, it also runs without interferring with any existing mpi installation. start dos_mode.bat cd to your case directory decomposepar gompi simpleFoam please give some feedback regards, Ect |
|
![]() |
![]() |
![]() |
![]() |
#9 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 37 ![]() ![]() |
Something to have OF working on Windows is available here too: http://www.symscape.com/openfoam-2-1...windows-64-mpi
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. ![]() |
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
Claudio
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 16 ![]() |
Thanks Ect,
i have downloaded the package. I am working on something else now, so I have to put this on the back burner for now. Will update you once I get it working. Bruno, thanks for the clarification. Alberto, ciao, I did find symscape before. Again once I'll have time again will go back to this problem, but I appreciate everybody's input. |
|
![]() |
![]() |
![]() |
![]() |
#11 | |
New Member
Join Date: May 2012
Posts: 1
Rep Power: 0 ![]() |
I haven't been able to get this working.
I'm getting the following in the command prompt: Quote:
thanks! |
||
![]() |
![]() |
![]() |
![]() |
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 129 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi MIGHTYBIRD and welcome to the forum!
Apparently you're trying to run a command in the wrong folder! Whenever a command in OpenFOAM gives that error message, it's because you're running the command in a folder that isn't an OpenFOAM case. In other words: read the OpenFOAM User Guide ![]() Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#13 | |
New Member
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 16 ![]() |
Quote:
Best regards. |
||
![]() |
![]() |
![]() |
![]() |
#14 | |
New Member
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 16 ![]() |
Hi Ect, can you help me to build an version 2.1.0 for window? I need build and OF source to make my thermal foam (simpleThermal,...). I followed this tutorial but got alot of error
Quote:
I user the mingw-w64, with this version, i was success in build a OF1.7.x version. |
||
![]() |
![]() |
![]() |
![]() |
#15 |
New Member
Join Date: Mar 2012
Posts: 3
Rep Power: 15 ![]() |
I've stumbled upon the same issue, if i trust my notes you have to rename
Mingw-w64/lib/gcc/x86_64-w64-mingw32/4.5.4/include/float.h to something like _float.h to prevent its usage then you have to add -I path-to/Mingw-w64/x86_64-w64-mingw32/x86_64-w64-mingw32/include into wmake/rules/linux64mingw-w64/c++ |
|
![]() |
![]() |
![]() |
![]() |
#16 | ||
New Member
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 16 ![]() |
Thanks Ect.
First, I Mingw-w64 release to "mingw-w64-bin_x86_64-linux_20120823" and these error no existed any more. I create a copy of float.h then name it _float.h. When I add Quote:
But when i think it's ok, it return to me some strange error like that: Quote:
Here is my full buildlog: https://docs.google.com/open?id=0BxL...GRMMUJwWnJrQlE please dowload and open on notepad++, these errors appear from line 3161 |
|||
![]() |
![]() |
![]() |
![]() |
#17 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 129 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings to all!
@Mr.Cloud: Apparently you're using Gcc 4.8.0, which is the latest Gcc version under development, which is what the mingw-w64 team usually does: they always test with the (near-)bleeding edge versions of Gcc to make sure nothing gets broken with the constant evolution of Gcc! Try using Gcc 4.5 from here: http://sourceforge.net/projects/ming..._4.5_20111101/ Good luck! Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#18 | |||||
New Member
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 16 ![]() |
Hi Bruno. With that gcc, i got 2 error
First is Quote:
Second is the typical error Quote:
Quote:
Quote:
Quote:
|
||||||
![]() |
![]() |
![]() |
![]() |
#19 | ||||
New Member
Le Phi Long
Join Date: Feb 2011
Posts: 18
Rep Power: 16 ![]() |
Quote:
Quote:
Quote:
Quote:
|
|||||
![]() |
![]() |
![]() |
![]() |
#20 |
New Member
Mark Pitman
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 7
Rep Power: 18 ![]() |
Hi Claudio,
I have a complete set of OpenFOAM-2.1.1 cross-compiled binaries for 64-bit Windows (based on Symscape's patches) available for free here: www.ods-engineering.com . They have been compiled to work with MSMPI for full multi-processing. Just follow the instructions for Third Party (Windows) installation at the bottom of the page downloads page here. Please let me know through the website if you find any issues or bugs. I compiled the binaries to work primarily with my Blender-based GUI for OpenFOAM (ODS Studio) but they should work for any other purpose too. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
queries of star-CD on windows machines | Arnab | Siemens | 3 | April 6, 2011 11:13 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Dual Boot Windows and Linux and Go Open Source | andyj | Main CFD Forum | 2 | October 21, 2010 17:49 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
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 |