CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Error when using blockMesh (https://www.cfd-online.com/Forums/openfoam/96773-error-when-using-blockmesh.html)

maybee January 31, 2012 14:37

Error when using blockMesh
 
hi,

I want to run blockMesh over a blockMechDict file, but I get the following error message:

Code:

frighter@frighter-System-Product-Name-System-Product-Name:~$ '/home/frighter/j/constant/polyMesh/blockMeshDict'
bash: /home/frighter/j/constant/polyMesh/blockMeshDict: no right
frighter@frighter-System-Product-Name-System-Product-Name:~$ blockMesh
/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.1.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-0bc225064152
Exec  : blockMesh
Date  : Jan 31 2012
Time  : 20:05:31
Host  : "frighter-System-Product-Name-System-Product-Name"
PID    : 8051
Case  : /home/frighter
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

fileName::stripInvalid() called for invalid fileName UbuntuOne
    For debug level (= 2) > 1 this is considered fatal
Stopped

I am not sure if this is a problem with OpenFoam or my user rights. Does someone have a tip?

greetings
maybee

gschaider January 31, 2012 14:42

Quote:

Originally Posted by maybee (Post 342158)
hi,

I want to run blockMesh over a blockMechDict file, but I get the following error message:

Code:

frighter@frighter-System-Product-Name-System-Product-Name:~$ '/home/frighter/j/constant/polyMesh/blockMeshDict'
bash: /home/frighter/j/constant/polyMesh/blockMeshDict: no right
frighter@frighter-System-Product-Name-System-Product-Name:~$ blockMesh
/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.1.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-0bc225064152
Exec  : blockMesh
Date  : Jan 31 2012
Time  : 20:05:31
Host  : "frighter-System-Product-Name-System-Product-Name"
PID    : 8051
Case  : /home/frighter
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

fileName::stripInvalid() called for invalid fileName UbuntuOne
    For debug level (= 2) > 1 this is considered fatal
Stopped

I am not sure if this is a problem with OpenFoam or my user rights. Does someone have a tip?

greetings
maybee

That's a classic PEBCAK (Problem exists between chair and keyboard). According to your output you are running blockMesh in your $HOME while the case is in $HOME/j. Either go to the case directory and run blockMesh there or use the -case-option

maybee January 31, 2012 15:15

Damn, I forgot cd . LOL. thx - problem solved.


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