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

[Gmsh] gmshToFoam: undefined faces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2017, 02:39
Default gmshToFoam: undefined faces
  #1
New Member
 
CHUNG Ching Chun
Join Date: Aug 2016
Location: Tin Shui Wai, New Territories, Hong Kong
Posts: 11
Rep Power: 9
richard.chung.jones is on a distinguished road
Dear Foamers,

I have a mesh of a flow-over-a-2D-bump case that is constructed in GMSH and however I encountered the following error when I want to convert it to OpenFOAM format by gmshToFoam.

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 4.1
Exec   : gmshToFoam -keepOrientation test.msh
Date   : Jan 24 2017
Time   : 15:21:13
Host   : --
PID    : 20559
Case   : --
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Starting to read mesh format at line 2
Read format version 2.2  ascii 0

Starting to read physical names at line 5
Physical names:7
    Surface 1	inlet
    Surface 2	outlet
    Surface 3	wall
    Surface 4	symmetry
    Surface 5	frontBack
    Surface 7	dummy
    Volume 6	volume

Starting to read points at line 15
Vertices to be read:32647
Vertices read:32647

Starting to read cells at line 32665
Cells to be read:52098

Mapping region 7 to Foam patch 0
Mapping region 1 to Foam patch 1
Mapping region 2 to Foam patch 2
Mapping region 5 to Foam patch 3
Mapping region 4 to Foam patch 4
Mapping region 3 to Foam patch 5
Mapping region 6 to Foam cellZone 0
Cells:
    total:17064
    hex  :17064
    prism:0
    pyr  :0
    tet  :0

CellZones:
Zone	Size
    0	17064

Skipping tag  at line 84766
Patch 0 gets name dummy
Patch 1 gets name inlet
Patch 2 gets name outlet
Patch 3 gets name frontBack
Patch 4 gets name symmetry
Patch 5 gets name wall

--> FOAM Warning : 
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&, const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&, const cellShapeList&, const faceListList&, const wordList&, const wordList&, const Foam::word&, const Foam::word&, const wordList&, bool)
    in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 595
    Found 31260 undefined faces in mesh; adding to default patch.
Finding faces of patch 0
--> FOAM Warning : 
    From function int main(int, char**)
    in file gmshToFoam.C at line 972
    Could not match gmsh face 3(119 14 14) to any of the interior or exterior faces that share the same 0th point
--> FOAM Warning : 
    From function int main(int, char**)
    in file gmshToFoam.C at line 972
    Could not match gmsh face 3(119 14 14) to any of the interior or exterior faces that share the same 0th point
--> FOAM Warning : 
    From function int main(int, char**)
    in file gmshToFoam.C at line 972
    Could not match gmsh face 3(119 14 14) to any of the interior or exterior faces that share the same 0th point
--> FOAM Warning : 
    From function int main(int, char**)
    in file gmshToFoam.C at line 972
    Could not match gmsh face 3(119 14 14) to any of the interior or exterior faces that share the same 0th point
--> FOAM Warning : 
    From function int main(int, char**)
    in file gmshToFoam.C at line 972
    Could not match gmsh face 3(119 14 14) to any of the interior or exterior faces that share the same 0th point


--> FOAM FATAL ERROR: 
Problem : Patch dummy starts at 35611
Current face counter at 35513
Are patches in incremental order?

    From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&)
    in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2451.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::polyTopoChange::addMesh(Foam::polyMesh const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&) at ??:?
#3  Foam::polyTopoChange::polyTopoChange(Foam::polyMesh const&, bool) at ??:?
#4  Foam::repatchPolyTopoChanger::meshMod() at ??:?
#5  Foam::repatchPolyTopoChanger::changePatchID(int, int) at ??:?
#6  ? at ??:?
#7  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8  ? at ??:?
./convert.sh: line 5: 20559 Aborted                 (core dumped) gmshToFoam -keepOrientation test.msh
Does anyone know why the foam warning is happening? Also, for "Problem: Patch dummy starts at 35611", I checked the file but it is indeed in incremental order.

I will be glad if anyone can help .

I am using Gmsh-2.10.1 and OpenFOAM-4.1

Last edited by richard.chung.jones; January 24, 2017 at 03:00. Reason: input gmsh version and OF version
richard.chung.jones 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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
GenerateVolumeMesh Error - Surface Wrapper Self Interacting (?) AndreP STAR-CCM+ 10 August 2, 2018 07:48
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 03:21
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 00:34


All times are GMT -4. The time now is 21:38.