CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

installed , stuck at bash file stage

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 14, 2011, 04:13
Default installed , stuck at bash file stage
  #1
New Member
 
Tamilselvan K
Join Date: Aug 2011
Posts: 1
Rep Power: 0
selvan is on a distinguished road
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
selvan is offline   Reply With Quote

Old   August 14, 2011, 16:42
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Tamilselvan and welcome to the forum!

Quote:
Originally Posted by selvan View Post
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
wyldckat is offline   Reply With Quote

Reply

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
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
gcc and executable file from Mac to Linux simone Marras Main CFD Forum 0 April 8, 2007 15:49
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 03:53.