Skip to content

Write permissions giving --> FOAM FATAL ERROR:  #18

@lhehjvgtycsd

Description

@lhehjvgtycsd

Hi,

After a lot of effort I now seem to have OpenFoam and Helyx installed on my system. For completeness in explaining my issue, I used the the method detailed in"Installation of the Latest 64 Bit Linux Binaries" at http://engys.github.io/HELYX-OS/installation/#v1606. However after following these instruction only Helyx was installed and not OpenFoam.

It appears that Helyx installed OpenFoam itself when I tried to mesh a test geometry - something like 'pulling OpenFoam' appeared in the Helyx output window and now it seems that OpenFoam is installed - see following output.

Ok, now to my issue. When I mesh my test geometry I get a problem with write permissions as shown in the following output. How do I solve this?


  • Run Mesh *

Case : /home/x/Engys/HELYX-OS/v2.4.0/newCase
Procs : 2
Log : /home/x/Engys/HELYX-OS/v2.4.0/newCase/log/snappyHexMesh.log
Env : /opt/OpenFOAM/OpenFOAM-v1606+/etc/bashrc
Vendor : /opt/OpenFOAM
Paraview : 4.1.0
MachineFile :
Solver :
/opt/OpenFOAM
/---------------------------------------------------------------------------
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: v1606+ |
| \ / A nd | Web: www.OpenFOAM.com |
| \/ M anipulation | |
*---------------------------------------------------------------------------*/
Build : v1606+
Exec : blockMesh -dict system/blockMeshDict -case /home/x/Engys/HELYX-OS/v2.4.0/newCase
Date : Dec 27 2017
Time : 19:23:03
Host : "a311518cdf59"
PID : 196
Case : /home/x/Engys/HELYX-OS/v2.4.0/newCase
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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

Creating block mesh from
"/home/x/Engys/HELYX-OS/v2.4.0/newCase/system/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Reading patches section

Creating block mesh topology

Reading physicalType from existing boundary file

Default patch type set to empty

Check topology

Basic statistics
	Number of internal faces : 0
	Number of boundary faces : 6
	Number of defined boundary faces : 6
	Number of undefined boundary faces : 0
Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 1
Block 0 cell size :
i : 0.4 .. 0.4
j : 0.4 .. 0.4
k : 0.4 .. 0.4

Writing polyMesh

--> FOAM FATAL ERROR:
The parent directory does not allow write permission to the process,
or one of the directories in "/home/x/Engys/HELYX-OS/v2.4.0/newCase/constant/polyMesh" did not allow search (execute) permission.

From function bool Foam::mkDir(const Foam::fileName&, mode_t)
in file POSIX.C at line 490.

FOAM exiting

tee: /home/x/Engys/HELYX-OS/v2.4.0/newCase/log/snappyHexMesh.log: Permission denied

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions