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

[snappyHexMesh] snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
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

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.
chegdan is offline   Reply With Quote

Reply

Tags
blockmesh, mesh, snappyhexmesh


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
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 07:01
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing peterhess OpenFOAM Meshing & Mesh Conversion 2 January 3, 2018 03:54
[snappyHexMesh] Tutorial crashes: snappyHexMesh floating point exception. jasv OpenFOAM Meshing & Mesh Conversion 4 May 10, 2016 03:55
[snappyHexMesh] snappyhexmesh doesn't creat mesh in parallel issue? klausb OpenFOAM Meshing & Mesh Conversion 1 March 7, 2015 12:55
[snappyHexMesh] stitchMesh and snappyHexMesh gdbaldw OpenFOAM Meshing & Mesh Conversion 0 December 23, 2009 03:09


All times are GMT -4. The time now is 17:03.