CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

checkMesh / mesh errors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2015, 14:05
Default checkMesh / mesh errors
  #1
New Member
 
Andrew
Join Date: Feb 2015
Posts: 8
Rep Power: 11
andybond13 is on a distinguished road
Has anyone come across an error like this, or have suggestions for how to fix it?

Quote:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : checkMesh -case CFD -allGeometry -allTopology
Date : Jun 10 2015
Time : 12:53:06
Host : "andrew-VirtualBox"
PID : 6812
Case : ./CFD
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

Create polyMesh for time = 0

Enabling all (cell, face, edge, point) topology checks.

Enabling all geometry checks.

Time = 0

Mesh stats
points: 33384
faces: 95060
internal faces: 90340
cells: 30900
faces per cell: 6
boundary patches: 3
point zones: 4
face zones: 12
cell zones: 5

Overall number of cells of each type:
hexahedra: 30900
prisms: 0
wedges: 0
pyramids: 0
tet wedges: 0
tetrahedra: 0
polyhedra: 0

Checking topology...
Boundary definition OK.
Cell to face addressing OK.
Point usage OK.
Upper triangular ordering OK.
Face vertices OK.
Topological cell zip-up check OK.
Face-face connectivity OK.
Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces...
Patch Faces Points Surface topology Bounding box
walls 2200 2274 ok (non-closed singly connected) (-0.01905 -0.01905 -0.0179605) (0.01905 0.01905 0.170361)
surf1a 300 354 ok (non-closed singly connected) (-0.01905 -0.01905 0.1524) (0.0134704 0.0134704 0.170361)
surf6b 300 355 ok (non-closed singly connected) (-0.00449013 -0.0134704 -0.0687605) (0.01905 0.01905 0.170361)

Checking geometry...
Overall domain bounding box (-0.01905 -0.01905 -0.0687605) (0.01905 0.01905 0.221161)
Mesh (non-empty, non-wedge) directions (1 1 1)
Mesh (non-empty) directions (1 1 1)
Boundary openness (-6.82138e-17 -1.30307e-16 4.22837e-17) OK.
Max cell openness = 2.4042e-16 OK.
Max aspect ratio = 12.2252 OK.
Minimum face area = 4.76604e-08. Maximum face area = 1.30162e-05. Face area magnitudes OK.
Min volume = 1.50962e-10. Max volume = 2.51715e-08. Total volume = 0.000208843. Cell volumes OK.
Mesh non-orthogonality Max: 59.6832 average: 13.8199
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 1.37206 OK.
Coupled point location match (average 0) OK.
#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 Uninterpreted:
#3 Foam:olyMeshTetDecomposition::checkFaceTets(Foam :olyMesh const&, double, bool, Foam::HashSet<int, Foam::Hash<int> >*) at ??:?
#4
at ??:?
#5
at ??:?
#6 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#7
at ??:?
./checkMesh.sh: line 5: 6812 Segmentation fault (core dumped) checkMesh -case CFD -allGeometry -allTopology
andrew@andrew-VirtualBox:~/OpenFOAM/andrew-2.3.0/run/andy$
I'm running checkMesh (
Quote:
checkMesh -allGeometry -allTopology
) to debug this invalid face error that I get when running decomposePar before a parallel simulation. I also find it curious that checkMesh reports that I have 95060 faces, when the invalid face error says the max face index is 24341... I can upload/link any files needed.

Quote:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : decomposePar
Date : Jun 10 2015
Time : 12:57:35
Host : "andrew-VirtualBox"
PID : 7639
Case : /home/andrew/OpenFOAM/andrew-2.3.0/run/andy/CFD
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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



Decomposing mesh region0

Create mesh

Calculating distribution of cells
Selecting decompositionMethod hierarchical

Finished decomposition in 0.04 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes


--> FOAM FATAL ERROR:
Cell 5199contains face labels out of range: 6(14635 14636 22923 -1 23988 14632) Max face index = 24341

From function polyMesh:olyMesh
(
const IOobject&,
const Xfer<pointField>&,
const Xfer<faceList>&,
const Xfer<cellList>&
)

in file meshes/polyMesh/polyMesh.C at line 654.

FOAM aborting

Last edited by andybond13; June 10, 2015 at 14:09. Reason: more specific about checkMesh command.
andybond13 is offline   Reply With Quote

Reply

Tags
checkmesh error


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
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 13 February 17, 2022 08:34
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 05:24
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 23:40
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10


All times are GMT -4. The time now is 15:13.