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

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

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By sazabi2001

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

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

Reply


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


All times are GMT -4. The time now is 18:42.