CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] gMsh instead of blockMesh for base mesh, then snappyHexMesh

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

Like Tree3Likes
  • 3 Post By sazabi2001

LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2017, 12:00
Lightbulb gMsh instead of blockMesh for base mesh, then snappyHexMesh
New Member
YongQiang Chi
Join Date: Jun 2010
Posts: 14
Rep Power: 16
sazabi2001 is on a distinguished road

Maybe it is not a new thing anyways.

I recently has a small discovery using gMsh instead of blockMesh to generate the base mesh for snappyHexMesh in OF. -- And it works.

just generate a simple gMsh (full hex mesh) and save as a single volume. Then gmshToFoam to general a mesh in polyMesh.

Then run snappyHexMesh on top of it, which usually works.

The benefit of using gMsh instead of blockMesh is that it has more control over blockMesh, it can specify some level of variation or refinement in the basemesh. Now you needs less levels of refinements on snappyHexMesh, so the time and mesh quality to the final meshing result can be improved.

I don't have any pics, but you guys can try this out.

Anther hind may be: you can create a basemesh basically in any meshing tool and snap on top of it --- as long as it comes out with a simple hex mesh. I haven't try other tools but I guess it should work in the same way
louisgag, ikypye and Ngaru like this.
sazabi2001 is offline   Reply With Quote


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
[snappyHexMesh] problem with snappyHexMesh kanes OpenFOAM Meshing & Mesh Conversion 10 January 26, 2016 06:11
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
[OpenFOAM] snappyHexMesh - can't open mesh in ParaView tfigueiro ParaView 0 June 11, 2015 19:05
[Gmsh] gmshToFoam problem: not the same mesh in Gmsh vs. paraview zhernadi OpenFOAM Meshing & Mesh Conversion 8 July 7, 2011 02:28
[snappyHexMesh] SnappyHexMesh not generate mesh first time mavimo OpenFOAM Meshing & Mesh Conversion 4 August 26, 2008 07:08

All times are GMT -4. The time now is 08:48.