|
[Sponsors] |
March 2, 2023, 05:41 |
Inward-facing faces error
|
#1 |
New Member
MAK
Join Date: Apr 2022
Posts: 2
Rep Power: 0 |
Hello, i am making an axisymmetric sector of pipe . For visualising attaching image.
I have generated the blockMesh file as follows: Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 10 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (0 0 0) (0 0.00499524 0.000218097) (0 0.00499524 -0.000218097) (1.36 0 0) (1.36 0.00499524 0.000218097) (1.36 0.00499524 -0.000218097) ); blocks ( hex (0 3 4 1 0 3 5 2) (200 50 1) simpleGrading (1 0.2 1) ); edges ( arc 1 2 (0 0.005 0) arc 5 4 (1.36 0.005 0) ); boundary ( inlet { type patch faces ( (0 1 2 0) ); } oulet { type patch faces ( (3 5 4 3) ); } surface { type wall faces ( (2 1 4 5) ); } axis { type symmetry faces ( (0 3 3 0) ); } front { type wedge faces ( (4 1 0 3) ); } back { type wedge faces ( (3 0 5 2) ); } ); mergePatchPairs ( ); // ************************************************************************* // Here's the error: Code:
Create time Reading "blockMeshDict" Creating block mesh from "system/blockMeshDict" Creating block edges No non-planar block faces defined Creating topology blocks --> FOAM FATAL IO ERROR: Block hex (0 3 4 1 0 3 5 2) (200 50 1) simpleGrading (1(1) 1(0.2) 1(1)) has inward-pointing faces 4(0 0 2 1) 4(3 4 5 3) 4(1 2 5 4) 4(0 1 4 3) 4(0 3 5 2) file: /home/cb/OpenFOAM/cb-10/run/pipeFlow/system/blockMeshDict/blocks at line 28. From function void Foam::blockDescriptor::check(const Foam::Istream&) in file blockDescriptor/blockDescriptor.C at line 106. FOAM exiting Last edited by COSMICBUDDHA; March 2, 2023 at 05:48. Reason: missed error message |
|
March 6, 2023, 01:02 |
Update: Tried Different BlockMesh
|
#2 |
New Member
MAK
Join Date: Apr 2022
Posts: 2
Rep Power: 0 |
Code:
/*--------------------------------*- C++ -*----------------------------------* ========= | \ / F ield | OpenFOAM: The Open Source CFD Toolbox \ / O peration | Website: https://openfoam.org \ / A nd | Version: 10 \/ M anipulation | *---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (0.000000 0.000000 0.000000) (0.000131 0.004998 0.000000) (-0.000131 0.004998 0.000000) (0.000000 0.000000 1.360000) (0.000131 0.004998 1.360000) (-0.000131 0.004998 1.360000) ); blocks ( hex (0 0 1 2 3 3 4 5) (1 50 200) simpleGrading (1 0.5 1) ); edges ( arc 1 2(0.000000 0.005000 0.000000) arc 4 5(1.360000 0.005000 0.000000) ); boundary ( inlet { type patch; faces ( (0 0 2 1) ); } outlet { type patch; faces ( (3 4 5 3) ); } axis { type empty; faces ( (0 3 3 0) ); } pipewall { type wall; faces ( (4 1 2 5) ); } front { type wedge; faces ( (0 1 4 3) ); } back { type wedge; faces ( (3 5 2 0) ); } ); mergePatchPairs ( ); // ************************************************************************************************************************************************** // |
|
Tags |
axisymmetric, pipe flow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Decomposing meshes | Tobi | OpenFOAM Pre-Processing | 22 | February 24, 2023 10:23 |
[Other] Mesh Importing Problem | cuteapathy | ANSYS Meshing & Geometry | 2 | June 24, 2017 06:29 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |