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

multiple patches from gmsh to foam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 6, 2009, 11:12
Default multiple patches from gmsh to foam
  #1
Member
 
Dennis Rown
Join Date: Oct 2009
Posts: 51
Rep Power: 6
shangzung is on a distinguished road
Hello!

I am desperately trying to convert a mesh from gmsh to OpenFOAM. My mesh is a simple cube with a smaller cube inside. However, when I convert my mesh to OpenFOAM with gmshToFoam, I get only one patch (patch 0) which I think is the bigger cube but the smaller cube is ignored and is only visible in wireframe but is not a patch.

1. How do I manage to convert my .msh so that I get multiple patches?

I tried gmsh2ToFoam but it does not compile on OpenFOAM 1.6.

2. Is there maybe a better meshing tool for OpenFoam meshes?

Thanks a lot!
shangzung is offline   Reply With Quote

Old   October 6, 2009, 11:44
Default
  #2
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 515
Blog Entries: 1
Rep Power: 10
7islands is on a distinguished road
Quote:
Originally Posted by shangzung View Post
I tried gmsh2ToFoam but it does not compile on OpenFOAM 1.6.
Have a look at my post.

Takuya
7islands is offline   Reply With Quote

Old   October 7, 2009, 05:45
Default
  #3
Member
 
Dennis Rown
Join Date: Oct 2009
Posts: 51
Rep Power: 6
shangzung is on a distinguished road
OK, I will try the new version you made in the evening and will post if and how it worked!
shangzung is offline   Reply With Quote

Reply

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
CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 123 April 9, 2013 09:53
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19


All times are GMT -4. The time now is 14:19.