CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation on Windows, Mac and other Unsupported Platforms (
-   -   How can I build OpenFOAM in cygwin (

joywe May 22, 2005 22:23

Hi, I am trying to build Ope
I am trying to build OpenFOAM in the cygwin, but I nearly have no knowledge about UNIX or cygwin.Can anybody tell me details in the procedure of building OpenFOAM in cygwin? Thanks a lot!

niklas May 23, 2005 02:58

Hello, You cant, because NTF
You cant, because NTFS does not have case-sensitive files.

Try creating a file in a directory, for instance 'touch hello.C'

and then try 'touch Hello.C' and you will see what happens.

In linux you would have two files now, but you will not have that in cygwin.


joywe May 24, 2005 04:52

Thank you, Niklas. I am
Thank you, Niklas.
I am a developping engineer using fluent for more than three years. Sometimes I have to write some UDFs(espially the UDS)in fluent.In my experience there is too many limits in the macros used in fluent(you nearly do not know exactly how many macros in fluent and how to use them.), and you will face more troubles when divergence happens. So now I turn to OpenFOAM. I am working for a institute of nation, so I have much "spare time" in my daily work. I want to make a vision that can works in the cygwin. I have much time, but I don't know where to begin. who can help me?
Thank you in advance!

joywe May 24, 2005 04:59

Futher more, I almost know not
Futher more, I almost know nothing about the structure of CFD software. And, I am not very familiar with UNIX. Where should I bengin my work?

henry May 24, 2005 05:04

Why choose cygwin? Why not Li
Why choose cygwin? Why not Linux?

In cygwin are there any options for having a case-sensitive file-system? I guess cygwin is using the underlying Windows file system so are there any options for that being case-sensitive?

If not you will have to start by renaming all files starting with a capital letter and all the include statements of those files.

niklas May 24, 2005 05:08

Hi, You cannot even unpack

You cannot even unpack the OpenFOAM software in cygwin without breaking it, since there are
directories that have names like scalar/Scalar and vector/Vector one of these will magically disappear.

Now you have a problem....
How can you solve a problem in an environment that doesnt even let you look at it?

hehe, kind of zen question

anyway, my advice is you need linux/unix.

then i guess you could write a wrapper that renames every file to something unique (this of course requires you to
go through every file and replace the name of the include files)
and even then im not sure it will work.

omg, this is so ugly that i suggest you switch to linux/unix.


joywe May 25, 2005 01:21

Hi, I got workstation-silicon
I got workstation-silicon graphics octane2 with UNIX this morning. And it is four years old, works very slowly. Anyhow now I begin my adventure in OpenFOAM. Thanks a lot!

louis August 10, 2005 11:56

Looking for the definition of
Looking for the definition of AccessOp - I can find class accessOp, but no definition for AccessOp?


waynezw0618 November 7, 2006 05:37

dear wei zhang, have your ins
dear wei zhang,
have your install the OpenFOAM on the cygwin?
are you Chinese,i am Chinese,my Chinese name is wei zhang email is

mfregeau September 7, 2008 22:35

how to have openfoam installed
how to have openfoam installed in Windows, and how to have a GUI for it? Thanks

niels_olesen September 12, 2008 09:39

Hi I just tried for fun to

I just tried for fun to install Ubuntu in a virtual machine from VmWare (I'm using a one moth trial version - just wanted to try it out).

So far it seems to work out fine. I'm running the examples in the tutorial without any problems.

Maybe that's the way to go, if you dont' want to mess around with your company's window installation.


All times are GMT -4. The time now is 07:52.