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


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

LinkBack Thread Tools Display Modes
Old   June 26, 2013, 10:41
Default snappyHexMesh
New Member
Mitchell Long
Join Date: May 2013
Posts: 2
Rep Power: 0
mlong74 is on a distinguished road
Hey Everyone,

I am currently running the blockMesh-snappyHexMesh combo, but I need some help. I'm trying to get the mesh around my imported object to have a finer mesh. As of now, the gradient of mesh fineness quickly turns the mesh into rather large cells.

Is there a way to make the mesh generated around the object to expand to the entire blockmesh or at least a direction?
mlong74 is offline   Reply With Quote

Old   June 26, 2013, 11:52
Senior Member
chegdan's Avatar
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 613
Rep Power: 22
chegdan will become famous soon enoughchegdan will become famous soon enough
In snappyHexMesh, you can do some distance refinement from the .stl surface doing something like

      {                             // refinement level 5 within 1.0 m 
          mode distance;            // refinement level 3 within 2.0 m 
          levels ((1.0 5) (2.0 3)); // levels must be ordered nearest first 
This is a per-stl surface and not a per-patch feature of SHM. See some of the documentation for further details.

Find me on
Twitter @dancombest
chegdan is offline   Reply With Quote


blockmesh, mesh, snappyhexmesh

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
Strange Results With snappyHexMesh calebamiles OpenFOAM Running, Solving & CFD 0 August 14, 2011 16:02
snappyHexMesh simple help! atareen64 OpenFOAM Native Meshers: snappyHexMesh and Others 0 March 2, 2011 16:52
stitchMesh and snappyHexMesh gdbaldw OpenFOAM 0 December 23, 2009 03:09
SnappyHexMesh samiam1000 OpenFOAM 0 October 5, 2009 10:32
SnappyHexMesh not generate mesh first time mavimo OpenFOAM Mesh Utilities 4 August 26, 2008 07:08

All times are GMT -4. The time now is 06:20.