OpenFOAM / OpenFOAM-8

OpenFOAM Foundation repository for OpenFOAM version 8
GNU General Public License v3.0
115 stars 85 forks source link

Error running blockMesh.C at line 408. #8

Open RFBomb opened 3 years ago

RFBomb commented 3 years ago

Installed OpenFoam8 on Windows 10 following the guide. Whenever I run blockMesh I get an error. Error log posted below.

I was following this tutorial, using all those files she linked to. https://www.youtube.com/watch?v=oc4V79F78AQ

From the error message, it appears to be be an issue with From function int main(int, char**) in file blockMesh.C at line 408.

/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  8
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 8-340defec456f
Exec   : blockMesh
Date   : Dec 13 2020
Time   : 22:55:35
Host   : "DESKTOP-GN7NPG8"
PID    : 21448
I/O    : uncollated
Case   : /home/rfbomb/OpenFOAM/rfbomb-8/run/postExtruder
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Not deleting polyMesh directory
    "/home/rfbomb/OpenFOAM/rfbomb-8/run/postExtruder/constant/polyMesh"
    because it contains blockMeshDict
Creating block mesh from
    "constant/polyMesh/blockMeshDict"
Creating block edges
No non-planar block faces defined
Creating topology blocks
Creating topology patches

Creating block mesh topology

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.04
        j : 0.04 .. 0.04
        k : 0.04

There are no merge patch pairs edges

Writing polyMesh

--> FOAM FATAL ERROR:
Failed writing polyMesh.

    From function int main(int, char**)
    in file blockMesh.C at line 408.

FOAM exiting
BenzhiYu commented 2 years ago

i have similar problem.