|
[Sponsors] |
[OpenFOAM.com] Command 'blockMesh' not found but openFoam and paraview are installed |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 7, 2021, 10:48 |
Command 'blockMesh' not found but openFoam and paraview are installed
|
#1 |
New Member
Lucas Pelchen
Join Date: Jan 2021
Posts: 3
Rep Power: 5 |
Hello,
I'm new to openFoam and when I tried to do the first tutorial ( Driven Cavity Flow) I got this message in the terminal: Command 'blockMesh' not found, but can be installed with: sudo apt install openfoam Befor that failure I used the following code in the shown order: command: sudo apt install paraview answer: Media change: please insert the disc labeled 'Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)' in the drive '/cdrom/' and press [Enter] command: sudo sed -i '/cdrom/d' /etc/apt/sources.list sudo apt install paraview wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash sudo apt-get install openfoam2012-default lucas@Lucas:~/openFoam/Tutorial/Lid_DrivenCavityFlow$ blockMesh Command 'blockMesh' not found, but can be installed with: sudo apt install openfoam I cannot explain why I doesn't work and I reinstalled ubuntu 2 times. I hope you guys can help me getting out of this mess. Many thanks in advance |
|
January 8, 2021, 11:37 |
|
#2 |
Senior Member
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 15 |
Perhaps you forgot to source the bashrc file?
You need to source that file when you want to run OpenFOAM. |
|
January 8, 2021, 14:10 |
|
#3 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,695
Rep Power: 40 |
Many different ways - take a look here https://develop.openfoam.com/Develop.../wikis/running
|
|
February 2, 2021, 06:45 |
|
#4 |
New Member
Lucas Pelchen
Join Date: Jan 2021
Posts: 3
Rep Power: 5 |
Thank you. Now it runs
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 05:29 |
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) | chrisb2244 | OpenFOAM Installation | 2 | August 21, 2013 13:24 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 13:43 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 21:41 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 10:46 |