CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

"No such file or directory exists" error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2015, 12:56
Unhappy "No such file or directory exists" error
  #1
New Member
 
Mahendra
Join Date: Nov 2015
Posts: 6
Rep Power: 10
mahendrark is on a distinguished road
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)


Can someone help me with setting this right?
Thanks

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

Old   November 28, 2015, 16:42
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
wyldckat is offline   Reply With Quote

Reply

Tags
file path bug, openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 104 February 16, 2021 09:46
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 12:58.