CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   for Windows (https://www.cfd-online.com/Forums/openfoam-installation/66107-windows.html)

rogbrito July 6, 2009 10:31

for Windows
 
Where do I can find a version to Windows XP 64 bits of OPenFoam?

henrik July 6, 2009 10:47

Dear rogbrito,

You find details about Windows under point 2.2

http://openfoamwiki.net/index.php/Main_FAQ

Regards, Henrik

gocarts July 14, 2009 11:31

Windows port
 
I've released a source-code patch for OpenFOAM 1.5.x for cross compiling (Linux->Windows) using MinGW, but I've only tried 32bit. The patch should work for 64bit if you can get a 64bit MinGW cross-compiler working.

You can find the patch and compiling instructions at:
http://www.symscape.com/openfoam-1-5-x-on-windows

philippose July 14, 2009 14:28

Hello there,

There is a release of OpenFOAM-1.5 which has been compiled natively within Windows itself....

The source code has been ported to windows, and compiled natively using Code::Blocks combined with Mingw32, resulting in executable files and DLLs which have basically the same performance as the Linux equivalent.

As of now, only the 32-bit version exists, but the entire ported source code, along with the Code::Blocks project files are also available for download, and hence, if you set up mingw-w64 on your windows system, you might be able to compile the code for 64-bit operation.

If I remember right, the Parallel functionality has not yet been ported.... but the OpenFOAM Paraview reader has been ported, and works fine...

The link to the OpenFOAM for Windows website is:
http://sourceforge.net/projects/openfoam-mswin/

And the link to the 64-bit version of mingw is:
http://sourceforge.net/projects/mingw-w64/


I have personally used this Windows version for off-the-shelf OpenFOAM simulations using solvers such as icoFoam and simpleFoam, and also created meshes using blockMesh, etc.... and so far, it has performed exactly like the Linux system.

I have also been able to compile (using Code::Blocks), some of my own solvers for OpenFOAM, and things worked out fine.

In addition, there is an interface called "OpenFOAM Designer", which is something like a very simple beta release of a FoamX replacement, programmed in Qt... as of now, this is the main interface which is expected to be used when using the Windows version, though a console can be started from within this program, where you can start solvers manually.

Note #1: I am not a part of this project :-)! Just giving some details based on my experiences with the port :-)!

Note #2: No... I dont get paid for advertising the project on the forum :-)

Note #3: OpenFOAM Designer is very much in the Beta phase, and there is a lot of functionality which needs to be added to it, but... its usable.

Have a nice day!

Philippose

Eslam Reda July 20, 2009 22:45

Thanks philippose
 
Thanks philippose so much, your information about openfoam under windows were very helpful.
But when I installed openfoam from the link you mentioned I found that some solvers are "unavailable" like the two phase solver. Do you have any information about this problem?
Thanks again.

Quote:

Originally Posted by philippose (Post 222653)
Hello there,

There is a release of OpenFOAM-1.5 which has been compiled natively within Windows itself....

If I remember right, the Parallel functionality has not yet been ported.... but the OpenFOAM Paraview reader has been ported, and works fine...

The link to the OpenFOAM for Windows website is:
http://sourceforge.net/projects/openfoam-mswin/

And the link to the 64-bit version of mingw is:
http://sourceforge.net/projects/mingw-w64/


Philippose


wyldckat November 13, 2009 11:55

OpenFOAM 1.6 Windows x64
 
Hello to all,

This is odd, but just yesterday I searched for "OpenFOAM mingw-w64" and I had no hits...

Anyway, Rogerio, I know this is a bit late, but since two days ago, there is a new tutorial on how to cross-compile OpenFOAM 1.6 with mingw-w64, here. Nonetheless, only today did I post the announcement here on the forum.

And by the way, the details about Windows have been updated on the wiki's FAQ :)

But currently I don't know if the team that is developing openfoam-mswin will adapt these new patches or not.

Best Regards,
Bruno

moh1367 April 24, 2010 00:56

Hi guys!
I have OpenFoam Designer on Vista, My problem is how to compile a new solver or change a default one in it, Is it pssible?

Thanks

Eslam Reda April 24, 2010 03:34

Implementing a new application in OpenFOAM
 
Dear Moh,
I wish you reach soon to the fact I have reached that OpenFOAM is much better operated on Linux rather than windows. Linux (ubuntu) is so easy to operate and so similar to windows. Anyway, try this link it may be useful to learn how to modify OF solvers.
http://209.85.135.132/search?q=cache...&ct=clnk&gl=eg

wyldckat April 24, 2010 06:11

Greetings moh1367,
Quote:

Originally Posted by moh1367 (Post 256156)
I have OpenFoam Designer on Vista, My problem is how to compile a new solver or change a default one in it, Is it pssible?

So you are using the openfoam-mswin project. If you visit the files page in that project (link here) you will find the files that were used to compile that version of OpenFOAM. And by what I know, they've used Code::Blocks + mingw32 to build it.
As for the source code of OpenFOAM Designer, I haven't found it yet. You could try sending a message to the developer.

Additionally, you could try a more active project, if you need a GUI for OpenFOAM, namely Discretizer. I haven't tried it myself, but it looks promising and should work in Windows.

As for building the latest version of OpenFOAM, posts #3 and #6 on this thread have links to tutorials on how to build OpenFOAM 1.6.x and 1.6 in Linux for Windows. Additionally, if you don't want to install any Linux distribution, you could always follow the instructions available in post #6 for building OpenFOAM under Cygwin in Windows, but be advised that it takes about twice as long then in Linux :( But at least you never leave the Windows environment, and can test it's execution directly!

Best regards,
Bruno

moh1367 April 24, 2010 09:35

Dear Eslam and Bruno!
Thank you alot for your responses, I run openFoam on Fedora but in fact this is not my case. I want to run OpanFoam designer for some novices.
I found the solvers on the windows , but they are all in .dll format, now the questoin is , is it possible to change those or make a new one?
If no, wich way do you recommende?

Sincerely


All times are GMT -4. The time now is 21:53.