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

Blockmesh command not found

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 21, 2012, 14:30
Question Blockmesh command not found
  #1
New Member
 
Aneet D Narendranath
Join Date: Jan 2012
Posts: 9
Rep Power: 4
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, 01:25
Thumbs up Partially solved...
  #2
New Member
 
Aneet D Narendranath
Join Date: Jan 2012
Posts: 9
Rep Power: 4
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, 08:29
Default
  #3
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 5
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, 14:28
Smile Heres how I solved my problem
  #4
New Member
 
Aneet D Narendranath
Join Date: Jan 2012
Posts: 9
Rep Power: 4
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

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


All times are GMT -4. The time now is 14:33.