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

Can someone PLEASE document the development version installation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2008, 03:44
Default Very nice! Regards, Martin
  #61
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Very nice!

Regards,
Martin
mbeaudoin is offline   Reply With Quote

Old   July 5, 2008, 04:00
Default Amazing what can happen during
  #62
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Amazing what can happen during one night

Looks good.

- Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   July 5, 2008, 04:35
Default Great Work Alberto :-) I ha
  #63
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
jaswi is on a distinguished road
Great Work Alberto :-)

I have some very basic documentation in the pipeline. will send you the pdf's in two weeks for review. The aim is to avoid the same basic questions on the forum. Lets see if it works ...

Best Regards
Jaswi
jaswi is offline   Reply With Quote

Old   July 7, 2008, 04:31
Default Hi Jaswi Please distribute
  #64
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Jaswi

Please distribute it, as it would be beneficial to all to have such a document.

- Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   July 7, 2008, 04:54
Default Hi Jaswi! Wouldn't http://o
  #65
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Jaswi!

Wouldn't http://openfoamwiki.net/index.php/Main_FAQ be an appropriate place for that kind of stuff? I know that not much has been added there in the last time, but you could change that ...

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   July 7, 2008, 11:34
Default Dear Bernhard and Niels The
  #66
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
jaswi is on a distinguished road
Dear Bernhard and Niels

The purpose of making such documentation is distribution only but it needs some peer review as it is very basic and mostly consolidates the information taken from the forum.

I just need some time (after 16th July + 1 week) to refine it.

With Best Regards
Jaswi
jaswi is offline   Reply With Quote

Old   July 7, 2008, 12:22
Default Thanks Jaswi. I'll be happy to
  #67
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Thanks Jaswi. I'll be happy to read it :-)

Regards,
A.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   July 7, 2008, 13:21
Default Hi Jaswi What is not very c
  #68
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Jaswi

What is not very clear from my post is that I would like to read the document and give feed-back.

Best regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   July 8, 2008, 03:04
Default Hi Niels That would be grea
  #69
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
jaswi is on a distinguished road
Hi Niels

That would be great.
Will send it over to you once I have the initial draft ready.

Best Regards
Jaswi
jaswi is offline   Reply With Quote

Old   July 18, 2008, 06:49
Default Hi everyone: I tried the ea
  #70
Member
 
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 17
fw407 is on a distinguished road
Hi everyone:

I tried the easy way of compiling OF-1.4.1-dev, but run into problems when compiling src, the errors are something like:

