CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Command 'blockMesh' not found (https://www.cfd-online.com/Forums/openfoam/248275-command-blockmesh-not-found.html)

gus_champs March 6, 2023 18:07

Command 'blockMesh' not found
 
Hi, I am an absolute starter on Openfoam, and as I was going through OpenFOAM's Wiki learning path video, I was stuck when trying to create a mesh from one of the tutorial cases using the blockMesh command. I have been trying for hours but still could not figure it out what is causing this problem:

Code:

Command 'blockMesh' not found, but can be installed with:
sudo apt install openfoam

I am confused because the video from the tutorial did not go through any installation of a mesher, as he wrote the commands (which I did exactly like him) the mesh started to be generated.

Can someone help me to solve this problem?

Thankfully,
Gustavo

fanta March 7, 2023 02:20

What Video did you watch? Did you source the OpenFOAM Environment?

gus_champs March 7, 2023 13:17

1 Attachment(s)
Quote:

Originally Posted by fanta (Post 845667)
What Video did you watch? Did you source the OpenFOAM Environment?

I follow the video from OpenFoam's Wiki, from József Nagy.

https://youtu.be/CeEJS1eT9NE

Those are the steps that I took (in the picture). I am sorry, but what exactly it is to source OpenFoam?

fanta March 7, 2023 23:32

Sorry i cannot help you further, because this is for the WSL. I use native Linux and have no experience with OpenFOAM and the WSL. But Mr Nagy explained how to source OpenFOAM in Chapter 7 of his Video (ca. 10:51 on). So far so good.


All times are GMT -4. The time now is 20:13.