CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   installed , stuck at bash file stage (http://www.cfd-online.com/Forums/openfoam-installation/91523-installed-stuck-bash-file-stage.html)

selvan August 14, 2011 04:13

installed , stuck at bash file stage
 
I am trying to install openfoam.

I have downloaded files from openfoam from http://www.openfoam.com/ (source files page).
The files are installed in home/openfoam/OpenFoam-2.0.1 directory.

As said in doucumentation page I typed in ~/.bashrc file
/home$ source home/openfoam/OpenFOAM-2.0.1/etc/bashrc
saved and closed.

On typying in the terminal,
icoFoam -help

gives the message



icoFoam: command not found

What could be wrong? Can somebody help? Thanks in advance

wyldckat August 14, 2011 16:42

Greetings Tamilselvan and welcome to the forum!

Quote:

Originally Posted by selvan (Post 320021)
As said in doucumentation page I typed in ~/.bashrc file
/home$ source home/openfoam/OpenFOAM-2.0.1/etc/bashrc
saved and closed.

I think you didn't follow the instructions properly... Quoting what's on the official site:
Quote:

if running bash or ksh (if in doubt type echo $SHELL), source the etc/bashrc file by adding the following line to the end of your $HOME/.bashrc file:
Code:

source $HOME/OpenFOAM/OpenFOAM-2.0.1/etc/bashrc
then type source $HOME/.bashrc in the current terminal window
You must do things exactly as it is described on the instructions! $HOME is not the same as $home !!

Best regards and good luck!
Bruno


All times are GMT -4. The time now is 06:47.