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

OpenFOAM 1.5 dev

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2010, 01:45
Default
  #81
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
See my post #78 in this thread.

Best regards,

Niels
ngj is offline   Reply With Quote

Old   April 1, 2010, 02:34
Default OpenFOAM 1.5-dev installation procedure
  #82
Senior Member
 
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17
naveen is on a distinguished road
hi EVERYBODY,

I am from India working in National Aerospace Laboratories as research fellow. I am using OpenFOAM 1.4.1, 1.5,1.6.x past 2 years solved different problems on external aerodynamics like flow over airfoils, wings, cylinders,multi-element aerofoils etc without any problems.
Now i want to work on turbomachinery problems for flow analysis, for that i want to use OpenFOAM 1.5-dev (ggi) for solving. i am facing problem for installing 1.5-dev on my
system (mandriva 2008.1) using svn repository. If i install 1.5-dev, i am getting gcc error after foamInstallationTest.I need help from your side to install 1.5 dev for my work.
Also i want to know how to activate the subversion (svn) in
OpenFOAM sourceForge.net. Please help me in this regard.
naveen is offline   Reply With Quote

Old   May 1, 2010, 12:40
Default
  #83
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16
David_010 is on a distinguished road
Hi Norman

First of all, thank you for this post. I need to install OpenFOAM-1.5-dev because I want to use the conjugateFoam solver. I have followed your suggestions in my system (OpenSuse 11.2 64 bits) but I obtain an error in the log file, after run ./Allwmake. I think I have installed all the necessary packages, but, may be I need something more, or I am doing something wrong.

It is in Spanish, but the error says that "due to the errors, the objective 'aplication' wasn't reconstructed. And the message that appears near to wmake several times says 'nothing is done for application'

May be you have an idea of the problem I have. Once again, thank you very much for your help.

David
Attached Files
File Type: gz log_file.tar.gz (81.8 KB, 4 views)
David_010 is offline   Reply With Quote

Old   May 1, 2010, 13:12
Default
  #84
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16
David_010 is on a distinguished road
Repeated post

Last edited by David_010; May 1, 2010 at 13:18. Reason: Repeated post
David_010 is offline   Reply With Quote

Old   May 1, 2010, 20:37
Default
  #85
Senior Member
 
Pavan
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 17
rieuk is on a distinguished road
Hi David, have you read all the posts in this thread? If not I suggest you do ...
rieuk is offline   Reply With Quote

Old   May 2, 2010, 05:30
Default
  #86
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16
David_010 is on a distinguished road
Hi rieuk

Yes, I have read all the post and tried all the suggestions, but I can not solve my problem. I have installed all the necessary packages (I think it at least). With ./Allwmake I can compile some solvers, but not all.

Thanks for your attention

David
David_010 is offline   Reply With Quote

Old   May 2, 2010, 13:41
Default
  #87
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17
norman1981 is on a distinguished road
Quote:
Originally Posted by David_010 View Post
Hi rieuk

Yes, I have read all the post and tried all the suggestions, but I can not solve my problem. I have installed all the necessary packages (I think it at least). With ./Allwmake I can compile some solvers, but not all.

Thanks for your attention

David
Dear David,

did you run Allwmake twice? If not, try to run Allwmake again without cleaning.

Regards,

Norman
norman1981 is offline   Reply With Quote

Old   May 2, 2010, 14:01
Default
  #88
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16
David_010 is on a distinguished road
Hi Norman!

Thanks for your reply. Yes, I have tried it, but I obtain the same result. I can run some solvers, like icoFoam, but I cannot run conjugateHeatFoam. The only package I have not managed to install is bisonc++ (I have installed bison), but I don't know how to install it. Could it be the reason?. I'm trying to install the 1.5-dev without have the 1.6 version, by tipping directly:

. $HOME/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc
source ~/.bashrc

and then ./Allwmake.

Thanks a lot for your help

