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

Installation of OpenFOAM15dev

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2009, 03:48
Default hi everybody I have just d
  #1
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
hi everybody

I have just downloaded from the powerlab the new OpenFOAM-1.5-dev version and the Thirdy Party software in the same folder. Also i have downloaded the gcc-4.3.2 and putted it in the folder /OpenFOAM/linux as explained in the wiki page.

I have setted up correctly the bashrc file and added the line so everything is fine up to now.

The wiki then said to compile the src directory only (without applications). but how? what is and what is not a row related to the applications? may someone post a list of how to in order to guide me??

thank very much

antonio
antonio_ing is offline   Reply With Quote

Old   January 12, 2009, 04:26
Default Hi Antonio, yesterday I com
  #2
Senior Member
 
tian's Avatar
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 122
Rep Power: 17
tian is on a distinguished road
Hi Antonio,

yesterday I compiled the whole OpenFOAM-1.5-dev version without trouble. My system is Ubuntu 8.10 (standard installation). Before I can start to compile I need some additional packets:

"apt-get install ..."

flex++
g++
binutils
binutils-dev
cmake
qt4

in the folder OpenFOAM-1.5-dev I only run: "./Allrun".

I hope it helps a little bit.

Bye
Thomas
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance.
tian is offline   Reply With Quote

Old   January 13, 2009, 04:20
Default Actually i have compiled that
  #3
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
Actually i have compiled that file and afterward i have compiled again the src, applications and applications/utilities as was proposed in the wiki. now everything works so thanks very much for the support :-)
antonio_ing is offline   Reply With Quote

Old   January 13, 2009, 07:25
Default Hi Antonio, you are welcome
  #4
Senior Member
 
tian's Avatar
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 122
Rep Power: 17
tian is on a distinguished road
Hi Antonio,

you are welcome. Can you do favor to me? Can you try the tutorial: sloshingTank3D3DoF?

I always got a error:

Cannot read control cacheAgglomeration

file: from 0 line to 0.

From function void lduMatrix::solver::readControl
{
const dictionary& dict,
T& control,
const word& controlName
}

in file lnInclude/lduMatrixTemplate.C line 57.

Thanks!

Bye
Thomas
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance.
tian is offline   Reply With Quote

Old   January 16, 2009, 09:28
Default yes i tried and got the same
  #5
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
yes i tried and got the same error... maybe there is something odd!

sorry, i have no idea.
antonio_ing is offline   Reply With Quote

Old   February 15, 2009, 12:19
Default i am trying to install again o
  #6
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
i am trying to install again openfoam-1.5-dev but still i got some error in the newest version 020209. May someone post me a list of the things to do (expecially regarding the setup of the compiler) since the wiki is slightly old.

thanks in advance
antonio_ing is offline   Reply With Quote

Old   February 15, 2009, 12:27
Default Hi, Antonio, try to use the
  #7
Senior Member
 
tian's Avatar
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 122
Rep Power: 17
tian is on a distinguished road
Hi,

Antonio, try to use the OpenFOAM compiler (ThirdParty) not the system g++ compiler for the newest version 020209.

Bye
Thomas
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance.
tian is offline   Reply With Quote

Old   February 15, 2009, 12:57
Default Thanks for the advise thomas b
  #8
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
Thanks for the advise thomas but i don't get what you mean. :-( what am I supposed to do to compile? I'm not an expert in programming
antonio_ing is offline   Reply With Quote

Old   February 15, 2009, 13:16
Default Hi, yeah, my english is not
  #9
Senior Member
 
tian's Avatar
 
Tian
Join Date: Mar 2009
Location: Berlin, germany
Posts: 122
Rep Power: 17
tian is on a distinguished road
Hi,

yeah, my english is not so well :-) I mean, change in /etc/settings.sh:

# Select compiler installation
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# compilerInstall = OpenFOAM | System
# compilerInstall=OpenFOAM
compilerInstall=System

Try it out.

Bye
Thomas
__________________
BIM HVACTool, The Green Building Simulation Tool for OpenFOAM, Energy Plus and Radiance.
tian is offline   Reply With Quote

Old   February 15, 2009, 14:02
Default I have changed the settings.sh
  #10
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
I have changed the settings.sh in this way:

# Select compiler installation
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# compilerInstall = OpenFOAM | System
compilerInstall=OpenFOAM
#compilerInstall=System

but when i start the bashrc again it says:

cfduser-dev@antonio-desktop:~/OpenFOAM/ThirdParty$ . ~/.bashrc

Warning in /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/etc/settings.sh:
Cannot find /home/cfduser-dev/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux installation.
Please install this compiler version or if you wish to use the system compiler,
change the 'compilerInstall' setting to 'System' in this file

and if I go to the ThirdParty dir at the command ls there is no gcc folder

