CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   "No such file or directory exists" error (https://www.cfd-online.com/Forums/openfoam-solving/163279-no-such-file-directory-exists-error.html)

mahendrark November 26, 2015 11:56

"No such file or directory exists" error
 
Hey guys!

Just installed OpenFOAM-3.0.0 in Ubuntu 14.04 in my PC. Then, I tried running the Lid Driven Cavity Flow tutorial. But this error keeps getting in the way and prevents the following line from getting executed on Terminal:
Code:

cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity
I keep getting this message when I execute the above line:
bash: cd: /tutorials/incompressible/icoFoam/cavity: No such file or directory

I checked the files in the directory and made sure they are in proper order. I've included the screenshot of the directory.
(http://imgur.com/Od6O5CE)http://imgur.com/Od6O5CE
http://imgur.com/Od6O5CE

Can someone help me with setting this right?:confused:
Thanks

wyldckat November 28, 2015 15:42

Quick answer: It seems like the OpenFOAM shell environment is not active. My guess is that you followed these instructions: https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04
If you did, then whenever you start a new terminal you should run:
Code:

of300
If it doesn't work, please provide more details about which installation instructions you followed. Because if you followed the official instructions from source, you should run:
Code:

source $HOME/OpenFOAM/OpenFOAM-3.0.0/etc/bashrc


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