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

[Gmsh] Using the mesh generated through gmsh in OpenFOAM

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2012, 10:56
Default Using the mesh generated through gmsh in OpenFOAM
  #1
New Member
 
Nikhil
Join Date: Jul 2012
Location: Dalhousie,H.P.
Posts: 3
Rep Power: 13
Nikhil Thakur is on a distinguished road
hello,
I am trying to convert the mesh generated through gmesh to Foam.But I am getting the following error:
--> FOAM FATAL IO ERROR:
No cells read from file "cyl.msh"
Does your file specify any 3D elements (hex=5, prism=6, pyramid=7, tet=4)?
Perhaps you have not exported the 3D elements?

file: cyl.msh at line 30956.

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

FOAM exiting
Nikhil Thakur is offline   Reply With Quote

Old   March 20, 2013, 04:39
Default
  #2
Member
 
Felipe Alves Portela
Join Date: Dec 2012
Location: FR
Posts: 70
Rep Power: 13
fportela is on a distinguished road
The error seems to be pretty clear, what kind of mesh are you trying to convert? Did you define the physicals properly in your .geo?
fportela is offline   Reply With Quote

Old   July 13, 2015, 09:22
Default
  #3
Senior Member
 
Join Date: Mar 2015
Posts: 250
Rep Power: 12
KateEisenhower is on a distinguished road
Quote:
Originally Posted by fportela View Post
The error seems to be pretty clear, what kind of mesh are you trying to convert? Did you define the physicals properly in your .geo?
Hello,

I have the same problem. I managed to create physical surfaces and the physical volume and they even show up in gmsh. But how can you make your internal 3D cells physical?

Additional question: How can I display my internal mesh in gmsh?

Best regards,

Kate

p.s.: I think gmsh is an app which can produce beautiful products but it is very hard to understand how you actually do thing.
KateEisenhower is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[Gmsh] Converting gmsh to OpenFoam Friendly OpenFOAM Meshing & Mesh Conversion 3 June 26, 2018 05:46
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


All times are GMT -4. The time now is 09:32.