cfduser-dev@antonio-desktop:~/OpenFOAM/ThirdParty$ ls
Allwmake libccmio-2.6.1 openmpi-1.2.6 ParMetis-3.1 wmakeFiles
AllwmakeLibccmio malloc paraview-2.4.4 ParMGridGen-1.0 zlib-1.2.3
lam-7.1.4 metis-5.0pre2 ParaView3.3-cvs README
antonio_ing is offline   Reply With Quote

Old   February 15, 2009, 16:11
Default Hi Antonio I have compiled
  #11
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Antonio

I have compiled 1.5-dev recently, where I used the ThirdParty-components downloaded from opencfd's homepage. That does at least include the correct gcc-version.

After that you should not have any problems, except that you might need to install "flex".

I would recommend you to go to OpenFOAM-1.5-dev/src and execute Allwmake from there first, and after that compile all the applications. If you do that you can verify that all libraries are compiled successfully before you compile the apps, which need the libraries.

Good luck,

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   February 16, 2009, 03:41
Default Hi all. I have successfully
  #12
Member
 
Edin Berberovic
Join Date: Mar 2009
Posts: 31
Rep Power: 17
eberberovic is on a distinguished road
Hi all.

I have successfully compiled the version 1.5-dev from powerlab using both, the system compiler (4.2.1) and the Third Party compiler (4.3.1). It works fine on openSuSE 10.3 64-bit.

There are two issues that I found:

1) In building Paraview3, there is probably a misprint in the file ~/OpenFOAM/OpenFOAM-1.5-dev/etc/apps/paraview3/bashrc. The the path should be written as follows (not containing the line between ParaView and $):

export ParaView_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView$ParaView_VERSION.

2) I have troubles running the interDyMFoam tutorial damBreakWithObstacle. I have posted it under:

Error: OF-1.5-dev interDyMFoam: keyword agglomerator is undefined in dictionary ""

It seems that the subdictionary for pdFinal cannot be read. I have changed the solvers in fvSolution, but then there is an error in reading the settings for pcorr. Maybe some issue with the solvers. Any help would be appreciated.

Best Regards,
Edin.
eberberovic is offline   Reply With Quote

Old   February 16, 2009, 17:27
Default hi guys i have successfully
  #13
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
hi guys

i have successfully compiled OpenFoam 1.5-dev,too. Here there is what I did for someone else in the same troubles:

1) as suggested by Tian, Install the following packages:

sudo apt-get install
flex++
g++
binutils
binutils-dev
cmake

2) download openFoam from the powerlab website. Then download the thirdparty software from the official openFoam website. Extract the three packages (1 openFoam + 2 thirdParty) in a directory in the home called openFOAM.

3) Add the following line to the .bashrc in the home directory:

. ~/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc

or something that point at that bashrc file.
Do:
. ~/.bashrc

4) change the solver settings in

OpenFOAM-1.5-dev/etc/settings.sh

from:

# Select compiler installation
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# compilerInstall = OpenFOAM | System
# compilerInstall=OpenFOAM
compilerInstall=System

to

# Select compiler installation
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# compilerInstall = OpenFOAM | System
compilerInstall=OpenFOAM
#compilerInstall=System

5)compile the ThirdParty folder running ./Allwmake
6) compile OpenFoam running ./Allwmake

et voilą! everything should work. Thanks to everybody of you guys!!!
antonio_ing is offline   Reply With Quote

Old   March 4, 2009, 05:34
Default Hi All, I compiled the 1.5-
  #14
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 17
marico is on a distinguished road
Hi All,

I compiled the 1.5-dev and tryed to use it with ThirdParty binaries. paraFoam didn't work even after recompiling paraview and parafoam. the error message I got was sth. like:
paraview: command not found

After that I searched a little bit and found out, that the foam/etc/apps/paraview3/bashrc differs from the one in original 1.5 release:

The line here is:
export Paraview_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView-$ParaView_VERSION

compared to the original one:
export Paraview_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView$ParaView_VERSION

that lead to the wrong environmental variables. Maybe this helps someone or someone could explain why it is defined differently.

Marco
marico is offline   Reply With Quote

Old   March 5, 2009, 02:29
Default Hi Marco, I have also seen it
  #15
Member
 
Edin Berberovic
Join Date: Mar 2009
Posts: 31
Rep Power: 17
eberberovic is on a distinguished road
Hi Marco,
I have also seen it a couple of weeks ago and posted it here (see above).
Simply change the line (not containing the mid line), it will work.
Regards,
edin.
eberberovic is offline   Reply With Quote

Old   March 5, 2009, 13:18
Default hi, foamers, I need informa
  #16
Member
 
hamdi
Join Date: Mar 2009
Posts: 75
Rep Power: 17
hamcer is on a distinguished road
hi, foamers,

I need information , what's the difference between the OF-1.5 available in the web page of openfoam, and the OF-1.5-dev?

Thanks for answer.
hamcer is offline   Reply With Quote

Old   March 6, 2009, 11:18
Default Hi Hamdi OF-1.5 on webpage
  #17
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17
hellorishi is on a distinguished road
Hi Hamdi

