|
[Sponsors] |
[OpenFOAM.org] blockMesh 'command not found' on Ubuntu 16.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 7, 2016, 08:39 |
blockMesh 'command not found' on Ubuntu 16.04
|
#1 |
New Member
Frederick
Join Date: Jul 2016
Location: Birmingham
Posts: 1
Rep Power: 0 |
Dear all,
I am freshly new with OpenFOAM and I am going to use it for my PhD work. I recently installed it on Ubuntu 16.04 following the instructions from openfoamwiki website and just tried to run blockMesh. I faced the 'command not found' issue, so I checked online what could be the problem but I couldn't find a solution myself. I checked the log.make file but I can't find an error in it, maybe you will? The end of my bashrc is as following: Code:
alias of301='source $HOME/OpenFOAM/OpenFOAM-3.0.1/etc/bashrc WM_LABEL_SIZE=64' export PATH="$PATH:~$HOME/OpenFOAM/OpenFOAM-3.0.1/etc/bashrc" On the other hand, paraview is running fine from the bash. Many thanks for your help. Frederick |
|
July 10, 2016, 20:13 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
Have you executed the command
Code:
of301 Code:
export PATH="$PATH:~$HOME/OpenFOAM/OpenFOAM-3.0.1/etc/bashrc" |
|
December 22, 2016, 04:31 |
|
#3 |
Member
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10 |
Currently, I am also encountering the same problem- blockMesh 'command not found'.
Previous to it was giving error "error while loading shared files." Then I added "source /home/magar/OpenFOAM/OpenFOAM-4.0/etc/" to ~/.bashrc. However it made the problem worse. |
|
December 22, 2016, 05:02 |
|
#4 | |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
Quote:
When you mean it made the problem worse, what were the error messages? Cheers, Antimony |
||
December 22, 2016, 05:37 |
|
#5 |
Member
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10 |
Thank you Antimony for your quick reply...
Also I figured out I need to source the bashrc file " source ~/.bashrc " . I didnt do this step so I was getting error as "blockMesh: 'command not found'" Thanks again. |
|
December 22, 2016, 11:13 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
For future reference, this kind of issue is documented here: http://openfoamwiki.net/index.php/In...with_the_Shell
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Workbench 18.2 Installation Error Ubuntu 16.04 | turbostudent | ANSYS | 1 | October 3, 2019 11:13 |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
[Other] How to create an MRF zone ? | aminem | OpenFOAM Meshing & Mesh Conversion | 2 | December 8, 2014 11:45 |
injection problem | Mark New | FLUENT | 0 | August 4, 2013 02:30 |