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

[snappyHexMesh] refineWallLayer for reaching y+<1 for low Re number turbulence model

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By GerhardHolzinger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2013, 02:58
Default refineWallLayer for reaching y+<1 for low Re number turbulence model
  #1
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14
s.m is on a distinguished road
Hi
Dear foamer i have a big promlem, i want to analysis two turbulence models on 3 element airfoil,
1. high Re number e.g realizableKE ==> 30 <y+ <200
2. low Re number e.g lunderSharmaKE ==> y+ <1
i use snappyHexMesh for meshin the domain aroun the airfoil, and after finishing the analysis with realizableKE, i execute "yPlusRAS" and it told me y+ is:
Time = 3400
Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting RAS turbulence model realizableKE
realizableKECoeffs
{
Cmu 0.09;
A0 4;
C2 1.9;
sigmak 1;
sigmaEps 1.2;
}

Patch 5 named main_solid y+ : min: 3.92116 max: 92.2824 average: 41.5749

Patch 6 named flap_solid y+ : min: 11.3159 max: 75.4566 average: 34.844

Patch 7 named slat_solid y+ : min: 17.4322 max: 61.5812 average: 43.726

and the checkMesh for RealizableKE doeasn't complain of skewness and nonOrthogonality,
here it is:
Create polyMesh for time = 3400

Time = 3400

Mesh stats
points: 188346
internal points: 0
faces: 368558
internal faces: 182800
cells: 91461
faces per cell: 6.02834
boundary patches: 8
point zones: 0
face zones: 0
cell zones: 0

Overall number of cells of each type:
hexahedra: 88316
prisms: 584
wedges: 0
pyramids: 0
tet wedges: 0
tetrahedra: 0
polyhedra: 2561
Breakdown of polyhedra by number of faces:
faces number of cells
7 1953
8 603
9 3
10 2

Checking topology...
Boundary definition OK.
Cell to face addressing OK.
Point usage OK.
Upper triangular ordering OK.
Face vertices OK.
Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces...
Patch Faces Points Surface topology
topAndBottom 496 996 ok (non-closed singly connected)
inlet 176 354 ok (non-closed singly connected)
outlet 176 354 ok (non-closed singly connected)
front 91461 94173 ok (non-closed singly connected)
back 91461 94173 ok (non-closed singly connected)
main_solid 1298 2596 ok (non-closed singly connected)
flap_solid 376 752 ok (non-closed singly connected)
slat_solid 314 628 ok (non-closed singly connected)

Checking geometry...
Overall domain bounding box (-5.84378 -11.1882 0.15) (20.9289 9.3226 0.250001)
Mesh (non-empty, non-wedge) directions (1 1 0)
Mesh (non-empty) directions (1 1 0)
***Number of edges not aligned with or perpendicular to non-empty directions: 33
<<Writing 30 points on non-aligned edges to set nonAlignedEdges
Boundary openness (4.30491e-19 -2.30373e-20 -1.93086e-13) OK.
Max cell openness = 2.10615e-16 OK.
Max aspect ratio = 6.91795 OK.
Minimum face area = 4.88326e-08. Maximum face area = 0.0100272. Face area magnitudes OK.
Min volume = 4.88326e-09. Max volume = 0.00100272. Total volume = 43.645. Cell volumes OK.
Mesh non-orthogonality Max: 62.2458 average: 3.79811
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 2.67447 OK.
Coupled point location match (average 0) OK.

Failed 1 mesh checks.

but when i execute refineWallLayer for reaching lower layer thickness near the wall and also lower y+ that was proper for lunderSharmaKE, the checkMesh complain skewness alot.
what should i do?
how should i yeild the low y+ with snappyhexMesh???
please guide me
Attached Files
File Type: txt checkMesh-bad.txt (28.9 KB, 9 views)
s.m is offline   Reply With Quote

Old   September 19, 2013, 03:06
Default here it is some pics of adding layer to main element
  #2
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14
s.m is on a distinguished road
here it is some pics of adding layer to the leading edge of main element
Attached Images
File Type: jpg 11.jpg (65.6 KB, 206 views)
File Type: jpg 12.jpg (33.0 KB, 148 views)
File Type: jpg 13.jpg (31.8 KB, 133 views)
File Type: jpg 14.jpg (30.7 KB, 114 views)
File Type: jpg 15.jpg (29.5 KB, 107 views)
s.m is offline   Reply With Quote

Old   September 19, 2013, 03:10
Default
  #3
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14
s.m is on a distinguished road
here is some pics of adding layer to another element of 3 element airfoil (slat)
Attached Images
File Type: jpg 02.jpg (43.5 KB, 73 views)
File Type: jpg 03.jpg (44.6 KB, 70 views)
File Type: jpg 08.jpg (45.1 KB, 72 views)
File Type: jpg 09.jpg (45.2 KB, 70 views)
File Type: jpg 00.jpg (98.4 KB, 123 views)
s.m is offline   Reply With Quote

Old   September 19, 2013, 03:18
Default
  #4
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14
s.m is on a distinguished road
here is some pic of slat
Attached Images
File Type: jpg 000.jpg (98.2 KB, 96 views)
File Type: jpg 1.jpg (61.7 KB, 56 views)
File Type: jpg 2.jpg (63.4 KB, 49 views)
File Type: jpg 3.jpg (63.8 KB, 44 views)
File Type: jpg 4.jpg (63.8 KB, 62 views)
s.m is offline   Reply With Quote

Old   June 7, 2017, 04:29
Default
  #5
New Member
 
Oliver K
Join Date: May 2017
Posts: 15
Rep Power: 8
silencebreak is on a distinguished road
Hey, sorry for digging up this old post, but did you resolved the problem?
silencebreak is offline   Reply With Quote

Old   June 7, 2017, 07:17
Default
  #6
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
In a case like this, I would try the generateBoundaryLayers utility of the cfMesh meshing collection. This tool extrudes a new layer of cells inwards, the mesh is shrunk in order to provide the space for the layer. This is similar to the layer addition stage of snappyHexMesh.

refineWallLayer, on the other hand, simply splits the cells next to the wall.
arvindpj likes this.
GerhardHolzinger 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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 11:04
[snappyHexMesh] refineWallLayer vs add layer Astan OpenFOAM Meshing & Mesh Conversion 0 March 18, 2019 12:03
refineWallLayer error after upgrading wildfire230 OpenFOAM Pre-Processing 2 October 27, 2017 15:21
refineWallLayer cellZone preservation workaround jameswilson620 OpenFOAM 0 May 10, 2016 10:56
[snappyHexMesh] snappyHexMesh and refineWallLayer Claudio OpenFOAM Meshing & Mesh Conversion 0 June 20, 2013 13:36


All times are GMT -4. The time now is 12:19.