CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   foam fatal error face is already marked for removal (https://www.cfd-online.com/Forums/openfoam/227022-foam-fatal-error-face-already-marked-removal.html)

Pratik_21 May 14, 2020 20:48

foam fatal error face is already marked for removal
 
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : _f3950763fe-20191219 OPENFOAM=1912
Arch : "LSB;label=32;scalar=64"
Exec : blockMesh
Date : May 15 2020
Time : 03:42:06
Host : LAPTOP-R02HBMJD
PID : 582
I/O : uncollated
Case : /home/pomogranade/prat/cavity
nProcs : 1
trapFpe: Floating point exception trapping enabled (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 "system/blockMeshDict"
Creating block edges
No non-planar block faces defined
Creating topology blocks
Creating topology patches

Creating block mesh topology
--> FOAM Warning :
From function Foam::polyMesh::polyMesh(const Foam::IOobject&, Foam::pointField&&, const cellShapeList&, const faceListList&, const wordList&, const Foam::PtrList<Foam::dictionary>&, const Foam::word&, const Foam::word&, bool)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 867
Found 5 undefined faces in mesh; adding to default patch defaultFaces

Check topology

Basic statistics
Number of internal faces : 0
Number of boundary faces : 30
Number of defined boundary faces : 30
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.8 .. 0.8
j : 1 .. 1
k : 1 .. 1

Block 1 cell size :
i : 0.2 .. 0.2
j : 1 .. 1
k : 0.4 .. 0.4

Block 2 cell size :
i : 0.2 .. 0.2
j : 0.8 .. 0.8
k : 0.2 .. 0.2

Block 3 cell size :
i : 0.2 .. 0.2
j : 1 .. 1
k : 0.4 .. 0.4

Block 4 cell size :
i : 1.5 .. 1.5
j : 1 .. 1
k : 1 .. 1

Creating merge patch pairs

Adding point and face zones
Creating attachPolyTopoChanger


--> FOAM FATAL ERROR:
face 15 already marked for removal

From function void Foam::polyTopoChange::removeFace(Foam::label, Foam::label)
in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2844.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&)sh: 1: addr2line: not found
addr2line failed
#1 Foam::error::abort()sh: 1: addr2line: not found
addr2line failed
#2 Foam::polyTopoChange::removeFace(int, int)sh: 1: addr2line: not found
addr2line failed
#3 Foam::polyTopoChange::setAction(Foam::topoAction const&)sh: 1: addr2line: not found
addr2line failed
#4 Foam::slidingInterface::coupleInterface(Foam::poly TopoChange&) constsh: 1: addr2line: not found
addr2line failed
#5 Foam::slidingInterface::setRefinement(Foam::polyTo poChange&) constsh: 1: addr2line: not found
addr2line failed
#6 Foam::polyTopoChanger::topoChangeRequest() constsh: 1: addr2line: not found
addr2line failed
#7 Foam::polyTopoChanger::changeMesh(bool, bool, bool, bool)sh: 1: addr2line: not found
addr2line failed
#8 Foam::attachPolyTopoChanger::attach(bool)sh: 1: addr2line: not found
addr2line failed
#9 ?sh: 1: addr2line: not found
addr2line failed
#10 __libc_start_mainsh: 1: addr2line: not found
addr2line failed
#11 ?sh: 1: addr2line: not found
addr2line failed
Aborted (core dumped)



Can anyone explain why I am getting this error?



blockMeshDict file is




/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

scale 1;

vertices
(
(0 0 0)
(0.8 0 0)
(0.8 1 0)
(0 1 0) //block1
(0 0 1)
(0.8 0 1)
(0.8 1 1)
(0 1 1)


(0.8 0 0)
(1 0 0)
(1 1 0)
(0.8 1 0) //block2
(0.8 0 0.4)
(1 0 0.4)
(1 1 0.4)
(0.8 1 0.4)


(0.8 0.2 0.4)
(1 0.2 0.4)
(1 1 0.4)
(0.8 1 0.4) //block3
(0.8 0.2 0.6)
(1 0.2 0.6)
(1 1 0.6)
(0.8 1 0.6)


(0.8 0 0.6)
(1 0 0.6)
(1 1 0.6)
(0.8 1 0.6)
(0.8 0 1) //block4
(1 0 1)
(1 1 1)
(0.8 1 1)


(1 0 0)
(2.5 0 0)
(2.5 1 0)
(1 1 0)
(1 0 1) //block5
(2.5 0 1)
(2.5 1 1)
(1 1 1 )

);

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


);

edges
(
);

boundary
(
movingWall
{
type wall;
faces
(
(3 2 6 7)
(35 34 38 39)
);
}
fixedWalls
{
type wall;
faces
(
(0 3 7 4)
(0 4 5 1)
(8 12 13 9)
(16 20 21 17)
(24 28 29 25)
(32 36 37 33)
(34 33 37 38)
);
}
frontAndBack
{
type wall;
faces
(
(3 0 1 2)
(4 7 6 5)
(11 8 9 10)
(28 31 30 29)
(35 32 33 34)
(36 39 38 37)
);
}
interface1
{
type wall;
faces
(
(1 5 6 2)
);
}
interface2
{
type wall;
faces
(
(8 12 15 11)
);
}
interface3
{
type wall;
faces
(
(16 20 23 19)
);
}
interface4
{
type wall;
faces
(
(24 28 31 27)
);
}
interface5
{
type wall;
faces
(
(32 36 39 35)
);
}
interface6
{
type wall;
faces
(
(12 13 14 15)
);
}
interface7
{
type wall;
faces
(
(16 17 18 19)
);
}
interface8
{
type wall;
faces
(
(20 21 22 23)
);
}
interface9
{
type wall;
faces
(
(24 25 26 27)
);
}
interface10
{
type wall;
faces
(
(9 10 14 13)
);
}
);

mergePatchPairs
(
(interface1 interface2)
(interface1 interface3)
(interface1 interface4)
(interface6 interface7)
(interface8 interface9)
(interface10 interface5)
);

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

HPE May 15, 2020 17:19

Hi,

- The error comes from this source.
- In `mergePatchPairs`, there seems to be non-mapping faces in corresponding patches.
- Could you please double check `mergePatchPairs`?

Hope this helps.


All times are GMT -4. The time now is 12:54.