/********************************************
.
.
.

lex.yy.cc:6502: error: 'yy_buffer_stack_max' was not declared in this scope
lex.yy.cc:6503: error: 'yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:6507: error: 'yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:6507: error: 'yy_buffer_stack_max' was not declared in this scope
lex.yy.cc:6513: error: 'yy_buffer_stack' was not declared in this scope
lex.yy.cc:6516: warning: use of old-style cast
lex.yy.cc: In member function 'void yyFlexLexer::yy_push_state(int)':
lex.yy.cc:6534: warning: use of old-style cast
lex.yy.cc:6537: warning: use of old-style cast
lex.yy.cc:6537: warning: use of old-style cast
.
.
.
/******************************

/******************************
.
.
.
/usr/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
.
.
.
.
/*****************************

/****************************
.
.
.

Xstream/Xstream.C:155: error: 'ButtonPressMask' was not declared in this scope
Xstream/Xstream.C:155: error: 'KeyPressMask' was not declared in this scope
Xstream/Xstream.C:155: error: 'ExposureMask' was not declared in this scope
Xstream/Xstream.C:155: error: 'StructureNotifyMask' was not declared in this scope
.
.
.
/************************************

I read some threads related to my problem, but haven't got a solution how to solve it, Could anyone give me some ideas?

(BTW: OS: ubuntu 7.10; gcc:4.2.1; flex: 2.5.33


Kind regards

feng
fw407 is offline   Reply With Quote

Old   July 18, 2008, 10:55
Default Hi feng, the procedure work
  #71
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Hi feng,

the procedure worked on openSUSE 11.0 (gcc 4.2.1 packaged by OpenCFD, flex 2.5.35).

Regards,
A.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   July 18, 2008, 13:47
Default Hi Alberto & anyone, Thanks
  #72
Member
 
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 17
fw407 is on a distinguished road
Hi Alberto & anyone,

Thanks for reply. I think I've made a progress in solving the problem related to zlib, but I am now still struggling with flex,

Here is what I have in OpenFOAM-1.4.1-dev/wmake/rules/General/flex++


.SUFFIXES: .L

#Ltoo = foamFlex++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
Ltoo = flex++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@

.L.dep:
$(MAKE_DEP)

Could anyone give me some help?

Kind regards

feng
fw407 is offline   Reply With Quote

Old   July 18, 2008, 14:02
Default Hi Feng ! I'm on ubuntu 8.0
  #73
Member
 
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 17
mathieu is on a distinguished road
Hi Feng !

I'm on ubuntu 8.04 and I use Flex 2.5.4 (old flex in the synaptic package manager) and the compilation is ok.

Mathieu
mathieu is offline   Reply With Quote

Old   July 18, 2008, 15:23
Default Hi Mathieu ! Thanks for you
  #74
Member
 
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 17
fw407 is on a distinguished road
Hi Mathieu !

Thanks for your help!

I tried your method, but it doesn't work, but I find way around it and make it work.

I noticed in my error list that there is something like "c++ linkage" and I get some idea from this post:

http://www.cfd-online.com/OpenFOAM_D...es/1/7503.html

so I replace:

"int yywrap()"
with
"extern "C" int yywrap()"

which is located at $WM_PROJECT_DIR/src/triSurface/triSurface/interfaces/STL/readSTLASCII.L

then most of the libraries in the "src" is compiled, except some libraries related to combustion and something else. as my project is about f-s, I tried icoFsiFoam and the stress solvers, they are all compiled correctly, anyway, OF-1.4.1-dev is working for me.

I think the uncompiled libraries can also be solved with the same method as the compiler also complains about flex-related issues.

kind regards

feng
fw407 is offline   Reply With Quote

Old   July 25, 2008, 16:37
Default Hi All I have just download
  #75
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi All

I have just downloaded 1.4.1-dev tonight, and the finiteArea module is missing. Does anyone know if it has been redrawn or anything?

If not, when will it become available again.

Thanks,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   July 25, 2008, 17:16
Default Hi I am terrible sorry for
  #76
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi

I am terrible sorry for having posted this ... turns out that I had stepped into the wrong directory and compiled the 'not-dev' version.

Time for bed.

Thanks,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   November 14, 2008, 21:51
Default I had my fluctuation with inst
  #77
New Member
 
Peter Lian
Join Date: Mar 2009
Posts: 12
Rep Power: 17
peter73 is on a distinguished road
I had my fluctuation with installation. I spent almost a whole week from 8:00am to 10:00pm and finally I got it right.

Now I have to deal with the solvers. As a beginner I need to search the internet for days for answers. SOmetimes I get it and sometimes I do not. The tutorial document is very brief and spends a large portion to introduce the grid generation. It does not cover how to code a program. It lacks the material to introduce the overall structure of this big code.

For long time users, it may be easier. I have my own in-house code. I know where to change and how to change it. But for my students it takes two years to understand the code.

Lots of users are students and they work on a project for a short time of period. The code will continue to grow, and someday, it will become so hard for a beginner to grasp and add new components (that is the purpose of a research code). They may just switch to Fluent (with a few thousand for 10 licenses, fluent is not that expensive)

I contacted the supporting group. I concern about the total number of hours (50 hours). Well, if I want to implement a new solver, I really do not know how many hours will they spend.

I agree they should get paid for their work. There could be a better way to do that.

Peter
peter73 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
Which version is current development line for 15 dkingsley OpenFOAM Installation 20 January 22, 2009 02:49
Which version is current development line for 15 dkingsley OpenFOAM Installation 0 January 12, 2009 08:18
Development version download guillaume OpenFOAM Installation 30 October 15, 2008 00:59
Install development version on Ubuntu hsieh OpenFOAM Installation 9 December 31, 2007 08:18
Modifying motionU in the development version philippose OpenFOAM Running, Solving & CFD 8 February 1, 2007 15:25


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