CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

snappyHexMesh refinement

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 11, 2009, 04:44
Default snappyHexMesh refinement
  #1
Senior Member
 
Vincent RIVOLA
Join Date: Mar 2009
Location: France
Posts: 277
Rep Power: 9
vinz is on a distinguished road
Dear snappyHexMesh users,

I've been playing with snappy for a few days and I am wondering something. Is it beter to start snappy with a very fine mesh as a base ans only do 1 or 2 level of refinement around my surface, or to start with a coarse mesh and then impose 6or 8 level of refinement in the snappyHexMeshDict?

To give an example, let say we have a mesh at level 1 in blockMesh, the two options are:
- use this mesh and chose a uniform refinement of 4 around the surface in snappy.
- refine blockMesh mesh by 4 in each direction and then use snappy without refinement, or with a refinement level of 1.

Not easy to explain, but i hope you'll understand.
If somebody have an idea, that would be nice.

Regards,

Vincent
vinz is offline   Reply With Quote

Old   December 19, 2009, 15:13
Default refinement ratio
  #2
New Member
 
Axel Tietjen
Join Date: Dec 2009
Location: Hamburg, Germany
Posts: 19
Rep Power: 7
Axel_T is on a distinguished road
Hi Vincent,

the only important thing is the maximum and minimum size of our cells.

When you want to set a refinement with a ratio of 1:8 towards the surface, and the cell size at the surface schould be, lets say 2mm, the initial cell size would be 16mm and the surfaceRefinement-level in sappy would be then 3. (2=8)

Since very small cells make your solution slower and more unstable, and a too coarse mesh delivers not enough information, this is a important point to think about.

If you are starting with a very coarse mesh from blockMesh, snappy would need perhaps more time for the refinement iterations. But I'm not shure - perhaps you could do some experiments and post the results here.
Axel_T is offline   Reply With Quote

Reply

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
SnappyHexMesh - How to set-up to avoid skewfaces? pcaron OpenFOAM Native Meshers: snappyHexMesh and Others 17 September 13, 2014 15:58
SnappyHexMesh with local refinement of ONE STLfile wolle1982 OpenFOAM Mesh Utilities 16 August 23, 2013 12:12
snappyHexMesh "killed" Bob OpenFOAM 4 December 1, 2011 17:48
SnappyHexMesh hangs during refinement sjrees OpenFOAM Native Meshers: snappyHexMesh and Others 4 September 11, 2010 21:59
snappyHexMesh - Floating point error derjames OpenFOAM Mesh Utilities 4 September 19, 2009 14:14


All times are GMT -4. The time now is 05:23.