CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

cannot blockMesh, ./Allrun and ./AllClean

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By shukriesamirudin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 22, 2024, 11:55
Unhappy cannot blockMesh, ./Allrun and ./AllClean
  #1
New Member
 
Join Date: Apr 2024
Posts: 9
Rep Power: 2
shukriesamirudin is on a distinguished road
Hello, I have problem to do simulation for twoPhasePachuka, could anyone have solution for my problem?



:~/FirstTime/MPPICInterFoam/twoPhasePachuka$ blockMesh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2306 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : _fbf00d6b-20230626 OPENFOAM=2306 version=2306
Arch : "LSB;label=32;scalar=64"
Exec : blockMesh
Date : Apr 22 2024
Time : 23:45:40
Host : DESKTOP-GM7974Q
PID : 670
I/O : uncollated
Case : /home/shukrie/FirstTime/MPPICInterFoam/twoPhasePachuka
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time



--> FOAM FATAL ERROR: (openfoam-2306)
"/home/shukrie/FirstTime/MPPICInterFoam/twoPhasePachuka/system/blockMeshDict"


From int main(int, char**)
in file findBlockMeshDict.H at line 81.

FOAM exiting

~/FirstTime/MPPICInterFoam/twoPhasePachuka$ ./Allrun
-bash: ./Allrun: Permission denied

:~/FirstTime/MPPICInterFoam/twoPhasePachuka$ ./Allclean
-bash: ./Allclean: Permission denied
shukriesamirudin is offline   Reply With Quote

Old   April 22, 2024, 13:00
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 727
Rep Power: 14
Tobermory will become famous soon enough
The "permission denied" messages indicate that you do not have the permission to execute the Allrun or Allclean scripts. This is most likely because you don't own the file.

Do a "ls -l" command in the directory and you will see who owns the file and what the permissions are on the file. Ideally you should own the file and you should have something like "-rwxr--r--", which means that the owner can execute, but group and others cannot (they can just read).

If you have no idea what I am talking about, then google the linux chown command and read up on file permissions.

The fix depends on: what the file permission state is and who owns it, and what privilidges you have on the machine, but hopefully the above is enough to get you started on the right road.
Tobermory is offline   Reply With Quote

Old   April 23, 2024, 05:41
Smile
  #3
New Member
 
Join Date: Apr 2024
Posts: 9
Rep Power: 2
shukriesamirudin is on a distinguished road
Thank you so much for the enhancement. It really helps me in my final year project.
Tobermory likes this.
shukriesamirudin 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
CentFOAM & openfoam2.2.x (troubles with runApplication ...) paul18 OpenFOAM Installation 16 August 6, 2013 09:39
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 09:38
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 07:52


All times are GMT -4. The time now is 23:45.