David
David_010 is offline   Reply With Quote

Old   May 2, 2010, 18:19
Default
  #89
Senior Member
 
andy
Join Date: May 2009
Posts: 270
Rep Power: 18
andy_ is on a distinguished road
As Norman suggested, can you run make again and give us the first error it reports.

We stopped using Suse when it went problematic a few years ago. There is no bison++ in the current distribution and 1.5-dev compiles without errors. If bison++ has disappeared from Suse it may be because bison now includes whatever was in bison++ but this is a guess on my part. The errors being generated should tell you what is missing.

Did you install 1.5-dev from the subversion repository? This is a later version with a bunch of bug fixes/additions and is usually preferable to the original version.
andy_ is offline   Reply With Quote

Old   May 3, 2010, 14:56
Default
  #90
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16
David_010 is on a distinguished road
Dear Andy and Norman

This is the output of re-run ./Allwmake. Sorry about the language, but the messages in Spanish basically say that :" Nothing to be done for application", and "due to errors, the object application was not re-built".

I have download 1.5-dev from "https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev/", as Norman suggested.

Thanks a lot for your help

David
Attached Files
File Type: gz log.tar.gz (4.8 KB, 5 views)

Last edited by David_010; May 3, 2010 at 16:22.
David_010 is offline   Reply With Quote

Old   May 3, 2010, 17:24
Default
  #91
Senior Member
 
andy
Join Date: May 2009
Posts: 270
Rep Power: 18
andy_ is on a distinguished road
Quote:
Originally Posted by David_010 View Post
Dear Andy and Norman

This is the output of re-run ./Allwmake. Sorry about the language, but the messages in Spanish basically say that :" Nothing to be done for application", and "due to errors, the object application was not re-built".

I have download 1.5-dev from "https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev/", as Norman suggested.

Thanks a lot for your help

David
" Nothing to be done for application" This is not a problem. It means the executable or library has already been created.

"due to errors, the object application was not re-built". This is a summary message and is not particularly useful in itself. What is useful is the error that precedes it.

I think the first problem might be "está actualizado" if this means out of date. Is the time on your computer correct? (type "date"). If it is not then you should fix it, delete everything and start again. Make gets confused if the clock is wrong because it uses the age of the files to determine what needs to be built and what does not.
andy_ is offline   Reply With Quote

Old   May 4, 2010, 11:20
Default
  #92
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16
David_010 is on a distinguished road
Dear Andy

I tested the "date" and it was ok:

Code:
mar may  4 15:20:05 UTC 2010
So, I'm a bit lost. In the setting.sh file, the compiler is set to system. Is it ok? or I have try to compile from OpenFOAM? because my gcc version is 4.4.1. Well, my knowledge about linux is limited.

Thanks again

David
David_010 is offline   Reply With Quote

Old   May 5, 2010, 00:38
Default OpenFOAM 1.5 dev
  #93
Senior Member
 
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17
naveen is on a distinguished road
Dear David,

Download 1.5-dev from the svn repository by typing the below code in the terminal in the OpenFOAM directory:

svn co http://openfoam-extend.svn.sourcefor...-extend/trunk/
Core/OpenFOAM-1.5-dev
naveen is offline   Reply With Quote

Old   May 5, 2010, 13:20
Default
  #94
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16
David_010 is on a distinguished road
Dear Naveen

Thanks for your help. Yes, that is the version I have been trying to install. So, I think the problem is not with it. But any suggestion is welcome.

Thanks again

David.
David_010 is offline   Reply With Quote

Old   May 5, 2010, 13:49
Default
  #95
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi David,

I don't want to give conflicting advice, but I use OpenFOAM-1.5-dev from http://powerlab.fsb.hr/ped/kturbo/openfoam/release/, and I use this on my OpenSUSE 11.0 and it works (and compiles) fine (for me).

If you have run out of ideas, you could try this version.

