min y+ that can be gain with snappyHexMesh around airfoil
Hi,
i have a one element and a three element airfoil, and i wand use low Re turbulence models so i need yPlus < 50 for my mesh. i use snappyHexMesh. my problem is to create a boundary layer with snappyHexMesh. How to control the number and thickness of the layers? with what numbers in add layerControls we can reach to y+ < 50 ? |
First you have to "guess" the thickness of your first cell: http://www.cfd-online.com/Tools/yplus.php
You cannot calculate exactly what is the thickness needed because y+ depends of your solution. The link I gave you can however give you a good estimation. I don't use snappyHexMesh but I can tell you that your first cell height must be of a close value from the estimation given by the link and the growth rate must be lower than 1.2. Hope somebody can help you with Snappy |
Quote:
when you use a so-called "low-Re" turbulence model the yPlus values are usually much lower in this assumption (y+ ~ 1) or (y+ < 5, with attention). In snappyHexMesh you can control the number and thickness of the layers with: Code:
addLayersControls For a good mesh you have to change the upper parameters, because this is only a example of usage;)... hope i can help you? For more details post your case and entitle your problem with some code-examples and pictures... |
hi,
like Frédéric said you can guess use the tool to calculate the thickness of the first wall layer. the final layer thickness in snappy hexmesh is the layer thickness wich is tha last layer (not the one at the wall) so you have to calculate final oundary layer depending on the expension ratio, number of layers and desired first layer thickness. yfinal = y*ratio^(n-1) (I think). be sure to set relativeSize to false! if you want to resolve your y+ should be smaller than 1 but at least below 5! best wishes Andreas |
All times are GMT -4. The time now is 19:19. |