|
[Sponsors] |
[blockMesh] blockMesh command is not executed properly |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 25, 2022, 11:17 |
blockMesh command is not executed properly
|
#1 |
New Member
revathi
Join Date: Sep 2022
Posts: 5
Rep Power: 3 |
Hello, I recently installed OpenFOAM on my laptop through wsl. the version I am using is openFoam2206. I gave a command cd usr/lib/openfoam/openfoam2206/tutorials/incompressible/simpleFoam/pitzDaily
after that, I gave blockMesh command but I am getting an error. I uploaded a screenshot of that error could please what to do next? |
|
September 25, 2022, 11:29 |
|
#2 |
Senior Member
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12 |
The tutorials usually involve a step where you copy the tutorial files to another folder in your "home" directory. I am no Linux pro, but I assume this is exactly the reason.
I was always able to run the commands in a copied tutorial folder somewhere in my user directory. Code:
cd ~ mkdir test cd test cp -r usr/lib/openfoam/openfoam2206/tutorials/incompressible/simpleFoam/pitzDaily . cd pitzDaily blockMesh |
|
September 25, 2022, 11:39 |
|
#3 |
New Member
revathi
Join Date: Sep 2022
Posts: 5
Rep Power: 3 |
Thank you I got it. can I know why do we need to copy it first?
|
|
September 25, 2022, 11:42 |
|
#4 |
New Member
revathi
Join Date: Sep 2022
Posts: 5
Rep Power: 3 |
Thank You I got it now. can I know why we need to copy it first?
|
|
September 25, 2022, 17:49 |
|
#5 |
Senior Member
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12 |
Reading the error, it appears obvious: there is no write permission in this directory. I don't know if one can enforce it, but it appears to be good practise to keep the installation path clean and work in a copy. Maybe someone with more background knowledge about Linux permission management can elaborate a bit more.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] OpenFOAM blockMesh bus error | BRH | OpenFOAM Meshing & Mesh Conversion | 0 | April 12, 2021 11:02 |
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 | bjdarrer | OpenFOAM Installation | 7 | August 25, 2020 19:15 |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 14:53 |
[blockMesh] set of xyz data in blockMesh | psk | OpenFOAM Meshing & Mesh Conversion | 12 | August 27, 2013 08:37 |
Blockmesh cavity error message | tonitoney | OpenFOAM Installation | 2 | March 17, 2008 11:59 |