But before you do that,
out of curiosity, what happens when you go to the conjugateHeatFoam directory (cd $FOAM_SOLVERS/conjugate/conjugateHeatFoam)
and then execute
"wclean"
and
then
"wmake",
what error does it give?


Philip
bigphil is offline   Reply With Quote

Old   May 5, 2010, 14:09
Default
  #96
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16
David_010 is on a distinguished road
Hi Philip

Well, I've done it now, and when I execute "wclean" and "wmake" in the conjugateHeatFoam solver, I don't get any error. But when I go to the conjugateHeatFoam tutorial (conjugateCavity) in:

cd OpenFOAM/OpenFOAM-1.5-dev/tutorials/conjugateHeatFoam/conjugateCavity

and do ./Allrun

the log file says:

Code:
/home/David/OpenFOAM/OpenFOAM-1.5-dev/bin/tools/RunFunctions: line 40: conjugateCavity: order was not found.
Thank you very much for your help

David
David_010 is offline   Reply With Quote

Old   May 5, 2010, 14:55
Default
  #97
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
David,

hmmnn I have never used conjugateHeatFoam before, but when I tried it there now, I a similar error ("command not found" instead of "order not found") but I pressume this is just due to the translation.


As far as I can see the conjugateHeatFoam solver compiled fine, does this tutorial case actually work? Has anyone used this tutorial in this version of OpenFOAM? Maybe it was created in a previous OpenFOAM version and doesn't actually work at the moment in this version of OpenFOAM.

Allrun is just a script, and it calls another script called RunFunctions which tries to execute conjugateCavity at line 40 in RunFunctions.

Allrun passes the name of an application to RunFunctions, which in this case is "conjugateCavity", but since "conjugateCavity" isn't a application then RunFunctions says "command not found".
If you change the 4th line in Allrun (which currently is " application='basename $currDir' ") to " application='conjugateHeatFoam' ".
Then the Allrun script starts at least but then it gets some error with the case (Attempt to cast type wall to type lduInterface....) which I don't understand.


So, either my OpenFOAM is not set-up correctly, and I get the same errors as you, or maybe this tutorial is old and faulty...
I am not really sure, maybe somebody else has an idea.

Sorry I couldn't help,
Philip
bigphil is offline   Reply With Quote

Old   May 5, 2010, 15:35
Default
  #98
Member
 
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16
David_010 is on a distinguished road
Hi Philip

Thank you very much for your attention. You have really helped me in the way that now I know that it isn’t a compilation error of my computer. I will continue looking for a solution, but in a different way.
Thank you again
David
David_010 is offline   Reply With Quote

Old   May 5, 2010, 17:01
Default
  #99
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17
norman1981 is on a distinguished road
Quote:
Originally Posted by David_010 View Post
Hi Philip

Thank you very much for your attention. You have really helped me in the way that now I know that it isn’t a compilation error of my computer. I will continue looking for a solution, but in a different way.
Thank you again
David
Hi,

I compiled the current svn OpenFOAM-1.5-dev revision without errors in my OpenSUSE 11 that comes with the gcc 4.3 compiler. I saw an error in your last log file that seems to me related to your compilation environment but I might be wrong...
Anyway regarding the conjugateCavity there's a mistake in the allRun script and the runFunction runs the case folder instead of the solver.. run the conjugateHeatFoam inside the conjugateCavity..in this way it worked for me!

Regards

Norman
norman1981 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Paraview/Parafoam in OpenFoam 1.5 dev titio ParaView 0 December 9, 2009 12:13
[OpenFOAM] Paraview/Parafoam in OpenFoam 1.5 dev titio ParaView 0 December 9, 2009 12:12
OpenFOAM 1.5 installation on OpenSUSE 11.0 bigphil OpenFOAM Installation 16 April 29, 2009 06:28
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 04:48
OpenFOAM Version 1.5 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 July 14, 2008 18:22


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