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

[blockMesh] FOAM FATAL IO ERROR: Block hex is inside-out

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2020, 00:42
Default FOAM FATAL IO ERROR: Block hex is inside-out
  #1
New Member
 
felipe ortega
Join Date: Sep 2019
Posts: 15
Rep Power: 6
flowwwww is on a distinguished road
Hello everyone,


I am trying to mesh a very simple shape that involve three different hexes. I set the blockMesh file and run it, but i am dealing with an error message that dont let me obtain my shape.
My blockMeshDict is the following.
Code:
convertToMeters 1;

vertices
(
    (0 0 0)
    (0 3.7 0)
    (1.11 3.7 0)
    (1.11 0 0)
    (0 0 0.54)
    (0 3.7 0.54)
    (1.11 3.7 0.54)
    (1.11 0 0.54)
    (1.11 3.31 0)
    (19.34 3.31 0)
    (19.34 0 0)
    (1.11 3.31 0.54)
    (19.34 3.31 0.54)
    (19.34 0 0.54)
    (19.34 3.7 0)
    (21.74 3.7 0)
    (21.74 0 0)
    (19.34 3.7 0.54)
    (21.74 3.7 0.54)
    (21.74 0 0.54)
);

blocks
(
    hex (0 1 2 3 4 5 6 7) (11 37 5) simpleGrading (1 1 1)
    hex (3 8 9 10 7 11 12 13) (182 33 5) simpleGrading (1 1 1)
    hex (10 14 15 16 13 17 18 19) (24 37 5) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
    box
    {
        type wall;
        faces
        (
            (0 1 2 3)
            (3 8 9 10)
            (10 14 15 16) 
            (0 16 4 19)
            (1 2 5 6)
            (8 9 11 12)
            (14 15 18 17)
            (2 6 8 11)
            (14 17 9 12)      
        );
    }
    symmetry
    {
        type symmetryPlane;
        faces
        (
            (4 5 18 19)       
        );
    }

    doorin
    {
        type patch;
        faces
        (
      (0 1 4 5) 
        );
    }
    doorout
    {
        type patch;
        faces
        (
          (15 16 18 19)  
        );
    }

);

mergePatchPairs
(
);
The error message is the following.


Code:
Create time

Not deleting polyMesh directory 
    "/home/felipe/Escritorio/arriba9/constant/polyMesh"
    because it contains blockMeshDict
Creating block mesh from
    "/home/felipe/Escritorio/arriba9/constant/polyMesh/blockMeshDict"
Creating block edges
No non-planar block faces defined
Creating topology blocks
--> FOAM Warning : 
    From function Foam::vector Foam::cellModel::centre(const labelList&, const pointField&) const
    in file meshes/meshShapes/cellModel/cellModel.C at line 70
    zero or negative pyramid volume: -0.36963 for face 0
--> FOAM Warning : 
    From function Foam::vector Foam::cellModel::centre(const labelList&, const pointField&) const
    in file meshes/meshShapes/cellModel/cellModel.C at line 70
    zero or negative pyramid volume: -0.36963 for face 1
--> FOAM Warning : 
    From function Foam::vector Foam::cellModel::centre(const labelList&, const pointField&) const
    in file meshes/meshShapes/cellModel/cellModel.C at line 70
    zero or negative pyramid volume: -0.36963 for face 2
--> FOAM Warning : 
    From function Foam::vector Foam::cellModel::centre(const labelList&, const pointField&) const
    in file meshes/meshShapes/cellModel/cellModel.C at line 70
    zero or negative pyramid volume: -0.36963 for face 3
--> FOAM Warning : 
    From function Foam::vector Foam::cellModel::centre(const labelList&, const pointField&) const
    in file meshes/meshShapes/cellModel/cellModel.C at line 70
    zero or negative pyramid volume: -0.36963 for face 4
--> FOAM Warning : 
    From function Foam::vector Foam::cellModel::centre(const labelList&, const pointField&) const
    in file meshes/meshShapes/cellModel/cellModel.C at line 70
    zero or negative pyramid volume: -0.36963 for face 5


--> FOAM FATAL IO ERROR: 
Block hex (0 1 2 3 4 5 6 7) (11 37 5) simpleGrading (1(1) 1(1) 1(1)) is inside-out

file: /home/felipe/Escritorio/arriba9/constant/polyMesh/blockMeshDict.blocks at line 47.

    From function void Foam::blockDescriptor::check(const Foam::Istream&)
    in file blockDescriptor/blockDescriptor.C at line 83.

FOAM exiting

Best regards!
flowwwww is offline   Reply With Quote

Old   October 21, 2021, 08:32
Default
  #2
New Member
 
Join Date: Sep 2017
Posts: 16
Rep Power: 8
hityo is on a distinguished road
Hello,

It seems you have changed the position of the Vertices.
hityo 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
This mesh contains patches of type empty but is not 1D or 2D oric OpenFOAM Running, Solving & CFD 36 November 28, 2016 07:12
[blockMesh] apparently the mesh doesn't want to be created in one direction Maxime Thomas OpenFOAM Meshing & Mesh Conversion 1 August 18, 2012 06:05
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
meshing F1 front wing Steve FLUENT 0 April 17, 2003 12:37


All times are GMT -4. The time now is 07:18.