CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation on Windows, Mac and other Unsupported Platforms

OpenFoam on win 7 64bits

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

Like Tree5Likes
  • 1 Post By wyldckat
  • 1 Post By JLight
  • 1 Post By elvis
  • 2 Post By Lieven

Reply
 
LinkBack Thread Tools Display Modes
Old   May 15, 2012, 14:02
Default OpenFoam on win 7 64bits
  #1
Member
 
Join Date: Apr 2012
Posts: 63
Rep Power: 5
leo_NM is on a distinguished road
hey guys

Has anyone installed opemfoam on win 7 64 bits?

Any tips that I have to be aware of ??

thanks
leo_NM is offline   Reply With Quote

Old   May 15, 2012, 15:39
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Leo_NM,

Some time ago a dedicated page was written at openfoamwiki.net on this subject, namely about using OpenFOAM on Windows: http://openfoamwiki.net/index.php/Windows

As for tips... there about a ton of them, so it might be easier if you ask what you specifically want to know

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   May 15, 2012, 16:41
Default
  #3
Member
 
Join Date: Apr 2012
Posts: 63
Rep Power: 5
leo_NM is on a distinguished road
I read on ubuntu website that I can download ubuntu and run it with windowns. Can I run Opem foam on ubuntu installing the operational system this way ?

http://www.ubuntu.com/download/help/...u-with-windows

thanks
leo_NM is offline   Reply With Quote

Old   May 15, 2012, 16:47
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Yes you can follow those instructions.
  • The downside is that while in Ubuntu, you won't be able to use (most) Windows applications, because you won't be able to use Windows and Ubuntu at the same time.
  • The upside is that while in Ubuntu, OpenFOAM will run faster and it'll be very unlikely that you catch any computer virus or worms
wyldckat is offline   Reply With Quote

Old   May 17, 2012, 16:43
Default
  #5
Senior Member
 
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 190
Blog Entries: 1
Rep Power: 7
mihaipruna is on a distinguished road
maybe try one of these:

http://code.google.com/p/bluecfd-sin...wiki/UserGuide
http://www.paratools.com/OpenFOAM
__________________
Mihai Pruna's Bio
mihaipruna is offline   Reply With Quote

Old   May 18, 2012, 17:14
Default
  #6
Member
 
Join Date: Apr 2012
Posts: 63
Rep Power: 5
leo_NM is on a distinguished road
Is the windows version complete with all the functionalities of the linux version ?

thanks
leo_NM is offline   Reply With Quote

Old   May 19, 2012, 18:39
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Leo_NM,

Short answer: yes and no, because it depends on where or from who you get your personal build/copy of (unofficial) OpenFOAM for Windows.

