|
[Sponsors] |
[blockMesh] Error while executing blockMesh command |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 30, 2019, 15:37 |
Error while executing blockMesh command
|
#1 |
New Member
Deepanker Chaudhary
Join Date: Oct 2019
Location: Delhi India
Posts: 7
Rep Power: 6 |
hi,
I was creating a geometry and mesh creation in blockMesh dict, but i am getting a eror while exeucting the blockMesh command. I am attaching both the blockMesh dict and my domain image. Looking for the help. the eroor i am getting is Create time Creating block mesh from "/home/deepanker/OpenFOAM/deepanker-7/run/Project/damBreak_base/damBreak/system/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: -33.7773 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: -33.7773 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: -33.7773 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: -33.7773 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: -29.4625 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: -38.0921 for face 5 --> FOAM FATAL IO ERROR: Block hex (0 13 37 24 1 14 38 25) (20 8 1) simpleGrading (1(1) 1(1) 1(1)) is inside-out file: /home/deepanker/OpenFOAM/deepanker-7/run/Project/damBreak_base/damBreak/system/blockMeshDict.blocks at line 73. From function void Foam::blockDescriptor::check(const Foam::Istream&) in file blockDescriptor/blockDescriptor.C at line 83. FOAM exiting /*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.001; vertices ( (0 0 -5) // 0 (-1.4645 3.5355 -5) //1 (-5 5 -5) //2 (-8.5355 3.5355 -5) //3 (-10 0 -5) //4 (-8.5355 -3.5355 -5) //5 (-5 -5 -5) //6 (-1.4645 -3.5355 -5) //7 (-8.5355 -10 -5) //8 (-5 -10 -5) //9 (-1.4645 -10 -5) // 10 (5 -10 -5) // 11 (5 -3.5355 -5) // 12 (5 0 -5) // 13 (5 3.5355 -5) // 14 (5 10 -5) // 15 (-1.4645 10 -5) // 16 (-5 10 -5) // 17 (-8.5355 10 -5) // 18 (-15 10 -5) // 19 (-15 3.5355 -5) // 20 (-15 0 -5) // 21 (-15 -3.5355 -5) // 22 (-15 -10 -5) // 23 next starts the new co-ordinates (0 0 5) // 24 0' (-1.4645 3.5355 5) // 25 1' (-5 5 5) // 26 2' (-8.5355 3.5355 5) // 27 3' (-10 0 5) //28 4' (-8.5355 -3.5355 5) // 29 5' (-5 -5 5) // 30 6' (-1.4645 -3.5355 5) // 31 7' (-8.5355 -10 5) // 32 8' (-5 -10 5) //33 9' (-1.4645 -10 5) // 34 10' (5 -10 5) // 35 11' (5 -3.5355 5) // 36 12' (5 0 5) // 37 13' (5 3.5355 5) // 38 14' (5 10 5) // 39 15' (-1.4645 10 5) // 40 16' (-5 10 5) // 41 17' (-8.5355 10 5) // 42 18' (-15 10 5) // 43 19' (-15 3.5355 5) // 44 20' (-15 0 5) // 45 21' (-15 -3.5355 5) // 46 22' (-15 -10 5) // 47 23' ); blocks ( hex (0 13 37 24 1 14 38 25) (20 8 1) simpleGrading (1 1 1) hex (1 14 38 25 16 15 39 40) (20 8 1) simpleGrading (1 1 1) hex (2 1 25 26 17 16 40 41) (20 8 1) simpleGrading (1 1 1) hex (3 2 18 27 26 41 42) (20 8 1) simpleGrading (1 1 1) hex (20 3 18 19 44 27 42 43) (20 8 1) simpleGrading (1 1 1) hex (21 4 3 20 45 28 27 44) (20 8 1) simpleGrading (1 1 1) hex (22 5 4 21 46 29 28 45) (20 8 1) simpleGrading (1 1 1) hex (23 8 5 22 47 32 29 46) (20 8 1) simpleGrading (1 1 1) hex (8 9 6 5 32 33 30 29) (20 8 1) simpleGrading (1 1 1) hex (9 10 7 6 33 34 31 30) (20 8 1) simpleGrading (1 1 1) hex (10 11 12 7 34 35 36 31) (20 8 1) simpleGrading (1 1 1) hex (7 12 13 0 31 36 37 24) (20 8 1) simpleGrading (1 1 1) ); edges ( arc 0 1 (-0.669872 2.5 5) // first arc 24 25 (-0.669872 2.5 -5) // arc 1 2 (-3.70590 4.82962 5) // second arc 25 26 (-3.70590 4.82962 -5) // arc 2 3 (-7.5 4.33012 5) // thrid arc 26 27 (-7.5 4.33012 -5) // arc 3 4 (-9.33012 2.5 5) // forth arc 27 28 (-9.33012 2.5 -5) // arc 4 5 (-9.33012 -2.5 5) // first ' arc 28 29 (-9.33012 -2.5 -5) // arc 5 6 (-7.5 -4.33012 5) // second ' arc 29 30 (-7.5 -4.33012 -5) // arc 6 7 (-7.5 -4.33012 5) // third ' arc 31 32 (-7.5 -4.33012 -5) // arc 7 0 (-9.33012 -2.5 5) // forth ' arc 32 33 (-9.33012 -2.5 -5) ); boundary ( cylinderWall { type wall; faces ( (0 1 25 24) (1 2 26 25) (2 3 27 26) (3 4 28 27) (4 5 29 28) (5 6 30 29) (6 7 31 30) (7 0 24 31) ); } rightWall { type wall; faces ( (35 36 12 11) (36 37 13 12) (37 38 14 13) (38 39 15 14) ); } leftWall { type wall; faces ( (20 19 43 44) (21 20 44 45) (22 21 45 46) (23 22 46 47) ); } atmosphere { type patch; faces ( (19 18 42 43) (18 17 41 42) (17 16 40 41) (16 15 39 40) ); } ); mergePatchPairs ( ); // ************************************************** *********************** // |
|
October 31, 2019, 03:59 |
|
#2 |
Senior Member
Carlos Rubio Abujas
Join Date: Jan 2018
Location: Spain
Posts: 127
Rep Power: 9 |
The error is telling you that the order of the faces in this block is reversed.
Block hex (0 13 37 24 1 14 38 25) (20 8 1) simpleGrading (1(1) 1(1) 1(1)) is inside-out The order of the nodes inside the hex block is not arbitrary, you have to follow the order convention used by blockmesh (check https://openfoam.com/documentation/u.../blockMesh.php) I would recomend to comment all the hex blocks and start cheking them one by one until find the problem. Hope it helps |
|
October 31, 2019, 07:37 |
|
#3 | |
New Member
Deepanker Chaudhary
Join Date: Oct 2019
Location: Delhi India
Posts: 7
Rep Power: 6 |
Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[PyFoam] PyFoam 0.6.9 wrong path to gnuplot | klausb | OpenFOAM Community Contributions | 5 | March 15, 2018 15:28 |
Loading library via scheme command | crevoise | Fluent UDF and Scheme Programming | 3 | March 31, 2017 07:50 |
[blockMesh] A Foam Warning on "libsimpleSwakFunctionObjects.so" in blockMesh command | immortality | OpenFOAM Meshing & Mesh Conversion | 3 | January 31, 2014 19:55 |
IcoFoam Not Installed and blockMesh command not found | cesarbz | OpenFOAM Installation | 6 | July 4, 2008 05:44 |
Executing the command FoamX | kumar | OpenFOAM Pre-Processing | 0 | May 15, 2007 10:10 |