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

How can I build OpenFOAM in cygwin

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2005, 22:23
Default Hi, I am trying to build Ope
  #1
joywe
Guest
 
Posts: n/a
Hi,
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!
  Reply With Quote

Old   May 23, 2005, 02:58
Default Hello, You cant, because NTF
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
Hello,
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.

N
niklas is offline   Reply With Quote

Old   May 24, 2005, 04:52
Default Thank you, Niklas. I am
  #3
joywe
Guest
 
Posts: n/a
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!
  Reply With Quote

Old   May 24, 2005, 04:59
Default Futher more, I almost know not
  #4
joywe
Guest
 
Posts: n/a
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?
  Reply With Quote

Old   May 24, 2005, 05:04
Default Why choose cygwin? Why not Li
  #5
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
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.
henry is offline   Reply With Quote

Old   May 24, 2005, 05:08
Default Hi, You cannot even unpack
  #6
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
Hi,

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.

N
niklas is offline   Reply With Quote

Old   May 25, 2005, 01:21
Default Hi, I got workstation-silicon
  #7
joywe
Guest
 
Posts: n/a
Hi,
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!
  Reply With Quote

Old   August 10, 2005, 11:56
Default Looking for the definition of
  #8
New Member
 
Louis le Grange
Join Date: Mar 2009
Posts: 7
Rep Power: 17
louis is on a distinguished road
Looking for the definition of AccessOp - I can find class accessOp, but no definition for AccessOp?

Thanks
louis is offline   Reply With Quote

Old   November 7, 2006, 04:37
Default dear wei zhang, have your ins
  #9
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 309
Rep Power: 18
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
dear wei zhang,
have your install the OpenFOAM on the cygwin?
are you Chinese,i am Chinese,my Chinese name is wei zhang too.my email is waynezw0618@163.com
waynezw0618 is offline   Reply With Quote

Old   September 7, 2008, 22:35
Default how to have openfoam installed
  #10
New Member
 
Mathieu
Join Date: Mar 2009
Posts: 1
Rep Power: 0
mfregeau is on a distinguished road
how to have openfoam installed in Windows, and how to have a GUI for it? Thanks
mfregeau is offline   Reply With Quote

Old   September 12, 2008, 09:39
Default Hi I just tried for fun to
  #11
New Member
 
Niels Anker Olesen
Join Date: Mar 2009
Posts: 1
Rep Power: 0
niels_olesen is on a distinguished road
Hi

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.


Niels
niels_olesen 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 15 icc build mschoenberg OpenFOAM Installation 4 October 2, 2008 00:09
OpenFoam under Cygwin NeaZen Main CFD Forum 3 January 21, 2007 12:32
OpenFOAM Cygwin port updated to 13 brooksmoses OpenFOAM Installation 29 November 30, 2006 05:49
OpenFOAM with Cygwin kitchener OpenFOAM Installation 6 April 24, 2006 23:09
Build OpenFOAM on Tru64 francois OpenFOAM Installation 18 April 4, 2006 05:45


All times are GMT -4. The time now is 01:09.