CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] blockMesh command is not executed properly

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AtoHM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2022, 11:17
Default blockMesh command is not executed properly
  #1
New Member
 
revathi
Join Date: Sep 2022
Posts: 5
Rep Power: 3
revathi_3011 is on a distinguished road
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?
Attached Images
File Type: jpg Screenshot (63).jpg (62.5 KB, 5 views)
revathi_3011 is offline   Reply With Quote

Old   September 25, 2022, 11:29
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
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
revathi_3011 likes this.
AtoHM is offline   Reply With Quote

Old   September 25, 2022, 11:39
Default
  #3
New Member
 
revathi
Join Date: Sep 2022
Posts: 5
Rep Power: 3
revathi_3011 is on a distinguished road
Thank you I got it. can I know why do we need to copy it first?
revathi_3011 is offline   Reply With Quote

Old   September 25, 2022, 11:42
Default
  #4
New Member
 
revathi
Join Date: Sep 2022
Posts: 5
Rep Power: 3
revathi_3011 is on a distinguished road
Thank You I got it now. can I know why we need to copy it first?
revathi_3011 is offline   Reply With Quote

Old   September 25, 2022, 17:49
Default
  #5
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
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.
AtoHM is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 15:32.