|
[Sponsors] |
how to set y value(distance nearest to the wall) in blockMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 27, 2011, 08:20 |
how to set y value(distance nearest to the wall) in blockMesh
|
#1 |
Member
Robert Ong
Join Date: Aug 2010
Posts: 86
Rep Power: 16 |
Hi All,
I've been playing around with the simpleGrading, unfortunately the y I'm after is still far compared to what I want. Another thing is I have different y values throughout my domain (inlet, outlet, bottom, etc), so do I need to average them out or just consider the highest y value in a particular domain? Thanks very much for your time and attention. Regards, Robert |
|
April 27, 2011, 09:47 |
|
#2 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
what do you mean with y value, do you mean your yPlus value? what kind of mesh are you working with? just simple blocks?
__________________
~roman |
|
April 27, 2011, 10:04 |
|
#3 |
Member
Robert Ong
Join Date: Aug 2010
Posts: 86
Rep Power: 16 |
Hi Roman,
I meant the y value (not yPlus) used in this formula yPlus=uStar*y/nu. Alternatively, you can also use this http://geolab.larc.nasa.gov/APPS/YPlus/ Yes, I am just dealing with the simple hexagonal blocks with a hemipshere object in the middle which I meshed using cellSet and setSet command after having exported it from the STL file. Thanks and regards, Robert |
|
April 28, 2011, 04:24 |
|
#4 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
you can calculate your dimension of the cell in wall direction with this
yDim = r / [nCells *{ (l/s)+1} ] where r is the block length in direction of stretching, nCells, the number cells you want in this direction (l/s) is the ratio between largest an smallest cell, meaning your expansion ratio. the center will the be the y that you need for the yStar or yPlus calculation your are looking. Therefore, just divide by 2. if you think you get too many cells you can use the tool Code:
refineWallLayer
__________________
~roman |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to show the transient case? | H.P.LIU | Phoenics | 7 | July 13, 2010 05:31 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 05:27 |
Distance to the nearest wall... | Michal | FLUENT | 6 | February 13, 2001 15:49 |
Wall functions | Abhijit Tilak | Main CFD Forum | 6 | February 5, 1999 02:16 |