What I know and can tell you is this:
  • We at blueCAPE (we're I work) have done our best to bring as much as possible of OpenFOAM and related contributions (such as swak4Foam) onto Windows and we distribute the whole working package in our product/service named blueCFD. So basically, if something in OpenFOAM works on Linux, we'll make it work on Windows as well, including compiling OpenFOAM source code directly on Windows. The short link to blueCFD's page is this: http://joomla.bluecape.com.pt/blueCFD/
  • blueCFD-SingleCore is a subset of blueCFD, providing access to the modified OpenFOAM source code used in blueCFD, as well as providing the same core binaries that come with blueCFD... with the exception of the libraries for running in parallel. A table comparing blueCFD-SingleCore and blueCFD are shown at the front page: http://code.google.com/p/bluecfd-singlecore/
  • http://www.paratools.com/OpenFOAM - this provides a profiling version made in cooperation between Symscape and ParaTools. You can use OpenFOAM on Windows (64bit only, if I'm not mistaken) and get formated files for ParaTools with profiling data, indicating how much time was spent during execution on each sub-task. The downside is that these should be slower binaries, since they take some time with logging profile information, but I honestly don't know how slower it might be.
  • Which leads to Symscape's offering: http://www.symscape.com/product/openflow - FYI: has more limitations than blueCFD, when it comes to OpenFOAM itself
  • You can also check the threads shown on the following sub-forum: http://www.cfd-online.com/Forums/ope...n-windows-mac/ - there you should find builds of OpenFOAM based on both Symscape's and blueCAPE's patches/modifications. The downside is that those binaries usually come with almost no support...
  • Another source for information about the various modifications of OpenFOAM for Windows out there: http://openfoamwiki.net/index.php/Ti...mportant_Links
So, to sum up, currently using OpenFOAM directly on Windows comes in two flavors:
  • supported, for a fee;
  • and unsupported, which basically means that you're even more on your own.
But keep in mind that none of these modifications are źnot approved or endorsed by Silicon Graphics International Corp., the producer of the OpenFOAM« software and owner of the OpenFOAM« trade mark.╗



If you have any more questions, feel free to ask!

Best regards,
Bruno

PS: By the way, if you feel this is too much information... then maybe OpenFOAM isn't the CFD tool for you Because you're going to have to read a looooot to understand how to properly use OpenFOAM
ck7 likes this.
wyldckat is offline   Reply With Quote

Old   May 20, 2012, 12:05
Default
  #8
Senior Member
 
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 190
Blog Entries: 1
Rep Power: 7
mihaipruna is on a distinguished road
that was greatly informative Bruno!

I think it's not hard to set up a VM running Ubuntu and follow the installation instructions for OpenFOAM. Compared to figuring out all the dictionaries, that part is simple
This is a completely free option, of course, and, running it the same way most people do you are (most of the time) sure to find a solution online to any issue you might have.

http://www.openfoam.org/download/
__________________
Mihai Pruna's Bio
mihaipruna is offline   Reply With Quote

Old   May 22, 2012, 09:42
Default
  #9
Member
 
Join Date: Apr 2012
Posts: 63
Rep Power: 5
leo_NM is on a distinguished road
Awesome !!!

Thank you guys for the information !!
leo_NM is offline   Reply With Quote

Old   November 15, 2012, 22:07
Default
  #10
New Member
 
Fergus
Join Date: Sep 2012
Location: Glasgow, UK
Posts: 23
Rep Power: 4
Jaggy_Snake is on a distinguished road
Hi, sorry for bringing up an old thread but I didn't think it worth starting a new one.


I'm an aero undergrad and have been recommended openFOAM by a lecturer for a project I'm doing. (I need to model an aircraft wing)

I'm running Windows7 64 bit and, as far as I understand, I can install Unbuntu via VirtualBox then use OpenFOAM.

I've never used a Linux OS nor have I used OpenFOAM. Previous CFD experience is from fairly limited use of NUMECA.

I don't have very advanced computer skills and I only have a month or so to get a decent simulation going. Will I struggle to install and use openFOAM via VirtualBox, and would I be better trying something like Paratools or blueCFD??


Thanks in advance.
Jaggy_Snake is offline   Reply With Quote

Old   November 15, 2012, 23:44
Default Cross compiled 64bit bins for Win 7
  #11
New Member
 
Nishit Joseph
Join Date: Nov 2010
Posts: 29
Rep Power: 6
JLight is on a distinguished road
I have a working install for win 7 (64-bit) that used openMPI. The forum-thread is located here.

Hope it helps.

I am in the process of writing out how I was able to compile it. So you can set it you in a virtual Machine so you can develop and build new solvers, if you want to.

Cheers!

NJ
wyldckat likes this.
JLight is offline   Reply With Quote

Old   November 16, 2012, 16:20
Default
  #12
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 577
Blog Entries: 5
Rep Power: 13
elvis is on a distinguished road
Hi,

Bruno makes a great job and gives great support so it is never a bad investment to buy his product.
http://www.tfd.chalmers.se/~hani/kur..._commands.html
http://openfoam-extend.sourceforge.n...m/training.htm
http://openfoam-extend.sourceforge.n...7_Program.html
might be useful material that exceeds User Guide
wyldckat likes this.
elvis is offline   Reply With Quote

Old   November 16, 2012, 16:53
Default
  #13
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 295
Rep Power: 13
Lieven will become famous soon enough
Hello Fergus,

Quote:
Will I struggle to install and use openFOAM via VirtualBox
This part should not be so difficult. Have a look at http://www.openfoam.com/resources/windows.php where the whole process is explained step by step.

Quote:
I don't have very advanced computer skills and I only have a month or so to get a decent simulation going.
This might be a bit more tricky. OpenFOAM is certainly not the type of software where you can (graphically) click a few times and, no matter what you clicked, an output will pop up. If you don't get your input correct, you won't obtain a (converged) solution. But in my opinion, this is not a bad thing.
It will also require to use the terminal and knowledge of a number of basic commands is a must. In that respect I strongly recommend you to check out the links posted by Elvis.
wyldckat and Jaggy_Snake like this.
Lieven is offline   Reply With Quote

Old   November 16, 2012, 17:38
Default
  #14
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

Just to add a another detail to the conversation - if you have problems with using and/or installing VirtualBox, you can also try VMPlayer: http://openfoamwiki.net/index.php/Ho..._VMware_Player

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   November 17, 2012, 06:06
Default
  #15
New Member
 
Fergus
Join Date: Sep 2012
Location: Glasgow, UK
Posts: 23
Rep Power: 4
Jaggy_Snake is on a distinguished road
Cheers for the replies lads,

I'll give it a decent shot. Am I right to assume that you'd all suggest using linux over using something like Paratools or blueCFD?
Jaggy_Snake is offline   Reply With Quote

Old   November 17, 2012, 12:41
Default
  #16
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Jaggy_Snake,

Quote:
Originally Posted by Jaggy_Snake View Post
Am I right to assume that you'd all suggest using linux over using something like Paratools or blueCFD?
It all depends on your will power and resources! Linux is the preferred platform for using OpenFOAM, with several Linux Distributions to pick from.
Probably the quickest ones to start with would be probably Ubuntu (or even Mint) and you can either install them in a virtual machine (using VirtualBox or VMPlayer); or you can even use their "seemlessly install from Windows" that works as if it were just another program: http://www.ubuntu.com/download/help/...u-with-windows

If you are able to adapt to Ubuntu or any other Linux Distribution, sooner or later you will start to forget that Windows ever existed
On the other hand, if you develop an allergic reaction to Linux Distributions as some people have, you'll possibly end up back on Windows.

Wait... since you only have a month (i.e. 30 days or less) to work on this, you might want to take the trial way of things and give a shot to one of the original creators of patches for OpenFOAM to run directly on Windows and try out their product that can also interface with OpenFOAM: http://www.symscape.com/
Although if you're expecting that the project might take longer than 30 days, then you might want to contact them for more information, just in case...

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   November 20, 2012, 01:34
Default
  #17
New Member
 
Fergus
Join Date: Sep 2012
Location: Glasgow, UK
Posts: 23
Rep Power: 4
Jaggy_Snake is on a distinguished road
Thanks again, Bruno.

I installed Ubuntu 12.04 LTS. Didn't get as far as installing OpenFOAM as I wanted to play around with the OS a little which is completely new to me. From the start the OS was very sluggish; I did a bit of reading and a is seems a number of people have been having slowness problems using this host/guest combo' - various fixes are suggested but none seem particularly satisfactory. https://www.virtualbox.org/ticket/10790

I've now downloaded version 10.04 LTS which is currently installing in the hope that it will run smoother.

If I'm not up and running in the next few days I'll look into one of the windows compatible solutions.
Jaggy_Snake is offline   Reply With Quote

Old   November 20, 2012, 04:50
Default
  #18
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 577
Blog Entries: 5
Rep Power: 13
elvis is on a distinguished road
Hi,

I wonder if it is not more easy to run a OpenFOAMinstallation on a LIVE-USBstick.
Do not know what the speed advantage or disadvantage is compared to a Virtual machine.

I think that you get a Live USBstick on a commercial OpenFOAM Training, so it can not be that bad to use that.
http://openfoamwiki.net/index.php/USB-Stick

Last edited by elvis; November 20, 2012 at 06:02.
elvis is offline   Reply With Quote

Old   November 21, 2012, 20:00
Default
  #19
Member
 
Join Date: Nov 2010
Posts: 50
Rep Power: 6
Doug68 is on a distinguished road
Jaggy_Snake,

I found myself in a similar position to yourself in that I don't know Linux at all well, so either I had to learn Linux or get OpenFOAM on Windows. I fealt that there's a steep enough learning curve with OpenFOAM without putting another layer of learning on top of that just for fun.

So I purchased the BlueCape version and am very happy with it, the $ investment versus the reduction in grief in getting going has well and truly been worth it from my point of view.

There is still some amount of Linux type language to learn in the files that control OpenFOAM, but that's been the most minor of the issues.
Doug68 is offline   Reply With Quote

Old   November 21, 2012, 22:29
Default
  #20
New Member
 
Fergus
Join Date: Sep 2012
Location: Glasgow, UK
Posts: 23
Rep Power: 4
Jaggy_Snake is on a distinguished road
Guys,

Further to my previous post, I jiggled around with my VM settings and now have Ubuntu 12.04 up and running smooth. (I suspect the biggest change was selecting fixed rather than dynamically expanding HDD size) OpenFOAM 2.1.1 and Paraview 3.12.0 both appear to have been installed correctly

Now for the hard bit of actually doing some CFD...


Doug, thanks for your insight. I was pulling hair out for a day over virtual machines and almost resorted to BlueFOAM, however things seem to be going OK now. In my case, I reckon a bit of experience using Linux is worth the learning curve considering I'm still undergrad i.e at the start of my career.
Jaggy_Snake 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 - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 9 June 22, 2011 18:59
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 04:48
2009 OpenFOAM Summer School in Zagreb, Croatia hjasak OpenFOAM Announcements from Other Sources 0 March 27, 2009 13:08
Summer School on Numerical Modelling and OpenFOAM hjasak OpenFOAM 5 October 12, 2008 13:14
Building OpenFoAm on SGI Altix 64bits anne OpenFOAM Installation 8 June 15, 2006 09:27


All times are GMT -4. The time now is 23:39.