|
[Sponsors] |
March 25, 2010, 02:45 |
|
#81 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
See my post #78 in this thread.
Best regards, Niels |
|
April 1, 2010, 03:34 |
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 |
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. |
|
May 1, 2010, 13:40 |
|
#83 |
Member
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16 |
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 |
|
May 1, 2010, 14:12 |
|
#84 |
Member
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16 |
Repeated post
Last edited by David_010; May 1, 2010 at 14:18. Reason: Repeated post |
|
May 1, 2010, 21:37 |
|
#85 |
Senior Member
Pavan
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 17 |
Hi David, have you read all the posts in this thread? If not I suggest you do ...
|
|
May 2, 2010, 06:30 |
|
#86 |
Member
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16 |
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 |
|
May 2, 2010, 14:41 |
|
#87 | |
Member
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17 |
Quote:
did you run Allwmake twice? If not, try to run Allwmake again without cleaning. Regards, Norman |
||
May 2, 2010, 15:01 |
|
#88 |
Member
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16 |
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 |
|
May 2, 2010, 19:19 |
|
#89 |
Senior Member
andy
Join Date: May 2009
Posts: 322
Rep Power: 18 |
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. |
|
May 3, 2010, 15:56 |
|
#90 |
Member
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16 |
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 Last edited by David_010; May 3, 2010 at 17:22. |
|
May 3, 2010, 18:24 |
|
#91 | |
Senior Member
andy
Join Date: May 2009
Posts: 322
Rep Power: 18 |
Quote:
"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. |
||
May 4, 2010, 12:20 |
|
#92 |
Member
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16 |
Dear Andy
I tested the "date" and it was ok: Code:
mar may 4 15:20:05 UTC 2010 Thanks again David |
|
May 5, 2010, 01:38 |
OpenFOAM 1.5 dev
|
#93 |
Senior Member
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17 |
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 |
|
May 5, 2010, 14:20 |
|
#94 |
Member
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16 |
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. |
|
May 5, 2010, 14:49 |
|
#95 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
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 |
|
May 5, 2010, 15:09 |
|
#96 |
Member
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16 |
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. David |
|
May 5, 2010, 15:55 |
|
#97 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
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 |
|
May 5, 2010, 16:35 |
|
#98 |
Member
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 16 |
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 |
|
May 5, 2010, 18:01 |
|
#99 | |
Member
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17 |
Quote:
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 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Paraview/Parafoam in OpenFoam 1.5 dev | titio | ParaView | 0 | December 9, 2009 13:13 |
[OpenFOAM] Paraview/Parafoam in OpenFoam 1.5 dev | titio | ParaView | 0 | December 9, 2009 13:12 |
OpenFOAM 1.5 installation on OpenSUSE 11.0 | bigphil | OpenFOAM Installation | 16 | April 29, 2009 07:28 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 05:48 |
OpenFOAM Version 1.5 Released | OpenFOAM discussion board administrator | OpenFOAM Announcements from ESI-OpenCFD | 0 | July 14, 2008 19:22 |