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

[Gmsh] discretizer - gmshToFoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 9, 2010, 21:41
Default discretizer - gmshToFoam
  #1
New Member
 
Andreas Jörg
Join Date: Jan 2010
Posts: 20
Rep Power: 16
Andyjoe is on a distinguished road
hello,

I tried to convert a gmsh mesh-file into an OpenFoam mesh-file. The console looked like this:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6-f802ff2d6c5a
Exec : gmshToFoam Phoenix.msh
Date : Jan 10 2010
Time : 03:31:04
Host : andreas-laptop
PID : 16992
Case : /home/andreas/discretizer/Phoenix
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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

Found $MeshFormat tag; assuming version 2 file format.
Starting to read points at line 5
Vertices to be read:14
Vertices read:14

Starting to read cells at line 22
Cells to be read:68

Unhandled element 15 at line 24
Unhandled element 15 at line 25
Unhandled element 15 at line 26
Unhandled element 15 at line 27
Unhandled element 15 at line 28
Unhandled element 15 at line 29
Unhandled element 15 at line 30
Unhandled element 15 at line 31
Unhandled element 1 at line 32
Unhandled element 1 at line 33
Unhandled element 1 at line 34
Unhandled element 1 at line 35
Unhandled element 1 at line 36
Unhandled element 1 at line 37
Unhandled element 1 at line 38
Unhandled element 1 at line 39
Unhandled element 1 at line 40
Unhandled element 1 at line 41
Unhandled element 1 at line 42
Unhandled element 1 at line 43
Mapping region 0 to Foam patch 0
Mapping region 0 to Foam cellZone 0
Cells:
total:24
hex :0
prism:0
pyr :0
tet :24

CellZones:
Zone Size
0 24

Skipping tag at line 93
Patch 0 gets name patch0

--> FOAM Warning :
From function polyMesh:olyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 577
Found 24 undefined faces in mesh; adding to default patch.
Finding faces of patch 0

FaceZones:
Zone Size

Writing zone 0 to cellZone cellZone_0 and cellSet
End


Googling and reading this forum told me, that this are just warnings and not fatal. So I checked weather the mesh is correct with checkMesh

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

Create polyMesh for time = 0

Time = 0

Mesh stats
points: 14
internal points: 0
faces: 60
internal faces: 36
cells: 24
boundary patches: 2
point zones: 0
face zones: 0
cell zones: 1

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

Checking topology...
Boundary definition OK.
Point usage OK.
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 24 14 ok (closed singly connected)
defaultFaces 0 0 ok (empty)

Checking geometry...
Overall domain bounding box (-4 -4 -4) (4 4 4)
Mesh (non-empty, non-wedge) directions (1 1 1)
Mesh (non-empty) directions (1 1 1)
Boundary openness (0 0 0) OK.
Max cell openness = 0 OK.
Max aspect ratio = 2.08008 OK.
Minumum face area = 13.8564. Maximum face area = 16. Face area magnitudes OK.
Min volume = 21.3333. Max volume = 21.3333. Total volume = 512. Cell volumes OK.
Mesh non-orthogonality Max: 19.4712 average: 18.3477
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.125 OK.

Mesh OK.

End


Everything seems to be OK. But when I'm opening the created PolyMesh folder with discretizer (not setup, the Binarys are called discretizer64.sh) then I cant see anything. But there is no error message. Opening the mesh with ParaView also leads to strange Results - but I'm not sure how to open a mesh with ParaView too. Perhaps the reasons are the faces, because the checkMesh routine counted 0. But I dont know how to fix this, if it would be the problem. Opening meshing with discretizer always worked well, so I dont think that the reason is a bug in discretizer.
I would be very thankful for any answer.
Andyjoe is offline   Reply With Quote

 


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] Cell to node connectivity after 'gmshToFoam' Jibran OpenFOAM Meshing & Mesh Conversion 1 June 8, 2015 09:09
[Gmsh] gmshTofoam pbm with cyclicAMI acahuzac OpenFOAM Meshing & Mesh Conversion 2 October 20, 2014 03:53
[Gmsh] gmshToFoam command mvinassa OpenFOAM Meshing & Mesh Conversion 1 April 25, 2014 07:36
Runing cavity on Discretizer RTom OpenFOAM Pre-Processing 3 June 25, 2013 01:11
[Discretizer] Discretizer Rajshekar OpenFOAM Community Contributions 2 November 23, 2010 11:13


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