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

[snappyHexMesh] snappyHexMesh refinement

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Axel_T

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2009, 03:44
Default snappyHexMesh refinement
  #1
Senior Member
 
Vincent RIVOLA
Join Date: Mar 2009
Location: France
Posts: 283
Rep Power: 18
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, 14:13
Default refinement ratio
  #2
New Member
 
Axel Tietjen
Join Date: Dec 2009
Location: Hamburg, Germany
Posts: 19
Rep Power: 16
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.
windiman likes this.
Axel_T 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] snappyHexMesh sticking point natty_king OpenFOAM Meshing & Mesh Conversion 11 February 20, 2024 09:12
[snappyHexMesh] SnappyHexMesh running killed! Mark JIN OpenFOAM Meshing & Mesh Conversion 7 June 14, 2022 01:37
[snappyHexMesh] Adding layers goes wrong with SnappyHexMesh Elise OpenFOAM Meshing & Mesh Conversion 1 April 22, 2013 02:32
killed "snappyHexMesh" parkh32 OpenFOAM Pre-Processing 2 April 8, 2012 17:12
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 03:23


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