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

gmshToFoam unhandled element 1 at line... warning

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 1, 2020, 13:54
Default gmshToFoam unhandled element 1 at line... warning
  #1
New Member
 
Gerard Mayoral
Join Date: Oct 2020
Posts: 1
Rep Power: 0
Minecre57 is on a distinguished road
Hello, i'm trying to import my .msh file into OpenFOAM with gmshToFoam command, but the "unhandled element 1 at line" warning appears. It is not a fatal error, but when i check the polyMesh folder, my physical surfaces are not readed at the boundary file.



Also when i run the checkMesh command, some errors appear. I write bellow the warnings that appear when i run the gmshToFoam command and the checkMesh command. Also i attached my .geo file.


The file is a NACA4412 airfoil mesh.



GMSHTOFOAM ERROR:



...
Unhandled element 1 at line 70311
Unhandled element 1 at line 70312
Unhandled element 1 at line 70313
Unhandled element 1 at line 70314
Unhandled element 1 at line 70315
Unhandled element 1 at line 70316
Unhandled element 1 at line 70317
Unhandled element 1 at line 70318
Unhandled element 1 at line 70319
Unhandled element 1 at line 70320
Unhandled element 1 at line 70321
Unhandled element 1 at line 70322
Unhandled element 1 at line 70323
Unhandled element 1 at line 70324
Unhandled element 1 at line 70325
Unhandled element 1 at line 70326
Unhandled element 1 at line 70327
Unhandled element 1 at line 70328
Unhandled element 1 at line 70329
Mapping region 0 to Foam patch 0
Mapping region 0 to Foam cellZone 0
Cells:
total:48978
hex :15805
prism:33173
pyr :0
tet :0

CellZones:
Zone Size
0 48978

Skipping tag $Periodic at line 218849
Skipping tag at line 251695
Patch 0 gets name patch0

--> FOAM Warning :
From function Foam:olyMesh:olyMesh(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 98659 undefined faces in mesh; adding to default patch.
Finding faces of patch 0

FaceZones:
Zone Size
0 881

Writing zone 0 to cellZone cellZone_0 and cellSet
Writing zone 0 to faceZone faceZone_0 and faceSet
End


CHEKMESH ERROR:



/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 5.x-68e8507efb72
Exec : checkMesh
Date : Nov 01 2020
Time : 18:47:01
Host : "eseiaat-linux"
PID : 5181
I/O : uncollated
Case : /home/sict/OpenFOAM/sict-5.0/run/TFG/Simulation
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

Create polyMesh for time = 0

Time = 0

Mesh stats
points: 66286
internal points: 800
faces: 179677
internal faces: 81018
cells: 48978
faces per cell: 5.3227
boundary patches: 1
point zones: 0
face zones: 1
cell zones: 1

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

Checking topology...
Boundary definition OK.
Cell to face addressing OK.
***Unused points found in the mesh, number unused by faces: 800 number unused by cells: 800
<<Writing 800 unused points to set unusedPoints
Upper triangular ordering OK.
Face vertices OK.
Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces...
Patch Faces Points Surface topology
patch0 98659 65486 ok (closed singly connected)

Checking geometry...
Overall domain bounding box (-5 -3 0) (6 3 1)
Mesh has 3 geometric (non-empty/wedge) directions (1 1 1)
Mesh has 3 solution (non-empty) directions (1 1 1)
Boundary openness (-1.76157e-19 2.81852e-18 -1.10098e-20) OK.
***High aspect ratio cells found, Max aspect ratio: 17382.2, number of cells 12492
<<Writing 12492 cells with high aspect ratio to set highAspectRatioCells
Minimum face area = 1.74493e-08. Maximum face area = 0.277055. Face area magnitudes OK.
Min volume = 1.74493e-08. Max volume = 0.0253634. Total volume = 62.0451. Cell volumes OK.
Mesh non-orthogonality Max: 33.1231 average: 8.56357
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.561509 OK.
Coupled point location match (average 0) OK.

Failed 2 mesh checks.

End
Attached Files
File Type: txt NACA4412Prova4.geo.txt (20.3 KB, 2 views)
Minecre57 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
[Gmsh] gmshToFoam unhandled element flowris OpenFOAM Meshing & Mesh Conversion 4 February 20, 2023 18:50
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 08:15
[mesh manipulation] RefineMesh Error and Foam warning jiahui_93 OpenFOAM Meshing & Mesh Conversion 4 March 3, 2018 12:32
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
Problems of Duns Codes! Martin J Main CFD Forum 8 August 15, 2003 00:19


All times are GMT -4. The time now is 16:31.