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

multiple patches from gmsh to foam

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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: 518
Blog Entries: 1
Rep Power: 20
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: 16
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 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
[CGNS] CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 137 December 14, 2018 04:20
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


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