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

[blockMesh] Error: face does not have neighbour cell face

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2019, 21:43
Default Error: face does not have neighbour cell face
  #1
New Member
 
Kelvin Au
Join Date: Nov 2019
Posts: 12
Rep Power: 6
kelvinaaa is on a distinguished road
Hello, I have written the blockMeshDict file as follows

/*--------------------------------*- 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 1;

vertices
(
(0 0 0) //0
(1.25 0 0) //1
(1.25 0.8 0) //2
(0 0.8 0) //3
(0 0 0.2) //4
(1.25 0 0.2) //5
(1.25 0.8 0.2) //6
(0 0.8 0.2) //7
(1.43 0.0405 0) //8
(1.43 0.0405 0.2) //9
(1.637 0.144 0) //10
(1.65 0.15 0) //11
(1.551 0.352 0) //12
(1.541 0.347 0) //13
(1.637 0.144 0.2) //14
(1.65 0.15 0.2) //15
(1.551 0.352 0.2) //16
(1.541 0.347 0.2) //17
(1.532 0.365 0) //18
(1.56 0.347 0) //19
(1.56 0.8 0) //20
(1.322 0.8 0) //21
(1.532 0.365 0.2) //22
(1.56 0.347 0.2) //23
(1.56 0.8 0.2) //24
(1.322 0.8 0.2) //25
(1.745 0 0) //26
(1.745 0.8 0) //27
(1.745 0 0.2) //28
(1.745 0.8 0.2) //29
(2.5 0 0) //30
(2.5 0.8 0) //31
(2.5 0 0.2) //32
(2.5 0.8 0.2) //33
(1.373 0.265 0) //34
(1.369 0.285 0) //35
(1.25 0.285 0) //36
(1.25 0.265 0) //37
(0 0.285 0) //38
(0 0.265 0) //39
(1.373 0.265 0.2) //40
(1.369 0.285 0.2) //41
(1.25 0.285 0.2) //42
(1.25 0.265 0.2) //43
(0 0.285 0.2) //44
(0 0.265 0.2) //45
);

blocks
(
hex (0 1 37 39 4 5 43 45) (20 20 1) simpleGrading (1 1 1)
hex (39 37 36 38 45 43 42 44) (20 20 1) simpleGrading (1 1 1)
hex (38 36 2 3 44 42 6 7) (20 20 1) simpleGrading (1 1 1)
hex (1 8 34 37 5 9 40 43) (20 20 1) simpleGrading (1 1 1)
hex (37 34 35 36 43 40 41 42) (20 20 1) simpleGrading (1 1 1)
hex (36 35 2 2 42 41 6 6) (20 20 1) simpleGrading (1 1 1)
hex (8 10 13 34 9 14 17 40) (20 20 1) simpleGrading (1 1 1)
hex (34 13 18 35 40 17 21 41) (20 20 1) simpleGrading (1 1 1)
hex (35 18 21 2 41 22 25 6) (20 20 1) simpleGrading (1 1 1)
hex (10 11 12 13 14 15 16 17) (20 20 1) simpleGrading (1 1 1)
hex (18 19 20 21 22 23 24 25) (20 20 1) simpleGrading (1 1 1)
hex (19 26 27 20 23 28 29 24) (20 20 1) simpleGrading (1 1 1)
hex (26 30 31 27 28 32 33 29) (20 20 1) simpleGrading (1 1 1)

);

edges
(
arc 1 8 (1.34 0.0102 0)
arc 5 9 (1.34 0.0102 0.2)
);

boundary
(
leftWall
{
type wall;
faces
(
(0 1 37 39)
(39 37 36 38)
(38 36 2 3)
(1 8 34 37)
(37 34 35 36)
(36 35 2 2)
(8 10 13 34)
(34 13 18 35)
(35 18 21 2)
(10 11 12 13)
(18 19 20 21)
(19 26 27 20)
(26 30 31 27)
);
}
rightWall
{
type wall;
faces
(
(4 5 43 45)
(45 43 42 44)
(44 42 6 7)
(5 9 40 43)
(43 40 41 42)
(42 41 6 6)
(9 14 17 40)
(40 17 22 41)
(41 22 25 6)
(14 15 16 17)
(22 23 24 25)
(23 28 29 24)
(28 32 33 29)
);
}
lowerWall
{
type wall;
faces
(
(0 1 5 4)
(1 8 9 5)
(8 10 14 9)
(10 11 15 14)
(11 12 16 15)
(12 13 17 16)
(18 13 17 22)
(18 19 23 22)
(19 26 28 23)
(26 30 32 28)
);
}
endWall
{
type wall;
faces
(
(0 4 7 3)
);
}
frontWall
{
type wall;
faces
(
(30 32 33 31)
);
}
atmosphere
{
type patch;
faces
(
(3 31 33 7)
);
}
);

mergePatchPairs
(
);

// ************************************************** *********************** //

However, I get the following problem even I have checked that there should be fine of the vertices ordering. I have followed all the same ordering.

/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 7-ca808c8420bf
Exec : blockMesh
Date : Dec 01 2019
Time : 10:38:52
Host : "kelvin-VirtualBox"
PID : 12546
I/O : uncollated
Case : /home/kelvin/OpenFOAM/kelvin-7/run/damBreak
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

Creating block mesh from
"/home/kelvin/OpenFOAM/kelvin-7/run/damBreak/system/blockMeshDict"
Creating block edges
No non-planar block faces defined
Creating topology blocks
Creating topology patches

Creating block mesh topology


--> FOAM FATAL ERROR:
face 7 in patch 1 does not have neighbour cell face: 4(40 17 22 41)

From function Foam::labelList Foam:olyMesh::facePatchFaceCells(const faceList&, const labelListList&, const faceListList&, Foam::label) const
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 118.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam:olyMesh::facePatchFaceCells(Foam::List<Foam ::face> const&, Foam::List<Foam::List<int> > const&, Foam::List<Foam::List<Foam::face> > const&, int) const at ??:?
#3 Foam:olyMesh::setTopology(Foam::List<Foam::cellS hape> const&, Foam::List<Foam::List<Foam::face> > const&, Foam::List<Foam::word> const&, Foam::List<int>&, Foam::List<int>&, int&, int&, Foam::List<Foam::cell>&) at ??:?
#4 Foam:olyMesh:olyMesh(Foam::IOobject const&, Foam::Field<Foam::Vector<double> >&&, Foam::List<Foam::cellShape> const&, Foam::List<Foam::List<Foam::face> > const&, Foam::List<Foam::word> const&, Foam::PtrList<Foam::dictionary> const&, Foam::word const&, Foam::word const&, bool) at ??:?
#5 Foam::blockMesh::createTopology(Foam::IOdictionary const&, Foam::word const&) at ??:?
#6 Foam::blockMesh::blockMesh(Foam::IOdictionary const&, Foam::word const&) at ??:?
#7 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/blockMesh"
#8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/blockMesh"
Aborted (core dumped)

Would all please help me to get rid of the problem? Many Thanks for all kindly help.
kelvinaaa 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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
decomposePar problem: Cell 0contains face labels out of range (Again)) limonegiallo OpenFOAM Pre-Processing 4 August 28, 2017 05:18
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 03:21
Error message: 8 face(s) not in face lists of adjacent cells jyoung79 FLUENT 0 November 10, 2012 16:09
[swak4Foam] get the value of a field in the neighbour cell of a patch face miles_davis OpenFOAM Community Contributions 7 October 5, 2011 11:57


All times are GMT -4. The time now is 20:30.