CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > 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 Display Modes
Old   November 26, 2015, 12:56
Unhappy "No such file or directory exists" error
  #1
New Member
 
Mahendranath R
Join Date: Nov 2015
Posts: 1
Rep Power: 0
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
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 82 November 25, 2014 14:16
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


All times are GMT -4. The time now is 00:50.