CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   buntu Linux trouble finding OpenFOAM directory help please? (http://www.cfd-online.com/Forums/openfoam-installation/96351-buntu-linux-trouble-finding-openfoam-directory-help-please.html)

longnian January 20, 2012 05:20

buntu Linux trouble finding OpenFOAM directory help please?
 
On the terminal I try to find the file $HOME/OpenFOAM, but it says the directory cannot be found. I try reinstalling the OpenFOAM software and the terminal says that it is already installed? How can I find the OpenFOAM file? Help Please!!

anon_a January 20, 2012 06:43

Try "cd $FOAM_INST_DIR"

elvis January 24, 2012 06:23

Quote:

Originally Posted by longnian (Post 340267)
On the terminal I try to find the file $HOME/OpenFOAM, but it says the directory cannot be found. I try reinstalling the OpenFOAM software and the terminal says that it is already installed? How can I find the OpenFOAM file? Help Please!!

Hello,

can you post your ~/.bashrc (only the relevant part for OpenFOAM) here ? might be that there is s.th wrong for your installation.

thx

hfsf January 25, 2012 11:21

The last line of your ~/.bashrc file should be:

source /opt/openfoam201/etc/bashrc

Make sure that this is the last line (avoid a blank line before the command). Sometime ago, I tried to install the OPENFOAM and, believe me, a blank line was ruining everything.


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