CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

snappyHexMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 26, 2013, 11:41
Default snappyHexMesh
  #1
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, 12:52
Default
  #2
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 525
Rep Power: 17
chegdan will become famous soon enough
In snappyHexMesh, you can do some distance refinement from the .stl surface doing something like

Code:
  refinementRegions 
  { 
  
      sphere.stl 
      {                             // 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.
__________________
Dan

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

Reply

Tags
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 17: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 11:32
SnappyHexMesh not generate mesh first time mavimo OpenFOAM Mesh Utilities 4 August 26, 2008 08:08


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