CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

gmshToFoam unhandled element

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 14, 2010, 09:48
Default gmshToFoam unhandled element
  #1
Senior Member
 
Join Date: Apr 2010
Posts: 151
Rep Power: 7
flowris is on a distinguished road
Hello,

1. I am trying to convert a gmsh using gmshtoFoam. The .msh-file I use is good, because I see a nice mesh in the gmsh GUI. When I type
gmshToFoam blok01.msh

the console answers (only the lower lines)

Code:
...
Unhandled element 1 at line 430
Unhandled element 1 at line 431
Unhandled element 1 at line 432
Unhandled element 1 at line 433
Unhandled element 1 at line 434
Unhandled element 1 at line 435
Unhandled element 1 at line 436
Unhandled element 1 at line 437
Unhandled element 1 at line 438
Mapping region 0 to Foam patch 0
Cells:
    total:0
    hex  :0
    prism:0
    pyr  :0
    tet  :0



No cells read from file "blok01.msh"
Does your file specify any 3D elements (hex=5, prism=6, pyramid=7, tet=4)?
Perhaps you have not exported the 3D elements?

    From function readCells(..)
    in file gmshToFoam.C at line 662.

FOAM exiting

My blok.msh file is attached.



2. How do I define the patches? I assume I have to make physical surfaces in the .geo file, but this has not been succesfull so far.
flowris is offline   Reply With Quote

Old   June 25, 2015, 09:35
Default
  #2
Senior Member
 
Join Date: Mar 2015
Posts: 109
Rep Power: 2
KateEisenhower is on a distinguished road
Quote:
Originally Posted by flowris View Post
Hello,

1. I am trying to convert a gmsh using gmshtoFoam. The .msh-file I use is good, because I see a nice mesh in the gmsh GUI. When I type
gmshToFoam blok01.msh

the console answers (only the lower lines)

Code:
...
Unhandled element 1 at line 430
Unhandled element 1 at line 431
Unhandled element 1 at line 432
Unhandled element 1 at line 433
Unhandled element 1 at line 434
Unhandled element 1 at line 435
Unhandled element 1 at line 436
Unhandled element 1 at line 437
Unhandled element 1 at line 438
Mapping region 0 to Foam patch 0
Cells:
    total:0
    hex  :0
    prism:0
    pyr  :0
    tet  :0



No cells read from file "blok01.msh"
Does your file specify any 3D elements (hex=5, prism=6, pyramid=7, tet=4)?
Perhaps you have not exported the 3D elements?

    From function readCells(..)
    in file gmshToFoam.C at line 662.

FOAM exiting

My blok.msh file is attached.



2. How do I define the patches? I assume I have to make physical surfaces in the .geo file, but this has not been succesfull so far.
Hello,

how did you solve this problem?

Best regards,

Kate
KateEisenhower is online now   Reply With Quote

Reply

Tags
gmshtofoam, patch, unhandled element

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
discretizer - gmshToFoam Andyjoe Open Source Meshers: Gmsh, Netgen, CGNS, ... 13 March 14, 2012 05:35
gmsh basics lindsaywestraadt Open Source Meshers: Gmsh, Netgen, CGNS, ... 17 July 14, 2010 22:19
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 17, 2010 23:40
FSI: null element in coupled-physics yus Main CFD Forum 0 January 11, 2005 09:09
Fantom element Bob CFX 5 February 17, 2004 01:04


All times are GMT -4. The time now is 06:43.