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

Blockmesh command not found

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2012, 15:30
Question Blockmesh command not found
  #1
New Member
 
Aneet D Narendranath
Join Date: Jan 2012
Posts: 9
Rep Power: 14
dnaneet is on a distinguished road
What does the following mean?

Code:
blockMesh command not found

It worked fine until now.
Do I need to add anything else to my .bashrc file?

This is how my current .bashrc file ends



Code:
export PATH="$PATH:~$HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc"
export ParaView_DIR="$PATH:~/home/dnaneet/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc/paraview-3.12.0"
        export PATH=$ParaView_DIR/bin:$PATH
        export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.12
dnaneet is offline   Reply With Quote

Old   January 22, 2012, 02:25
Thumbs up Partially solved...
  #2
New Member
 
Aneet D Narendranath
Join Date: Jan 2012
Posts: 9
Rep Power: 14
dnaneet is on a distinguished road
I am having to source my OpenFOAM bashrc file all the time with

HTML Code:
source $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
I am unable to add it to .bashrc.
Any tips?
dnaneet is offline   Reply With Quote

Old   January 22, 2012, 09:29
Default
  #3
Disabled
 
Join Date: Mar 2011
Posts: 174
Rep Power: 15
anon_a is on a distinguished road
Quote:
Originally Posted by dnaneet View Post
I am unable to add it to .bashrc.
What is the error message?
Have you tried opening it with "sudo gedit .bashrc"?
anon_a is offline   Reply With Quote

Old   January 22, 2012, 15:28
Smile Heres how I solved my problem
  #4
New Member
 
Aneet D Narendranath
Join Date: Jan 2012
Posts: 9
Rep Power: 14
dnaneet is on a distinguished road
Thanks for your reply.
But heres how I solved my error.

I added the following line to my .bashrc file:


Code:
source /home/dnaneet/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc

I have several more questions about an example problem I am running that I'll post in the appropriate place!

Thanks! Cheers!
dnaneet is offline   Reply With Quote

Reply

Tags
bashrc, blockmesh


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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 14:21
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 09:48
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26


All times are GMT -4. The time now is 06:07.