CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

"No such file or directory exists" error

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   November 26, 2015, 12:56
Unhappy "No such file or directory exists" error
New Member
Mahendranath R
Join Date: Nov 2015
Posts: 1
Rep Power: 0
mahendrark is on a distinguished road
Sponsored Links
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:
 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.

Can someone help me with setting this right?

Last edited by mahendrark; November 26, 2015 at 12:57. Reason: Image didnt link
mahendrark is offline   Reply With Quote
Sponsored Links

Old   November 28, 2015, 16:42
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,978
Blog Entries: 39
Rep Power: 108
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quick answer: It seems like the OpenFOAM shell environment is not active. My guess is that you followed these instructions:
If you did, then whenever you start a new terminal you should run:
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:
source $HOME/OpenFOAM/OpenFOAM-3.0.0/etc/bashrc
wyldckat is offline   Reply With Quote


file path bug, openfoam

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 101 February 3, 2017 00:36
Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit OpenFOAM Paraview & paraFoam 60 September 18, 2013 03:23
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51

Sponsored Links

All times are GMT -4. The time now is 18:25.