CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

How to install OpenFoam in Windows XP

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2006, 03:03
Default Dear All, I am a n
  #1
New Member
 
Robert_Dekker
Join Date: Mar 2009
Location: Leiderdorp, The Netherlands
Posts: 1
Rep Power: 0
robert_dekker is on a distinguished road
Dear All,

I am a newbie here. Just downloaded OpenFoam to taste my CFD thirst.

I am really unable to decompress the OpenFOAM-1.3.General.gtgz file. I tried downloading gzip and I have no clue to proceed next ?? (As I don't really know to decompress .gtgz with Gzip).

Can someone help me with this very basic installation problem.

Rob.
robert_dekker is offline   Reply With Quote

Old   July 23, 2006, 03:24
Default As far as I know, installing O
  #2
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
As far as I know, installing OpenFOAM under windows is not easy . You should install cygwin to "emulate" a linux environment and rebuild the whole application from source, with some problem regarding the case-unsensitive windows file system.
Take a look to this discussions:
http://www.cfd-online.com/OpenFOAM_D...ges/1/939.html
http://www.cfd-online.com/OpenFOAM_D...ges/1/103.html
or try to search "windows installation" using the "Search" utility.

What about installing linux? Fedora, as well as OpenSuse, are really easy to use and to install, and they are free...
Francesco
fra76 is offline   Reply With Quote

Old   July 23, 2006, 03:36
Default Unfortunately, no. First, y
  #3
brooksmoses
Guest
 
Posts: n/a
Unfortunately, no.

First, you seem to have missed the part of the OpenFOAM documentation which explains that the official version from the OpenFOAM website is currently only supported on Unix and Linux systems. It does not work on Windows at all.

Second, as it happens, the OpenFOAM-1.3.General.gtgz file cannot even be unpacked on Windows (without a substantial amount of trouble) even if you knew how to use gzip. It was created on a case-sensitive filesystem that allows files named "Vector" and "vector" in the same directory, and there are several cases like that in the archive. This isn't permitted on Windows, and so there is no way that the archive could be correctly unpacked.

In any case, even if you did manage to correct that, the compilation system depends on enough of the Unix and Linux shells that it won't run at all without them, and so you couldn't get the source code to compile.

It's not completely impossible to run OpenFOAM on Windows -- there is an unofficial port (which I'm partly responsible for) of OpenFOAM to Cygwin, which is a Linux-like system that runs on top of Windows. However, it is rather a bit fiddly to use and doesn't include the graphical interface, and so I really wouldn't recommend it to people who are not already reasonably familiar with both Cygwin and OpenFOAM.

My recommendation for the easiest way to get started with OpenFOAM -- and this is what I did when I was first using it -- is to find an older PC that you're not using for anything, and install some version of Linux on it, and install OpenFOAM on that. It will run perfectly well on something like a 400MHz Pentium-II, though maybe not all that fast for large calculations.

Or, on second thought, the easiest way these days is probably to go to the VMWAre website, download a (free) copy of the VMWare Player and one of the Linux virtual machines for it. That gives you a virtual Linux machine that you can run on your Windows machine, and then you can install OpenFOAM on that just as you would on a physical Linux machine.

Oh, and when you get to that point, the command (on a Linux machine, not in Windows!) to extract the OpenFOAM-1.3.General.gtgz file is:
tar -xzvf OpenFOAM-1.3.General.gtgz

You probably will need at least some basic documentation on how to use Linux, or a local expert you can talk to, if you've not done it before.
  Reply With Quote

Old   July 27, 2006, 16:53
Default Though to be fair, I have used
  #4
ewr
New Member
 
Errol Robinson
Join Date: Mar 2009
Posts: 2
Rep Power: 0
ewr is on a distinguished road
Though to be fair, I have used the unofficial port of OpenFOAM to Cygwin for several months now and have found it very useful.

I am very new to OpenFOAM, Cygwin, Linux, and paraview, but by following Brooks Windows installation instructions and doing the tutorials in the user and programmer's guide I figured things out.


Errol

(Thanks again Brooks for the cygwin port)
ewr is offline   Reply With Quote

Old   October 20, 2010, 21:15
Default
  #5
New Member
 
lachie's Avatar
 
Xu Zhu
Join Date: Oct 2010
Posts: 12
Rep Power: 15
lachie is on a distinguished road
Quote:
Originally Posted by brooksmoses View Post
Unfortunately, no.

First, you seem to have missed the part of the OpenFOAM documentation which explains that the official version from the OpenFOAM website is currently only supported on Unix and Linux systems. It does not work on Windows at all.

Second, as it happens, the OpenFOAM-1.3.General.gtgz file cannot even be unpacked on Windows (without a substantial amount of trouble) even if you knew how to use gzip. It was created on a case-sensitive filesystem that allows files named "Vector" and "vector" in the same directory, and there are several cases like that in the archive. This isn't permitted on Windows, and so there is no way that the archive could be correctly unpacked.

In any case, even if you did manage to correct that, the compilation system depends on enough of the Unix and Linux shells that it won't run at all without them, and so you couldn't get the source code to compile.

It's not completely impossible to run OpenFOAM on Windows -- there is an unofficial port (which I'm partly responsible for) of OpenFOAM to Cygwin, which is a Linux-like system that runs on top of Windows. However, it is rather a bit fiddly to use and doesn't include the graphical interface, and so I really wouldn't recommend it to people who are not already reasonably familiar with both Cygwin and OpenFOAM.

My recommendation for the easiest way to get started with OpenFOAM -- and this is what I did when I was first using it -- is to find an older PC that you're not using for anything, and install some version of Linux on it, and install OpenFOAM on that. It will run perfectly well on something like a 400MHz Pentium-II, though maybe not all that fast for large calculations.

Or, on second thought, the easiest way these days is probably to go to the VMWAre website, download a (free) copy of the VMWare Player and one of the Linux virtual machines for it. That gives you a virtual Linux machine that you can run on your Windows machine, and then you can install OpenFOAM on that just as you would on a physical Linux machine.

Oh, and when you get to that point, the command (on a Linux machine, not in Windows!) to extract the OpenFOAM-1.3.General.gtgz file is:
tar -xzvf OpenFOAM-1.3.General.gtgz

You probably will need at least some basic documentation on how to use Linux, or a local expert you can talk to, if you've not done it before.
help lot, thx! fortunately, i just have a big expert sit behind me in our lab!
lachie is offline   Reply With Quote

Reply


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
[OpenFOAM] Install paraFoam on Windows for postprocessing melanie ParaView 11 March 13, 2010 17:44
Help! Can I install Es-Ice with Starcd in Windows? Deisler Siemens 5 April 24, 2007 08:01
how to install the X-Windows? Kim FLUENT 0 November 2, 2004 07:01
Install problem of X-windows for Tascflow Alex Deng CFX 2 November 1, 2001 11:33
How to install CFX-4.2 for Windows NT SXF Main CFD Forum 1 May 3, 1999 02:31


All times are GMT -4. The time now is 17:15.