OF-1.5 on webpage is the original version. It (possibly) has some bugs. To improve upon this released version various patches are released using GIT by OpenCFD.

http://repo.or.cz/w/OpenFOAM-1.5.x.git

Then there is the a development version(OF-1.5.dev) which has these patches and some other stuff which is being developed.

So to put the message in one line: Install GIT on your system http://git-scm.com/download ; then get the patched version and compile it.

Refer to this old message for clarification from the expert.
http://www.cfd-online.com/cgi-bin/Op...2745#POST32745


best regards,
Rishi
hellorishi is offline   Reply With Quote

Old   March 6, 2009, 11:26
Default another good source to clarify
  #18
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17
hellorishi is on a distinguished road
another good source to clarify your doubt:
http://www.cfd-online.com/cgi-bin/Op...0480#POST30480
hellorishi is offline   Reply With Quote

Old   April 18, 2009, 16:48
Default
  #19
Member
 
Nugroho Adi
Join Date: Mar 2009
Location: norway
Posts: 79
Rep Power: 17
mahaputra is on a distinguished road
Quote:
Originally Posted by marico View Post
Hi All,

I compiled the 1.5-dev and tryed to use it with ThirdParty binaries. paraFoam didn't work even after recompiling paraview and parafoam. the error message I got was sth. like:
paraview: command not found

After that I searched a little bit and found out, that the foam/etc/apps/paraview3/bashrc differs from the one in original 1.5 release:

The line here is:
export Paraview_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView-$ParaView_VERSION

compared to the original one:
export Paraview_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView$ParaView_VERSION

that lead to the wrong environmental variables. Maybe this helps someone or someone could explain why it is defined differently.

Marco
Hi all



i just installed OpenFOAM-1.5-dev into another user/second user (not administrator user) and succeed to run OpenFOAM-1.5-dev


in my administrator user i installed OpenFOAM-1.5, and was succeed by using Jure Installation Script for OpenFOAM 1.5 including it's Paraview on ThirdParty Package),



i tries several ways to install paraview in second user (OpenFOAM-1.5-dev), but didnt help


1. by using ThirdParty.General_2008-12-11.tgz, from http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/ , ./Allwmake not help

2. download the ThirdParty from Official OpenFOAM website, doesnt help, install manually , 1) unpack openfoam-1.5-dev, openfoam-1.5-linuxGccDPOpt, thirdparty.general, thirdparty.linuxGcc

3. using Jure installation script for the paraview installation , http://www.cfd-online.com/Forums/ope...-script-3.html

4.

follow this thread http://www.cfd-online.com/Forums/ope...d-regions.html, and http://www.cfd-online.com/Forums/ope...foam15dev.html

In building Paraview3, there is probably a misprint in the file ~/OpenFOAM/OpenFOAM-1.5-dev/etc/apps/paraview3/bashrc. The the path should be written as follows (not containing the line between ParaView and $):

export ParaView_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView$ParaView_VERSION.


and so on


do you know, how to solve this problem?




this is the error message:


simulation15@user-laptop:~/OpenFOAM/simulation15-1.5-dev/run/tutorials/icoFoam/cavity$ paraFoam
/home/simulation15/OpenFOAM/OpenFOAM-1.5-dev/bin/paraFoam: 103: paraview: not found
simulation15@user-laptop:~/OpenFOAM/simulation15-1.5-dev/run/tutorials/icoFoam/cavity$ paraview
The program 'paraview' is currently not installed. To run 'paraview' please ask your administrator to install the package 'paraview'
bash: paraview: command not found
simulation15@user-laptop:~/OpenFOAM/simulation15-1.5-dev/run/tutorials/icoFoam/cavity$


could anyone help me how to install paraview in second linux (ubuntu 8.10) user?
mahaputra is offline   Reply With Quote

Old   April 18, 2009, 17:18
Default
  #20
Member
 
Nugroho Adi
Join Date: Mar 2009
Location: norway
Posts: 79
Rep Power: 17
mahaputra is on a distinguished road
i succeed to change set the second user as a administrator group, by using System --> Administration --> user and group in my Ubuntu 8.10

now, im installing paraview, hopefully it will work.
mahaputra 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
Grid Engine OpenFOAM15dev and OpenMPI124 tian OpenFOAM Installation 11 February 26, 2009 11:43
How to install OpenFOAM15dev on RHEL AS3 cluster waynezw0618 OpenFOAM Installation 0 February 26, 2009 11:10
How to install OpenFOAM15dev on RHEL AS3 cluster waynezw0618 OpenFOAM Installation 0 February 26, 2009 11:04
Help Error Installation of openfoam15dev loneboard OpenFOAM Installation 4 February 4, 2009 10:24
About OpenFOAM15dev waynezw0618 OpenFOAM Running, Solving & CFD 5 January 21, 2009 18:55


All times are GMT -4. The time now is 04:49.